/* ========================================
   KASPER'S FILM NIGHT
   Cartoon Cinema Theme with Hand-drawn Graphics
   ======================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Fun, vibrant colors */
    --red-primary: #E63946;
    --red-dark: #C1121F;
    --yellow-primary: #FFD166;
    --yellow-light: #FFE5A0;
    --yellow-dark: #E6B800;
    --blue-primary: #4ECDC4;
    --blue-dark: #2A9D8F;
    --purple-primary: #9B5DE5;
    --purple-dark: #7B2CBF;
    --pink-primary: #F72585;
    --orange-primary: #FB8500;
    
    /* Neutrals */
    --white: #FFFFFF;
    --cream: #FFF8E7;
    --gray-light: #F4F4F4;
    --gray: #888888;
    --dark: #1A1A2E;
    --darker: #0F0F1A;
    
    /* Curtain colors */
    --curtain: #C41E3A;
    --curtain-dark: #8B0000;
    --curtain-shadow: #5C0000;
    
    /* Typography */
    --font-display: 'Lilita One', cursive;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Border radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(255, 209, 102, 0.3);
    
    /* ==========================================
       EMBEDDED SVG GRAPHICS
       ========================================== */
    
    /* Colorful cinema background with stars, popcorn and film reels */
    --bg-cinema: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%231a1a2e'/%3E%3Cstop offset='50%25' style='stop-color:%2316213e'/%3E%3Cstop offset='100%25' style='stop-color:%230f0f23'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23bgGrad)' width='600' height='600'/%3E%3Cg fill='%23FFD166' opacity='0.15'%3E%3Ccircle cx='50' cy='80' r='3'/%3E%3Ccircle cx='150' cy='40' r='2'/%3E%3Ccircle cx='250' cy='100' r='4'/%3E%3Ccircle cx='350' cy='60' r='2'/%3E%3Ccircle cx='450' cy='120' r='3'/%3E%3Ccircle cx='550' cy='50' r='2'/%3E%3Ccircle cx='100' cy='200' r='2'/%3E%3Ccircle cx='200' cy='180' r='3'/%3E%3Ccircle cx='300' cy='220' r='2'/%3E%3Ccircle cx='400' cy='160' r='4'/%3E%3Ccircle cx='500' cy='200' r='2'/%3E%3Ccircle cx='80' cy='350' r='3'/%3E%3Ccircle cx='180' cy='320' r='2'/%3E%3Ccircle cx='280' cy='380' r='2'/%3E%3Ccircle cx='380' cy='300' r='3'/%3E%3Ccircle cx='480' cy='360' r='2'/%3E%3Ccircle cx='580' cy='340' r='4'/%3E%3Ccircle cx='60' cy='500' r='2'/%3E%3Ccircle cx='160' cy='480' r='3'/%3E%3Ccircle cx='260' cy='520' r='2'/%3E%3Ccircle cx='360' cy='460' r='2'/%3E%3Ccircle cx='460' cy='540' r='3'/%3E%3Ccircle cx='560' cy='500' r='2'/%3E%3C/g%3E%3Cg opacity='0.08'%3E%3Cpath fill='%23E63946' d='M30 150 Q35 140 40 150 Q45 160 50 150 Q55 140 60 150 L55 180 L35 180 Z'/%3E%3Cpath fill='%23FFD166' d='M530 250 Q535 240 540 250 Q545 260 550 250 Q555 240 560 250 L555 280 L535 280 Z'/%3E%3Cpath fill='%23F72585' d='M280 450 Q285 440 290 450 Q295 460 300 450 Q305 440 310 450 L305 480 L285 480 Z'/%3E%3C/g%3E%3Cg stroke='%234ECDC4' stroke-width='2' fill='none' opacity='0.1'%3E%3Ccircle cx='520' cy='80' r='25'/%3E%3Ccircle cx='520' cy='80' r='15'/%3E%3Ccircle cx='520' cy='80' r='5'/%3E%3Crect x='495' y='75' width='10' height='10' rx='2'/%3E%3C/g%3E%3Cg stroke='%239B5DE5' stroke-width='2' fill='none' opacity='0.1'%3E%3Ccircle cx='80' cy='520' r='25'/%3E%3Ccircle cx='80' cy='520' r='15'/%3E%3Ccircle cx='80' cy='520' r='5'/%3E%3Crect x='55' y='515' width='10' height='10' rx='2'/%3E%3C/g%3E%3C/svg%3E");
    
    /* Popcorn bucket shape for buttons */
    --popcorn-btn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 35 L15 90 Q15 95 20 95 L80 95 Q85 95 85 90 L80 35 Z' fill='%23E63946' stroke='%23C1121F' stroke-width='3'/%3E%3Cpath d='M20 35 L80 35' stroke='%23FFD166' stroke-width='8' stroke-linecap='round'/%3E%3Cellipse cx='35' cy='25' rx='12' ry='10' fill='%23FFF8E7' stroke='%23E6B800' stroke-width='2'/%3E%3Cellipse cx='50' cy='18' rx='14' ry='12' fill='%23FFF8E7' stroke='%23E6B800' stroke-width='2'/%3E%3Cellipse cx='65' cy='25' rx='12' ry='10' fill='%23FFF8E7' stroke='%23E6B800' stroke-width='2'/%3E%3Cellipse cx='42' cy='28' rx='10' ry='8' fill='%23FFFEF0' stroke='%23E6B800' stroke-width='2'/%3E%3Cellipse cx='58' cy='28' rx='10' ry='8' fill='%23FFFEF0' stroke='%23E6B800' stroke-width='2'/%3E%3C/svg%3E");
    
    /* Film strip decoration */
    --filmstrip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Crect fill='%231a1a1a' width='80' height='40' rx='2'/%3E%3Crect fill='%23333' x='5' y='8' width='12' height='24' rx='1'/%3E%3Crect fill='%23333' x='22' y='8' width='12' height='24' rx='1'/%3E%3Crect fill='%23333' x='46' y='8' width='12' height='24' rx='1'/%3E%3Crect fill='%23333' x='63' y='8' width='12' height='24' rx='1'/%3E%3Ccircle fill='%230a0a0a' cx='10' cy='5' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='25' cy='5' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='40' cy='5' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='55' cy='5' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='70' cy='5' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='10' cy='35' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='25' cy='35' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='40' cy='35' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='55' cy='35' r='2'/%3E%3Ccircle fill='%230a0a0a' cx='70' cy='35' r='2'/%3E%3C/svg%3E");
    
    /* Star decoration */
    --star-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD166' stroke='%23E6B800' stroke-width='1' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================
   CINEMA BACKGROUND
   ========================================== */
.cinema-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-cinema);
    background-size: cover;
}

/* The glowing cinema screen */
.screen-glow {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    max-width: 700px;
    height: 35%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(78, 205, 196, 0.1) 30%,
        rgba(155, 93, 229, 0.05) 60%,
        transparent 100%);
    border-radius: 10px 10px 0 0;
    border: 4px solid rgba(255, 209, 102, 0.3);
    border-bottom: none;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.15),
        0 0 120px rgba(78, 205, 196, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
    animation: screenFlicker 4s ease-in-out infinite;
}

@keyframes screenFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
    52% { opacity: 1; }
    54% { opacity: 0.9; }
}

/* Curtains with pleated texture */
.curtain {
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, 
        var(--curtain-shadow) 0%, 
        var(--curtain) 20%, 
        var(--curtain-dark) 40%,
        var(--curtain) 60%,
        var(--curtain-dark) 80%,
        var(--curtain-shadow) 100%);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.curtain-left {
    left: 0;
    border-right: 6px solid var(--yellow-primary);
    background: linear-gradient(90deg, 
        var(--curtain-dark) 0%, 
        var(--curtain) 30%, 
        var(--curtain-dark) 50%,
        var(--curtain) 70%,
        transparent 100%);
}

.curtain-right {
    right: 0;
    border-left: 6px solid var(--yellow-primary);
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--curtain) 30%, 
        var(--curtain-dark) 50%,
        var(--curtain) 70%,
        var(--curtain-dark) 100%);
}

/* Curtain tie-backs */
.curtain::after {
    content: '🎀';
    position: absolute;
    top: 30%;
    font-size: 2rem;
    opacity: 0.6;
}

.curtain-left::after {
    right: 10px;
}

.curtain-right::after {
    left: 10px;
}

/* Cinema seats row */
.seats-row {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    opacity: 0.4;
}

.seat {
    width: 50px;
    height: 45px;
    background: linear-gradient(180deg, var(--curtain) 0%, var(--curtain-dark) 100%);
    border-radius: 10px 10px 5px 5px;
    position: relative;
    box-shadow: 
        inset 0 -5px 10px rgba(0,0,0,0.3),
        0 5px 10px rgba(0,0,0,0.3);
    border: 2px solid var(--curtain-shadow);
}

/* Seat back */
.seat::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 3px;
    right: 3px;
    height: 22px;
    background: linear-gradient(180deg, var(--curtain-dark) 0%, var(--curtain) 100%);
    border-radius: 8px 8px 0 0;
    border: 2px solid var(--curtain-shadow);
    border-bottom: none;
}

/* Seat armrest */
.seat::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -5px;
    right: -5px;
    height: 10px;
    background: var(--curtain-shadow);
    border-radius: 0 0 5px 5px;
}

/* ==========================================
   FLOATING POPCORN DECORATIONS
   ========================================== */
.floating-popcorn {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.popcorn-piece {
    position: absolute;
    font-size: 2rem;
    animation: floatPopcorn 15s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatPopcorn {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--yellow-primary);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--yellow-primary);
    text-shadow: 2px 2px 0 var(--red-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-sm);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(180deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    border: 4px solid var(--dark);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 0 var(--dark),
        0 6px 15px rgba(0,0,0,0.3);
    position: relative;
    top: 0;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 10px;
    right: 10px;
    height: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    border-radius: 10px;
}

.nav-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, var(--pink-primary) 0%, var(--purple-primary) 100%);
    box-shadow: 
        0 7px 0 var(--dark),
        0 10px 20px rgba(0,0,0,0.4);
}

.nav-btn:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 var(--dark),
        0 3px 8px rgba(0,0,0,0.2);
}

.nav-btn.active {
    background: linear-gradient(180deg, var(--yellow-primary) 0%, var(--orange-primary) 100%);
    color: var(--dark);
    border-color: var(--red-primary);
    box-shadow: 
        0 4px 0 var(--red-dark),
        0 0 20px rgba(255, 209, 102, 0.4);
}

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

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
}

/* Floating decorations */
.hero-section::before {
    content: '🎬';
    position: absolute;
    top: 15%;
    left: 20%;
    font-size: 3rem;
    animation: floatRotate 6s ease-in-out infinite;
    opacity: 0.6;
}

.hero-section::after {
    content: '🎥';
    position: absolute;
    top: 20%;
    right: 20%;
    font-size: 2.5rem;
    animation: floatRotate 5s ease-in-out infinite reverse;
    opacity: 0.6;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    animation: bounce 2s ease-in-out infinite;
    box-shadow: 
        0 4px 0 var(--curtain-shadow),
        0 8px 20px rgba(0,0,0,0.3);
    border: 3px solid var(--yellow-primary);
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 7rem);
    line-height: 1;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 4px 4px 0 var(--red-primary), 8px 8px 0 rgba(0,0,0,0.2);
}

.hero-title .highlight {
    color: var(--yellow-primary);
    display: block;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.05em;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   NOW SHOWING SECTION
   ========================================== */
.now-showing-section {
    padding: var(--space-xl) 0;
}

.movie-card-large {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    align-items: center;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(155, 93, 229, 0.2);
    border: 4px solid var(--yellow-primary);
    position: relative;
    overflow: hidden;
}

.movie-card-large::before {
    content: '🎬';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.movie-poster-wrap {
    position: relative;
}

.movie-poster {
    width: 100%;
    height: 400px;
    background: var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--yellow-primary);
    position: relative;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--dark) 100%);
    font-size: 6rem;
    position: relative;
}

.poster-placeholder::before {
    content: '🎬';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
}

.movie-info {
    padding: var(--space-md);
}

.movie-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--yellow-primary);
    color: var(--dark);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.movie-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.movie-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.movie-detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.2rem;
    font-weight: 600;
}

.detail-icon {
    font-size: 1.5rem;
}

.movie-message {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-style: italic;
    border-left: 4px solid var(--yellow-primary);
}

.no-movie-message {
    text-align: center;
    padding: var(--space-xl);
    font-size: 1.3rem;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 3px dashed var(--gray);
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--yellow-primary);
    text-align: center;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-shadow: 3px 3px 0 var(--red-primary);
}

.title-icon {
    font-size: 1.2em;
}

.section-subtitle {
    text-align: center;
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

/* ==========================================
   TRAILER SECTION
   ========================================== */
.trailer-section {
    padding: var(--space-xl) 0;
}

.video-card {
    background: var(--darker);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 4px solid var(--blue-primary);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(78, 205, 196, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.no-trailer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
}

/* ==========================================
   COMMENTS SECTION
   ========================================== */
.comments-section {
    padding: var(--space-xl) 0;
}

.comment-form-card {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border: 4px solid var(--yellow-primary);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--white);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: var(--radius-md);
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==========================================
   POPCORN BUTTON (Main CTA) - Cartoon Style
   ========================================== */
.btn-popcorn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--dark);
    background: linear-gradient(180deg, var(--yellow-light) 0%, var(--yellow-primary) 50%, var(--yellow-dark) 100%);
    border: 5px solid var(--red-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 0 var(--red-dark),
        0 10px 20px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.4);
    position: relative;
    top: 0;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.btn-popcorn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 15px;
    right: 15px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
    border-radius: 50%;
}

.btn-popcorn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 0 var(--red-dark),
        0 15px 30px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.4);
}

.btn-popcorn:active {
    transform: translateY(4px);
    box-shadow: 
        0 2px 0 var(--red-dark),
        0 5px 10px rgba(0,0,0,0.2),
        inset 0 2px 0 rgba(255,255,255,0.4);
}

.btn-popcorn-icon {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}

/* ==========================================
   COMMENTS LIST
   ========================================== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.comment-item {
    background: var(--darker);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border-left: 5px solid var(--pink-primary);
    box-shadow: var(--shadow-sm);
    animation: slideInComment 0.4s ease;
}

@keyframes slideInComment {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.comment-author {
    font-weight: 800;
    color: var(--yellow-primary);
    font-size: 1.1rem;
}

.comment-time {
    font-size: 0.85rem;
    color: var(--gray);
}

.comment-text {
    color: var(--cream);
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    padding: var(--space-lg);
    color: var(--gray);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 2px dashed var(--gray);
}

/* ==========================================
   PAGE HEADER (Wishlist & Archive)
   ========================================== */
.page-header {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    text-align: center;
    position: relative;
}

/* Decorative stars around title */
.page-header::before,
.page-header::after {
    content: '✨';
    position: absolute;
    top: 50%;
    font-size: 2rem;
    animation: twinkle 2s ease-in-out infinite;
}

.page-header::before {
    left: 15%;
    animation-delay: 0s;
}

.page-header::after {
    right: 15%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-shadow: 
        4px 4px 0 var(--red-primary),
        6px 6px 0 rgba(0,0,0,0.3);
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--cream);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    background: rgba(0,0,0,0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 2px dashed var(--yellow-primary);
}

/* ==========================================
   WISHLIST
   ========================================== */
.wishlist-section {
    padding: 0 0 var(--space-xl);
}

.admin-panel {
    background: var(--darker);
    border: 3px dashed var(--orange-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.admin-panel.hidden {
    display: none;
}

.admin-panel h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--orange-primary);
    margin-bottom: var(--space-md);
}

.admin-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: flex-end;
}

.admin-form .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.admin-form input {
    padding: var(--space-sm);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.wishlist-card {
    background: linear-gradient(180deg, #2a2a4a 0%, var(--darker) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--purple-primary);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 
        0 6px 0 var(--purple-dark),
        0 10px 30px rgba(0,0,0,0.4);
}

.wishlist-card::before {
    content: '⭐';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-card:hover {
    transform: translateY(-10px);
    border-color: var(--yellow-primary);
    box-shadow: 
        0 12px 0 var(--purple-dark),
        0 20px 40px rgba(0,0,0,0.5),
        0 0 30px rgba(255, 209, 102, 0.2);
}

.wishlist-card:hover::before {
    opacity: 1;
}

.wishlist-poster {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--dark) 100%);
    position: relative;
}

.wishlist-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

/* Placeholder when no poster */
.wishlist-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--dark) 100%);
    position: relative;
}

.wishlist-poster .poster-placeholder::after {
    content: '🎬';
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.wishlist-card:hover .wishlist-poster img {
    transform: scale(1.1);
}

.wishlist-info {
    padding: var(--space-md);
}

.wishlist-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.wishlist-year {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.vote-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.vote-btn {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
    background: 
        linear-gradient(180deg, #FFF8E7 0%, #F5DEB3 100%);
    border: 5px solid var(--red-primary);
    border-radius: 15px 15px 20px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 0 var(--red-dark),
        0 8px 15px rgba(0,0,0,0.3),
        inset 0 -10px 20px rgba(230, 57, 70, 0.2);
    position: relative;
}

/* Popcorn bucket stripes */
.vote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 8px,
        rgba(230, 57, 70, 0.15) 8px,
        rgba(230, 57, 70, 0.15) 10px
    );
    border-radius: 10px 10px 15px 15px;
    pointer-events: none;
}

.vote-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 0 var(--red-dark),
        0 15px 25px rgba(0,0,0,0.4),
        inset 0 -10px 20px rgba(230, 57, 70, 0.2);
}

.vote-btn:active {
    transform: translateY(3px);
    box-shadow: 
        0 2px 0 var(--red-dark),
        0 4px 8px rgba(0,0,0,0.2),
        inset 0 -10px 20px rgba(230, 57, 70, 0.2);
}

.vote-btn.voted {
    background: linear-gradient(180deg, var(--yellow-light) 0%, var(--yellow-primary) 50%, var(--orange-primary) 100%);
    border-color: var(--orange-primary);
    animation: votePop 0.5s ease;
    box-shadow: 
        0 5px 0 var(--red-dark),
        0 0 30px rgba(255, 209, 102, 0.6),
        inset 0 -10px 20px rgba(251, 133, 0, 0.3);
}

@keyframes votePop {
    0% { transform: scale(1); }
    30% { transform: scale(1.3) rotate(-10deg); }
    60% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.vote-count {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--yellow-primary);
}

.btn-delete {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    background: var(--red-primary);
    color: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-delete:hover {
    background: var(--red-dark);
    transform: scale(1.1);
}

.admin-mode .btn-delete {
    display: flex;
}

/* ==========================================
   ARCHIVE
   ========================================== */
.archive-section {
    padding: 0 0 var(--space-xl);
}

.archive-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.archive-card {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 4px solid var(--blue-primary);
    transition: all 0.4s ease;
}

.archive-card:hover {
    border-color: var(--yellow-primary);
    box-shadow: var(--shadow-lg);
}

.archive-poster {
    width: 200px;
    min-width: 200px;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--dark) 100%);
    position: relative;
}

.archive-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.archive-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.archive-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
}

.archive-header {
    margin-bottom: var(--space-sm);
}

.archive-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.archive-meta {
    font-size: 0.9rem;
    color: var(--gray);
}

.archive-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-md) 0;
    flex-wrap: wrap;
}

.stars-container {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: #444;
    transition: all 0.2s ease;
    text-shadow: none;
}

.star:hover {
    transform: scale(1.3);
    color: #FFD166;
}

.star.active {
    color: #FFD166;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

.star.user-voted {
    color: #4ECDC4;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.rating-text {
    font-size: 1rem;
    color: var(--gray);
    margin-left: var(--space-xs);
}

.archive-comments {
    flex: 1;
    padding-top: var(--space-md);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.archive-comments h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--pink-primary);
    margin-bottom: var(--space-sm);
}

.archive-comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.archive-comment-form input,
.archive-comment-form textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--dark);
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.archive-comment-form textarea {
    resize: vertical;
    min-height: 60px;
}

.archive-comment-form input:focus,
.archive-comment-form textarea:focus {
    outline: none;
    border-color: var(--pink-primary);
}

.archive-comment-form button {
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-display);
    font-size: 1rem;
    background: var(--pink-primary);
    color: var(--white);
    border: 2px solid var(--dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.archive-comment-form button:hover {
    background: var(--purple-primary);
    transform: translateY(-2px);
}

.archive-comments-list {
    max-height: 200px;
    overflow-y: auto;
    margin-top: var(--space-sm);
}

.no-comments-text {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    padding: var(--space-sm);
}

.archive-comment {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
    border-left: 3px solid var(--yellow-primary);
}

.archive-comment .comment-author {
    display: block;
    font-weight: bold;
    color: var(--yellow-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.archive-comment .comment-text {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: var(--darker);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-top: 6px solid var(--yellow-primary);
    position: relative;
}

/* Filmstrip decoration at top of footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--filmstrip);
    background-repeat: repeat-x;
    background-size: 80px 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--yellow-primary);
    margin-bottom: var(--space-sm);
    text-shadow: 3px 3px 0 var(--red-primary);
}

.footer-text {
    color: var(--gray);
    font-size: 1rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
    .movie-card-large {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .movie-poster-wrap {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .movie-details {
        align-items: center;
    }
    
    .archive-card {
        grid-template-columns: 1fr;
    }
    
    .archive-poster {
        max-height: 250px;
    }
}

@media (max-width: 600px) {
    .main-nav {
        padding: var(--space-sm);
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.85rem;
    }
    
    .main-content {
        padding-top: 140px;
    }
    
    .curtain {
        width: 8%;
    }
    
    .section-container {
        padding: 0 var(--space-md);
    }
    
    .comment-form-card {
        padding: var(--space-md);
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-md);
    }
    
    .admin-form {
        flex-direction: column;
    }
    
    .admin-form .form-group {
        width: 100%;
    }
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 6px;
    border: 3px solid var(--darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-primary);
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
    background: var(--yellow-primary);
    color: var(--dark);
}
