/* ==========================================================================
   SAMI-AI-Studios CSS Stylesheet
   ========================================================================== */

/* --- Custom Variables & Reset --- */
:root {
    --bg-dark: hsl(225, 30%, 6%);
    --bg-card: rgba(13, 17, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(99, 102, 241, 0.35);
    
    /* Neon Accents (Representing the channel's dominant branding) */
    --color-cyan: hsl(239, 84%, 67%);     /* Glowing Indigo/Royal Blue */
    --color-purple: hsl(271, 91%, 65%);   /* Glowing Orchid/Violet */
    --color-gold: hsl(28, 100%, 55%);     /* Cinematic Sunset Orange/Amber */
    --color-pink: hsl(330, 81%, 60%);     /* Electric Magenta */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
    --gradient-gold-dark: linear-gradient(135deg, var(--color-gold) 0%, hsl(18, 100%, 48%) 100%);
    
    /* Text Colors */
    --text-main: hsl(210, 20%, 98%);
    --text-muted: hsl(215, 15%, 72%);
    --text-dark: hsl(220, 20%, 10%);
    
    /* Transition speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Ambient Nebula Backgrounds --- */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 1s ease;
    animation: nebulaFloat 25s infinite alternate ease-in-out;
}

.nebula-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.nebula-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
    top: 40%;
    right: -100px;
    animation-delay: -5s;
}

.nebula-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--color-pink) 0%, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes nebulaFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 50px) scale(1.15);
    }
    100% {
        transform: translate(-50px, -40px) scale(0.9);
    }
}

/* --- Container Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

.section-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons & Links --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    gap: 0.5rem;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--text-main);
    color: var(--text-dark);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-yellow {
    background: var(--gradient-gold-dark);
    color: var(--text-dark);
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
    opacity: 0.6;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* --- Header Section --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

#main-header.scrolled {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-cyan);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
}

.hero-avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--color-cyan);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    object-fit: cover;
    z-index: 2;
    animation: floatAvatar 6s infinite ease-in-out;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    opacity: 0;
    z-index: 1;
}

.avatar-ring.ring-1 {
    animation: pulseRing 4s infinite linear;
}

.avatar-ring.ring-2 {
    animation: pulseRing 4s infinite linear;
    animation-delay: 2s;
}

@keyframes floatAvatar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.hero-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-cyan);
    animation: pulseGlow 3s infinite alternate;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 4px rgba(99, 102, 241, 0.1);
    }
    100% {
        box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 680px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    justify-content: center;
    gap: 10rem;
    width: 100%;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Featured Showcase Section --- */
.spotlight-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
    background: rgba(10, 15, 30, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.spotlight-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.08);
}

.spotlight-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.spotlight-backdrop {
    position: absolute;
    inset: 0;
    background-image: url('https://img.youtube.com/vi/mLx2XPVH37w/hqdefault.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.05);
    transition: transform var(--transition-slow);
}

.spotlight-backdrop-chancey {
    position: absolute;
    inset: 0;
    background-image: url('https://img.youtube.com/vi/fLrdvwizaIE/hqdefault.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.05);
    transition: transform var(--transition-slow);
}

.spotlight-card:hover .spotlight-backdrop,
.spotlight-card:hover .spotlight-backdrop-chancey {
    transform: scale(1.1);
}

.spotlight-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.95) 20%, rgba(9, 13, 22, 0.4) 100%);
}

.series-poster {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.poster-tag {
    font-family: 'Outfit', sans-serif;
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.poster-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.poster-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.spotlight-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spotlight-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    display: none; /* Only visible on smaller screens when poster content stacks */
}

.spotlight-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.spotlight-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.meta-icon {
    font-size: 1.2rem;
}

.episode-list-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.episode-list::-webkit-scrollbar {
    width: 6px;
}
.episode-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.episode-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.episode-list::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.4);
}

.episode-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.episode-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.ep-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ep-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-cyan);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.ep-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
}

.ep-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.series-episodes-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.compact-ep {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.compact-ep:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateX(4px);
}

.compact-ep:hover .ep-num {
    color: var(--color-gold);
    background: rgba(255, 215, 0, 0.15);
}

/* --- Dashboard / Gallery Section --- */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: rgba(15, 22, 38, 0.3);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--text-dark);
}

.search-box-container {
    position: relative;
    width: 320px;
    max-width: 100%;
}

#gallery-search {
    width: 100%;
    background: rgba(9, 13, 22, 0.7);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

#gallery-search:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    min-height: 300px;
}

.grid-loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Video Card --- */
.video-card {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(15, 22, 38, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
}

.video-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.05);
}

.card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #0b0f19;
    overflow: hidden;
    cursor: pointer;
}

.thumbnail-img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.5rem;
    z-index: 1;
    transition: transform var(--transition-slow);
}

.video-card:hover .thumbnail-img-fallback {
    transform: scale(1.05);
}

/* Rendered Actual Thumbnail Image style */
.card-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--transition-slow);
}

.video-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

/* Simulated Neon Art Graphics on Thumbnails */
.thumbnail-decor {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at center, transparent 30%, rgba(9, 13, 22, 0.4) 100%);
}

.decor-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-cyan);
    filter: blur(25px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}

.video-card:hover .decor-glow {
    opacity: 0.4;
    width: 100px;
    height: 100px;
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-main);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all var(--transition-fast);
}

.card-play-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--bg-dark);
    margin-left: 2px;
}

.video-card:hover .card-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-play-btn:hover {
    background: var(--color-cyan);
    box-shadow: 0 0 20px var(--color-cyan);
}

.card-play-btn:hover svg {
    fill: var(--text-dark);
}

.card-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(9, 13, 22, 0.85);
    color: var(--text-main);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.card-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cyan);
    background: rgba(99, 102, 241, 0.08);
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.card-badge.comedy {
    color: var(--color-gold);
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.15);
}

.card-badge.reviews {
    color: var(--color-pink);
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.15);
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.card-title:hover {
    color: var(--color-cyan);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    /* Limit lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.card-meta-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-cyan);
    padding-left: 1.25rem;
}

.about-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-item h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-visual-panel {
    display: flex;
    justify-content: center;
}

.about-panel-container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.about-panel-container::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    filter: blur(25px);
    opacity: 0.2;
}

.about-panel-glass {
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
}

.about-panel-glass h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tech-icon {
    font-size: 1.25rem;
}

.channel-link-card {
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-link-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- Prompt Widget Section --- */
.prompt-widget-card {
    max-width: 750px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.widget-header {
    background: rgba(9, 13, 22, 0.9);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.console-title {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.console-actions {
    display: flex;
    gap: 6px;
}

.action-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.action-dot.red { background-color: #ef4444; }
.action-dot.yellow { background-color: #f59e0b; }
.action-dot.green { background-color: #10b981; }

.widget-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    background: rgba(9, 13, 22, 0.4);
}

.prompt-output {
    width: 100%;
    min-height: 130px;
    background: rgba(9, 13, 22, 0.65);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    font-family: monospace;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-fast);
}

.prompt-output.synthesized {
    border-style: solid;
    border-color: rgba(99, 102, 241, 0.3);
    color: #fff;
    text-align: left;
    display: block;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.05);
}

/* --- Connect Section --- */
.newsletter-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
}

.newsletter-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    background: rgba(9, 13, 22, 0.7);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.25rem;
    border-radius: 50px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 20px;
}

.form-feedback.success {
    color: #10b981;
}

.form-feedback.error {
    color: #ef4444;
}

/* --- Footer --- */
footer {
    background: #060910;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-cyan);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Theater Modal Screen --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-normal);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
    border-color: var(--border-hover);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(9, 13, 22, 0.65);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: #fff;
    color: var(--bg-dark);
    transform: rotate(90deg);
}

.theater-screen {
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: #000;
    position: relative;
}

.mock-player {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #0e1726 0%, #05080f 100%);
    cursor: pointer;
    overflow: hidden;
    gap: 1.5rem;
}

.neon-play-wave {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    animation: neonPulse 2.5s infinite ease-in-out;
    opacity: 0.15;
}

@keyframes neonPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.2;
    }
    50% {
        opacity: 0.05;
        border-color: var(--color-purple);
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.big-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    z-index: 2;
    transition: all var(--transition-fast);
}

.big-play-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--text-dark);
    margin-left: 4px;
}

.mock-player:hover .big-play-btn {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6);
}

.player-overlay-message {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-cyan);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.mock-player:hover .player-overlay-message {
    opacity: 1;
}

.modal-info {
    padding: 2.5rem;
}

.modal-meta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.modal-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cyan);
    background: rgba(99, 102, 241, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.modal-meta-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions-row {
    display: flex;
    gap: 1rem;
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }
    .spotlight-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .spotlight-info {
        padding: 2.5rem;
    }
    .spotlight-name {
        display: block;
    }
    .spotlight-visual {
        padding-top: 15rem;
        padding-bottom: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-visual-panel {
        order: -1;
    }
    .about-panel-container {
        max-width: 100%;
    }
    .hero-stats {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .container {
        padding: 0 1.5rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
    
    /* Navbar Mobile view */
    .mobile-menu-toggle {
        display: flex;
    }
    
    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(9, 13, 22, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 6rem 2rem 2rem 2rem;
        transition: right var(--transition-normal);
        z-index: 99;
    }
    
    #navbar.open {
        right: 0;
    }
    
    #navbar ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-item {
        font-size: 1.15rem;
        display: block;
    }
    
    .header-actions {
        display: none; /* Hide desktop sub-button on mobile nav */
    }
    
    /* Cross icon animation for hamburger */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stat-card {
        width: 100%;
    }
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box-container {
        width: 100%;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    .newsletter-form input {
        border-radius: 12px;
    }
    .newsletter-form button {
        border-radius: 12px;
        width: 100%;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-info {
        padding: 1.5rem;
    }
}

