/* ==========================================================================
   THE WORLD DOES NOT EXIST - WEBSITE STYLES
   A cosmic, philosophical aesthetic with glitch effects
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Cosmic Dark Theme */
    --color-bg-primary: #0a0a1a;
    --color-bg-secondary: #0d0d24;
    --color-bg-tertiary: #121233;
    --color-bg-card: rgba(18, 18, 51, 0.7);
    
    --color-text-primary: #f0f0f5;
    --color-text-secondary: #a8a8c0;
    --color-text-muted: #6b6b8a;
    
    --color-accent-primary: #7b68ee;
    --color-accent-secondary: #00d4aa;
    --color-accent-tertiary: #ff6b9d;
    --color-accent-gold: #ffd700;
    
    --color-glitch-1: #ff0040;
    --color-glitch-2: #00ffff;
    --color-glitch-3: #ff00ff;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --font-body: 'Crimson Pro', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(123, 104, 238, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(0, 212, 170, 0.2);
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-accent-primary);
    color: var(--color-text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   COSMIC BACKGROUND
   -------------------------------------------------------------------------- */
#cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   GLITCH OVERLAY
   -------------------------------------------------------------------------- */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(123, 104, 238, 0.02) 50%,
        transparent 100%
    );
    animation: glitchScan 8s ease-in-out infinite;
}

@keyframes glitchScan {
    0%, 100% { opacity: 0; transform: translateY(-100%); }
    50% { opacity: 1; }
    100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: linear-gradient(to bottom, var(--color-bg-primary), transparent);
    transition: background var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    position: relative;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.1em;
}

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

.logo-glitch {
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 0.65rem;
    color: var(--color-accent-secondary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover .logo-glitch {
    opacity: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-secondary);
    transition: width var(--transition-base);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: var(--space-lg) 0;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-3xl) var(--container-padding);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(123, 104, 238, 0.15);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50px;
    margin-bottom: var(--space-lg);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-accent-secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
}

.title-line-2 em {
    font-style: italic;
    color: var(--color-accent-tertiary);
    position: relative;
}

.title-line-2 em::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent-tertiary);
    opacity: 0.4;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.subtitle-glitch {
    display: block;
    color: var(--color-accent-secondary);
    margin-top: var(--space-sm);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glow);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: calc(var(--border-radius-lg) + 10px);
    animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-scroll span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.scroll-indicator {
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-text-muted);
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent-secondary);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 0.5; }
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: #8b7cf8;
    color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-muted);
}

.btn-secondary:hover {
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-format {
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.btn-format:hover {
    background: rgba(123, 104, 238, 0.2);
    border-color: var(--color-accent-primary);
    color: var(--color-text-primary);
    transform: translateY(-4px);
}

.format-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

.btn-format:hover .format-icon {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   SECTIONS - GENERAL
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-3xl) var(--container-padding);
    position: relative;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

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

.section-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

.section-header-center .section-subtitle {
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   WATCH SECTION
   -------------------------------------------------------------------------- */
.section-watch {
    background: linear-gradient(
        to bottom,
        var(--color-bg-primary),
        var(--color-bg-secondary)
    );
}

.fine-structure {
    font-family: var(--font-mono);
    color: var(--color-accent-gold);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius-sm);
}

.video-container {
    margin-bottom: var(--space-xl);
}

.video-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-glitch-border {
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        45deg,
        var(--color-glitch-1),
        var(--color-glitch-2),
        var(--color-glitch-3),
        var(--color-glitch-1)
    );
    background-size: 300% 300%;
    border-radius: calc(var(--border-radius-md) + 3px);
    animation: gradientShift 5s ease infinite;
    opacity: 0.7;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--border-radius-md);
}

.video-placeholder.hidden {
    display: none;
}

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

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: rgba(123, 104, 238, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.placeholder-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent-primary);
    margin-left: 4px;
}

.placeholder-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-text-primary);
}

.placeholder-subtext {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.video-info {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

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

.info-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.info-value {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   STORY SECTION
   -------------------------------------------------------------------------- */
.section-story {
    background: var(--color-bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.story-content {
    position: sticky;
    top: 100px;
}

.story-text {
    margin-bottom: var(--space-xl);
}

.story-text p {
    margin-bottom: var(--space-md);
}

.story-lead {
    font-size: 1.35rem;
    line-height: 1.6;
}

.story-text em {
    color: var(--color-accent-secondary);
    font-style: italic;
}

.highlight {
    font-family: var(--font-mono);
    color: var(--color-accent-gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.story-quote {
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-accent-tertiary);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.story-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.story-quote cite {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: normal;
}

.story-images {
    display: grid;
    gap: var(--space-lg);
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.story-image img {
    transition: transform var(--transition-slow);
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image-2 {
    margin-top: var(--space-xl);
}

.olbers-aside {
    max-width: var(--container-max);
    margin: var(--space-2xl) auto 0;
    padding: var(--space-lg) var(--container-padding);
    text-align: center;
}

.olbers-aside p {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.olbers-answer {
    display: block;
    color: var(--color-accent-secondary);
    margin-top: var(--space-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.olbers-aside:hover .olbers-answer {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   GALLERY SECTION
   -------------------------------------------------------------------------- */
.section-gallery {
    background: linear-gradient(
        to bottom,
        var(--color-bg-secondary),
        var(--color-bg-primary)
    );
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    background: var(--color-bg-tertiary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    background: linear-gradient(to top, rgba(10, 10, 26, 0.95), transparent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-large img {
    min-height: 400px;
}

/* --------------------------------------------------------------------------
   BOOK SECTION
   -------------------------------------------------------------------------- */
.section-book {
    background: var(--color-bg-primary);
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.book-visual {
    position: relative;
}

.book-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.book-mockup img {
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(123, 104, 238, 0.2);
}

.book-float-text {
    position: absolute;
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(123, 104, 238, 0.1);
    line-height: 1.2;
}

.book-float-text span {
    display: block;
}

.book-author {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.book-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.book-formats {
    margin-top: var(--space-xl);
}

.formats-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.format-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   SHARE SECTION
   -------------------------------------------------------------------------- */
.section-share {
    padding: var(--space-2xl) var(--container-padding);
    background: var(--color-bg-secondary);
}

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

.share-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.share-subtitle {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent-primary);
}

.share-btn:hover svg {
    color: var(--color-text-primary);
}

.share-twitter:hover { border-color: #1da1f2; }
.share-twitter:hover svg { color: #1da1f2; }

.share-facebook:hover { border-color: #4267b2; }
.share-facebook:hover svg { color: #4267b2; }

.share-linkedin:hover { border-color: #0077b5; }
.share-linkedin:hover svg { color: #0077b5; }

.share-whatsapp:hover { border-color: #25d366; }
.share-whatsapp:hover svg { color: #25d366; }

.share-copy:hover { border-color: var(--color-accent-secondary); }
.share-copy:hover svg { color: var(--color-accent-secondary); }

.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent-secondary);
    color: var(--color-bg-primary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--space-2xl) var(--container-padding) var(--space-lg);
    background: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-meta {
    text-align: right;
}

.footer-meta p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-easter-egg {
    margin-top: var(--space-sm);
}

.ee-trigger {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.ee-trigger:hover {
    opacity: 1;
    color: var(--color-accent-gold);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-glitch {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        position: static;
    }
    
    .story-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-image-2 {
        margin-top: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .book-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .book-visual {
        order: -1;
    }
    
    .book-float-text {
        display: none;
    }
    
    .format-buttons {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-scroll {
        display: none;
    }
    
    .section {
        padding: var(--space-2xl) var(--container-padding);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .story-images {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-large {
        grid-column: span 1;
    }
    
    .video-info {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-meta {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-glitch {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer-glitch span[aria-hidden] {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .format-buttons {
        flex-direction: column;
    }
    
    .btn-format {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   ANIMATIONS & EFFECTS
   -------------------------------------------------------------------------- */

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
