/* ==========================================================================
   FEEDERS Landing Page - Complete Styles
   ========================================================================== */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors - Updated for WCAG compliance */
    --color-primary: #cc0000;
    --color-accent: #00f5ff;
    --color-bg: #000000;
    --color-bg-light: #0a0a0a;
    --color-bg-card: #111;
    --color-text: #ffffff;
    --color-text-muted: #b3b3b3;  /* Was #999, now passes WCAG AA */
    --color-text-dim: #8a8a8a;    /* Was #666, now passes WCAG AA */

    /* Typography */
    --font-display: 'Minecrafter', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Type Scale (1.25 ratio): 12, 15, 19, 24, 30, 37px */
    --text-xs: 0.75rem;     /* 12px - minimum readable */
    --text-sm: 0.9375rem;   /* 15px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.1875rem;   /* 19px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 1.875rem;   /* 30px */
    --text-3xl: 2.3125rem;  /* 37px */

    /* Line Heights - Standardized */
    --leading-tight: 1.2;   /* Headings */
    --leading-snug: 1.5;    /* UI elements */
    --leading-normal: 1.6;  /* Body text */

    /* Letter Spacing - Standardized */
    --tracking-normal: 0;       /* Body */
    --tracking-wide: 0.02em;    /* UI */
    --tracking-wider: 0.05em;   /* Headings */
    --tracking-widest: 0.1em;   /* All-caps */

    /* Spacing Scale (4px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-24: 6rem;     /* 96px */

    /* Layout */
    --container-max: 1400px;
    --container-wide: 1600px;
    --section-padding: var(--space-24) var(--space-8);
    --card-padding: var(--space-8);
    --grid-gap: var(--space-8);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;

    /* Hover Translation - Standardized */
    --hover-lift: -4px;
}

/* ==========================================================================
   Base Elements
   ========================================================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

strong { color: var(--color-accent); }
em { color: var(--color-primary); font-style: normal; }
.text-primary { color: var(--color-primary); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* Full-bleed sections with inner container */
.section--full {
    padding-left: clamp(1.5rem, 5vw, 4rem);
    padding-right: clamp(1.5rem, 5vw, 4rem);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-wider);
    line-height: var(--leading-tight);
}

.section__title--large {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
}

/* Alternate section title colors for variety */
.section--world .section__title,
.section--maps .section__title {
    color: var(--color-text);
}

.section__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--color-text-muted);
    text-align: center;
    max-width: 850px;
    margin: 0 auto var(--space-12);
    line-height: 1.75;
}

.section__cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* ==========================================================================
   Hero - Additional Styles
   ========================================================================== */

/* Hero Parallax Background */
.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__bg-sun {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 75%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    will-change: transform, opacity;
    animation: hero-bg-pulse 4s ease-in-out infinite alternate;
}

@keyframes hero-bg-pulse {
    0% { opacity: 0.35; }
    100% { opacity: 0.2; }
}

.hero__bg-heroes {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 70%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left bottom;
    will-change: transform;
}

/* Hero grain overlay - static for reduced visual noise */
.hero__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
}

.hero__grain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Responsive adjustments for parallax images */
@media (max-width: 1024px) {
    .hero__bg-sun {
        height: 80%;
    }

    .hero__bg-heroes {
        height: 60%;
    }
}

@media (max-width: 768px) {
    .hero__bg-sun {
        height: 55%;
        right: -5%;
        opacity: 0.25;
    }

    .hero__bg-heroes {
        height: 50%;
    }

    .hero__scroll {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__bg-sun {
        height: 50%;
        opacity: 0.2;
    }

    .hero__bg-heroes {
        height: 45%;
    }
}

.hero__scroll {
    position: absolute;
    bottom: clamp(1rem, 5vh, 2rem);
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-indicator {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ==========================================================================
   Section 2: The World
   ========================================================================== */
.section--world {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

.world__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .world__content {
        grid-template-columns: 1fr 1fr;
    }
}

.world__text p {
    margin-bottom: var(--space-6);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.world__text p:nth-child(2) {
    color: var(--color-text);
    font-size: 1.375rem;
    font-weight: 600;
}

.world__tagline {
    font-family: var(--font-display);
    font-size: var(--text-base) !important;
    color: var(--color-accent) !important;
    letter-spacing: var(--tracking-wide);
    margin-top: var(--space-6) !important;
}

.world__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 250px;
    max-height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
}

.world__layer {
    position: absolute;
    left: 0;
    right: 0;
    transition: transform 0.3s ease;
}

.world__layer--surface {
    top: 0;
    height: 50%;
    background: linear-gradient(180deg,
        #1a0a00 0%,
        #2d1810 30%,
        #3d2015 60%,
        #5c3a25 100%
    );
    box-shadow: inset 0 -20px 40px rgba(230, 57, 70, 0.2);
}

.world__layer--surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 100, 50, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 50%, rgba(255, 150, 50, 0.2) 0%, transparent 25%);
}

.world__layer--underground {
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg,
        #0a1520 0%,
        #051015 50%,
        #020810 100%
    );
}

.world__layer--underground::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 245, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 200, 255, 0.1) 0%, transparent 30%);
    opacity: 0.8;
}

/* Divider line between layers */
.world__visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-primary) 20%,
        var(--color-primary) 80%,
        transparent 100%
    );
    box-shadow: 0 0 20px var(--color-primary);
}

/* ==========================================================================
   Section 3: Gameplay Pillars
   ========================================================================== */
.section--gameplay {
    background: var(--color-bg);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pillar {
    background: var(--color-bg-card);
    border: 1px solid #222;
    border-radius: 12px;
    padding: var(--space-10, 2.5rem);
    text-align: center;
    transition: var(--transition-medium);
    transition-property: transform, border-color, box-shadow;
}

.pillar:hover {
    transform: translateY(var(--hover-lift));
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.2);
}

.pillar__icon {
    color: var(--color-accent);
    margin-bottom: var(--space-6);
}

.pillar__icon svg {
    width: 56px;
    height: 56px;
}

.pillar__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-tight);
}

.pillar__text {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ==========================================================================
   Section 4: Creatures
   ========================================================================== */
.section--creatures {
    background: linear-gradient(180deg, var(--color-bg) 0%, #050505 100%);
}

.creatures {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-6);
    margin: var(--space-12) auto var(--space-12);
    max-width: 1400px;
}

@media (min-width: 768px) {
    .creatures {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .creatures {
        grid-template-columns: repeat(6, 1fr);
    }
}

.creature {
    background: var(--color-bg-card);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition-medium);
    min-height: 44px;
}

.creature--revealed:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.creature__image {
    width: 100%;
    aspect-ratio: 1;
    background: #0a0a0a;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.creature__silhouette {
    width: 80%;
    height: 80%;
    background: var(--color-primary);
    opacity: 0.8;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Different silhouette shapes */
.creature__silhouette--clone {
    border-radius: 50% 50% 45% 45%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.creature__silhouette--clown {
    border-radius: 30%;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}

.creature__silhouette--titan {
    border-radius: 10%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
}

.creature__silhouette--manic {
    border-radius: 50%;
    /* Removed rapid flickering animation - too distracting */
}

.creature__image--locked {
    background: repeating-linear-gradient(
        45deg,
        #0a0a0a,
        #0a0a0a 10px,
        #080808 10px,
        #080808 20px
    );
    border: 1px dashed #333;
}

.creature__unknown {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #333;
}

.creature__name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-snug);
}

.creature__name--redacted {
    color: #444;
    font-size: 1rem;
}

.creature__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.creature--hidden {
    opacity: 0.5;
}

.creatures__footer {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ==========================================================================
   Section 5: Maps
   ========================================================================== */
.section--maps {
    background: var(--color-bg);
}

.maps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-top: var(--space-12);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .maps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.map {
    background: var(--color-bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid #1a1a1a;
}

.map:hover {
    transform: translateY(var(--hover-lift));
}

.map__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.map__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map:hover .map__image img {
    transform: scale(1.05);
}

/* Map placeholder styles */
.map__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map--carnival .map__image--placeholder {
    background: linear-gradient(135deg, #1a0020 0%, #0d0015 50%, #150025 100%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 128, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 245, 255, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.1) 0%, transparent 50%);
}

.map--factory .map__image--placeholder {
    background: linear-gradient(135deg, #0a0a12 0%, #050508 50%, #08080f 100%);
    background-image:
        repeating-linear-gradient(90deg, transparent 0px, transparent 50px, rgba(255,255,255,0.02) 50px, rgba(255,255,255,0.02) 51px),
        repeating-linear-gradient(0deg, transparent 0px, transparent 50px, rgba(255,255,255,0.02) 50px, rgba(255,255,255,0.02) 51px);
}

.map--subway .map__image--placeholder {
    background: linear-gradient(135deg, #0f0f05 0%, #080805 50%, #0a0a03 100%);
    background-image:
        linear-gradient(90deg, transparent 45%, rgba(80, 80, 30, 0.2) 50%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(100, 100, 50, 0.15) 0%, transparent 60%);
}

.map__placeholder-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 4px;
    opacity: 0.15;
}

/* Map color overlays */
.map--carnival .map__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 0, 128, 0.2) 0%,
        rgba(0, 245, 255, 0.3) 100%
    );
    mix-blend-mode: overlay;
}

.map--factory .map__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 20, 40, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.map--subway .map__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(50, 50, 0, 0.3) 0%,
        rgba(30, 40, 20, 0.5) 100%
    );
}

.map__content {
    padding: var(--space-8);
}

.map__name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-wider);
    line-height: var(--leading-tight);
}

.map--carnival .map__name { color: var(--color-accent); }
.map--factory .map__name { color: #6699cc; }
.map--subway .map__name { color: #99aa66; }

.map__desc {
    color: var(--color-text-muted);
    font-size: 1.1875rem;
    line-height: 1.75;
}

/* ==========================================================================
   Section 6: Final CTA
   ========================================================================== */
.section--cta {
    background: linear-gradient(180deg, var(--color-bg) 0%, #0a0505 100%);
    text-align: center;
    padding: var(--space-24) var(--space-8);
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta__tagline {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--space-12);
    line-height: 1.75;
}

.cta__buttons {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

.social {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid #222;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social__link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(var(--hover-lift));
}

.social__link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #030303;
    padding: var(--space-16) var(--space-8) var(--space-8);
    border-top: 1px solid #1a1a1a;
}

.footer__content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer__main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
    padding-bottom: var(--space-10, 2.5rem);
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: var(--space-8);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__logo {
    opacity: 0.9;
    filter: brightness(0.9);
}

.footer__tagline {
    color: var(--color-text-dim);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--color-text);
}

.footer__link svg {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer__link:hover svg {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

.footer__copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer__copy p {
    color: var(--color-text-dim);
    font-size: 0.8125rem;
    margin: 0;
}

.footer__tech {
    color: #8a8a8a;
}

.footer__studio {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    padding: var(--space-3) var(--space-4);
    border: 1px solid #222;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.footer__studio:hover {
    border-color: var(--color-primary);
    background: rgba(255, 0, 0, 0.05);
}

.footer__studio-text {
    font-size: 0.6875rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__studio-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

/* Footer responsive */
@media (max-width: 640px) {
    .footer__main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        flex-direction: column;
        gap: var(--space-4);
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__studio {
        align-items: flex-start;
        width: 100%;
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* ==========================================================================
   MOBILE RESPONSIVE OVERHAUL
   ========================================================================== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 2.5rem 1.25rem;
    }

    .section__title {
        font-size: clamp(1.25rem, 3.5vw, 1.75rem);
        margin-bottom: 1rem;
    }

    .section__title--large {
        font-size: clamp(1.375rem, 4vw, 2rem);
    }

    .section__subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
    }

    .world__content {
        gap: 2rem;
    }

    .world__text p {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
        line-height: 1.65;
    }

    .world__text p:nth-child(2) {
        font-size: 1.0625rem;
    }

    .world__visual {
        aspect-ratio: 16 / 9;
        min-height: 160px;
        max-height: 280px;
    }

    .pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.75rem;
    }

    .pillar {
        padding: 1.25rem;
        border-radius: 8px;
    }

    .pillar__icon {
        margin-bottom: 0.75rem;
    }

    .pillar__icon svg {
        width: 36px;
        height: 36px;
    }

    .pillar__title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .pillar__text {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .creatures {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.625rem;
        margin-top: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .creature {
        padding: 0.625rem;
        border-radius: 8px;
    }

    .creature__name {
        font-size: 0.8125rem;
        margin-bottom: 0.125rem;
    }

    .creature__desc {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .creature__unknown {
        font-size: 1.25rem;
    }

    .creatures__footer {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .maps {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.75rem;
    }

    .map {
        border-radius: 10px;
    }

    .map__image {
        aspect-ratio: 2 / 1;
    }

    .map__content {
        padding: 1.25rem;
    }

    .map__name {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }

    .map__desc {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .section--cta {
        padding: 2.5rem 1.25rem;
    }

    .cta__tagline {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .cta__buttons .btn {
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }

    .social {
        gap: 1rem;
    }

    .social__link {
        width: 40px;
        height: 40px;
    }

    .footer {
        padding: 2rem 1.25rem 1.5rem;
    }

    .footer__main {
        padding-bottom: 1.5rem;
        margin-bottom: 1.25rem;
        gap: 1.25rem;
    }

    .footer__studio-name {
        font-size: 0.9375rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 1rem;
    }

    .section__title {
        font-size: clamp(1.0625rem, 5vw, 1.375rem);
        margin-bottom: 0.75rem;
    }

    .section__title--large {
        font-size: clamp(1.125rem, 5.5vw, 1.5rem);
    }

    .section__subtitle {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    .world__content {
        gap: 1.5rem;
    }

    .world__text p {
        font-size: 0.8125rem;
        line-height: 1.55;
        margin-bottom: 0.75rem;
    }

    .world__text p:nth-child(2) {
        font-size: 0.9375rem;
    }

    .world__tagline {
        font-size: 0.8125rem !important;
    }

    .world__visual {
        min-height: 140px;
        max-height: 200px;
    }

    .pillars {
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
        margin-top: 1.25rem;
    }

    .pillar {
        padding: 1rem;
    }

    .pillar__icon svg {
        width: 28px;
        height: 28px;
    }

    .pillar__icon {
        margin-bottom: 0.5rem;
    }

    .pillar__title {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }

    .pillar__text {
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .creatures {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .creature {
        padding: 0.375rem;
        border-radius: 6px;
    }

    .creature__image {
        margin-bottom: 0.25rem;
        border-radius: 3px;
    }

    .creature__name {
        font-size: 0.6875rem;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .creature__name--redacted {
        font-size: 0.5625rem;
    }

    .creature__desc {
        font-size: 0.625rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
    }

    .creature__unknown {
        font-size: 1rem;
    }

    .creatures__footer {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .maps {
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .map {
        border-radius: 8px;
    }

    .map__image {
        aspect-ratio: 2.5 / 1;
    }

    .map__content {
        padding: 1rem;
    }

    .map__name {
        font-size: 1.0625rem;
        margin-bottom: 0.25rem;
    }

    .map__desc {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .map__placeholder-text {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .section--cta {
        padding: 2rem 1rem;
    }

    .cta__tagline {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    .cta__buttons {
        max-width: 280px;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .cta__buttons .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.75rem;
    }

    .social__link {
        width: 36px;
        height: 36px;
    }

    .social__link svg {
        width: 18px;
        height: 18px;
    }

    .footer {
        padding: 1.5rem 1rem 1rem;
    }

    .footer__main {
        gap: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .footer__tagline {
        font-size: 0.8125rem;
    }

    .footer__link {
        font-size: 0.8125rem;
    }

    .footer__copy p {
        font-size: 0.6875rem;
    }

    .footer__studio {
        padding: 0.5rem 0.75rem;
    }

    .footer__studio-text {
        font-size: 0.5625rem;
    }

    .footer__studio-name {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .maps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .section--world .world__content {
        gap: var(--space-16);
    }

    .pillars {
        grid-template-columns: repeat(4, 1fr);
    }

    .creatures {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .header,
    .hero__scroll,
    .btn,
    .social {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Section Animations (JS-triggered)
   ========================================================================== */
.section--animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@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;
    }

    .section--animate {
        opacity: 1;
        transform: none;
    }
}
