/* ============================================
   ASTÉRIX & OBÉLIX — Las Aventuras Legendarias
   Premium Modern Static Website
   ============================================ */

/* === DESIGN TOKENS === */
:root {
    --gold: #E8C84A;
    --crimson: #C0282A;
    --navy: #0D1B3E;
    --cream: #F5EFD8;
    --charcoal: #1A1A2E;
    --parchment: #EDE3C3;
    --ink: #0D0D0D;
}

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

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* === GRAIN TEXTURE === */
body::after {
    content: "";
    position: fixed;
    inset: -200%;
    width: 400%;
    height: 400%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.12;
    pointer-events: none !important;
    z-index: 0;
    animation: noise 8s steps(10) infinite;
}

@keyframes noise {

    0%,
    100% {
        transform: translate(0, 0)
    }

    10% {
        transform: translate(-5%, -10%)
    }

    20% {
        transform: translate(-15%, 5%)
    }

    30% {
        transform: translate(7%, -25%)
    }

    40% {
        transform: translate(-5%, 25%)
    }

    50% {
        transform: translate(-15%, 10%)
    }

    60% {
        transform: translate(15%, 0%)
    }

    70% {
        transform: translate(0, 15%)
    }

    80% {
        transform: translate(3%, 35%)
    }

    90% {
        transform: translate(-10%, 10%)
    }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
}

@keyframes notifPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-5deg);
        opacity: 0;
    }

    40% {
        transform: translate(-50%, -50%) scale(1.05) rotate(1deg);
        opacity: 1;
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    90% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* === NAVBAR === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    transition: padding 0.3s;
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 27, 62, 0.95), transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(-15deg) scale(1.1);
}

.nav-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.nav-links {
    display: none;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-enter {
    display: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(232, 200, 74, 0.3);
    background: transparent;
    color: var(--cream);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-enter:hover {
    background: var(--gold);
    color: var(--ink);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 27, 62, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: rgba(245, 239, 216, 0.8);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: color 0.3s, transform 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a:hover {
    color: var(--gold);
}

/* Stagger mobile links */
.mobile-menu a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu a:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu a:nth-child(4) {
    transition-delay: 0.2s;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 7rem 1.25rem 7rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #0D0D0D 0%, #0D1B3E 60%, #1a0505 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(192, 40, 42, 0.25) 0%, transparent 60%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(13, 27, 62, 0.8) 0%, transparent 70%);
}

.hero-badge {
    position: absolute;
    top: 6rem;
    right: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 20vw, 15rem);
    color: var(--gold);
    opacity: 0.05;
    line-height: 1;
    text-align: right;
    letter-spacing: 0.05em;
    pointer-events: none;
    user-select: none;
    animation: fadeIn 1.5s 0.8s both;
}

/* Floating particles */
.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(232, 200, 74, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(2) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.hero-particle:nth-child(3) {
    top: 35%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.hero-particle:nth-child(4) {
    top: 50%;
    left: 60%;
    animation-delay: 2s;
    animation-duration: 4s;
}

.hero-particle:nth-child(5) {
    top: 65%;
    left: 80%;
    animation-delay: 0.5s;
    animation-duration: 8s;
}

.hero-particle:nth-child(6) {
    top: 25%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 6s;
}

.hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.3s both;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 14vw, 11rem);
    line-height: 0.85;
    letter-spacing: 0.02em;
    animation: fadeUp 0.8s 0.5s both;
}

.hero h1 .crimson {
    color: var(--crimson);
}

.hero-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(0.95rem, 2.5vw, 1.4rem);
    color: var(--parchment);
    margin-top: 1rem;
    max-width: 500px;
    line-height: 1.6;
    animation: fadeUp 0.8s 0.7s both;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: fadeUp 0.8s 0.9s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s 2s both;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s infinite;
}

/* === SECTION DIVIDER === */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.divider-label {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(232, 200, 74, 0.3), transparent);
}

/* === SECTIONS === */
section {
    padding: 4rem 1.25rem;
    position: relative;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 5.5rem);
    letter-spacing: 0.03em;
    line-height: 0.95;
    margin-bottom: 1rem;
}

.section-header h2 em {
    color: var(--gold);
    font-style: normal;
}

.section-header p {
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: 400px;
    line-height: 1.7;
}

/* === GAME SECTION === */
#juego {
    background: var(--navy);
}

.game-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.stat-card {
    background: rgba(232, 200, 74, 0.04);
    border: 1px solid rgba(232, 200, 74, 0.1);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: rgba(232, 200, 74, 0.3);
}

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

.stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
}

.game-buttons {
    display: flex;
    gap: 0.75rem;
}

.game-buttons .btn-primary,
.game-buttons .btn-outline {
    flex: 1;
    text-align: center;
}

.game-canvas-wrap {
    position: relative;
}

.game-canvas-wrap .canvas-label {
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.5;
    background: var(--navy);
    padding: 0 0.5rem;
    z-index: 2;
}

#gameCanvas {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
    border: 1px solid rgba(232, 200, 74, 0.15);
    cursor: crosshair;
    transition: border-color 0.3s;
}

#gameCanvas:hover {
    border-color: rgba(232, 200, 74, 0.3);
}

.game-overlay {
    position: absolute;
    inset: 0;
    top: 0;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 1rem;
    pointer-events: auto;
}

.game-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--gold);
    text-align: center;
}

.game-overlay p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: rgba(245, 239, 216, 0.6);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.game-overlay .btn-retry {
    background: var(--crimson);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.game-overlay .btn-retry:hover {
    transform: translateY(-2px);
}

/* === MAP SECTION === */
#mapa {
    background: var(--charcoal);
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.map-card {
    position: relative;
    aspect-ratio: 5/3;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.4s, border-color 0.4s;
}

.map-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 62, 0.95) 0%, transparent 60%);
    z-index: 1;
}

.map-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.map-card:hover {
    background: rgba(232, 200, 74, 0.03);
    border-color: rgba(232, 200, 74, 0.15);
}

.map-card:hover::after {
    transform: scaleX(1);
}

.map-card:hover .map-icon {
    transform: translate(-50%, -60%) scale(1.15) rotate(-5deg);
}

.map-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 3rem;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7));
}

.map-card-content {
    position: relative;
    z-index: 3;
}

.map-location-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.map-desc {
    font-size: 0.7rem;
    line-height: 1.5;
    opacity: 0.65;
}

/* === QUOTES SECTION === */
#frases {
    background: var(--navy);
}

.quotes-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.quote-display {
    position: relative;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 3px solid var(--crimson);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--crimson);
    opacity: 0.1;
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    line-height: 1.4;
    font-style: italic;
    position: relative;
    z-index: 1;
    transition: opacity 0.4s;
}

.quote-author {
    margin-top: 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.quote-author::before {
    content: '— ';
}

.quote-controls {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.quote-nav {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    text-align: left;
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-nav:hover,
.quote-nav.active {
    background: rgba(192, 40, 42, 0.12);
    border-color: var(--crimson);
    color: var(--gold);
}

.quote-nav .qn-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote-nav .qn-num {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
}

.quote-nav .qn-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.quote-nav .qn-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.quote-nav.active .qn-dot {
    opacity: 1;
}

/* === SOUNDS SECTION === */
#sonidos {
    background: var(--charcoal);
}

.sound-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.sound-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sound-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--crimson);
    transition: height 0.3s;
}

.sound-tile:hover {
    background: rgba(192, 40, 42, 0.06);
    border-color: rgba(192, 40, 42, 0.2);
}

.sound-tile:hover::before {
    height: 100%;
}

.sound-tile:active {
    transform: scale(0.97);
}

.sound-tile.active-ripple {
    background: rgba(192, 40, 42, 0.15) !important;
    border-color: rgba(192, 40, 42, 0.4) !important;
}

.sound-tile-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: transform 0.3s;
}

.sound-tile:hover .sound-tile-icon {
    transform: scale(1.1);
}

.sound-tile-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.sound-tile-sub {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.3;
    margin-top: 0.15rem;
}

/* === FOOTER === */
footer {
    padding: 2.5rem 1.25rem;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    border-top: 1px solid rgba(232, 200, 74, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.footer-sub {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.2;
    margin-top: 0.2rem;
}

.footer-motto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.3;
    font-size: 0.85rem;
}

.footer-credit {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-credit .heart {
    color: var(--crimson);
}

/* === NOTIFICATION === */
.notif {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--crimson);
    color: white;
    padding: 1rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    z-index: 9998;
    pointer-events: none;
    border: 3px solid var(--gold);
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.notif.show {
    animation: notifPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}


/* ==========================
   TABLET BREAKPOINT (≥640px)
   ========================== */
@media (min-width: 640px) {
    nav {
        padding: 1.2rem 2rem;
    }

    .nav-logo-text {
        font-size: 1.5rem;
    }

    .btn-enter {
        display: block;
    }

    .hero {
        padding: 8rem 2rem 8rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.35em;
        margin-bottom: 1.2rem;
    }

    .hero-sub {
        margin-top: 1.2rem;
    }

    .hero-cta {
        flex-direction: row;
        gap: 1rem;
        margin-top: 2.5rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 1rem 2.5rem;
        font-size: 0.8rem;
        letter-spacing: 0.2em;
    }

    .hero-scroll {
        display: flex;
        bottom: 2.5rem;
    }

    .scroll-line {
        height: 50px;
    }

    section {
        padding: 5rem 2rem;
    }

    .section-divider {
        margin-bottom: 3rem;
    }

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

    .section-header p {
        font-size: 0.9rem;
    }

    .map-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-card {
        aspect-ratio: 3/4;
        padding: 1.5rem;
    }

    .map-icon {
        font-size: 3.5rem;
        top: 50%;
    }

    .map-location-name {
        font-size: 1.3rem;
    }

    .map-desc {
        font-size: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

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

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    #gameCanvas {
        aspect-ratio: 16/9;
    }

    .quotes-layout {
        gap: 3rem;
    }

    .quote-display {
        padding: 2rem 0 2rem 2rem;
        min-height: 250px;
    }

    .quote-mark {
        font-size: 8rem;
    }

    .sound-grid {
        gap: 1rem;
    }

    .sound-tile {
        padding: 1.5rem;
    }

    .sound-tile-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .sound-tile-label {
        font-size: 1.3rem;
    }

    .sound-tile-sub {
        font-size: 0.6rem;
    }

    footer {
        padding: 3.5rem 2rem;
        gap: 1.5rem;
    }

    .footer-title {
        font-size: 2.2rem;
    }

    .mobile-menu a {
        font-size: 3.5rem;
    }

    .notif {
        font-size: 2.2rem;
        padding: 1.2rem 2.5rem;
    }
}


/* ==========================
   TABLET-LANDSCAPE (≥768px)
   ========================== */
@media (min-width: 768px) {
    section {
        padding: 6rem 4rem;
    }

    .hero {
        padding: 8rem 4rem 10rem;
    }

    .hero-badge {
        right: 4rem;
    }

    .quotes-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .quote-display {
        min-height: 300px;
        padding: 3rem 0 3rem 3rem;
    }

    .quote-mark {
        font-size: 10rem;
    }

    .map-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sound-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 4rem;
        text-align: left;
    }
}


/* ==========================
   DESKTOP BREAKPOINT (≥1024px)
   ========================== */
@media (min-width: 1024px) {
    nav {
        padding: 1.2rem 4rem;
    }

    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .hero {
        padding: 8rem 8rem 12rem;
    }

    .hero-badge {
        right: 8rem;
    }

    section {
        padding: 6rem 8rem;
    }

    .section-divider {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    .divider-label {
        font-size: 0.65rem;
        letter-spacing: 0.35em;
    }

    .map-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .map-card {
        padding: 1.5rem;
    }

    .map-icon {
        font-size: 4rem;
    }

    .map-location-name {
        font-size: 1.4rem;
    }

    /* On desktop: descriptions hidden until hover */
    .map-desc {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s, opacity 0.4s;
    }

    .map-card:hover .map-desc {
        max-height: 200px;
        opacity: 0.7;
    }

    .game-wrapper {
        gap: 4rem;
    }

    .stat-card {
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.25em;
    }

    .quote-nav {
        padding: 1.2rem 2rem;
    }

    .quote-nav .qn-name {
        font-size: 1.1rem;
    }

    .sound-tile {
        padding: 2rem;
    }

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

    .sound-tile-label {
        font-size: 1.4rem;
    }

    .sound-tile-sub {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .sound-grid {
        gap: 1.5rem;
    }

    footer {
        padding: 4rem 8rem;
    }

    .footer-title {
        font-size: 2.5rem;
    }

    .hero-scroll {
        bottom: 3rem;
    }

    .notif {
        font-size: 2.5rem;
        padding: 1.5rem 3rem;
    }
}