/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    /* Colors - Subtle Gold Duck Theme */
    --color-primary: #D4A574;
    --color-primary-dark: #B8935E;
    --color-accent: #E8C288;
    --color-gold: #C9A961;
    --color-bg: #0f1419;
    --color-bg-secondary: #1a1f26;
    --color-surface: #242b35;
    --color-text: #e4e8ec;
    --color-text-muted: #8b95a5;
    --color-border: #2d3540;
    --color-success: #00b894;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D4A574 0%, #E8C288 100%);
    --gradient-orb-1: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    --gradient-orb-2: radial-gradient(circle, rgba(232, 194, 136, 0.08) 0%, transparent 70%);
    --gradient-orb-3: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 4rem;

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(71, 139, 230, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background-color: rgba(15, 20, 25, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
    opacity: 0.6;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-orb-1);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-orb-2);
    bottom: -10%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-orb-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 840px;
    background: radial-gradient(ellipse at center, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.1) 40%, transparent 70%);
    border-radius: 16px;
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 0 80px rgba(212, 165, 116, 0.15);
}

.title-main {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #D4A574 0%, #E8C288 25%, #D4A574 50%, #E8C288 75%, #D4A574 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.title-sub {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(-45deg);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-submit {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
}

.btn-submit:hover {
    background: var(--color-primary-dark);
}

/* ===================================
   Section Styles
   =================================== */

.section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background-color: var(--color-bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: var(--font-size-xl);
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   Gallery Section (Trading Cards)
   =================================== */

.gallery-section {
    background-color: var(--color-bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1500px;
}

.gallery-card {
    position: relative;
    aspect-ratio: 2.5 / 3.5;
    background: linear-gradient(145deg, var(--color-surface) 0%, #1e252e 100%);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.6s ease-in-out;
    transform-style: preserve-3d;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: cardHint 2s ease-in-out 1s 1;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 12px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.gallery-card:hover::before {
    opacity: 0.15;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(212, 165, 116, 0.15),
                0 5px 10px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.gallery-card:active {
    transform: scale(0.98);
}

.card-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.card-image-placeholder {
    width: 100%;
    height: 60%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(232, 194, 136, 0.05) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.card-image-placeholder svg {
    width: 50%;
    height: 50%;
    opacity: 0.3;
    color: var(--color-primary);
}

.card-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hint animation for cards on load */
@keyframes cardHint {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ===================================
   Lightbox
   =================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-image {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2.5 / 3.5;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(232, 194, 136, 0.08) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.lightbox-image svg {
    width: 30%;
    height: 30%;
    opacity: 0.3;
    color: var(--color-primary);
}

/* ===================================
   Trailer Section
   =================================== */

.trailer-section {
    background-color: var(--color-bg);
}

.trailer-container {
    max-width: 900px;
    margin: 0 auto;
}

.trailer-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(232, 194, 136, 0.05) 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.trailer-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.trailer-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.trailer-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.trailer-subtext {
    font-size: 1rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

/* ===================================
   Press Kit Section
   =================================== */

.presskit-section {
    background-color: var(--color-bg-secondary);
}

.presskit-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.presskit-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.presskit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-md);
}

.presskit-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.presskit-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.15);
}

.presskit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.5rem;
}

.presskit-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.presskit-size {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   Social Section
   =================================== */

.social-section {
    background-color: var(--color-bg-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background-color: var(--color-surface);
    color: var(--color-text-muted);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 2rem var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        min-height: 90vh;
        padding: 1rem;
    }

    .hero-title::before {
        width: 340px;
        height: 500px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-card:hover {
        transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
    }

    .presskit-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        padding: 1rem;
    }

    .trailer-placeholder {
        aspect-ratio: 4 / 3;
        padding: 2rem 1.5rem;
        gap: 0.75rem;
    }

    .trailer-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .trailer-text {
        font-size: 1rem;
    }

    .trailer-subtext {
        font-size: 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth scrolling offset for fixed nav */
section {
    scroll-margin-top: 80px;
}
