* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-cyan: #30F0FF;
    --infrared-red: #FF3B3B;

    --primary: var(--neon-cyan);
    --accent: var(--infrared-red);
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --border: #1e293b;

    --streams-color: var(--neon-cyan);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links .dropdown-toggle:hover {
    color: var(--primary);
}

.nav-links .dropdown-toggle::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s;
}

.nav-links .dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.nav-links .dropdown-menu li {
    list-style: none;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-links .dropdown-menu a:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--infrared-red) 100%);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(48, 240, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==================== */
/* Streams Page Styles  */
/* ==================== */

.streams-section {
    padding: 4rem 0;
}

.streams-section--top {
    padding-top: 8rem;
}

.streams-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Archive Header */
.archive-header {
    margin-bottom: 2.5rem;
}

.archive-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.archive-header p {
    color: var(--text);
    font-size: 1.1rem;
}

/* Show All Button Container */
.show-all-container {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.streams-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stream-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s;
}

.stream-card:hover {
    border-color: var(--streams-color);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.1);
}

.stream-card--live {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, var(--bg-card) 100%);
}

.stream-card--live:hover {
    border-color: #ef4444;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.stream-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stream-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.75rem;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--streams-color);
}

.date-month {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stream-content {
    flex: 1;
}

.stream-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stream-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stream-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stream-card .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.stream-card--archive {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    height: 140px;
}

.stream-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 112px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-dark);
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streams-list .stream-card--archive .stream-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    height: 100%;
}

.streams-list .stream-card--archive .stream-content p {
    flex: 1;
    margin-bottom: 0;
    font-size: 1rem;
}

.streams-list .stream-card--archive .stream-meta {
    margin-bottom: 0;
    min-width: 150px;
}

.streams-list .stream-card--archive .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* Responsive - Streams Page */
@media (max-width: 992px) {
    .streams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .streams-list .stream-card--archive .stream-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .streams-grid {
        grid-template-columns: 1fr;
    }

    .stream-card--archive {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    .stream-thumbnail {
        width: 100%;
        height: 180px;
    }

    .streams-list .stream-card--archive .stream-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .streams-list .stream-card--archive .stream-content p {
        margin-bottom: 0;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .nav-links .dropdown-toggle {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .nav-links a:hover,
    .nav-links .dropdown-toggle:hover {
        background: var(--bg-card);
    }

    /* Mobile Dropdown */
    .nav-links .dropdown {
        position: static;
    }

    .nav-links .dropdown-toggle::after {
        display: none;
    }

    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        background: var(--bg-card);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .nav-links .dropdown-menu a {
        padding-left: 3rem;
    }
}

/* ==================== */
/* Watch Page Styles    */
/* ==================== */

.watch-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.video-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, var(--infrared-red) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.video-description {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.video-description h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.video-description p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.video-description p:last-child {
    margin-bottom: 0;
}

.guest-section {
    margin-bottom: 2rem;
}

.guest-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.guest-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.guest-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.guest-bio {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==================== */
/* Upcoming Stream      */
/* ==================== */

.upcoming-section {
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.upcoming-card {
    position: relative;
    background: linear-gradient(135deg, rgba(48, 240, 255, 0.08) 0%, rgba(255, 59, 59, 0.08) 100%);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}

.upcoming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--infrared-red) 0%, var(--neon-cyan) 100%);
}

.upcoming-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--infrared-red) 100%);
    color: var(--bg-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.upcoming-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.upcoming-info {
    flex: 1;
}

.upcoming-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.upcoming-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.upcoming-guest {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.upcoming-datetime {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.upcoming-date,
.upcoming-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 100px;
}

.date-label,
.time-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.date-value,
.time-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive - Upcoming Stream */
@media (max-width: 768px) {
    .upcoming-content {
        flex-direction: column;
    }

    .upcoming-datetime {
        width: 100%;
        justify-content: center;
    }

    .upcoming-info h2 {
        font-size: 1.4rem;
    }
}

/* Responsive - Watch Page */
@media (max-width: 768px) {
    .watch-page {
        padding-top: 5rem;
    }

    .video-title {
        font-size: 1.5rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==================== */
/* Request Page Styles  */
/* ==================== */

.request-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
}

.request-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.request-form-container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.request-form-container .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.public-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* Flash Messages */
.flash-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.flash-success {
    background: rgba(106, 154, 120, 0.12);
    border: 1px solid #6a9a78;
    color: #6a9a78;
}

.flash-error {
    background: rgba(184, 104, 104, 0.12);
    border: 1px solid #b86868;
    color: #b86868;
}

.flash-info {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

/* Back Link */
.back-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary);
}
