:root {
    --bg: #0b0d10;
    --bg-deep: #09070a;
    --bg-panel: rgba(23, 18, 17, 0.88);
    --bg-panel-2: rgba(33, 26, 23, 0.92);
    --stone-1: #241d1a;
    --stone-2: #171211;
    --line: rgba(233, 216, 184, 0.12);
    --line-strong: rgba(255, 201, 120, 0.34);
    --text: #f7f0e3;
    --muted: #c7baa3;
    --gold: #f0b35a;
    --gold-2: #ffcf8a;
    --ember: #ff8a45;
    --aura: #9e74ff;
    --aura-soft: rgba(158, 116, 255, 0.18);
    --green: #7ecb7e;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
    --radius: 24px;
    --container: min(1240px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;

    background:
            radial-gradient(circle at 50% 0%, rgba(70, 57, 117, 0.24), transparent 30%),
            radial-gradient(circle at 20% 12%, rgba(255, 170, 82, 0.10), transparent 22%),
            radial-gradient(circle at 78% 18%, rgba(255, 143, 69, 0.10), transparent 18%),
            linear-gradient(180deg, #0f1318 0%, #0d1014 22%, #0b0d10 62%, #080709 100%);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -6;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.36)),
        radial-gradient(circle at 32% 62%, rgba(255,255,255,0.025), transparent 18%),
        radial-gradient(circle at 70% 38%, rgba(255,255,255,0.02), transparent 24%);
}

body::after {
    content: "";
    position: fixed;
    inset: auto 0 0;
    height: 28vh;
    pointer-events: none;
    z-index: -2;
    background:
        linear-gradient(180deg, transparent, rgba(0,0,0,0.18) 30%, rgba(0,0,0,0.48)),
        radial-gradient(60% 100% at 12% 100%, rgba(0,0,0,0.70) 0 40%, transparent 42%),
        radial-gradient(45% 100% at 28% 100%, rgba(0,0,0,0.78) 0 42%, transparent 44%),
        radial-gradient(50% 100% at 50% 100%, rgba(0,0,0,0.72) 0 44%, transparent 46%),
        radial-gradient(45% 100% at 74% 100%, rgba(0,0,0,0.78) 0 42%, transparent 44%),
        radial-gradient(60% 100% at 90% 100%, rgba(0,0,0,0.70) 0 40%, transparent 42%);
    opacity: 0.95;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

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

.site-noise,
.site-fog,
.site-embers,
.summer-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.site-noise {
    z-index: -5;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.8) 0 0.8px, transparent 1.4px),
        radial-gradient(circle at 70% 32%, rgba(255,255,255,0.8) 0 1px, transparent 1.6px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.75) 0 0.8px, transparent 1.5px);
    background-size: 240px 240px;
}

.site-fog {
    z-index: -4;
    inset: -8%;
    background:
        radial-gradient(circle at 22% 30%, rgba(255, 208, 138, 0.07), transparent 16%),
        radial-gradient(circle at 76% 18%, rgba(158, 116, 255, 0.10), transparent 18%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03), transparent 22%),
        radial-gradient(circle at 60% 80%, rgba(255, 145, 87, 0.06), transparent 16%);
    filter: blur(78px);
    animation: fogMove 20s ease-in-out infinite alternate;
}

.site-embers {
    z-index: -3;
    background:
        radial-gradient(circle at 14% 72%, rgba(255, 171, 97, 0.24), transparent 12%),
        radial-gradient(circle at 82% 58%, rgba(255, 132, 66, 0.16), transparent 10%),
        radial-gradient(circle at 62% 24%, rgba(154, 118, 255, 0.16), transparent 14%);
    filter: blur(120px);
    opacity: 0.7;
}

@keyframes fogMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(10px, -16px, 0); }
}

.header,
.hero,
.section,
.footer {
    position: relative;
    z-index: 2;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(14, 12, 13, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 222, 178, 0.08);
}

.header-inner,
.header-panel,
.nav,
.nav a,
.brand,
.account-menu,
.account-btn {
    position: relative;
    z-index: 100000;
}
.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.96), transparent 16%),
        radial-gradient(circle at center, rgba(255, 176, 95, 0.95), rgba(101, 57, 35, 0.98));
    box-shadow:
        0 0 0 1px rgba(255, 218, 170, 0.18),
        0 0 24px rgba(255, 159, 77, 0.18);
    position: relative;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 10px;
    border: 1px solid rgba(255, 231, 196, 0.24);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong,
.section-head h2,
.world-story h2,
.hero-title,
.footer strong,
.rank-title,
.store-title {
    font-family: Cinzel, Georgia, serif;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: 0.10em;
}

.brand-text small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.66rem;
}

.header-panel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255, 223, 180, 0.06);
}

.nav a {
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 12px;
    transition: 0.25s ease;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
    background: rgba(255, 189, 111, 0.08);
}

.account-menu {
    position: relative;
}

.account-btn,
.btn,
.shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.account-btn:hover,
.btn:hover,
.shop-button:hover {
    transform: translateY(-3px);
}

.account-btn {
    min-width: 120px;
    padding: 13px 18px;
    border-radius: 16px;
    color: white;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(72, 49, 40, 0.98), rgba(41, 27, 21, 0.98));
    border: 1px solid rgba(255, 200, 126, 0.22);
    box-shadow: 0 10px 24px rgba(0,0,0,0.32);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(17, 13, 12, 0.98);
    border: 1px solid rgba(255, 223, 180, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: 0.2s ease;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-item {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    transition: 0.2s ease;
}

.account-item:hover {
    color: var(--text);
    background: rgba(255, 190, 111, 0.06);
}

.burger {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255,223,180,0.08);
    background: rgba(255,255,255,0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 999px;
}

.hero {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    padding: 42px 0 54px;
    padding-top: 24px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.hero-badge,
.section-kicker,
.panel-chip,
.world-tags span,
.community-card small,
.hero-ribbon,
.rank-label,
.store-tag {
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #ffe5bf;
    border: 1px solid rgba(255, 201, 120, 0.18);
    background: rgba(255, 179, 82, 0.08);
    box-shadow: 0 12px 26px rgba(255, 130, 53, 0.08);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 0.92;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero-title span {
    color: var(--gold-2);
}

.hero-text,
.section-lead,
.panel-copy,
.guide-card p,
.community-card p,
.footer p,
.world-story p,
.showcase-caption p,
.lore-panel p,
.rank-copy,
.store-copy,
.donate-lead,
.buy-note,
.faq-card p {
    color: var(--muted);
}

.hero-text {
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 28px;
}

.hero-actions,
.map-actions,
.donate-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-bottom: 28px;
}

.btn,
.shop-button {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 800;
}

.btn-primary,
.shop-button.primary {
    color: #1a1006;
    background: linear-gradient(180deg, #ffd291, #f0b35a);
    box-shadow: 0 14px 30px rgba(240, 179, 90, 0.22);
}

.btn-secondary,
.shop-button.secondary {
    color: #f6efe2;
    background: linear-gradient(180deg, rgba(46, 36, 31, 0.94), rgba(24, 19, 17, 0.96));
    border: 1px solid rgba(255,223,180,0.12);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-stat,
.feature-card,
.panel,
.guide-card,
.community-card,
.map-shell,
.lore-panel,
.showcase-card,
.hero-frame,
.rank-card,
.store-card,
.buy-panel,
.faq-card,
.donate-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(41, 31, 27, 0.96), rgba(20, 15, 14, 0.98));
    border: 1px solid rgba(255, 223, 180, 0.08);
    box-shadow: var(--shadow);
}

.hero-stat::before,
.feature-card::before,
.panel::before,
.guide-card::before,
.community-card::before,
.map-shell::before,
.lore-panel::before,
.showcase-card::before,
.hero-frame::before,
.rank-card::before,
.store-card::before,
.buy-panel::before,
.faq-card::before,
.donate-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 30%);
    pointer-events: none;
}

.hero-stat::after,
.feature-card::after,
.panel::after,
.guide-card::after,
.community-card::after,
.map-shell::after,
.lore-panel::after,
.showcase-card::after,
.hero-frame::after,
.rank-card::after,
.store-card::after,
.buy-panel::after,
.faq-card::after,
.donate-banner::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: calc(var(--radius) - 8px);
    border: 1px solid rgba(255, 219, 171, 0.05);
    pointer-events: none;
}

.hero-stat,
.rank-card {
    padding: 20px;
}

.hero-stat-value,
.rank-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: #fff6e8;
}

.hero-stat-label {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
}

.hero-frame {
    min-height: 660px;
    padding: 18px;
    border-color: rgba(255, 197, 114, 0.14);
    position: relative;
}

.hero-art {
    min-height: 622px;
    border-radius: 20px;
    position: relative;
    background:
            linear-gradient(180deg, rgba(7, 8, 10, 0.05), rgba(7, 8, 10, 0.12) 26%, rgba(8, 7, 6, 0.62) 78%, rgba(8, 7, 6, 0.88) 100%),
            radial-gradient(circle at 52% 16%, rgba(158, 116, 255, 0.18), transparent 18%),
            radial-gradient(circle at 22% 72%, rgba(255, 166, 81, 0.08), transparent 18%),
            url("images/hero-world.jpg") center center / cover no-repeat;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, transparent 40%, rgba(6,6,7,0.48) 64%, rgba(6,6,7,0.92) 100%),
        radial-gradient(circle at 20% 80%, rgba(255, 143, 69, 0.10), transparent 16%);
}
.hero-badge-card {
    position: absolute;
    top: 36px;
    left: 36px;
    z-index: 3;

    padding: 14px 18px;
    border-radius: 18px;

    background: rgba(12, 10, 10, 0.68);
    border: 1px solid rgba(255, 215, 165, 0.10);
    backdrop-filter: blur(8px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.hero-badge-card span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cdb89b;
    margin-bottom: 6px;
}

.hero-badge-card strong {
    display: block;
    font-size: 1rem;
    color: #fff4df;
}
.hero-ribbon {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    padding: 12px;
    border-radius: 18px;

    background: rgba(10, 8, 8, 0.78);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 215, 165, 0.08);
}

.hero-ribbon-item {
    min-width: 0;
    padding: 8px 10px;
}

.hero-ribbon-item b {
    display: block;
    margin-top: 4px;
    font-size: 0.92rem;
    line-height: 1.2;
    word-break: break-word;
}

.section {
    padding: 108px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.004));
    border-top: 1px solid rgba(255,223,180,0.03);
    border-bottom: 1px solid rgba(255,223,180,0.03);
}

.section-world {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.008), transparent),
        radial-gradient(circle at 80% 50%, rgba(255, 158, 71, 0.06), transparent 18%);
}

.section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 42px;
}

.section-kicker {
    color: #ffd08c;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-head h2,
.world-story h2,
.donate-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.04;
    margin-bottom: 14px;
}

.feature-grid,
.community-grid,
.rank-grid,
.store-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

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

.feature-card,
.panel,
.guide-card,
.community-card,
.lore-panel,
.buy-panel,
.faq-card,
.store-card {
    padding: 26px;
}

.feature-card,
.panel,
.guide-card,
.community-card,
.showcase-card,
.lore-panel,
.rank-card,
.store-card,
.faq-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.panel:hover,
.guide-card:hover,
.community-card:hover,
.showcase-card:hover,
.lore-panel:hover,
.rank-card:hover,
.store-card:hover,
.faq-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 202, 122, 0.18);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(255, 190, 110, 0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 212, 151, 0.10);
}

.feature-card h3,
.showcase-caption h3,
.panel h3,
.guide-card h3,
.community-card h3,
.lore-panel h3,
.map-copy h3,
.faq-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.accent-purple .feature-icon { box-shadow: 0 0 0 1px rgba(158,116,255,0.10), 0 0 26px rgba(158,116,255,0.08); }
.accent-cyan .feature-icon { box-shadow: 0 0 0 1px rgba(138,208,255,0.10), 0 0 26px rgba(138,208,255,0.06); }
.accent-green .feature-icon { box-shadow: 0 0 0 1px rgba(126,203,126,0.10), 0 0 26px rgba(126,203,126,0.06); }
.accent-gold .feature-icon { box-shadow: 0 0 0 1px rgba(255,201,120,0.12), 0 0 26px rgba(255,201,120,0.08); }

.world-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: start;
}

.world-story p {
    max-width: 680px;
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.world-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.world-tags span,
.panel-chip,
.rank-label,
.store-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 217, 163, 0.08);
    background: rgba(255,255,255,0.03);
    font-size: 0.72rem;
    font-weight: 800;
}

.world-panels,
.panel-grid,
.guide-layout {
    display: grid;
    gap: 22px;
}

.players-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.panel-chip.live {
    color: #e7ffef;
    background: rgba(126, 203, 126, 0.08);
    border-color: rgba(126, 203, 126, 0.18);
}

.panel-chip.top {
    color: #fff0d7;
    background: rgba(255, 186, 96, 0.08);
    border-color: rgba(255, 186, 96, 0.18);
}

.player-list,
.leaderboard,
.rank-features,
.buy-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.player-row,
.leader-row,
.buy-list li,
.rank-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 223, 180, 0.06);
}

.player-meta,
.leader-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar,
.leader-place,
.rank-icon,
.store-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(255, 191, 112, 0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,223,180,0.10);
}

.player-status,
.money-value {
    font-weight: 800;
}

.money-value {
    color: #f8dcb2;
}

.empty-state {
    padding: 22px;
    text-align: center;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,223,180,0.12);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 22px;
}

.showcase-main {
    grid-row: span 2;
}

.showcase-wide {
    grid-column: span 2;
}

.showcase-card:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-image {
    height: 260px;
    transition: transform 0.45s ease;
    background-position: center;
    background-size: cover;
}

.showcase-main .showcase-image {
    height: 100%;
    min-height: 600px;
}

.showcase-wide .showcase-image {
    height: 360px;
}

.image-1 {
    background-image:
        linear-gradient(180deg, rgba(5,8,10,0.06), rgba(5,8,10,0.78)),
        url("images/screen1.jpg");
}

.image-2 {
    background-image:
        linear-gradient(180deg, rgba(5,8,10,0.10), rgba(5,8,10,0.78)),
        url("images/screen2.jpg");
}

.image-3 {
    background-image:
        linear-gradient(180deg, rgba(5,8,10,0.10), rgba(5,8,10,0.78)),
        url("images/screen3.jpg");
}

.image-4 {
    background-image:
        linear-gradient(180deg, rgba(5,8,10,0.10), rgba(5,8,10,0.78)),
        url("images/screen4.jpg");
}

.showcase-caption {
    padding: 22px;
}

.guide-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
    min-height: 220px;
}

.guide-download {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.map-shell {
    padding: 24px;
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 24px;
    align-items: center;
}

.map-copy p {
    color: var(--muted);
    margin-bottom: 18px;
}

.map-preview {
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,223,180,0.08);
}

.map-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.community-card {
    min-height: 220px;
}

.discord-card { border-color: rgba(156, 190, 255, 0.12); }
.telegram-card { border-color: rgba(158,116,255,0.12); }
.support-card { border-color: rgba(255, 187, 105, 0.12); }

.footer {
    padding: 32px 0 44px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255,223,180,0.08);
    padding-top: 24px;
}

.footer strong {
    display: block;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
}

/* donate */
.donate-hero {
    padding: 72px 0 54px;
}

.donate-banner {
    padding: 38px;
    background:
        linear-gradient(180deg, rgba(43, 30, 23, 0.94), rgba(17, 13, 12, 0.98)),
        radial-gradient(circle at 76% 18%, rgba(158,116,255,0.12), transparent 18%);
}

.donate-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.donate-title {
    margin-bottom: 16px;
}

.donate-lead {
    max-width: 620px;
    margin-bottom: 26px;
    font-size: 1.05rem;
}

.donate-side {
    display: grid;
    gap: 14px;
}

.buy-panel h3 {
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.buy-list {
    list-style: none;
}

.buy-list li {
    justify-content: flex-start;
}

.buy-list li::before,
.rank-features li::before {
    content: "✦";
    color: var(--gold);
    flex: 0 0 auto;
}

.buy-note {
    margin-top: 16px;
    font-size: 0.95rem;
}

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

.rank-card {
    padding: 24px;
}

.rank-label {
    margin-bottom: 18px;
    color: #ffe3bf;
}

.rank-icon {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.rank-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.rank-copy {
    min-height: 72px;
    margin-bottom: 16px;
}

.rank-features {
    list-style: none;
    margin-bottom: 18px;
}

.rank-features li {
    justify-content: flex-start;
    align-items: flex-start;
}

.rank-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.rank-card.legendary {
    border-color: rgba(255, 201, 120, 0.22);
    box-shadow: 0 20px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,201,120,0.06);
}

.rank-card.mythic {
    border-color: rgba(158,116,255,0.22);
}

.rank-card.shadow {
    border-color: rgba(157, 165, 181, 0.16);
}

.rank-card.forge {
    border-color: rgba(255, 140, 82, 0.18);
}

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

.store-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-icon {
    flex: 0 0 auto;
}

.store-title {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.store-price {
    font-weight: 900;
    font-size: 1.25rem;
    color: #fff1da;
}

.store-copy {
    flex: 1 1 auto;
}

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

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.cursor-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.cursor-particle {
    position: absolute;
    pointer-events: none;
    mix-blend-mode: screen;
}
.summer-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}




.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
    will-change: transform, opacity;
}

.header,
.hero,
.section,
.footer {
    position: relative;
    z-index: 2;
}

.particle.dust {
    background: rgba(255, 223, 176, 0.95);
    box-shadow: 0 0 6px rgba(255, 223, 176, 0.95), 0 0 12px rgba(255, 223, 176, 0.55), 0 0 20px rgba(255, 223, 176, 0.20);
}

.particle.firefly {
    background: rgba(255, 183, 105, 1);
    box-shadow: 0 0 8px rgba(255, 183, 105, 0.95), 0 0 16px rgba(255, 183, 105, 0.55), 0 0 28px rgba(255, 183, 105, 0.26);
}

.particle.gold {
    background: rgba(255, 205, 132, 0.95);
    box-shadow: 0 0 8px rgba(255, 205, 132, 0.95), 0 0 16px rgba(255, 205, 132, 0.6), 0 0 26px rgba(255, 205, 132, 0.3);
}

@keyframes floatParticle {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.85;
    }
    100% {
        transform: translate3d(var(--move-x), var(--move-y), 0);
        opacity: 0;
    }
}

@media (max-width: 1180px) {
    .feature-grid,
    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-layout,
    .world-grid,
    .map-shell,
    .donate-head {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-frame {
        min-height: auto;
    }

    .hero-art {
        min-height: 520px;
    }

    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-main,
    .showcase-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .showcase-main .showcase-image,
    .showcase-wide .showcase-image {
        min-height: unset;
        height: 360px;
    }

    .guide-layout,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .burger {
        display: inline-flex;
    }

    .header-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        padding: 14px;
        border-radius: 24px;
        background: rgba(17, 13, 12, 0.96);
        border: 1px solid rgba(255,223,180,0.08);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .header-panel.open {
        display: flex;
    }

    .nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 6px;
        background: transparent;
        border: 0;
    }

    .nav a,
    .account-btn {
        width: 100%;
    }

    .account-menu,
    .account-dropdown {
        width: 100%;
    }

    .account-dropdown {
        left: 0;
        right: 0;
    }

    .hero,
    .donate-hero {
        padding-top: 34px;
    }

    .hero-stats,
    .players-layout,
    .guide-layout,
    .rank-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .hero-ribbon {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .header-inner {
        min-height: 76px;
    }

    .section {
        padding: 84px 0;
    }

    .hero-title,
    .donate-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .hero-art {
        min-height: 420px;
        background-position: center;
    }

    .hero-frame {
        padding: 14px;
    }

    .showcase-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .showcase-main .showcase-image,
    .showcase-wide .showcase-image,
    .showcase-image {
        height: 280px;
    }

    .map-preview {
        min-height: 300px;
    }

    .guide-card,
    .community-card,
    .panel,
    .feature-card,
    .donate-banner,
    .rank-card,
    .store-card,
    .buy-panel,
    .faq-card {
        padding: 22px;
    }
}


/* interactive additions v4 */
html { perspective: 1000px; }

.interactive-btn,
.account-btn,
.nav a,
.brand,
.hero-badge-card,
.hero-hotspot,
.hero-stat,
.feature-card,
.panel,
.guide-card,
.community-card,
.rank-card,
.store-card,
.faq-card,
.lore-panel,
.buy-panel,
.showcase-card,
.map-shell,
.donate-banner {
    will-change: transform, box-shadow;
}

.interactive-btn,
.account-btn {
    position: relative;
    isolation: isolate;
}

.interactive-btn::after,
.account-btn::after {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    transform: translateX(-120%) skewX(-18deg);
    transition: transform 0.9s ease;
    pointer-events: none;
    z-index: -1;
}

.interactive-btn:hover::after,
.account-btn:hover::after {
    transform: translateX(120%) skewX(-18deg);
}

.btn-play {
    background: linear-gradient(180deg, #84b05d 0%, #5f813d 46%, #344d22 100%);
    border: 1px solid rgba(190, 229, 143, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -3px 0 rgba(0,0,0,0.32),
        0 14px 28px rgba(50, 78, 29, 0.24);
    color: #f2eedf;
}

.btn-play:hover {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -3px 0 rgba(0,0,0,0.34),
        0 18px 34px rgba(75, 111, 47, 0.30);
}

.hero-frame {
    overflow: hidden;
}

.parallax-scene {
    transform-style: preserve-3d;
}

.parallax-layer {
    transition: transform 0.18s ease-out;
}

.hero-art-glow,
.hero-art-dust {
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    pointer-events: none;
}

.hero-art-glow {
    background:
        radial-gradient(circle at 65% 22%, rgba(158,116,255,0.24), transparent 18%),
        radial-gradient(circle at 24% 64%, rgba(255, 166, 81, 0.12), transparent 16%),
        radial-gradient(circle at 52% 42%, rgba(255,255,255,0.06), transparent 12%);
    mix-blend-mode: screen;
}

.hero-art-dust {
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255,219,171,0.55) 0 1.5px, transparent 2px),
        radial-gradient(circle at 76% 34%, rgba(255,219,171,0.35) 0 1.4px, transparent 2px),
        radial-gradient(circle at 52% 62%, rgba(255,219,171,0.28) 0 1px, transparent 1.8px),
        radial-gradient(circle at 66% 18%, rgba(158,116,255,0.28) 0 2px, transparent 3px);
}

.hero-hotspot {
    position: absolute;
    z-index: 4;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255,215,165,0.24);
    background: rgba(17,13,12,0.78);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 8px rgba(255, 190, 111, 0.05);
    cursor: pointer;
}

.hero-hotspot span,
.hero-hotspot::before,
.hero-hotspot::after {
    content: "";
    position: absolute;
    inset: 50%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.hero-hotspot span {
    width: 8px;
    height: 8px;
    background: #ffd291;
}

.hero-hotspot::before {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,210,145,0.32);
    animation: pulseHotspot 2.6s ease-out infinite;
}

.hero-hotspot::after {
    width: 160%;
    height: 160%;
    border: 1px solid rgba(255,210,145,0.14);
    animation: pulseHotspot 2.6s ease-out infinite 0.9s;
}

.hotspot-1 { top: 20%; left: 62%; }
.hotspot-2 { top: 24%; right: 18%; }
.hotspot-3 { bottom: 28%; left: 34%; }

@keyframes pulseHotspot {
    0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.78); }
    70% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

.hero-tooltip {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 4;
    width: min(320px, calc(100% - 48px));
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(14, 11, 10, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,165,0.10);
    box-shadow: 0 10px 24px rgba(0,0,0,0.34);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.hero-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-tooltip strong {
    display: block;
    margin-bottom: 6px;
    color: #fff4df;
    font-family: Cinzel, Georgia, serif;
    font-size: 1rem;
}

.hero-tooltip p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.hero-badge-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.34);
}

.panel-tilt {
    transform-style: preserve-3d;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.panel-tilt:hover {
    box-shadow:
        0 24px 50px rgba(0,0,0,0.42),
        0 0 0 1px rgba(255,201,120,0.05);
}

.interactive-map-frame {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.interactive-map-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0,0,0,0.34);
}

.magnetic-wrap {
    transition: transform 0.14s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .parallax-layer,
    .panel-tilt,
    .interactive-map-frame,
    .magnetic-wrap,
    .hero-tooltip,
    .hero-hotspot::before,
    .hero-hotspot::after,
    .interactive-btn::after,
    .account-btn::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 920px) {
    .hero-hotspot,
    .hero-tooltip {
        display: none;
    }
}
