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

:root {
    --forest-950: #020705;
    --forest-900: #06110c;
    --forest-850: #071a12;
    --forest-800: #0b261a;
    --forest-700: #11472f;
    --emerald: #0f6f4f;
    --emerald-bright: #1aa879;
    --teal: #26d4b3;
    --teal-soft: #80f0d5;
    --gold: #f2c76f;
    --gold-bright: #ffe29a;
    --gold-deep: #9b631e;
    --cream: #fff3c8;
    --text: #e9f2eb;
    --muted: #a9bdb0;
    --danger: #df6b5f;
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Rajdhani', Arial, sans-serif;
    --panel: rgba(4, 20, 14, 0.88);
    --panel-soft: rgba(8, 34, 23, 0.76);
    --gold-line: rgba(242, 199, 111, 0.68);
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background:
        linear-gradient(180deg, rgba(2, 8, 5, .84) 0%, rgba(2, 10, 7, .78) 38%, rgba(2, 7, 5, .88) 100%),
        url('background.png') center top / cover fixed no-repeat;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 226, 148, .18), transparent 28%),
        radial-gradient(circle at 70% 38%, rgba(117, 192, 104, .14), transparent 26%),
        url('background.png') center top / cover no-repeat;
    opacity: .34;
    filter: saturate(1.08) contrast(1.02);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(1, 5, 3, .78), rgba(1, 5, 3, .22) 18%, rgba(1, 5, 3, .22) 82%, rgba(1, 5, 3, .78)),
        linear-gradient(180deg, rgba(1, 5, 3, .24), rgba(1, 5, 3, .82));
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

::selection { background: rgba(38, 212, 179, .32); color: var(--cream); }


.site-floating-effects {
    position: fixed;
    inset: 0;
    z-index: 40;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    top: -10%;
    width: 18px;
    height: 28px;
    opacity: .72;
    border-radius: 2px 90% 2px 90%;
    background:
        linear-gradient(135deg, rgba(255, 234, 171, .9), rgba(114, 181, 64, .95) 22%, rgba(48, 126, 39, .96) 68%, rgba(22, 84, 29, .98));
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.14),
        0 0 12px rgba(139, 214, 95, .12);
    transform-origin: 50% 15%;
    filter: drop-shadow(0 4px 5px rgba(0,0,0,.18));
    animation: leafFall linear infinite;
}

.leaf::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 4px;
    width: 1px;
    height: calc(100% - 8px);
    background: rgba(255, 241, 194, .42);
    transform: translateX(-50%) rotate(12deg);
}

.leaf-1 { left: 7%; animation-duration: 16s; animation-delay: -2s; }
.leaf-2 { left: 19%; width: 14px; height: 22px; animation-duration: 13s; animation-delay: -7s; }
.leaf-3 { left: 31%; width: 16px; height: 24px; animation-duration: 18s; animation-delay: -11s; }
.leaf-4 { left: 46%; width: 20px; height: 30px; animation-duration: 15s; animation-delay: -4s; }
.leaf-5 { left: 58%; width: 15px; height: 24px; animation-duration: 17s; animation-delay: -9s; }
.leaf-6 { left: 71%; width: 18px; height: 26px; animation-duration: 14s; animation-delay: -6s; }
.leaf-7 { left: 84%; width: 13px; height: 21px; animation-duration: 19s; animation-delay: -13s; }
.leaf-8 { left: 92%; width: 17px; height: 25px; animation-duration: 16.5s; animation-delay: -1s; }

.site-butterfly {
    position: absolute;
    left: 15%;
    top: 37%;
    width: 48px;
    height: 42px;
    transform-origin: center;
    filter: drop-shadow(0 0 12px rgba(255, 170, 238, .38));
}

.butterfly-wing,
.butterfly-body,
.butterfly-trail {
    position: absolute;
}

.butterfly-wing {
    top: 5px;
    width: 20px;
    height: 28px;
    background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,.82), rgba(255,255,255,0) 20%),
        radial-gradient(circle at 60% 50%, rgba(255, 213, 244, .95), rgba(255, 149, 226, .88) 40%, rgba(146, 255, 231, .58) 76%, rgba(146, 255, 231, 0) 80%);
    border: 1px solid rgba(255, 211, 243, .58);
    border-radius: 75% 25% 70% 35%;
    box-shadow: inset 0 0 10px rgba(255,255,255,.2);
}

.wing-left {
    left: 1px;
    transform-origin: 95% 45%;
    transform: rotate(16deg);
    animation: wingFlapLeft .45s ease-in-out infinite;
}

.wing-right {
    right: 1px;
    transform-origin: 5% 45%;
    transform: scaleX(-1) rotate(16deg);
    animation: wingFlapRight .45s ease-in-out infinite;
}

.butterfly-body {
    left: 50%;
    top: 8px;
    width: 5px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(105, 55, 26, .98), rgba(40, 21, 13, .98));
    box-shadow: 0 0 6px rgba(255, 210, 238, .25);
}

.butterfly-body::before,
.butterfly-body::after {
    content: '';
    position: absolute;
    top: -5px;
    width: 1px;
    height: 10px;
    background: rgba(255, 228, 244, .75);
}

.butterfly-body::before {
    left: 1px;
    transform: rotate(-26deg);
}

.butterfly-body::after {
    right: 1px;
    transform: rotate(26deg);
}

.butterfly-trail {
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 177, 236, .22) 0%, rgba(255, 177, 236, .06) 28%, rgba(255, 177, 236, 0) 68%);
    filter: blur(8px);
    z-index: -1;
    animation: trailPulse 1.4s ease-in-out infinite;
}

@keyframes leafFall {
    0% {
        transform: translate3d(0, -12vh, 0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { opacity: .78; }
    25% { transform: translate3d(24px, 24vh, 0) rotate(80deg) scale(1.03); }
    50% { transform: translate3d(-18px, 54vh, 0) rotate(180deg) scale(.96); }
    75% { transform: translate3d(30px, 82vh, 0) rotate(290deg) scale(1.04); }
    100% {
        transform: translate3d(-12px, 115vh, 0) rotate(360deg) scale(.94);
        opacity: 0;
    }
}

@keyframes butterflyFlightPath {
    0%   { transform: translate3d(0, 0, 0) scale(.92) rotate(8deg); opacity: 0; }
    6%   { opacity: 1; }
    16%  { transform: translate3d(180px, -110px, 0) scale(1) rotate(10deg); }
    30%  { transform: translate3d(430px, -10px, 0) scale(1.06) rotate(3deg); }
    44%  { transform: translate3d(670px, -170px, 0) scale(.98) rotate(12deg); }
    58%  { transform: translate3d(840px, 20px, 0) scale(1.05) rotate(-4deg); }
    72%  { transform: translate3d(610px, 170px, 0) scale(.95) rotate(-10deg); }
    86%  { transform: translate3d(250px, 120px, 0) scale(1.02) rotate(4deg); }
    100% { transform: translate3d(-120px, -40px, 0) scale(.9) rotate(8deg); opacity: 0; }
}

@keyframes wingFlapLeft {
    0%, 100% { transform: rotate(16deg) scaleY(1); }
    50% { transform: rotate(44deg) scaleY(.92); }
}

@keyframes wingFlapRight {
    0%, 100% { transform: scaleX(-1) rotate(16deg) scaleY(1); }
    50% { transform: scaleX(-1) rotate(44deg) scaleY(.92); }
}

@keyframes trailPulse {
    0%, 100% { opacity: .26; transform: translate(-50%, -50%) scale(.76); }
    50% { opacity: .52; transform: translate(-50%, -50%) scale(1.04); }
}

.butterfly-flight {
    animation: butterflyFlightPath 18s ease-in-out infinite;
}

/* ===== HEADER ===== */
.site-header,
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background:
        linear-gradient(180deg, rgba(2, 11, 7, .97), rgba(4, 22, 14, .91));
    border-bottom: 1px solid var(--gold-line);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, .48),
        0 1px 0 rgba(38, 212, 179, .2) inset;
    backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1460px;
    min-height: 86px;
    margin: 0 auto;
    padding: 8px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand,
.logo-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    width: auto;
    height: 72px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(242, 199, 111, .28))
        drop-shadow(0 0 18px rgba(38, 212, 179, .12));
}

.navbar {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.navbar a {
    position: relative;
    padding: 10px 11px;
    color: #d6e4da;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: color .22s, text-shadow .22s, transform .22s;
}

.navbar a:not(.btn-register):not(.btn-download-nav)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width .25s, left .25s;
}

.navbar a:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 16px rgba(242, 199, 111, .32);
    transform: translateY(-1px);
}

.navbar a:not(.btn-register):not(.btn-download-nav):hover::after {
    width: 84%;
    left: 8%;
}


.btn-register,
.btn-download-nav,
.btn-play,
.btn-purchase,
.btn-download,
.btn-buy,
.register-box button,
.login-box button {
    position: relative;
    overflow: hidden;
    border: 1px solid #d3a44c;
    color: #fff3cc !important;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 1.15px;
    text-shadow: 0 1px 2px #000;
    background:
        linear-gradient(180deg, rgba(23, 126, 87, .98), rgba(4, 70, 47, .98) 56%, rgba(3, 48, 33, .98));
    box-shadow:
        0 0 0 1px rgba(255, 226, 154, .12) inset,
        0 0 14px rgba(242, 199, 111, .18),
        0 5px 15px rgba(0, 0, 0, .28);
    transition: transform .2s, filter .2s, box-shadow .2s, border-color .2s;
}

.btn-register::before,
.btn-download-nav::before,
.btn-play::before,
.btn-purchase::before,
.btn-download::before,
.btn-buy::before,
.register-box button::before,
.login-box button::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-top: 1px solid rgba(255,255,255,.16);
    pointer-events: none;
}

.btn-register:hover,
.btn-download-nav:hover,
.btn-play:hover,
.btn-purchase:hover,
.btn-download:hover,
.btn-buy:hover,
.register-box button:hover,
.login-box button:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    border-color: var(--gold-bright);
    box-shadow:
        0 0 0 1px rgba(255, 226, 154, .18) inset,
        0 0 24px rgba(242, 199, 111, .31),
        0 0 28px rgba(38, 212, 179, .15),
        0 8px 18px rgba(0, 0, 0, .32);
}

.btn-download-nav { padding: 9px 14px !important; border-radius: 4px; }
.btn-register { padding: 9px 15px !important; border-radius: 4px; }

.login-box {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 1;
}

.login-box input,
.register-box input {
    height: 38px;
    color: var(--cream);
    background: rgba(3, 18, 12, .82);
    border: 1px solid rgba(242, 199, 111, .34);
    border-radius: 4px;
    outline: none;
    padding: 0 11px;
    box-shadow: inset 0 0 12px rgba(0,0,0,.32);
    transition: border-color .2s, box-shadow .2s;
}

.login-box input { width: 116px; }

.login-box input:focus,
.register-box input:focus {
    border-color: var(--gold);
    box-shadow:
        inset 0 0 12px rgba(0,0,0,.34),
        0 0 13px rgba(38, 212, 179, .16);
}

.login-box button {
    height: 38px;
    padding: 0 13px;
    border-radius: 4px;
    font-size: .75rem;
}

#login-msg {
    color: #f49b8f;
    font-size: .8rem;
    max-width: 150px;
}

.logged-in-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dcebe1;
    background: rgba(6, 40, 27, .68);
    border: 1px solid rgba(38, 212, 179, .28);
    padding: 7px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.logged-in-alert b { color: var(--gold-bright); }

.btn-logout {
    color: #f0e7cd;
    border: 1px solid rgba(242, 199, 111, .35);
    background: rgba(80, 22, 15, .46);
    padding: 4px 8px;
    border-radius: 3px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 790px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 118px 20px 90px;
    overflow: hidden;
    background:
        url('background.png') center 78px / min(1580px, 116vw) auto no-repeat,
        radial-gradient(circle at 50% 30%, #123c2b 0%, #05120d 42%, #020705 78%);
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 53% 28%, rgba(255, 217, 132, .15), transparent 22rem),
        linear-gradient(180deg, rgba(1, 5, 3, .04), rgba(1, 5, 3, .14) 55%, rgba(1, 5, 3, .96) 98%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.36), transparent 27%, transparent 77%, rgba(0,0,0,.38)),
        linear-gradient(180deg, rgba(2, 7, 5, .08), rgba(2, 7, 5, .1) 62%, rgba(2,7,5,.88));
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: -1px;
    box-shadow: inset 0 0 130px 35px rgba(0,0,0,.62);
    pointer-events: none;
}


.hero-bg-effects,
.hero-fairy-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-effects {
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .55;
    mix-blend-mode: screen;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-a {
    width: 220px;
    height: 220px;
    left: 10%;
    top: 34%;
    background: radial-gradient(circle, rgba(255, 170, 234, .48) 0%, rgba(255, 132, 220, .18) 45%, transparent 74%);
    animation-delay: -1s;
}

.orb-b {
    width: 360px;
    height: 360px;
    right: 12%;
    top: 16%;
    background: radial-gradient(circle, rgba(255, 234, 151, .22) 0%, rgba(255, 218, 110, .12) 38%, transparent 72%);
    animation-duration: 14s;
}

.orb-c {
    width: 280px;
    height: 280px;
    left: 45%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(72, 255, 219, .18) 0%, rgba(72, 255, 219, .08) 42%, transparent 74%);
    animation-duration: 16s;
    animation-delay: -4s;
}

.hero-fairy-effects {
    z-index: 1;
}

.fairy-aura,
.fairy-ring,
.fairy-spark {
    position: absolute;
}

.fairy-aura {
    left: 6.5%;
    top: 24%;
    width: 26%;
    height: 58%;
    border-radius: 48% 42% 42% 50%;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 204, 243, .28), transparent 30%),
        radial-gradient(circle at 44% 52%, rgba(255, 175, 230, .24), transparent 35%),
        radial-gradient(circle at 54% 74%, rgba(114, 255, 228, .16), transparent 26%);
    filter: blur(10px) drop-shadow(0 0 20px rgba(255, 120, 217, .22));
    opacity: .85;
    transform-origin: 50% 58%;
    animation: fairyFloat 6.5s ease-in-out infinite;
}

.fairy-ring {
    left: 16%;
    top: 40%;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 1px solid rgba(255, 198, 248, .42);
    box-shadow:
        0 0 18px rgba(255, 177, 231, .26),
        0 0 24px rgba(95, 255, 227, .14);
    opacity: .65;
    animation: fairyPulse 3.8s ease-in-out infinite;
}

.fairy-ring-2 {
    left: 19%;
    top: 34%;
    width: 44px;
    height: 44px;
    animation-delay: -1.5s;
    opacity: .58;
}

.fairy-spark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.98) 0%, rgba(255,210,242,.9) 42%, rgba(140,255,236,.1) 76%, transparent 78%);
    box-shadow:
        0 0 10px rgba(255,255,255,.45),
        0 0 20px rgba(255, 161, 232, .35),
        0 0 28px rgba(126, 255, 228, .22);
    animation: sparkDrift 4.5s ease-in-out infinite;
}

.fairy-spark-1 { left: 21%; top: 35%; animation-delay: -.5s; }
.fairy-spark-2 { left: 17.5%; top: 43%; animation-duration: 5s; }
.fairy-spark-3 { left: 28%; top: 31%; animation-delay: -1.6s; animation-duration: 5.8s; }
.fairy-spark-4 { left: 12.5%; top: 49%; animation-delay: -2.3s; animation-duration: 4.2s; }

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 19% 42%, rgba(255, 177, 240, .16), transparent 10%),
        radial-gradient(circle at 18% 33%, rgba(255, 233, 170, .14), transparent 8%),
        linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.08) 46%, rgba(255,255,255,0) 57%);
    mix-blend-mode: screen;
    opacity: .75;
}

@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .42; }
    50% { transform: translate3d(0, -18px, 0) scale(1.08); opacity: .72; }
}

@keyframes fairyFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg) scale(1); }
    50% { transform: translate3d(0, -12px, 0) rotate(1deg) scale(1.03); }
}

@keyframes fairyPulse {
    0%, 100% { transform: scale(.92); opacity: .28; }
    50% { transform: scale(1.14); opacity: .82; }
}

@keyframes sparkDrift {
    0% { transform: translate3d(0, 0, 0) scale(.7); opacity: 0; }
    18% { opacity: 1; }
    50% { transform: translate3d(10px, -22px, 0) scale(1.1); opacity: .95; }
    100% { transform: translate3d(-6px, -42px, 0) scale(.55); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(690px, 92vw);
    text-align: center;
    margin-top: -20px;
}

.server-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(7, 43, 29, .88), rgba(3, 24, 16, .88));
    border: 1px solid rgba(242, 199, 111, .5);
    padding: 7px 18px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 2.3px;
    box-shadow: 0 0 20px rgba(0,0,0,.35);
}

.server-tag::before,
.server-tag::after { content: '◆'; color: var(--teal); font-size: .72rem; }

.hero-logo {
    display: block;
    width: min(530px, 84vw);
    height: auto;
    margin: 8px auto 0;
    filter:
        drop-shadow(0 10px 20px rgba(0, 0, 0, .7))
        drop-shadow(0 0 22px rgba(242, 199, 111, .22));
}

.hero-logo-wrap {
    position: relative;
    display: inline-block;
    width: min(530px, 84vw);
    margin: 8px auto 0;
}

.hero-logo {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.logo-flower,
.logo-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.logo-flower {
    width: 24px;
    height: 24px;
    opacity: .95;
    transform-origin: center;
    animation: logoFlowerGlow 3.2s ease-in-out infinite;
}

.logo-flower::before,
.logo-flower::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.logo-flower::before {
    display: none;
}

.logo-flower::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.logo-flower::before {
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 18% 34% at 50% 10%, rgba(255, 251, 236, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 84% 28%, rgba(255, 247, 220, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 84% 72%, rgba(255, 239, 195, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 50% 90%, rgba(255, 247, 220, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 16% 72%, rgba(255, 239, 195, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 16% 28%, rgba(255, 247, 220, .98) 0 65%, transparent 66%),
        radial-gradient(circle at 50% 50%, rgba(255, 205, 74, 1) 0 17%, rgba(255, 184, 41, .96) 18% 25%, transparent 26%);
    filter: drop-shadow(0 0 3px rgba(255, 220, 110, .42));
    z-index: 2;
}

.logo-flower::after {
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 223, 96, .25) 0 12%, rgba(255, 216, 76, .12) 13% 26%, rgba(255, 216, 76, 0) 38%),
        radial-gradient(circle, transparent 0 45%, rgba(255, 219, 88, .42) 46% 47.5%, transparent 49%),
        radial-gradient(circle, transparent 0 64%, rgba(255, 228, 118, .20) 65% 66%, transparent 68%);
    filter: blur(.35px) drop-shadow(0 0 9px rgba(255, 205, 55, .28));
    opacity: .58;
    z-index: 1;
}

.logo-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.logo-flower {
    width: 24px;
    height: 24px;
    opacity: .9;
    transform-origin: center;
    animation: logoFlowerGlow 3s ease-in-out infinite;
}

.logo-flower::before,
.logo-flower::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.logo-flower::before {
    background:
        radial-gradient(ellipse 18% 34% at 50% 10%, rgba(255, 250, 229, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 84% 28%, rgba(255, 246, 214, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 84% 72%, rgba(255, 238, 188, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 50% 90%, rgba(255, 246, 214, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 16% 72%, rgba(255, 238, 188, .98) 0 65%, transparent 66%),
        radial-gradient(ellipse 18% 34% at 16% 28%, rgba(255, 246, 214, .98) 0 65%, transparent 66%),
        radial-gradient(circle at 50% 50%, rgba(255, 202, 72, 1) 0 17%, rgba(255, 182, 42, .94) 18% 25%, transparent 26%);
    filter: drop-shadow(0 0 4px rgba(255, 229, 141, .42));
}

.logo-flower::after {
    inset: -28%;
    background:
        radial-gradient(circle, rgba(255, 223, 120, .86) 0 16%, rgba(255, 228, 156, .42) 17% 36%, rgba(255, 228, 156, .12) 37% 58%, transparent 64%),
        radial-gradient(circle, rgba(118, 255, 218, .32) 0 9%, transparent 48%);
    filter: blur(3px);
    mix-blend-mode: screen;
}

.logo-leaf {
    width: 18px;
    height: 10px;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, rgba(173, 255, 123, .95), rgba(58, 168, 77, .95) 48%, rgba(26, 113, 46, .98));
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.16),
        0 0 8px rgba(74, 214, 126, .24);
    transform-origin: center;
    animation: logoLeafGlow 3.2s ease-in-out infinite;
}

.logo-leaf::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 1px;
    width: 1px;
    height: 78%;
    transform: translateX(-50%) rotate(18deg);
    background: rgba(255, 248, 209, .38);
}

.flower-1  { left: 24.2%; top: 6.4%; width: 30px; height: 30px; animation-delay: -.3s; }
.flower-2  { left: 57%; top: 7%; width: 26px; height: 26px; animation-delay: -1.2s; }
.flower-3  { right: 33.5%; top: 11.2%; width: 24px; height: 24px; animation-delay: -2s; }
.flower-4  { right: 26.2%; top: 15.8%; width: 28px; height: 28px; animation-delay: -.8s; }
.flower-5  { right: 20.1%; top: 18.8%; width: 30px; height: 30px; animation-delay: -1.7s; }
.flower-6  { right: 9.4%; top: 20%; width: 24px; height: 24px; animation-delay: -2.5s; }
.flower-7  { right: 14.3%; top: 53.2%; width: 24px; height: 24px; animation-delay: -1s; }
.flower-8  { right: 20.7%; top: 61.4%; width: 23px; height: 23px; animation-delay: -2.3s; }
.flower-9  { right: 31%; bottom: 15.2%; width: 28px; height: 28px; animation-delay: -.6s; }
.flower-10 { left: 53.2%; bottom: 7.6%; width: 26px; height: 26px; animation-delay: -1.5s; }
.flower-11 { left: 37.8%; bottom: 4.8%; width: 24px; height: 24px; animation-delay: -2.1s; }
.flower-12 { left: 20.1%; bottom: 11.8%; width: 29px; height: 29px; animation-delay: -.9s; }
.flower-13 { left: 10.4%; top: 70.6%; width: 30px; height: 30px; animation-delay: -1.8s; }
.flower-14 { left: 4.6%; top: 51.8%; width: 22px; height: 22px; animation-delay: -2.7s; }
.flower-15 { right: 2.4%; top: 32.8%; width: 22px; height: 22px; animation-delay: -1.1s; }
.flower-16 { right: 3.2%; top: 78.2%; width: 22px; height: 22px; animation-delay: -2.9s; }

.logo-leaf-1 { left: 18%; top: 9%; transform: rotate(-32deg); animation-delay: -.4s; }
.logo-leaf-2 { right: 7%; top: 29%; transform: rotate(22deg); animation-delay: -1.3s; }
.logo-leaf-3 { right: 12.5%; bottom: 12%; transform: rotate(58deg); animation-delay: -2s; }
.logo-leaf-4 { left: 14%; bottom: 28%; transform: rotate(-70deg); animation-delay: -.9s; }

@keyframes logoFlowerGlow {
    0%, 100% {
        opacity: .36;
        transform: scale(.9);
        filter: brightness(.92) saturate(.96);
    }
    35% {
        opacity: .68;
        transform: scale(1.01);
        filter: brightness(1.04) saturate(1.04);
    }
    60% {
        opacity: 1;
        transform: scale(1.12);
        filter: brightness(1.18) saturate(1.12);
    }
    78% {
        opacity: .78;
        transform: scale(1.02);
        filter: brightness(1.06) saturate(1.06);
    }
}

@keyframes logoLeafGlow {
    0%, 100% {
        opacity: .45;
        filter: brightness(.95);
    }
    50% {
        opacity: .95;
        filter: brightness(1.2);
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.2),
            0 0 12px rgba(74, 214, 126, .34),
            0 0 20px rgba(255, 220, 122, .16);
    }
}

.hero-subtitle {
    margin-top: -8px;
    color: #e4eadf;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.24rem);
    letter-spacing: 1.8px;
    text-shadow: 0 2px 10px #000;
}

.hero-buttons {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-play,
.btn-purchase {
    min-width: 188px;
    padding: 13px 24px;
    border-radius: 5px;
    font-size: .9rem;
}

.btn-purchase {
    background: linear-gradient(180deg, rgba(74, 91, 28, .97), rgba(42, 69, 24, .98));
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    width: 28px;
    height: 44px;
    border: 1px solid rgba(242,199,111,.5);
    border-radius: 18px;
    transform: translateX(-50%);
}

.scroll-hint span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--gold);
    transform: translateX(-50%);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* ===== STATS ===== */
.stats-bar {
    position: relative;
    z-index: 5;
    max-width: 1280px;
    margin: -22px auto 0;
    padding: 19px 34px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(8, 43, 29, .96), rgba(3, 20, 14, .98));
    border: 1px solid rgba(242, 199, 111, .62);
    border-radius: 8px;
    box-shadow:
        0 20px 48px rgba(0,0,0,.42),
        0 0 28px rgba(38, 212, 179, .08);
}

.stats-bar::before,
.stats-bar::after {
    content: '◆';
    position: absolute;
    top: 50%;
    color: var(--teal);
    font-size: .92rem;
    transform: translateY(-50%);
    text-shadow: 0 0 10px var(--teal);
}
.stats-bar::before { left: 11px; }
.stats-bar::after { right: 11px; }

.stat-item { min-width: 108px; text-align: center; }
.stat-value {
    display: block;
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 14px rgba(242, 199, 111, .22);
}
.stat-value small { font-size: .65em; color: var(--teal-soft); }
.stat-label {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .76rem;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}
.stat-divider { width: 1px; height: 38px; background: linear-gradient(transparent, var(--gold-line), transparent); }

/* ===== SHARED SECTIONS ===== */
.content-section { padding: 94px 20px; }

.section-head {
    text-align: center;
    margin-bottom: 42px;
}

.section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--teal-soft);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

.section-head h2,
.download h2,
.subpage-title {
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: clamp(2rem, 5vw, 3.05rem);
    text-shadow:
        0 2px 5px rgba(0,0,0,.85),
        0 0 18px rgba(242,199,111,.13);
}

.section-ornament {
    width: 240px;
    height: 11px;
    margin: 13px auto 0;
    position: relative;
}
.section-ornament::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 5px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-ornament::after {
    content: '◆';
    position: absolute;
    left: 50%; top: -4px;
    transform: translateX(-50%);
    color: var(--teal);
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(38,212,179,.55);
}

.ornate-panel {
    position: relative;
    background:
        linear-gradient(145deg, rgba(8, 44, 29, .86), rgba(2, 17, 12, .94));
    border: 1px solid rgba(242, 199, 111, .58);
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(38, 212, 179, .05),
        0 20px 60px rgba(0,0,0,.34);
}

.ornate-panel::before,
.ornate-panel::after {
    position: absolute;
    color: var(--gold);
    font-size: 1.1rem;
    text-shadow: 0 0 7px rgba(242,199,111,.35);
}
.ornate-panel::before { content: '◆'; left: 10px; top: 7px; }
.ornate-panel::after { content: '◆'; right: 10px; bottom: 7px; }

/* ===== NEWS ===== */
.news-hero { max-width: 1240px; margin: 0 auto; }

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

.news-card {
    position: relative;
    min-height: 245px;
    padding: 29px 27px;
    overflow: hidden;
    background:
        linear-gradient(150deg, rgba(10, 52, 35, .88), rgba(3, 21, 14, .93));
    border: 1px solid rgba(242, 199, 111, .37);
    border-radius: 7px;
    box-shadow: 0 15px 34px rgba(0,0,0,.28);
    transition: transform .28s, border-color .28s, box-shadow .28s;
}

.news-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    right: -85px;
    top: -82px;
    border: 1px solid rgba(38,212,179,.15);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(38,212,179,.02);
}

.news-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 226, 154, .8);
    box-shadow: 0 18px 46px rgba(0,0,0,.4), 0 0 25px rgba(38,212,179,.07);
}

.news-date {
    display: inline-block;
    margin-bottom: 15px;
    padding: 4px 11px;
    color: #dffcf1;
    background: rgba(14, 121, 82, .72);
    border: 1px solid rgba(38,212,179,.35);
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.news-card h3 {
    margin-bottom: 10px;
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: 1.18rem;
}

.news-card p { color: var(--muted); }
.news-read {
    display: inline-block;
    margin-top: 16px;
    color: var(--teal-soft);
    font-weight: 700;
    letter-spacing: .8px;
}

/* ===== ABOUT ===== */
.about {
    padding-top: 22px;
    padding-bottom: 30px;
}

.about-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 60px 70px;
}

.about-inner .section-head { margin-bottom: 20px; }
.about p {
    max-width: 810px;
    margin: 0 auto;
    color: #c1d0c5;
    text-align: center;
    font-size: 1.18rem;
}


/* ===== CLASSES ===== */
.classes { max-width: 1200px; margin: 0 auto; }

.carousel-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 0 auto 20px;
}

.carousel {
    height: 450px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 32% 40%, rgba(38,212,179,.09), transparent 28rem),
        linear-gradient(145deg, rgba(7, 46, 30, .91), rgba(2, 18, 12, .96));
    border: 1px solid rgba(242, 199, 111, .58);
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(0,0,0,.42);
}

.carousel::before,
.carousel::after {
    content: '◆';
    position: absolute;
    z-index: 3;
    color: var(--teal);
    top: 10px;
    text-shadow: 0 0 10px rgba(38,212,179,.65);
}
.carousel::before { left: 12px; }
.carousel::after { right: 12px; }

.carousel-item { display: none; width: 100%; height: 100%; animation: fadeIn .55s ease; }
.carousel-item.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.992); } to { opacity: 1; transform: scale(1); } }

.carousel-content {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    align-items: flex-start;
    gap: 34px;
    padding: 22px 52px 18px 66px;
}

.carousel-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.carousel-image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    border: 1px solid rgba(242, 199, 111, .22);
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
    filter: none;
}

.carousel-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    padding-top: 8px;
    padding-right: 18px;
}


.carousel-text h3 {
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: 2px;
    line-height: 1;
    margin: 0 0 6px;
}

.class-subtitle {
    margin-top: 4px;
    color: #c9d7ce;
    font-size: 1rem;
    font-weight: 600;
}

.class-description {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.class-features {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.class-features li {
    position: relative;
    padding-left: 18px;
    color: #dbe7df;
    font-size: .92rem;
    line-height: 1.35;
}

.class-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-bright);
    font-size: .75rem;
}

.class-stats {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.stat-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 12px;
}

.stat-row span {
    color: #d1d9d4;
    font-size: .92rem;
}

.stat-bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(242, 199, 111, .12);
}

.stat-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(242, 199, 111, .95), rgba(38, 212, 179, .95));
    box-shadow: 0 0 10px rgba(38,212,179,.38);
}

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 58px;
    transform: translateY(-50%);
    color: var(--gold-bright);
    background: rgba(3, 25, 17, .84);
    border: 1px solid rgba(242, 199, 111, .46);
    border-radius: 5px;
    box-shadow: 0 7px 18px rgba(0,0,0,.32);
    transition: .2s;
}
.carousel-button:hover { color: #fff; border-color: var(--gold); background: rgba(10, 88, 60, .9); }
.carousel-button.prev { left: 16px; }
.carousel-button.next { right: 16px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    background: rgba(5, 32, 21, .8);
    cursor: pointer;
    transition: .2s;
}
.dot.active {
    background: var(--teal);
    border-color: var(--gold-bright);
    box-shadow: 0 0 12px rgba(38,212,179,.5);
}

/* ===== DOWNLOAD ===== */
.download { padding: 30px 20px 110px; }
.download-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
}
.download-inner p {
    margin: 10px 0 25px;
    color: var(--muted);
    font-size: 1.1rem;
}
.btn-download {
    display: inline-block;
    min-width: 230px;
    padding: 14px 28px;
    border-radius: 5px;
}

/* ===== SUBPAGES ===== */
.subpage {
    padding-top: 86px;
    min-height: 100vh;
}

.subpage-hero {
    min-height: calc(100vh - 86px);
    padding: 70px 20px 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(1,7,4,.28), rgba(1,7,4,.83)),
        url('background.png') center 60px / min(1580px, 122vw) auto no-repeat;
}

.subpage-panel {
    width: min(560px, 94vw);
    padding: 42px 38px;
    text-align: center;
}

.subpage-panel .brand-emblem {
    width: min(330px, 80vw);
    margin: -12px auto -12px;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.54));
}

.subpage-title {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    margin-bottom: 9px;
}

.subpage-copy {
    color: var(--muted);
    margin-bottom: 24px;
}

/* ===== REGISTER ===== */
.register-box {
    display: grid;
    gap: 12px;
    max-width: 410px;
    margin: 0 auto;
}

.register-box input {
    width: 100%;
    height: 48px;
    font-size: 1rem;
}

.register-box button {
    height: 50px;
    margin-top: 4px;
    border-radius: 5px;
}

#register-msg {
    min-height: 28px;
    margin-top: 12px;
    font-weight: 700;
}

/* ===== SHOP ===== */
.shop-page {
    padding-top: 86px;
}

.shop-shell {
    min-height: calc(100vh - 86px);
    padding: 70px 20px 90px;
    background:
        linear-gradient(180deg, rgba(1,7,4,.54), rgba(1,7,4,.92)),
        url('background.png') center 40px / min(1600px, 126vw) auto no-repeat;
}

.shop-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}
.shop-intro p { color: var(--muted); margin-top: 8px; }

.shop-grid {
    width: min(1060px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.shop-item {
    position: relative;
    padding: 33px 25px 28px;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(7, 48, 31, .94), rgba(2, 19, 13, .96));
    border: 1px solid rgba(242,199,111,.47);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0,0,0,.36);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.shop-item::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.shop-item:hover {
    transform: translateY(-7px);
    border-color: var(--gold-bright);
    box-shadow: 0 22px 48px rgba(0,0,0,.44), 0 0 24px rgba(38,212,179,.09);
}

.shop-item-header { font-size: 2.5rem; filter: drop-shadow(0 0 12px rgba(242,199,111,.2)); }
.shop-item h3 {
    margin-top: 6px;
    color: var(--gold-bright);
    font-family: var(--font-display);
}
.price {
    margin: 7px 0 18px;
    color: var(--teal-soft);
    font-size: 2rem;
    font-weight: 700;
}
.btn-buy {
    width: 100%;
    min-height: 46px;
    border-radius: 5px;
}

.payment-panel {
    max-width: 980px;
    margin: 34px auto 0;
    padding: 30px;
}
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.payment-method { text-align: center; }
.payment-method h3 {
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 13px;
    letter-spacing: 1px;
}
.payment-method img {
    width: 270px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border: 1px solid rgba(242,199,111,.62);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,.38);
}
.payment-note {
    max-width: 900px;
    margin: 26px auto 0;
    color: var(--gold-bright);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}
#shop-msg {
    min-height: 30px;
    margin: 22px auto 0;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    border-top: 1px solid rgba(242, 199, 111, .42);
    background:
        linear-gradient(180deg, rgba(3,20,13,.96), rgba(1,7,4,.99));
    box-shadow: inset 0 1px rgba(38,212,179,.08);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 28px;
    text-align: center;
}

.footer-logo {
    width: 155px;
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}

.footer-links {
    margin: 6px 0 12px;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.footer-links a { color: #c3d1c7; font-weight: 700; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy,
footer > p {
    padding: 22px;
    text-align: center;
    color: #73857a;
    font-size: .8rem;
    letter-spacing: 1px;
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
    .header-container { flex-wrap: wrap; justify-content: center; padding: 8px 14px 10px; }
    .navbar { width: 100%; justify-content: center; order: 3; }
    .login-box { margin-left: auto; }
    .hero { padding-top: 155px; min-height: 835px; background-position: center 115px; }
    .subpage, .shop-page { padding-top: 132px; }
    .subpage-hero, .shop-shell { min-height: calc(100vh - 132px); }
}

@media (max-width: 900px) {
    .news-grid, .shop-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
    .stats-bar { flex-wrap: wrap; gap: 15px 12px; margin-left: 16px; margin-right: 16px; }
    .stat-divider { display: none; }
    .stat-item { min-width: 28%; }
    .carousel { height: auto; min-height: 0; }
    .carousel-content { grid-template-columns: 1fr; gap: 18px; padding: 28px 34px 26px; }
    .carousel-image { width: 100%; max-width: none; height: 280px; object-position: center top; }
    .carousel-text { padding-right: 0; }
    .about-inner { padding: 48px 34px; }
}

@media (max-width: 720px) {
    .header-logo { height: 58px; }
    .login-box { width: 100%; justify-content: center; flex-wrap: wrap; margin: 0; }
    .login-box input { width: 120px; }
    .navbar a { font-size: .74rem; padding: 8px 7px; }
    .hero { min-height: 720px; padding-top: 175px; background-size: 1100px auto; background-position: 38% 132px; }
    .hero-content { margin-top: 0; }
    .hero-logo { width: min(430px, 92vw); }
    .hero-subtitle { font-size: .95rem; }
    .content-section { padding: 72px 16px; }
    .stats-bar { padding: 18px 22px; }
    .stat-item { min-width: 44%; }
    .payment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .hero { min-height: 660px; padding-top: 188px; background-position: 34% 150px; }
    .hero-buttons { gap: 9px; }
    .btn-play, .btn-purchase { min-width: 155px; padding: 11px 16px; }
    .carousel { height: auto; min-height: 0; }
    .carousel-content { padding: 24px 18px 22px; }
    .carousel-image { width: 100%; height: 220px; max-width: none; object-position: center top; }
    .carousel-text h3 { font-size: 2rem; }
    .class-subtitle { font-size: 1rem; }
    .class-description, .class-features li, .stat-row span { font-size: .9rem; }
    .carousel-button { width: 36px; height: 50px; }
    .carousel-button.prev { left: 7px; }
    .carousel-button.next { right: 7px; }
    .subpage-panel { padding: 34px 20px; }
    .shop-shell { padding-left: 13px; padding-right: 13px; }
}


/* ===== T-POINT PROMOTION 20% OFF (01-07 OCT 2026) ===== */
.promo-banner {
    margin: 22px auto 0;
    max-width: 620px;
    padding: 13px 18px;
    border: 1px solid rgba(242,199,111,.58);
    border-radius: 7px;
    background: rgba(7,48,31,.88);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.promo-banner strong {
    display: block;
    color: var(--gold-bright);
    font-family: var(--font-display);
    letter-spacing: 1.1px;
    font-size: 1.05rem;
}
.promo-banner span {
    display: block;
    margin-top: 4px;
    color: var(--teal-soft);
    font-weight: 600;
}
.promo-banner.promo-live {
    border-color: rgba(38,212,179,.72);
    box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 22px rgba(38,212,179,.1);
}
.discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--gold-bright);
    color: #092016;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .4px;
}
.promo-price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}
.old-price {
    color: rgba(233,242,235,.55);
    text-decoration: line-through;
    font-size: 1.05rem;
    font-weight: 600;
}
.promo-price {
    color: var(--teal-soft);
    font-size: 2rem;
    font-weight: 800;
}

/* ===== PIX / PAYMENT SPLIT ===== */
.payment-grid-split {
    align-items: stretch;
}

.payment-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--teal-soft);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.payment-method-copy {
    max-width: 360px;
    min-height: 48px;
    margin: 14px auto 0;
    color: var(--muted);
    line-height: 1.45;
}

.pix-entry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 410px;
    padding: 28px;
    border: 1px solid rgba(38,212,179,.28);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(8,48,34,.72), rgba(2,19,13,.84));
}

.pix-symbol {
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    margin: 4px auto 8px;
    border: 1px solid rgba(242,199,111,.58);
    border-radius: 50%;
    color: var(--teal-soft);
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: 6px;
    background: radial-gradient(circle, rgba(38,212,179,.12), rgba(4,26,18,.95) 68%);
    box-shadow: 0 12px 28px rgba(0,0,0,.34), inset 0 0 32px rgba(38,212,179,.05);
}

.btn-pix-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(310px, 100%);
    margin-top: 20px;
    text-decoration: none;
}

.pix-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pix-intro {
    margin-bottom: 28px;
}

.pix-payment-card {
    position: relative;
    width: min(620px, 100%);
    padding: 38px 34px 34px;
    text-align: center;
}

.pix-payment-card h2 {
    color: var(--gold-bright);
    font-family: var(--font-display);
    letter-spacing: 1.5px;
}

.pix-only-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border: 1px solid rgba(38,212,179,.45);
    border-radius: 999px;
    color: var(--teal-soft);
    background: rgba(38,212,179,.08);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.pix-user {
    margin: 8px 0 20px;
    color: var(--muted);
}

.pix-user strong {
    color: var(--gold-bright);
}

.pix-qr-wrap {
    width: min(370px, 100%);
    margin: 0 auto;
    padding: 13px;
    background: #fff;
    border: 1px solid rgba(242,199,111,.72);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0,0,0,.42);
}

.pix-qr-large {
    display: block;
    width: 100%;
    height: auto;
}

.pix-instructions {
    max-width: 500px;
    margin: 25px auto 0;
    color: var(--muted);
    line-height: 1.55;
}

.pix-instructions h3 {
    margin-bottom: 8px;
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: .95rem;
    letter-spacing: 1px;
}

.pix-instructions p + p {
    margin-top: 9px;
}

.pix-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(330px, 100%);
    margin-top: 25px;
    text-decoration: none;
}

@media (max-width: 720px) {
    .pix-entry-card { min-height: 0; }
    .pix-payment-card { padding: 30px 18px 26px; }
}


/* ===== PIX PACKAGE PRICES / BRL PROMOTION ===== */
.pix-packages-grid {
    width: min(980px, 100%);
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pix-package {
    cursor: pointer;
    outline: none;
}

.pix-package.selected,
.pix-package:focus-visible {
    transform: translateY(-6px);
    border-color: var(--teal-soft);
    box-shadow: 0 22px 48px rgba(0,0,0,.44), 0 0 28px rgba(38,212,179,.18);
}

.pix-select-text {
    display: inline-block;
    margin-top: 2px;
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.pix-price-line {
    flex-wrap: wrap;
}

.pix-selection-box {
    width: min(520px, 100%);
    margin: 0 auto 22px;
    padding: 13px 16px;
    border: 1px solid rgba(242,199,111,.34);
    border-radius: 7px;
    background: rgba(7,48,31,.48);
    color: var(--muted);
    line-height: 1.45;
}

.pix-selection-box.active {
    border-color: rgba(38,212,179,.62);
    color: var(--teal-soft);
    background: rgba(38,212,179,.07);
}

.pix-selection-box strong {
    color: var(--gold-bright);
}

.pix-payment-card {
    width: min(760px, 100%);
}

@media (max-width: 760px) {
    .pix-packages-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
}


/* PIX login-only description + support channels */
.pix-login-warning {
    margin: 22px 0 18px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid rgba(255, 190, 70, .65);
    background: linear-gradient(135deg, rgba(94, 51, 4, .50), rgba(29, 21, 8, .68));
    box-shadow: inset 0 0 24px rgba(255, 167, 36, .08);
}
.pix-login-warning .pix-warning-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 21px;
    color: #1b1305;
    background: #e7b44a;
    box-shadow: 0 0 16px rgba(231, 180, 74, .28);
}
.pix-login-warning strong { color: #ffd779; }
.pix-login-warning p { margin: 7px 0 0; }
.pix-proof-note { margin-top: 18px; }
.pix-support-channels {
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid rgba(218, 174, 87, .24);
}
.pix-support-channels > h3 { margin-bottom: 5px; }
.pix-support-channels > p { margin-top: 0; opacity: .82; }
.pix-support-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.pix-support-btn {
    min-height: 64px;
    padding: 11px 16px;
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
    border: 1px solid rgba(164, 203, 255, .28);
    background: rgba(18, 31, 48, .66);
    color: #eef6ff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: .7px;
}
.pix-support-btn > span {
    grid-row: 1 / span 2;
    font-size: 25px;
    font-weight: 900;
    text-align: center;
}
.pix-support-btn small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    opacity: .55;
}
.pix-support-btn.disabled {
    cursor: not-allowed;
    opacity: .72;
    filter: saturate(.65);
}
.pix-support-btn.facebook { border-color: rgba(82, 145, 255, .35); }
.pix-support-btn.discord { border-color: rgba(118, 129, 255, .38); }
@media (max-width: 620px) {
    .pix-support-buttons { grid-template-columns: 1fr; }
    .pix-login-warning { padding: 15px; }
}


@media (prefers-reduced-motion: reduce) {
    .bg-orb,
    .fairy-aura,
    .fairy-ring,
    .fairy-spark,
    .scroll-hint span,
    .leaf,
    .butterfly-flight,
    .wing-left,
    .wing-right,
    .butterfly-trail,
    .logo-flower,
    .logo-leaf {
        animation: none !important;
    }
}

/* ===== CLASS SLIDER V2: REFERENCE-BASED DETAILS ===== */
.class-features-long { margin-top: 14px; gap: 7px; }
.class-features-long li { line-height: 1.35; }
.class-stats { margin-top: 12px; }
.stat-row { grid-template-columns: 72px 1fr; gap: 10px; align-items: center; }
.stat-bar { height: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 15%, rgba(0,0,0,.28) 15% 16.5%); border-radius: 2px; }
.stat-attack i, .stat-crit i { background: linear-gradient(90deg,#7d1515,#e93b32); }
.stat-hp i, .stat-defense i { background: linear-gradient(90deg,#9d7e00,#ffe144); }
.stat-magic i { background: linear-gradient(90deg,#0d6283,#35d5ff); }
@media (max-width: 900px) {
  .carousel-image { transform: none; }
  .carousel-visual { padding-top: 0; }
  .carousel-text { padding-top: 0; }
}


/* ===== CAROUSEL V4 FIX ===== */
.carousel-wrapper { overflow: visible; }
.carousel-button { z-index: 20; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-button.prev { left: 16px; }
.carousel-button.next { right: 16px; }

/* ===== CLASS SLIDER V6: BALANCED BOTTOM SPACE + CLEAN ARROWS ===== */
@media (min-width: 901px) {
    .carousel {
        height: 468px;
    }
}

.carousel-button,
.carousel-button:hover {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.carousel-button {
    color: var(--gold-bright);
    text-shadow: 0 0 8px rgba(242, 199, 111, .35);
}

.carousel-button:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(242, 199, 111, .75);
}

/* ========================================================================== */
/* PORTAL LAYOUT — compact MMORPG portal inspired by classic game websites    */
/* ========================================================================== */

@media (min-width: 901px) {
    body.home-page {
        background:
            radial-gradient(circle at 50% -120px, rgba(34, 94, 71, .24), transparent 520px),
            #030504;
        padding: 0 18px 42px;
    }

    body.home-page::before {
        opacity: .11;
        background-position: center top;
        background-size: 1700px auto;
        filter: saturate(.85) brightness(.62) contrast(1.1);
    }

    body.home-page::after {
        background:
            linear-gradient(90deg, #020302 0%, rgba(2,3,2,.96) 10%, rgba(2,3,2,.25) 28%, rgba(2,3,2,.25) 72%, rgba(2,3,2,.96) 90%, #020302 100%),
            linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.72));
    }

    .site-floating-effects {
        opacity: .28;
    }

    .site-header,
    body.home-page > header {
        position: absolute;
        top: 0;
        left: 50%;
        width: min(1060px, calc(100% - 36px));
        transform: translateX(-50%);
        background: linear-gradient(180deg, rgba(2,7,5,.84), rgba(2,7,5,.20));
        border: 0;
        border-bottom: 1px solid rgba(219, 177, 82, .22);
        box-shadow: none;
        backdrop-filter: none;
    }

    .header-container {
        max-width: none;
        min-height: 80px;
        padding: 8px 16px;
        gap: 12px;
    }

    .header-logo {
        height: 60px;
        max-width: 180px;
    }

    .login-box {
        margin-left: auto;
        gap: 6px;
    }

    .login-box input {
        width: 100px;
        min-height: 31px;
        padding: 6px 8px;
        font-size: .76rem;
        background: rgba(2, 9, 6, .84);
        border-color: rgba(226, 187, 91, .28);
    }

    .login-box button {
        min-height: 31px;
        padding: 6px 10px;
        font-size: .68rem;
    }

    .navbar {
        position: absolute;
        left: 0;
        right: 0;
        top: 394px;
        height: 54px;
        margin: 0;
        padding: 0 18px;
        justify-content: center;
        gap: 1px;
        background:
            linear-gradient(180deg, rgba(5,10,8,.36), rgba(3,7,5,.96) 34%, rgba(3,7,5,.98));
        border-top: 1px solid rgba(232, 190, 87, .24);
        border-bottom: 1px solid rgba(232, 190, 87, .28);
        box-shadow: 0 10px 25px rgba(0,0,0,.38);
    }

    .navbar a {
        min-width: 88px;
        padding: 17px 11px 14px;
        text-align: center;
        font-size: .72rem;
        letter-spacing: .9px;
        color: #bfc7c0;
        border-radius: 0 !important;
    }

    .navbar a:not(.btn-register):not(.btn-download-nav)::after {
        bottom: 8px;
    }

    .navbar .btn-download-nav {
        min-width: 122px;
        margin: -10px 8px -8px;
        padding: 24px 16px 18px;
        border: 1px solid #d9ad45;
        clip-path: polygon(8% 0, 92% 0, 100% 18%, 93% 82%, 77% 100%, 23% 100%, 7% 82%, 0 18%);
        background:
            radial-gradient(circle at 50% 35%, rgba(82,224,255,.55), transparent 38%),
            linear-gradient(180deg, #128db0, #07647f 55%, #054657);
        box-shadow: 0 0 18px rgba(41, 197, 230, .32), 0 0 0 1px rgba(255,255,255,.08) inset;
    }

    .navbar .btn-register {
        background: transparent;
        border: 0;
        box-shadow: none;
        color: #d5b65d !important;
    }

    body.home-page main {
        width: min(1060px, calc(100vw - 36px));
        margin: 0 auto;
        display: grid;
        grid-template-columns: 258px minmax(0, 1fr);
        grid-template-areas:
            "hero hero"
            "stats news"
            "about news"
            "download classes";
        gap: 14px;
        align-items: start;
    }

    .hero {
        grid-area: hero;
        min-height: 448px;
        height: 448px;
        padding: 82px 18px 64px;
        border-left: 1px solid rgba(240, 201, 104, .15);
        border-right: 1px solid rgba(240, 201, 104, .15);
        border-bottom: 1px solid rgba(240, 201, 104, .26);
        border-radius: 0 0 7px 7px;
        background:
            url('background.png') center 36% / cover no-repeat,
            #07100c;
        box-shadow: 0 20px 38px rgba(0,0,0,.52);
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(0,0,0,.64), rgba(0,0,0,.16) 28%, rgba(0,0,0,.06) 56%, rgba(0,0,0,.52)),
            linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.08) 58%, rgba(0,0,0,.78));
    }

    .hero-vignette {
        box-shadow: inset 0 0 100px 18px rgba(0,0,0,.58);
    }

    .hero-content {
        width: 430px;
        margin: 24px 0 0 auto;
        text-align: center;
        transform: translateX(-20px);
    }

    .server-tag {
        padding: 5px 13px;
        font-size: .62rem;
        letter-spacing: 1.9px;
        background: rgba(3,13,9,.72);
    }

    .hero-logo-wrap,
    .hero-logo {
        width: min(365px, 100%);
    }

    .hero-subtitle {
        margin-top: -4px;
        font-size: .84rem;
        letter-spacing: 1.2px;
        color: #d8ded9;
    }

    .hero-buttons {
        margin-top: 14px;
        gap: 8px;
    }

    .btn-play,
    .btn-purchase {
        min-width: 132px;
        padding: 9px 16px;
        font-size: .72rem;
        border-radius: 2px;
    }

    .scroll-hint { display: none; }

    .hero-bg-effects { opacity: .38; }
    .hero-fairy-effects { opacity: .46; }

    .stats-bar,
    .news-hero,
    .about,
    .classes,
    .download {
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .stats-bar {
        grid-area: stats;
        display: block;
        padding: 0;
        background: linear-gradient(180deg, rgba(12,18,15,.98), rgba(4,8,6,.98));
        border: 1px solid rgba(177, 154, 94, .24);
        border-radius: 7px;
        overflow: hidden;
        box-shadow: 0 12px 25px rgba(0,0,0,.34);
    }

    .stats-bar::before {
        content: 'SERVER INFORMATION';
        position: static;
        display: block;
        height: auto;
        padding: 11px 14px 9px;
        color: #ead18c;
        background: linear-gradient(180deg, rgba(101,73,28,.38), rgba(31,26,16,.26));
        border-bottom: 1px solid rgba(216, 177, 82, .2);
        font-family: var(--font-display);
        font-size: .67rem;
        letter-spacing: 1.25px;
        text-shadow: none;
        transform: none;
    }

    .stats-bar::after { display: none; }

    .stat-item {
        min-width: 0;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,.045);
    }

    .stat-item:last-child { border-bottom: 0; }

    .stat-value {
        order: 2;
        font-family: var(--font-body);
        font-size: .94rem;
        color: #59dfa9;
        text-shadow: 0 0 10px rgba(70, 233, 167, .12);
    }

    .stat-label {
        margin: 0;
        font-size: .69rem;
        letter-spacing: .65px;
        color: #c6cec8;
    }

    .stat-divider { display: none; }

    .content-section {
        padding: 14px;
    }

    .section-head {
        margin-bottom: 16px;
        text-align: left;
    }

    .section-kicker {
        margin-bottom: 2px;
        font-size: .61rem;
        letter-spacing: 1.55px;
        color: #78cba7;
    }

    .section-head h2,
    .download h2 {
        font-size: 1.05rem;
        letter-spacing: 1.1px;
        color: #f2e6bd;
    }

    .section-ornament {
        width: 100%;
        margin: 7px 0 0;
        opacity: .38;
    }

    .news-hero {
        grid-area: news;
        min-height: 100%;
        padding: 16px;
        background: linear-gradient(180deg, rgba(13,18,16,.97), rgba(5,9,7,.98));
        border: 1px solid rgba(177, 154, 94, .22);
        border-radius: 7px;
        box-shadow: 0 12px 26px rgba(0,0,0,.28);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .news-card {
        min-height: 194px;
        padding: 13px 12px 12px;
        border-radius: 4px;
        border: 1px solid rgba(145, 136, 104, .22);
        background:
            linear-gradient(180deg, rgba(26,35,30,.84), rgba(8,12,10,.94));
        box-shadow: inset 0 1px rgba(255,255,255,.025);
    }

    .news-card:hover {
        transform: translateY(-2px);
        border-color: rgba(231, 190, 88, .4);
        box-shadow: 0 10px 20px rgba(0,0,0,.26);
    }

    .news-date {
        font-size: .56rem;
        letter-spacing: .9px;
        color: #6cd5a8;
    }

    .news-card h3 {
        margin: 6px 0 7px;
        font-size: .9rem;
        line-height: 1.22;
        color: #eee2bf;
    }

    .news-card p {
        font-size: .72rem;
        line-height: 1.45;
        color: #aeb7b0;
    }

    .news-read {
        margin-top: 10px;
        font-size: .58rem;
        line-height: 1.4;
        color: #c49e4d;
    }

    .about {
        grid-area: about;
        padding: 0;
    }

    .about-inner,
    .download-inner {
        padding: 15px;
        border-radius: 7px;
        background: linear-gradient(180deg, rgba(14,20,17,.98), rgba(5,9,7,.98));
        border: 1px solid rgba(177,154,94,.22);
        box-shadow: 0 12px 24px rgba(0,0,0,.28);
    }

    .about-inner .section-head { margin-bottom: 10px; }

    .about p,
    .download-inner p {
        font-size: .75rem;
        line-height: 1.55;
        color: #aeb8b1;
    }

    .download {
        grid-area: download;
        padding: 0;
    }

    .download-inner {
        text-align: left;
    }

    .download-inner .section-kicker,
    .download-inner h2,
    .download-inner p {
        text-align: left;
    }

    .btn-download {
        width: 100%;
        margin-top: 12px;
        padding: 10px 14px;
        text-align: center;
        font-size: .72rem;
        border-radius: 3px;
    }

    .classes {
        grid-area: classes;
        padding: 16px;
        background: linear-gradient(180deg, rgba(13,18,16,.98), rgba(5,9,7,.98));
        border: 1px solid rgba(177,154,94,.22);
        border-radius: 7px;
        box-shadow: 0 12px 26px rgba(0,0,0,.28);
    }

    .carousel-wrapper {
        min-height: 378px;
        border-radius: 4px;
        overflow: hidden;
    }

    .carousel {
        min-height: 378px;
        height: 378px;
        border-radius: 4px;
        border-color: rgba(177,154,94,.24);
        background: linear-gradient(120deg, rgba(5,11,8,.98), rgba(15,28,22,.94));
    }

    .carousel-content {
        min-height: 378px;
        height: 378px;
    }

    .carousel-visual {
        flex: 0 0 44%;
        min-width: 0;
    }

    .carousel-image {
        max-height: 344px;
        max-width: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .carousel-text {
        padding: 24px 18px 20px 8px;
    }

    .carousel-text h3 {
        font-size: 1.35rem;
    }

    .class-subtitle {
        font-size: .72rem;
    }

    .class-features {
        margin-top: 9px;
        font-size: .69rem;
        line-height: 1.38;
    }

    .class-features li { margin-bottom: 4px; }

    .class-stats { margin-top: 12px; }
    .stat-row { margin-bottom: 7px; }
    .stat-row > span { width: 56px; font-size: .65rem; }
    .stat-bar { height: 7px; }

    .carousel-dots {
        margin-top: 11px;
    }

    footer {
        width: min(1060px, calc(100vw - 36px));
        margin: 14px auto 0;
        padding: 18px;
        background: rgba(4,7,5,.92);
        border: 1px solid rgba(177,154,94,.16);
        border-radius: 7px;
    }

    .footer-content {
        max-width: none;
        min-height: 0;
    }

    .footer-logo { height: 44px; }
    .footer-links a { font-size: .69rem; }
    .footer-copy { font-size: .62rem; }
}

@media (min-width: 901px) and (max-width: 1080px) {
    .site-header,
    body.home-page > header,
    body.home-page main,
    footer {
        width: calc(100vw - 24px);
    }

    body.home-page { padding-left: 12px; padding-right: 12px; }
    body.home-page main { grid-template-columns: 232px minmax(0, 1fr); }
    .navbar { top: 394px; }
    .navbar a { min-width: 76px; padding-inline: 7px; }
}

/* ========================================================================== */
/* PORTAL V2 — Login above Server Information + centered large Download       */
/* ========================================================================== */
@media (min-width: 901px) {
    /* Login leaves the top header and becomes a compact panel over the
       left column, directly above SERVER INFORMATION. */
    body.home-page .login-box {
        position: absolute;
        top: 468px;
        left: 0;
        z-index: 35;
        width: 258px;
        min-height: 122px;
        margin: 0;
        padding: 10px;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 8px;
        background: linear-gradient(180deg, rgba(13,18,16,.98), rgba(5,9,7,.98));
        border: 1px solid rgba(177,154,94,.24);
        border-radius: 10px;
        box-shadow: 0 12px 25px rgba(0,0,0,.34);
    }

    body.home-page .login-box input {
        width: 100%;
        min-width: 0;
        height: 36px;
        min-height: 36px;
        padding: 0 10px;
        font-size: .7rem;
    }

    body.home-page .login-box button {
        width: 100%;
        height: 38px;
        min-height: 38px;
        padding: 0 5px;
        font-size: .72rem;
    }

    /* Keep session/login feedback in the same left-column area. */
    body.home-page #user-area {
        position: absolute;
        top: 468px;
        left: 0;
        z-index: 35;
        width: 258px;
    }

    body.home-page #user-area .logged-in-alert {
        min-height: 48px;
        width: 100%;
        padding: 7px 9px;
        font-size: .68rem;
        border-radius: 7px;
        background: linear-gradient(180deg, rgba(13,18,16,.98), rgba(5,9,7,.98));
        border-color: rgba(177,154,94,.24);
        box-shadow: 0 12px 25px rgba(0,0,0,.34);
    }

    body.home-page #login-msg {
        position: absolute;
        top: 598px;
        left: 4px;
        z-index: 36;
        width: 250px;
        max-width: 250px;
        font-size: .66rem;
    }

    /* Reserve room for the login panel without moving the news column. */
    body.home-page .stats-bar {
        /* Same visual spacing used between the left-side panels. */
        margin-top: 164px;
    }

    /* Remove the small logo from the upper-left corner on the home portal. */
    body.home-page .site-header .brand {
        display: none !important;
    }

    /* Bigger DOWNLOAD button, visually centered on the portal. */
    body.home-page .navbar .btn-download-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 244px;
        min-width: 244px;
        height: 78px;
        margin: 0;
        padding: 0 24px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .88rem;
        letter-spacing: 1.2px;
        transform: translate(-50%, -50%);
        z-index: 8;
    }

    body.home-page .navbar .btn-download-nav:hover {
        transform: translate(-50%, calc(-50% - 2px));
    }

    /* Place the remaining menu items around the centered button. */
    body.home-page .navbar > a:not(.btn-download-nav) {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        min-width: 86px;
    }

    body.home-page .navbar > a:not(.btn-download-nav):hover {
        transform: translateY(calc(-50% - 1px));
    }

    body.home-page .navbar > a:nth-child(1) { left: calc(50% - 500px); }
    body.home-page .navbar > a:nth-child(2) { left: calc(50% - 408px); }
    body.home-page .navbar > a:nth-child(3) { left: calc(50% - 316px); }
    body.home-page .navbar > a:nth-child(4) { left: calc(50% - 224px); }
    body.home-page .navbar > a:nth-child(6) { left: calc(50% + 150px); }
}

@media (min-width: 901px) and (max-width: 1080px) {
    body.home-page .login-box,
    body.home-page #user-area {
        width: 232px;
    }

    body.home-page #login-msg {
        width: 224px;
        max-width: 224px;
    }

    body.home-page .navbar .btn-download-nav {
        width: 214px;
        min-width: 214px;
        height: 72px;
    }

    body.home-page .navbar > a:not(.btn-download-nav) {
        min-width: 72px;
        padding-inline: 5px;
        font-size: .66rem;
    }

    body.home-page .navbar > a:nth-child(1) { left: calc(50% - 420px); }
    body.home-page .navbar > a:nth-child(2) { left: calc(50% - 342px); }
    body.home-page .navbar > a:nth-child(3) { left: calc(50% - 264px); }
    body.home-page .navbar > a:nth-child(4) { left: calc(50% - 186px); }
    body.home-page .navbar > a:nth-child(6) { left: calc(50% + 124px); }
}


/* ========================================================================== */
/* BOTÃO DOWNLOAD (imagem) — sobe, cresce e as algas balançam ao passar o mouse */
/* ========================================================================== */
body.home-page .navbar a.btn-download-nav {
    /* remove o visual antigo do botão (fundo, borda, recorte, brilho) */
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    filter: none;
    overflow: visible;
    text-shadow: none;
    padding: 0 !important;
    margin: 0;
    min-width: 0;
    display: block;
    width: 200px;
    aspect-ratio: 3 / 1;
    height: auto;
    transform: none;
    z-index: 8;
    -webkit-tap-highlight-color: transparent;
}

body.home-page .navbar a.btn-download-nav::before,
body.home-page .navbar a.btn-download-nav::after {
    content: none;
}

/* hover/foco: a área clicável não se mexe (evita "tremedeira"); só a arte anima */
body.home-page .navbar a.btn-download-nav:hover,
body.home-page .navbar a.btn-download-nav:focus-visible {
    background: none;
    border: 0;
    box-shadow: none;
    filter: none;
    transform: none;
    outline: none;
}

.btn-download-nav .dl-art {
    position: absolute;
    inset: 0;
    display: block;
    transform-origin: 50% 60%;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5));
    transition:
        transform .38s cubic-bezier(.22, 1.4, .36, 1),
        filter .38s ease;
    will-change: transform;
}

.btn-download-nav .dl-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* sobe um pouco, cresce e ganha um brilho turquesa */
.btn-download-nav:hover .dl-art,
.btn-download-nav:focus-visible .dl-art {
    transform: translateY(-7px) scale(1.09);
    filter:
        drop-shadow(0 12px 12px rgba(0, 0, 0, .5))
        drop-shadow(0 0 12px rgba(38, 212, 179, .45))
        brightness(1.07);
}

.btn-download-nav:active .dl-art {
    transform: translateY(-3px) scale(1.04);
    transition-duration: .12s;
}

/* algas: a classe .is-swaying é ligada pelo script.js enquanto o mouse está em cima */
.btn-download-nav .dl-weed {
    will-change: transform;
}

.btn-download-nav .dl-weed-l { transform-origin: 26% 20%; }
.btn-download-nav .dl-weed-r { transform-origin: 74% 20%; }

.btn-download-nav .dl-weed-l.is-swaying { animation: dl-sway-l 2.3s ease-in-out infinite; }
.btn-download-nav .dl-weed-r.is-swaying { animation: dl-sway-r 2.7s ease-in-out infinite; }

@keyframes dl-sway-l {
    0%, 100% { transform: rotate(0deg) skewX(0deg) scale(1, 1); }
    22%      { transform: rotate(-3.2deg) skewX(-2.6deg) scale(1.012, 1.02); }
    50%      { transform: rotate(1.8deg) skewX(2deg) scale(.995, .985); }
    78%      { transform: rotate(-1.6deg) skewX(-1.2deg) scale(1.006, 1.012); }
}

@keyframes dl-sway-r {
    0%, 100% { transform: rotate(0deg) skewX(0deg) scale(1, 1); }
    28%      { transform: rotate(3deg) skewX(2.6deg) scale(1.012, 1.02); }
    55%      { transform: rotate(-2deg) skewX(-2deg) scale(.995, .985); }
    80%      { transform: rotate(1.5deg) skewX(1.2deg) scale(1.006, 1.012); }
}

/* desktop: botão grande centralizado no menu (mantém o posicionamento original) */
@media (min-width: 901px) {
    body.home-page .navbar a.btn-download-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 280px;
        min-width: 280px;
        height: auto;
        transform: translate(-50%, -50%);
    }

    body.home-page .navbar a.btn-download-nav:hover,
    body.home-page .navbar a.btn-download-nav:focus-visible {
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 901px) and (max-width: 1080px) {
    body.home-page .navbar a.btn-download-nav {
        width: 240px;
        min-width: 240px;
    }
}

@media (max-width: 900px) {
    body.home-page .navbar a.btn-download-nav {
        width: 170px;
        margin: 0 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-download-nav .dl-weed.is-swaying { animation: none; }
    .btn-download-nav .dl-art { transition: none; }
}


/* ========================================================================== */
/* AJUSTES: classes (imagem maior + texto completo) e painéis ABOUT / DOWNLOAD */
/* ========================================================================== */

/* títulos dos painéis centralizados (não ficam mais embaixo do losango do canto) */
.about-inner .section-head,
.download-inner .section-kicker,
.download-inner h2,
.download-inner p,
.about-inner p {
    text-align: center;
}

.about-inner .section-kicker,
.download-inner .section-kicker {
    text-align: center;
    margin-top: 6px;
}

@media (min-width: 901px) {
    /* espaço para os losangos dos cantos (topo-esquerda e baixo-direita) */
    body.home-page .about-inner {
        padding: 26px 15px 34px;
    }

    body.home-page .download-inner {
        padding: 26px 15px 40px;
    }

    /* botão fica bem acima do losango do canto inferior direito */
    body.home-page .download-inner .btn-download {
        width: calc(100% - 20px);
        margin: 14px auto 0;
        display: block;
    }

    /* ----- GAME CLASSES: o card cresce conforme o conteúdo, nada é cortado ----- */
    body.home-page .carousel-wrapper {
        min-height: 0;
        overflow: hidden;
    }

    body.home-page .carousel {
        height: auto;
        min-height: 0;
    }

    body.home-page .carousel-item {
        height: auto;
    }

    body.home-page .carousel-content {
        height: auto;
        min-height: 0;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 22px;
        padding: 22px 56px 22px 56px;
    }

    /* imagem ocupa toda a altura do card, enquadrada no personagem */
    body.home-page .carousel-visual {
        flex: none;
        display: block;
        min-width: 0;
    }

    body.home-page .carousel-image {
        width: 100%;
        height: 100%;
        min-height: 430px;
        max-height: none;
        max-width: none;
        object-fit: cover;
        /* os personagens ficam na metade direita da arte: enquadra ali */
        object-position: 100% 50%;
        border-radius: 6px;
        border: 1px solid rgba(242, 199, 111, .34);
        box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
    }

    body.home-page .carousel-text {
        padding: 6px 0 4px;
        justify-content: center;
    }

    body.home-page .carousel-text h3 {
        font-size: 1.7rem;
        margin-bottom: 4px;
    }

    body.home-page .class-subtitle {
        font-size: .82rem;
    }

    body.home-page .class-features {
        margin-top: 12px;
        font-size: .8rem;
        gap: 8px;
    }

    body.home-page .class-features li {
        margin-bottom: 0;
        font-size: .82rem;
        line-height: 1.4;
    }

    body.home-page .class-stats {
        margin-top: 16px;
    }

    body.home-page .stat-row {
        margin-bottom: 0;
        grid-template-columns: 64px 1fr;
    }

    body.home-page .stat-row > span {
        width: auto;
        font-size: .72rem;
    }

    body.home-page .carousel-dots {
        margin-top: 14px;
    }
}


/* ========================================================================== */
/* LOGO CENTRALIZADA NO HERO                                                  */
/* ========================================================================== */
@media (min-width: 901px) {
    body.home-page .hero {
        justify-content: center;
    }

    body.home-page .hero-content {
        width: 430px;
        margin: 6px auto 0;
        transform: none;
    }

    /* logo um pouco menor e mais alta para o subtítulo aparecer acima do menu */
    body.home-page .hero-logo-wrap,
    body.home-page .hero-logo {
        width: min(335px, 100%);
    }

    body.home-page .hero-subtitle {
        margin-top: 42px; /* texto logo acima do botão DOWNLOAD */
    }

    /* PLAY NOW / PURCHASE ficavam escondidos atrás do menu (o DOWNLOAD já está nele) */
    body.home-page .hero-buttons {
        display: none;
    }
}


/* ========================================================================== */
/* HERO: sem linha no topo, OFFICIAL SERVER no alto e logo mais para cima      */
/* ========================================================================== */
@media (min-width: 901px) {
    /* tira a linha dourada do cabeçalho */
    body.home-page .site-header,
    body.home-page > header {
        border-bottom: 0;
        border-top: 0;
        box-shadow: none;
        /* o fundo escuro do cabeçalho formava uma faixa e escurecia o OFFICIAL SERVER */
        background: transparent;
    }

    body.home-page .hero {
        padding-top: 16px;
    }

    body.home-page .hero-content {
        margin-top: 0;
    }

    /* logo centralizada na altura livre entre o topo e o menu */
    body.home-page .hero-logo-wrap {
        margin-top: 32px;
    }
}


/* ========================================================================== */
/* RODAPÉ COMPACTO — copyright no meio, links no canto direito                 */
/* ========================================================================== */
footer .footer-logo { display: none; }

footer .footer-content {
    min-height: 0;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 28px;
}

footer .footer-copy {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 0;
    text-align: center;
}

footer .footer-links {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 20px;
}
footer .footer-links a.is-active { color: #ead18c; }

@media (min-width: 901px) {
    footer { padding: 0; }
}

/* celular: links em cima, texto embaixo, tudo centralizado */
@media (max-width: 980px) {
    footer .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    footer .footer-links { grid-column: 1; grid-row: 1; justify-content: center; }
    footer .footer-copy  { grid-column: 1; grid-row: 2; }
}


/* ========================================================================== */
/* SEM "OFFICIAL SERVER": logo mantém a mesma posição no banner                */
/* ========================================================================== */
@media (min-width: 901px) {
    body.home-page .hero-logo-wrap {
        margin-top: 62px;
    }
}


/* ========================================================================== */
/* HOME: NEWS sem espaço vazio — GAME CLASSES sobe logo abaixo das notícias    */
/* ========================================================================== */
@media (min-width: 901px) {
    body.home-page main {
        grid-template-areas:
            "hero hero"
            "stats news"
            "about classes"
            "download classes";
        grid-template-rows: auto auto auto 1fr;
    }

    body.home-page #news-hero {
        min-height: 0;
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }

    body.home-page #news-hero .news-grid {
        flex: 1;
    }

    body.home-page #classes,
    body.home-page #info,
    body.home-page #download {
        align-self: start;
    }
}


/* ========================================================================== */
/* GAME CLASSES: bordas da imagem esfumadas (sem "quadrado seco")              */
/* ========================================================================== */
.carousel-image,
body.home-page .carousel-image {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
        linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
            mask-composite: intersect;
}

/* leve brilho atrás da imagem para ela "sair" do fundo */
.carousel-visual { position: relative; }
.carousel-visual::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    background: radial-gradient(ellipse at center, rgba(38, 212, 179, .10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.carousel-visual .carousel-image { position: relative; z-index: 1; }
