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

:root {
    /* Base Colors */
    --green: #8fe644;
    --green-d: #61b329;
    --green-dk: #3d7a12;
    --gold: #ffbe28;
    --orange: #ff7d31;
    --purple: #bf66ff;
    --blue: #40bdfa;
    --red: #ff3344;

    /* Backgrounds & Text */
    --bg-dark: #0a0e17;
    --glass-bg: rgba(15, 20, 31, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f4f8;
    --text-dim: #94a3b8;

    /* Fonts */
    --mono: 'Share Tech Mono', monospace;
    --display: 'Share Tech Mono', monospace;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-dark);
}

body {
    font-family: var(--mono);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

/* ── Typography Effects ──────────────────────────────────────────── */
.premium-title {
    font-family: var(--display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    text-shadow: 3px 3px 0 #000,
        -1px -1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--green);
}

.premium-title span {
    color: #fff;
}

.center {
    text-align: center;
}

.glow-title {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 190, 40, 0.5),
        3px 3px 0 #000;
}

.dark-sub {
    color: #475569 !important;
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    font-family: var(--display);
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
    text-shadow: 2px 2px 0 #000;
}

.nav-brand span {
    color: var(--green);
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 13px;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-main);
    text-shadow: 1px 1px 0 #000;
    position: relative;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-wallet {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 #000;
}

.nav-wallet:hover {
    border-color: var(--purple);
    box-shadow: 0 0 15px rgba(191, 102, 255, 0.3);
}

.btn-play-nav {
    background: linear-gradient(180deg, var(--green) 0%, var(--green-d) 100%);
    color: #000;
    font-family: var(--display);
    font-weight: bold;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid var(--green-dk);
    box-shadow: 0 4px 0 var(--green-dk), 0 0 15px rgba(143, 230, 68, 0.4);
    transition: all 0.1s ease;
}

.btn-play-nav:hover {
    color: #000;
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--green-dk), 0 0 20px rgba(143, 230, 68, 0.6);
}

/* ── PREMIUM HERO ────────────────────────────────────────────────── */
.hero-premium {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-premium-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    transform: scale(1.05);
    /* Slight scale to allow parallax later if needed */
}

/* Dark gradient overlay to make text pop */
.hero-premium-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-premium-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-badge-glow {
    display: inline-block;
    background: rgba(15, 20, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--text-main);
    font-size: 14px;
    letter-spacing: 4px;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0 #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-premium-title {
    font-family: var(--display);
    font-size: clamp(60px, 10vw, 130px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
    text-shadow:
        4px 4px 0 #000,
        8px 8px 0 rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.hero-premium-accent {
    color: var(--green);
    text-shadow:
        4px 4px 0 #000,
        8px 8px 0 rgba(0, 0, 0, 0.5),
        0 0 60px rgba(143, 230, 68, 0.4);
}

.hero-premium-sub {
    font-size: clamp(16px, 2vw, 22px);
    color: #e2e8f0;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
}

.btn-glowing-main {
    display: inline-block;
    background: linear-gradient(180deg, var(--gold) 0%, #d49800 100%);
    color: #000;
    font-family: var(--display);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1px;
    padding: 20px 48px;
    border-radius: 8px;
    border: 2px solid #523900;
    box-shadow: 0 6px 0 #8b6200, 0 0 40px rgba(255, 190, 40, 0.4);
    transition: all 0.1s ease;
}

.btn-glowing-main:hover {
    color: #000;
    transform: translateY(4px);
    box-shadow: 0 2px 0 #8b6200, 0 0 60px rgba(255, 190, 40, 0.6);
}

.hero-premium-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-community-x {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 14, 23, 0.75);
    color: #fff;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    padding: 13px 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    text-shadow: none;
}

.btn-community-x:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.wallet-status-glow {
    margin-top: 20px;
    color: var(--green);
    text-shadow: 1px 1px 0 #000, 0 0 10px var(--green);
    font-size: 14px;
    min-height: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.arrow-down {
    font-size: 24px;
    margin-top: 8px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* ── LORE SECTION ────────────────────────────────────────────────── */
.section-lore {
    padding: 120px 20px;
    background: #0a0e17;
    /* Solid dark link between hero and glass sections */
    position: relative;
    border-top: 4px solid var(--green);
}

.lore-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.lore-image {
    flex: 1;
    position: relative;
}

.floating-img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 128, 0.4));
    image-rendering: pixelated;
}

@keyframes float-hero {

    0%,
    100% {
        transform: scale(2.5) translateY(0);
    }

    50% {
        transform: scale(2.5) translateY(-6px);
    }
}

.pixel-punch-hero {
    width: 140px;
    height: 114px;
    background: url('../assets/monkey_sprites.png') no-repeat;
    background-position: -28px -52px;
    animation: float-hero 6s ease-in-out infinite;
    /* Removed scaling here safely since animation handles it */
    image-rendering: pixelated;
    margin: 60px auto;
}

kbd {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--body);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@keyframes floatImg {

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

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

.lore-text {
    flex: 1;
}

.lore-text p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
}

.lore-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.lore-stat {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.lore-stat span {
    font-family: var(--display);
    font-size: 36px;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 2px 2px 0 #000;
}

/* ── GLASS SECTIONS (General) ────────────────────────────────────── */
.section-glass {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0f1623 0%, #0a0e17 100%);
    position: relative;
}

.section-glass.inverted {
    background: #e2e8f0;
    color: #0f172a;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 80px 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 0 auto;
}

/* ── HOW TO PLAY GRID EXPERT ─────────────────────────────────────── */
.htp-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.htp-card-premium {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.htp-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.htp-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000;
    font-family: var(--display);
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(143, 230, 68, 0.2);
    text-shadow: none;
}

.htp-card-premium h3 {
    font-family: var(--display);
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}

.htp-card-premium p {
    color: var(--text-dim);
    font-size: 15px;
}

.wide-card {
    grid-column: span 3;
    background: rgba(255, 51, 68, 0.05);
    border-color: rgba(255, 51, 68, 0.1);
}

.wide-card h3 {
    color: var(--red);
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.obs-flex {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.obs-item-p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: var(--display);
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 1px;
}

/* CSS Shapes for Obstacles & Coins (Kept from previous update, adapted for premium dark mode) */
.shape {
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    /* enhanced shadow */
}

.shape-candle-g {
    width: 18px;
    height: 35px;
    background: #61b329;
    border: 2px solid #000;
}

.shape-candle-g::before {
    content: '';
    position: absolute;
    left: 6px;
    top: -8px;
    width: 2px;
    height: 51px;
    background: #000;
    z-index: -1;
}

.shape-candle-r {
    width: 18px;
    height: 20px;
    background: #ff3344;
    border: 2px solid #000;
}

.shape-candle-r::before {
    content: '';
    position: absolute;
    left: 6px;
    top: -8px;
    width: 2px;
    height: 36px;
    background: #000;
    z-index: -1;
}

.shape-candle-t {
    width: 18px;
    height: 48px;
    background: #61b329;
    border: 2px solid #000;
}

.shape-candle-t::before {
    content: '';
    position: absolute;
    left: 6px;
    top: -8px;
    width: 2px;
    height: 64px;
    background: #000;
    z-index: -1;
}

.shape-duck {
    width: 44px;
    height: 16px;
    background: #bf66ff;
    border: 2px solid #000;
}

.shape-duck::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 6px;
    height: 12px;
    background: #000;
    box-shadow: 14px 0 0 #000, 28px 0 0 #000;
}

.shape-crash {
    width: 44px;
    height: 16px;
    background: #ff3344;
    border: 2px solid #000;
}

.shape-crash::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 6px;
    height: 12px;
    background: #000;
    box-shadow: 14px 0 0 #000, 28px 0 0 #000;
}

.shape-spike {
    width: 44px;
    height: 28px;
    background: transparent;
    overflow: hidden;
}

.shape-spike::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 28px solid #94a3b8;
    filter: drop-shadow(0 -2px 0 #000);
}

.shape-spike::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 28px solid #94a3b8;
    filter: drop-shadow(0 -2px 0 #000);
}

.shape-spike-mid {
    position: absolute;
    bottom: -12px;
    left: 12px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 22px solid #94a3b8;
    z-index: 2;
    filter: drop-shadow(0 -2px 0 #000);
}

.section-inner {
    position: relative;
    z-index: 10;
}


/* ── CYBER FEATURES SECTION ──────────────────────────────────────── */
.section-cyber {
    position: relative;
    padding: 140px 20px;
    background: #000;
    overflow: hidden;
}

.cyber-bg-layer {
    position: absolute;
    inset: 0;
    background-image: url('images/trench_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    image-rendering: pixelated;
    filter: brightness(0.25) contrast(1.2);
    z-index: 1;
}

.cyber-bg-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0a0e17 0%, rgba(10, 14, 23, 0.3) 20%, rgba(10, 14, 23, 0.3) 80%, #e2e8f0 100%);
}

.section-sub-glow {
    text-align: center;
    color: #fff;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 60px;
}

.boost-grid-cyber {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.boost-card-cyber {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 189, 250, 0.2);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: all 0.3s ease;
}

.boost-card-cyber:hover {
    transform: translateX(10px);
    background: rgba(10, 14, 23, 0.95);
    border-color: var(--blue);
    box-shadow: -5px 10px 30px rgba(64, 189, 250, 0.2);
}

.legendary-card {
    border-color: rgba(255, 190, 40, 0.4);
}

.legendary-card:hover {
    border-color: var(--gold);
    box-shadow: -5px 10px 30px rgba(255, 190, 40, 0.2);
}

.absolute-legend {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(255, 51, 68, 0.1), rgba(10, 14, 23, 0.9));
    border-color: rgba(255, 51, 68, 0.4);
}

.boost-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.boost-info h3 {
    font-family: var(--display);
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boost-info h3 span {
    font-size: 11px;
    color: var(--gold);
    background: rgba(255, 190, 40, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.boost-info p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ── TIERS SECTION ───────────────────────────────────────────────── */
.tier-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 40px;
}

.tier-card-premium {
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tier-card-premium:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    background: rgba(10, 14, 23, 0.9);
}

.tier-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.whale-tier::before {
    background: var(--gold);
}

.holder-tier::before {
    background: var(--purple);
}

.degen-tier::before {
    background: var(--green);
}

.tier-crown {
    font-size: 48px;
    margin-bottom: 20px;
}

.tier-card-premium h3 {
    font-family: var(--display);
    font-size: 28px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.tier-req {
    font-size: 13px;
    font-weight: bold;
    color: #94a3b8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-perks {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tier-perks li {
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-cta-premium {
    text-align: center;
    margin-top: 60px;
}

.btn-glowing-wallet {
    display: inline-block;
    background: #0f172a;
    color: #fff;
    font-family: var(--display);
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 8px;
    border: 1px solid #334155;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.btn-glowing-wallet:hover {
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 8px 30px rgba(191, 102, 255, 0.4);
    transform: translateY(-2px);
}

/* ── LEADERBOARD ─────────────────────────────────────────────────── */
.section-leaderboard {
    padding: 120px 20px;
    background: #0a0e17;
}

.text-white {
    color: #fff;
}

.lb-premium-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.lb-premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.lb-premium-table th {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-dim);
    padding: 20px;
    text-align: left;
    font-weight: normal;
    letter-spacing: 2px;
}

.lb-premium-table td {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.lb-premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.lb-loading {
    text-align: center;
    padding: 60px !important;
    color: var(--gold);
    font-family: var(--display);
    font-size: 18px;
}

.lb-footer-premium {
    max-width: 1000px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-refresh-premium {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-family: var(--mono);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh-premium:hover {
    color: #fff;
    border-color: #fff;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer-premium {
    background: #05070a;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner-premium {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-brand-p {
    font-family: var(--display);
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-main p {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-links-p {
    display: flex;
    gap: 30px;
}

.footer-links-p a {
    font-family: var(--display);
    font-size: 16px;
    letter-spacing: 1px;
}

.f-play {
    color: var(--green);
}

.f-x {
    color: var(--text-main);
}

.f-pump {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 13px;
}

.footer-bottom strong {
    color: #94a3b8;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
/* ── SCROLL ANIMATIONS ─────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (max-width: 1024px) {

    .htp-grid-premium,
    .tier-grid-premium {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .wide-card,
    .absolute-legend {
        grid-column: 1 / -1;
    }

    .lore-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .lore-container {
        flex-direction: column;
    }

    .nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-premium-title {
        font-size: 56px;
    }

    .hero-premium-sub {
        font-size: 16px;
    }

    .btn-glowing-main {
        font-size: 18px;
        padding: 16px 30px;
    }

    .glass-card {
        padding: 40px 20px;
    }

    .footer-inner-premium {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}