/* ========================================
   THE MOVIE FOOD GAME - Global Styles
   "Cook It. Watch It. Spot It. Win!"
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors - Cinema Inspired */
    --primary-dark: #1a1a2e;
    --primary-mid: #16213e;
    --primary-accent: #36CE76;
    --primary-gold: #f5c518;
    
    /* Secondary Colors */
    --secondary-teal: #0f3460;
    --secondary-light: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #36CE76 0%, #21a257 100%);
    --gradient-card: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(107, 142, 35, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-normal);
}

.nav-container.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-white);
}

.nav-logo img {
    height: 40px;
}

.nav-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-white);
}

.nav-logo-text span {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-accent) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-white) !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links .nav-cta {
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: rgba(255,255,255,0.8) !important;
        font-weight: 500 !important;
    }
    
    .nav-links .nav-cta:hover {
        transform: none;
        box-shadow: none;
        color: var(--primary-accent) !important;
    }
    
    .nav-links .nav-cta::after {
        display: block !important;
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-accent);
        transition: var(--transition-fast);
    }
    
    .nav-links .nav-cta:hover::after {
        width: 100%;
    }
    
    .nav-cta .nav-cta-icon {
        display: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Old theater image: background: url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80') center/cover; */
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920&q=80') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(107, 142, 35, 0.2);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

/* Handwritten quote style for homepage */
.hero-badge.hero-quote {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.75rem 2rem;
}

/* White badge text on recipe pages (dark hero backgrounds) */
.recipe-hero .hero-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(107, 142, 35, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(107, 142, 35, 0); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--primary-accent);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-gold);
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(107, 142, 35, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
}

.btn-outline:hover {
    background: var(--primary-accent);
    color: var(--text-white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 5rem 1.5rem;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--text-white);
}

.section-light {
    background: var(--secondary-light);
}

.section-accent {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3a5a 50%, #0f3460 100%);
    color: var(--text-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.1rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   RECIPE CARDS
   ======================================== */

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.recipe-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.recipe-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.1);
}

.recipe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-accent);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.recipe-movie-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-card);
    padding: 3rem 1rem 1rem;
}

.recipe-movie-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.recipe-content {
    padding: 1.25rem;
}

.recipe-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   CHALLENGE SECTION
   ======================================== */

.challenge-banner {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.challenge-banner::before {
    content: '🎬';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: -3rem;
    right: -3rem;
}

.challenge-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.challenge-desc {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.challenge-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.challenge-day {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: var(--transition-normal);
}

.challenge-day:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.challenge-day-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.challenge-day-theme {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

.footer-hashtag-mobile {
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-accent);
    transform: scale(1.1);
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--text-white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

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

/* ========================================
   UTILITIES
   ======================================== */

.text-center { text-align: center; }
.text-accent { color: var(--primary-accent); }
.text-gold { color: var(--primary-gold); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    z-index: 999;
    font-size: 1.5rem;
    font-weight: bold;
}

.scroll-top::before {
    content: '';
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: scale(1.1);
}

/* ========================================
   LOADING SPINNER
   ======================================== */

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(107, 142, 35, 0.2);
    border-top-color: var(--primary-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   MOVIE POSTER CARD
   ======================================== */

.poster-card {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.poster-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-card);
    padding: 2rem 1rem 1rem;
    color: var(--text-white);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .challenge-banner {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-grid > div:not(.footer-brand) {
        display: none;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer {
        padding: 2rem 1rem 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-logo-desktop {
        display: none !important;
    }
    
    .footer-hashtag-mobile {
        display: block !important;
    }
    
    .footer-hashtag-desktop {
        display: none !important;
    }
    
    .footer-tagline {
        display: none !important;
    }
}

/* Medium screens - collapse footer earlier */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-grid > div:not(.footer-brand) {
        display: none;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .footer-tagline {
        display: none !important;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer {
        padding: 2rem 1rem 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: none;
    }
    
    .footer-logo-desktop {
        display: none !important;
    }
    
    .footer-hashtag-mobile {
        display: block !important;
    }
    
    .footer-hashtag-desktop {
        display: none !important;
    }
    
    .footer-tagline {
        display: none !important;
    }
}

/* Report Button - Global Style */
.report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    margin-left: 0.5rem;
    background: none;
    border: none;
    transition: all 0.2s;
    padding: 0.25rem;
    border-radius: 4px;
    width: 1.5rem;
    height: 1.5rem;
}
.report-btn:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
}
/* ========================================
   COLOR SWITCHER
   ======================================== */

/* Footer color switcher - fixed bottom left */
.color-switcher-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: conic-gradient(
        red, yellow, lime, aqua, blue, magenta, red
    );
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0.7;
}

.color-switcher-btn:hover {
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
    opacity: 1;
}

.color-switcher-btn:active {
    transform: scale(0.95);
}

/* Color Picker Modal */
.color-picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.color-picker-modal.active {
    display: flex;
}

.color-picker-container {
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    animation: slideUp 0.3s ease;
}

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

.color-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.color-picker-header h3 {
    color: var(--text-white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.color-picker-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.color-picker-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Color Preview */
.color-preview-section {
    margin-bottom: 1.5rem;
}

.color-preview {
    width: 100%;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
    transition: background 0.3s;
}

/* Native Color Picker */
.color-input-section {
    margin-bottom: 1.5rem;
}

.color-input-section label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.color-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-wheel-input {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-wheel-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-wheel-input::-webkit-color-swatch {
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.2);
}

.hex-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    transition: all 0.2s;
}

.hex-input:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(255,255,255,0.1);
}

/* Preset Colors */
.preset-colors-section {
    margin-bottom: 1.5rem;
}

.preset-colors-section label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.preset-colors {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.preset-color {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.preset-color:hover {
    transform: scale(1.15);
    z-index: 1;
}

.preset-color.active {
    border-color: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Action Buttons */
.color-picker-actions {
    display: flex;
    gap: 0.75rem;
}

.color-picker-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-color {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

.btn-reset-color:hover {
    background: rgba(255,255,255,0.2);
}

.btn-apply-color {
    background: var(--gradient-accent);
    color: white;
}

.btn-apply-color:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Mobile adjustments for color picker */
@media (max-width: 768px) {
    .color-switcher-btn {
        width: 32px;
        height: 32px;
        margin-left: 0.5rem;
    }
    
    .color-picker-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .preset-colors {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ========================================
   PROMO/AD CARDS
   ======================================== */

.promo-card {
    background: linear-gradient(135deg, #232f3e 0%, #37475a 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.promo-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #f5c518;
}

.promo-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.promo-card .promo-btn {
    display: inline-block;
    background: #ff9900;
    color: #111;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-card .promo-btn:hover {
    background: #ffac31;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

/* Mobile ad placement */
.mobile-promo {
    display: none;
    margin: 2rem 0;
}

@media (max-width: 900px) {
    .mobile-promo {
        display: block;
    }
    
    .desktop-promo {
        display: none;
    }
}

@media (min-width: 901px) {
    .desktop-promo {
        display: block;
    }
}

/* AdSense placeholder - activate when approved */
.adsense-container {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-container.active {
    border: none;
    padding: 0;
    background: transparent;
}