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

/* =========================
   DASHBOARD PAGE TRANSITIONS
========================= */
.ryl-dashboard-main > * {
    opacity: 0;
    transform: translateY(16px);
    animation: rylSectionReveal 0.56s cubic-bezier(0.22, 0.76, 0.24, 1) forwards;
}

.ryl-dashboard-main > *:nth-child(1) {
    animation-delay: 0.04s;
}

.ryl-dashboard-main > *:nth-child(2) {
    animation-delay: 0.12s;
}

.ryl-dashboard-main > *:nth-child(3) {
    animation-delay: 0.20s;
}

.ryl-dashboard-main > *:nth-child(n+4) {
    animation-delay: 0.28s;
}

.ryl-side-menu a.active {
    overflow: hidden;
}

.ryl-side-menu a.active::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 226, 151, 0.12), transparent);
    animation: rylMenuGlint 0.85s ease-out 0.18s both;
}

@keyframes rylSectionReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes rylMenuGlint {
    from {
        left: -45%;
    }
    to {
        left: 120%;
    }
}

/* =========================
   PURCHASE HISTORY PAGE
========================= */
.history-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.history-summary-card {
    position: relative;
    min-height: 112px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(214, 166, 73, 0.24);
    background:
        radial-gradient(circle at 92% 12%, rgba(214, 166, 73, 0.10), transparent 42%),
        linear-gradient(180deg, rgba(13, 14, 18, 0.92), rgba(3, 4, 7, 0.88));
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 232, 172, 0.05);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.history-summary-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, #e2b452, transparent);
}

.history-summary-card.featured {
    border-color: rgba(226, 180, 82, 0.48);
    background:
        radial-gradient(circle at 88% 10%, rgba(226, 180, 82, 0.18), transparent 44%),
        linear-gradient(180deg, rgba(42, 27, 11, 0.92), rgba(5, 5, 8, 0.92));
}

.history-summary-card:hover {
    transform: translateY(-3px);
    border-color: rgba(226, 180, 82, 0.58);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), 0 0 24px rgba(214, 166, 73, 0.08);
}

.history-summary-card span {
    margin-bottom: 8px;
    color: #d6a84e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.history-summary-card strong {
    color: #fff0c4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(214, 166, 73, 0.18);
}

.history-summary-card small {
    margin-top: 8px;
    color: rgba(218, 209, 188, 0.56);
    font-size: 10px;
    letter-spacing: 0.8px;
}

.history-panel {
    margin-bottom: 22px;
    padding: 0;
    align-items: stretch;
}

.history-panel-inner {
    width: 100%;
    min-width: 0;
    padding: 25px;
}

.history-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(214, 166, 73, 0.16);
}

.history-section-heading .ryl-small-title {
    margin-bottom: 7px;
}

.history-section-heading h2 {
    font-size: 19px;
}

.history-section-heading p {
    margin-bottom: 0;
}

.history-count {
    flex: 0 0 auto;
    padding: 9px 12px;
    color: #d6a84e;
    border: 1px solid rgba(214, 166, 73, 0.24);
    background: rgba(0, 0, 0, 0.26);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.purchase-table-wrap {
    width: 100%;
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid rgba(214, 168, 80, 0.14);
    background: rgba(2, 3, 5, 0.42);
}

.purchase-history-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: #e8deca;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
}

.topup-history-table {
    min-width: 1080px;
}

.purchase-history-table th {
    padding: 13px 14px;
    text-align: left;
    color: #d8aa4d;
    border-bottom: 1px solid rgba(214, 168, 80, 0.34);
    background: rgba(46, 31, 13, 0.46);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.purchase-history-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    vertical-align: middle;
}

.purchase-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.purchase-history-table tbody tr {
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.purchase-history-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(214, 168, 80, 0.09), rgba(214, 168, 80, 0.025));
    box-shadow: inset 2px 0 0 rgba(226, 180, 82, 0.70);
}

.history-money,
.history-cp {
    color: #f2c45f;
    font-weight: 700;
    white-space: nowrap;
}

.history-cp.negative {
    color: #d9b76c;
}

.history-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(214, 168, 80, 0.24);
    color: #d6a84e;
    background: rgba(214, 168, 80, 0.07);
    font-family: "Cinzel", Georgia, serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.history-status.sent {
    color: #87dda1;
    border-color: rgba(74, 190, 111, 0.32);
    background: rgba(49, 137, 77, 0.12);
}

.history-status.failed {
    color: #ef9999;
    border-color: rgba(218, 91, 91, 0.32);
    background: rgba(150, 48, 48, 0.12);
}

.history-status.no-email {
    color: #bcb3a1;
    border-color: rgba(188, 179, 161, 0.22);
    background: rgba(188, 179, 161, 0.07);
}

.history-transaction {
    display: inline-block;
    max-width: 170px;
    overflow: hidden;
    color: #9f947f;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.history-used-at {
    display: block;
    margin-top: 6px;
    color: #8f8571;
    font-size: 9px;
    white-space: nowrap;
}

.purchase-empty {
    min-height: 112px;
    margin-top: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed rgba(214, 168, 80, 0.25);
    background: rgba(0, 0, 0, 0.18);
}

.purchase-empty span {
    margin-bottom: 7px;
    color: #d6a84e;
    font-size: 22px;
}

.purchase-empty strong {
    color: #eee0bd;
    font-size: 13px;
    letter-spacing: 1px;
}

.purchase-empty small {
    margin-top: 7px;
    color: #8f8675;
    font-size: 11px;
}

@media (max-width: 900px) {
    .history-summary-grid {
        grid-template-columns: 1fr;
    }

    .history-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 1250px) and (min-width: 901px) {
    .history-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================
   BATTLE PASS DASHBOARD
========================= */
.battle-pass-balance {
    min-width: 170px;
    padding: 18px 22px;
    text-align: right;
    border: 1px solid rgba(214, 166, 73, 0.34);
    background: linear-gradient(180deg, rgba(42, 27, 12, 0.82), rgba(5, 6, 8, 0.94));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.battle-pass-balance span,
.battle-pass-tier span,
.battle-pass-stat span,
.battle-pass-track-counts span {
    display: block;
    color: #d6a84e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.battle-pass-balance strong {
    display: block;
    margin-top: 7px;
    color: #fff0c4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.battle-pass-hero {
    position: relative;
    min-height: 210px;
    margin-bottom: 20px;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 230px;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    border: 1px solid rgba(214, 166, 73, 0.38);
    background:
        radial-gradient(circle at 82% 20%, rgba(214, 166, 73, 0.20), transparent 32%),
        linear-gradient(120deg, rgba(54, 34, 12, 0.94), rgba(5, 6, 9, 0.94) 58%);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 230, 160, 0.07);
}

.battle-pass-hero::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 230, 160, 0.07);
    pointer-events: none;
}

.battle-pass-hero.premium {
    border-color: rgba(231, 184, 84, 0.72);
    background:
        radial-gradient(circle at 78% 16%, rgba(238, 188, 78, 0.28), transparent 34%),
        linear-gradient(120deg, rgba(78, 46, 10, 0.96), rgba(7, 7, 11, 0.96) 60%);
}

.battle-pass-emblem {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1c65f;
    border: 1px solid rgba(231, 184, 84, 0.62);
    background: radial-gradient(circle, rgba(219, 160, 50, 0.20), rgba(0, 0, 0, 0.55));
    box-shadow: 0 0 28px rgba(220, 166, 62, 0.16), inset 0 0 24px rgba(0, 0, 0, 0.55);
    font-size: 42px;
}

.battle-pass-hero-copy h2,
.battle-pass-progress-heading h2,
.battle-pass-actions h2 {
    margin: 0;
    color: #f7e2ad;
    font-size: 25px;
    letter-spacing: 2px;
}

.battle-pass-hero-copy p,
.battle-pass-actions p {
    max-width: 720px;
    margin-top: 12px;
    color: #cdbf9f;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.battle-pass-tier {
    position: relative;
    z-index: 1;
    padding: 22px;
    text-align: center;
    border: 1px solid rgba(226, 180, 82, 0.34);
    background: rgba(2, 3, 5, 0.58);
}

.battle-pass-tier strong {
    display: block;
    margin-top: 10px;
    color: #f4c75d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    letter-spacing: 2px;
}

.battle-pass-tier small,
.battle-pass-stat small {
    display: block;
    margin-top: 8px;
    color: #8f8571;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 10px;
}

.battle-pass-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.battle-pass-stat {
    min-height: 120px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(214, 166, 73, 0.22);
    background: linear-gradient(180deg, rgba(12, 13, 17, 0.92), rgba(3, 4, 7, 0.88));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30);
}

.battle-pass-stat.featured {
    border-color: rgba(226, 180, 82, 0.48);
    background: linear-gradient(180deg, rgba(49, 31, 11, 0.90), rgba(5, 5, 8, 0.92));
}

.battle-pass-stat strong {
    display: block;
    margin-top: 10px;
    color: #fff0c4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.battle-pass-stat strong.battle-pass-date {
    font-size: 17px;
    line-height: 1.35;
}

.battle-pass-progress-panel {
    margin-bottom: 20px;
    padding: 27px 30px;
    border: 1px solid rgba(214, 166, 73, 0.24);
    background: rgba(3, 4, 7, 0.74);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.battle-pass-progress-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.battle-pass-progress-heading > span {
    color: #efc45e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.battle-pass-progress-track {
    height: 10px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(214, 166, 73, 0.26);
    background: #050609;
}

.battle-pass-progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #9c681f, #f0c964);
    box-shadow: 0 0 18px rgba(240, 201, 100, 0.35);
}

.battle-pass-track-counts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.battle-pass-track-counts > div {
    padding: 15px 17px;
    border: 1px solid rgba(214, 166, 73, 0.16);
    background: rgba(214, 166, 73, 0.04);
}

.battle-pass-track-counts strong {
    display: block;
    margin-top: 7px;
    color: #ead8aa;
    font-size: 14px;
}

.battle-pass-actions {
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(214, 166, 73, 0.24);
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.90), rgba(3, 4, 6, 0.90));
}

.battle-pass-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.battle-pass-action-buttons .ryl-add-cp-btn {
    margin-top: 0;
}

.battle-pass-secondary-btn {
    padding: 10px 16px;
    color: #d9c187;
    border: 1px solid rgba(214, 166, 73, 0.36);
    background: rgba(0, 0, 0, 0.28);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .battle-pass-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .battle-pass-hero {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .battle-pass-stats,
    .battle-pass-track-counts {
        grid-template-columns: 1fr;
    }

    .battle-pass-actions,
    .battle-pass-action-buttons {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ryl-dashboard-main > *,
    .ryl-side-menu a.active::after {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }
}

body {
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    background: #040506;
    color: #f5ead2;
    overflow: hidden;
}

.home {
    width: 100%;
    height: 100vh;
    position: relative;

    background-image: url("assets/background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* =========================
   TOP BAR
========================= */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;
    height: 66px;
    padding: 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(5, 6, 9, 0.88),
            rgba(5, 6, 9, 0.50)
        );

    border-bottom: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.42),
        inset 0 -1px 0 rgba(255, 215, 120, 0.05);

    backdrop-filter: blur(8px);
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.nav-menu a {
    position: relative;

    min-width: 92px;
    height: 36px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #d8d0bf;

    border: none;
    background: transparent;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.login-link {
    position: absolute;
    right: 48px;

    height: 36px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    text-decoration: none;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #d8d0bf;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);

    transition: 0.25s ease;
}

.login-icon {
    font-size: 14px;
    line-height: 1;
    color: #d6a84e;

    text-shadow:
        0 0 8px rgba(216, 166, 73, 0.45),
        0 2px 8px rgba(0, 0, 0, 1);
}

.login-link:hover {
    color: #fff1c8;

    text-shadow:
        0 0 8px rgba(216, 166, 73, 0.45),
        0 2px 8px rgba(0, 0, 0, 1);
}

.login-link::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d8a649,
            transparent
        );

    transform: translateX(-50%);

    box-shadow: 0 0 10px rgba(216, 166, 73, 0.75);

    transition: 0.25s ease;
}

.login-link:hover::after {
    width: 75%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff1c8;

    background: transparent;
    border: none;

    text-shadow:
        0 0 8px rgba(216, 166, 73, 0.45),
        0 2px 8px rgba(0, 0, 0, 1);
}

.nav-menu a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d8a649,
            transparent
        );

    transform: translateX(-50%);

    box-shadow: 0 0 10px rgba(216, 166, 73, 0.75);

    transition: 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 75%;
}

/* =========================
   BACKGROUND OVERLAY
========================= */
.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(0, 0, 0, 0.70) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.65) 100%
        );
}

/* =========================
   FLYING GOLD PARTICLES
========================= */
.particles {
    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;
    overflow: hidden;
}

.particles span {
    position: absolute;
    bottom: -20px;

    display: block;

    background: radial-gradient(
        circle,
        rgba(255, 220, 120, 0.95) 0%,
        rgba(214, 166, 73, 0.65) 45%,
        transparent 75%
    );

    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(255, 210, 110, 0.65),
        0 0 18px rgba(214, 166, 73, 0.25);

    animation-name: floatParticle;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50vh) translateX(24px) scale(1.25);
    }

    100% {
        transform: translateY(-105vh) translateX(-18px) scale(0.7);
        opacity: 0;
    }
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 40px;
    padding-top: 90px;
}

.pre-title {
    margin-bottom: 22px;

    font-size: 30px;
    letter-spacing: 10px;
    font-weight: 400;

    color: #d6a84e;

    text-transform: uppercase;

    opacity: 0.85;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 10px rgba(214, 166, 73, 0.25);
}

h1 {
    margin: 0;

    font-size: 58px;
    line-height: 1.05;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

h2 {
    margin-top: 16px;

    font-size: 22px;
    letter-spacing: 9px;
    font-weight: 400;

    color: #d6a84e;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 0.95),
        0 0 14px rgba(214, 166, 73, 0.25);
}

/* =========================
   HERO BUTTONS - CSS STYLE
========================= */
.hero-buttons {
    margin-top: 32px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.community-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.community-label {
    color: rgba(224, 197, 134, 0.72);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
}

.community-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.community-btn {
    position: relative;
    min-width: 180px;
    height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    color: #e8d3a0;
    background: linear-gradient(180deg, rgba(23, 20, 18, 0.92), rgba(7, 7, 8, 0.96));
    border: 1px solid rgba(181, 137, 57, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 231, 176, 0.08), 0 5px 15px rgba(0, 0, 0, 0.38);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-decoration: none;
    transition: 0.22s ease;
}

.community-btn::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 166, 73, 0.5), transparent);
}

.community-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.community-btn:hover {
    color: #fff0bd;
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(52, 38, 21, 0.96), rgba(12, 10, 9, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 231, 176, 0.14), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.community-btn.discord:hover {
    border-color: rgba(127, 139, 255, 0.85);
}

.community-btn.facebook:hover {
    border-color: rgba(75, 137, 232, 0.9);
}

.community-btn:focus-visible {
    outline: 2px solid #e1b65f;
    outline-offset: 3px;
}

 .game-btn {
    position: relative;

    min-width: 220px;
    height: 54px;
    padding: 0 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    overflow: hidden;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #f3dfaa;

    border: 1px solid rgba(214, 166, 73, 0.80);

    background:
        linear-gradient(
            180deg,
            rgba(78, 50, 20, 0.94) 0%,
            rgba(38, 25, 12, 0.96) 52%,
            rgba(10, 8, 7, 0.98) 100%
        );

    box-shadow:
        0 0 14px rgba(214, 166, 73, 0.14),
        0 6px 14px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 230, 160, 0.20),
        inset 0 0 18px rgba(255, 210, 120, 0.06);

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 0 8px rgba(255, 210, 120, 0.18);

    transition: 0.25s ease;
}

.game-btn.primary {
    color: #fff1c8;

    border-color: rgba(230, 178, 78, 0.95);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96) 0%,
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98) 100%
        );

    box-shadow:
        0 0 18px rgba(214, 166, 73, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 230, 160, 0.28),
        inset 0 0 18px rgba(255, 210, 120, 0.09);
}

.game-btn::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 224, 150, 0.14);
    pointer-events: none;
}

.game-btn::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 1px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 232, 165, 0.65),
            transparent
        );

    opacity: 0.7;
}

.game-btn:hover {
    color: #fff6d7;
    border-color: #f0c76a;

    transform: translateY(-1px);

    box-shadow:
        0 0 24px rgba(230, 180, 80, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 238, 180, 0.30),
        inset 0 0 22px rgba(255, 214, 120, 0.10);
}

.game-btn:active {
    transform: translateY(0);
}

/* =========================
   SIMPLE FADE ANIMATION
========================= */
.pre-title,
.hero h1,
.hero h2,
.hero-buttons,
.community-links {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.pre-title {
    animation-delay: 0s;
}

.hero h1 {
    animation-delay: 0.12s;
}

.hero h2 {
    animation-delay: 0.24s;
}

.hero-buttons {
    animation-delay: 0.36s;
}

.community-links {
    animation-delay: 0.5s;
}

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

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

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1050px) {
    .topbar {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 20px;
        letter-spacing: 6px;
    }
}

@media (max-width: 760px) {
    body {
        overflow: auto;
    }

    .topbar {
        height: auto;
        padding: 14px 18px;
        justify-content: center;
    }

    .nav-menu {
    position: relative;
    left: auto;
    transform: none;

    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

    .nav-menu a {
    min-width: auto;
    height: 34px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 1.4px;
}

    .hero {
        padding: 100px 24px 40px;
    }

    h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .hero-buttons {
    flex-direction: column;
    gap: 12px;
}

    .community-links {
        margin-top: 18px;
    }

    .community-buttons {
        flex-direction: column;
        gap: 9px;
    }

    .community-btn {
        width: 230px;
    }

    .game-btn {
        min-width: 230px;
        height: 52px;
        font-size: 13px;
    }
}

/* =========================
   REGISTER PAGE
========================= */
.register-message {
    margin-bottom: 16px;
    padding: 12px 14px;

    text-align: center;

    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 1px;

    border: 1px solid rgba(214, 166, 73, 0.24);
    background: rgba(0, 0, 0, 0.34);
}

.register-message.error {
    color: #ffb2b2;
    border-color: rgba(255, 90, 90, 0.48);
    background: rgba(90, 0, 0, 0.25);
}

.register-message.success {
    color: #b8ffbf;
    border-color: rgba(90, 255, 120, 0.38);
    background: rgba(0, 90, 30, 0.18);
}

.register-section {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.register-card {
    width: 460px;
    max-width: 100%;

    padding: 34px 34px 28px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.register-header {
    text-align: center;
    margin-bottom: 28px;
}

.register-header .pre-title {
    margin-bottom: 10px;

    font-size: 13px;
    letter-spacing: 5px;
}

.register-header h1 {
    font-size: 34px;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.register-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 400;

    color: #c9b58a;

    text-transform: none;

    text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #d6a84e;
}

.form-group input {
    width: 100%;
    height: 46px;

    padding: 0 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #f5ead2;

    text-transform: none;

    outline: none;

    border: 1px solid rgba(214, 166, 73, 0.25);

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.44),
            rgba(0, 0, 0, 0.62)
        );

    box-shadow:
        inset 0 0 14px rgba(0, 0, 0, 0.45),
        0 0 0 rgba(214, 166, 73, 0);

    transition: 0.25s ease;
}

.form-group input::placeholder {
    color: rgba(216, 208, 191, 0.38);
}

.form-group input:focus {
    border-color: rgba(230, 178, 78, 0.78);

    box-shadow:
        0 0 16px rgba(214, 166, 73, 0.16),
        inset 0 0 14px rgba(0, 0, 0, 0.55);
}

.register-submit {
    position: relative;

    margin-top: 8px;

    width: 100%;
    height: 54px;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #fff1c8;

    cursor: pointer;

    border: 1px solid rgba(230, 178, 78, 0.95);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96) 0%,
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98) 100%
        );

    box-shadow:
        0 0 18px rgba(214, 166, 73, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 230, 160, 0.28),
        inset 0 0 18px rgba(255, 210, 120, 0.09);

    transition: 0.25s ease;
}

.register-submit:hover {
    color: #fff6d7;
    border-color: #f0c76a;

    transform: translateY(-1px);

    box-shadow:
        0 0 24px rgba(230, 180, 80, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 238, 180, 0.30),
        inset 0 0 22px rgba(255, 214, 120, 0.10);
}

.register-note {
    margin-top: 20px;

    text-align: center;

    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(216, 208, 191, 0.68);
}

.register-note a {
    color: #d6a84e;
    text-decoration: none;
}

.register-note a:hover {
    color: #fff1c8;
}

.tac-summary {
    margin-bottom: 20px;
    padding: 14px 16px;
    color: #cfc2a2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
    background: rgba(50, 33, 14, 0.36);
    border-left: 2px solid #c7953d;
}

.tac-summary strong {
    color: #f1d28a;
}

.tac-input input {
    font-family: "Cinzel", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
}

.register-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.register-small-btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    color: #e8c878;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(42, 30, 14, 0.95), rgba(10, 8, 6, 0.98));
    border: 1px solid rgba(190, 140, 55, 0.75);
    transition: 0.2s ease;
}

.register-small-btn:hover {
    color: #fff0ba;
    border-color: rgba(230, 180, 80, 0.95);
    transform: translateY(-1px);
}

.register-small-btn.secondary {
    color: #b9aa86;
    border-color: rgba(150, 125, 75, 0.35);
    background: linear-gradient(180deg, rgba(20, 20, 22, 0.92), rgba(8, 8, 10, 0.98));
}

/* REGISTER RESPONSIVE */
@media (max-width: 760px) {
    .register-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .register-card {
        padding: 28px 22px 24px;
    }

    .register-header h1 {
        font-size: 28px;
    }

    .register-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================
   DOWNLOAD PAGE
========================= */
.download-section {
    position: relative;
    z-index: 3;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.download-card {
    width: 900px;
    max-width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.download-header {
    text-align: center;
    margin-bottom: 30px;
}

.download-header h1 {
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.download-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    color: #c9b58a;

    text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
}

.client-box {
    padding: 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.34),
            rgba(0, 0, 0, 0.55)
        );

    border: 1px solid rgba(214, 166, 73, 0.24);

    box-shadow:
        inset 0 0 28px rgba(0, 0, 0, 0.38),
        0 10px 30px rgba(0, 0, 0, 0.32);
}

.client-info {
    text-align: left;
}

.client-label {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 11px;
    letter-spacing: 2px;
    color: #d6a84e;
}

.client-info h2 {
    margin: 0;

    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #f5e3b4;
}

.client-info p {
    margin-top: 10px;
    max-width: 520px;

    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.5px;

    color: #d9d1c1;
}

.download-main-btn {
    min-width: 190px;
}

.download-grid {
    margin-top: 18px;

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

.download-small-card {
    padding: 18px;

    text-align: center;

    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(214, 166, 73, 0.20);
}

.download-small-card span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    letter-spacing: 2px;
    color: #d6a84e;
}

.download-small-card strong {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 500;

    color: #f5ead2;
}

.requirement-box {
    margin-top: 28px;
}

.requirement-box h2 {
    margin-bottom: 16px;

    text-align: center;

    font-size: 22px;
    letter-spacing: 3px;
    font-weight: 500;

    color: #d6a84e;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.requirement-grid div {
    padding: 18px;

    text-align: center;

    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(214, 166, 73, 0.20);
}

.requirement-grid span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    letter-spacing: 2px;
    color: #d6a84e;
}

.requirement-grid p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;
    color: #d9d1c1;
}

/* DOWNLOAD RESPONSIVE */
@media (max-width: 760px) {
    .download-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .download-card {
        padding: 28px 22px;
    }

    .download-header h1 {
        font-size: 30px;
    }

    .client-box {
        flex-direction: column;
        text-align: center;
    }

    .client-info {
        text-align: center;
    }

    .download-grid,
    .requirement-grid {
        grid-template-columns: 1fr;
    }

    .download-main-btn {
        min-width: 230px;
    }
}

/* =========================
   RANKING PAGE
========================= */
.ranking-section {
    position: relative;
    z-index: 3;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.ranking-card {
    width: 1000px;
    max-width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.ranking-header {
    text-align: center;
    margin-bottom: 30px;
}

.ranking-header h1 {
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.ranking-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    color: #c9b58a;
}

.ranking-tables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.ranking-box {
    border: 1px solid rgba(214, 166, 73, 0.24);

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.55)
        );

    box-shadow:
        inset 0 0 28px rgba(0, 0, 0, 0.38),
        0 10px 30px rgba(0, 0, 0, 0.32);
}

.nation-title {
    padding: 16px;

    text-align: center;

    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 600;

    color: #f5e3b4;

    border-bottom: 1px solid rgba(214, 166, 73, 0.25);

    background:
        linear-gradient(
            180deg,
            rgba(214, 166, 73, 0.16),
            rgba(0, 0, 0, 0.20)
        );
}

.nation-title.human {
    color: #d8e9ff;
    text-shadow:
        0 0 10px rgba(92, 160, 255, 0.38),
        0 3px 8px rgba(0, 0, 0, 1);
}

.nation-title.akkan {
    color: #ffd0c0;
    text-shadow:
        0 0 10px rgba(255, 80, 60, 0.30),
        0 3px 8px rgba(0, 0, 0, 1);
}

.ranking-box table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-box th,
.ranking-box td {
    padding: 13px 14px;

    font-size: 12px;
    letter-spacing: 0.8px;

    text-align: left;

    border-bottom: 1px solid rgba(214, 166, 73, 0.12);
}

.ranking-box th {
    color: #d6a84e;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.ranking-box td {
    color: #e5dcc8;
}

.ranking-box tr:hover td {
    background: rgba(214, 166, 73, 0.06);
    color: #fff1c8;
}

.ranking-box th:first-child,
.ranking-box td:first-child {
    width: 50px;
    text-align: center;
}

.rank-one {
    color: #f0c76a !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(240, 199, 106, 0.45);
}

/* RANKING RESPONSIVE */
@media (max-width: 900px) {
    .ranking-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ranking-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .ranking-card {
        padding: 28px 18px;
    }

    .ranking-header h1 {
        font-size: 30px;
    }

    .ranking-box th,
    .ranking-box td {
        padding: 11px 8px;
        font-size: 11px;
    }
}

/* =========================
   DONATION PAGE
========================= */
.donation-section {
    position: relative;
    z-index: 3;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.donation-card {
    width: 1350px;
    max-width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.dashboard-donation-card {
    width: 100%;
}

.donation-header {
    text-align: center;
    margin-bottom: 28px;
}

.donation-header h1 {
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.donation-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    color: #c9b58a;
}

.donation-packages {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.package-card {
    position: relative;

    padding: 24px 18px 22px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.34),
            rgba(0, 0, 0, 0.60)
        );

    border: 1px solid rgba(214, 166, 73, 0.24);

    box-shadow:
        inset 0 0 28px rgba(0, 0, 0, 0.38),
        0 10px 30px rgba(0, 0, 0, 0.32);

    transition: 0.25s ease;
}

.package-card:hover {
    transform: translateY(-3px);

    border-color: rgba(230, 178, 78, 0.70);

    box-shadow:
        0 0 26px rgba(214, 166, 73, 0.18),
        inset 0 0 28px rgba(0, 0, 0, 0.38),
        0 14px 35px rgba(0, 0, 0, 0.42);
}

.package-card.featured {
    border-color: rgba(230, 178, 78, 0.70);

    background:
        linear-gradient(
            180deg,
            rgba(72, 42, 13, 0.58),
            rgba(0, 0, 0, 0.62)
        );
}

.package-card.battle-pass {
    border-color: rgba(160, 120, 255, 0.50);

    background:
        linear-gradient(
            180deg,
            rgba(58, 38, 92, 0.45),
            rgba(0, 0, 0, 0.62)
        );
}

.package-card.battle-pass .package-ribbon,
.package-card.battle-pass .cash-point {
    color: #d8c4ff;
}

.package-ribbon {
    margin: 0 auto 18px;

    width: fit-content;
    padding: 6px 14px;

    font-size: 10px;
    letter-spacing: 2px;
    color: #d6a84e;

    border: 1px solid rgba(214, 166, 73, 0.30);
    background: rgba(0, 0, 0, 0.32);
}

.package-card h2 {
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(214, 166, 73, 0.28);
}

.package-card p {
    margin-top: 10px;

    font-size: 12px;
    letter-spacing: 1px;
    color: #c9b58a;
}

.cash-point {
    margin: 22px auto;

    padding: 14px;

    font-size: 17px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #d6a84e;

    border-top: 1px solid rgba(214, 166, 73, 0.18);
    border-bottom: 1px solid rgba(214, 166, 73, 0.18);

    text-shadow:
        0 0 12px rgba(214, 166, 73, 0.28),
        0 3px 8px rgba(0, 0, 0, 1);
}

.package-btn {
    width: 100%;
    min-width: 0;
    height: 46px;

    font-size: 10px;
    padding: 0 18px;
}

.manual-topup-panel {
    margin-top: 26px;
    padding: 24px;
    text-align: left;

    border: 1px solid rgba(214, 166, 73, 0.42);
    background: rgba(8, 7, 6, 0.88);
    box-shadow: inset 0 0 28px rgba(214, 166, 73, 0.05);
}

.manual-topup-panel[hidden] {
    display: none;
}

.manual-topup-heading {
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: 2px;
    color: #f5e3b4;
}

.manual-topup-panel > p {
    margin: 0 0 18px;
    line-height: 1.7;
    color: #c9b58a;
}

.manual-topup-details {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px 18px;
    padding: 18px;
    border: 1px solid rgba(214, 166, 73, 0.20);
    background: rgba(0, 0, 0, 0.30);
}

.manual-topup-details span {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #a89061;
}

.manual-topup-details strong {
    color: #f1d28a;
    overflow-wrap: anywhere;
}

.manual-topup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.manual-topup-actions .game-btn {
    min-width: 150px;
}

.manual-topup-status {
    min-height: 20px;
    margin-top: 14px;
    font-size: 12px;
    color: #8fd49c;
}

/* DONATION RESPONSIVE */
@media (max-width: 1100px) {
    .donation-packages {
        grid-template-columns: repeat(2, 1fr);
    }

    .donation-packages .package-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }
}

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

    .donation-packages .package-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .donation-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .donation-card {
        padding: 28px 18px;
    }

    .donation-header h1 {
        font-size: 30px;
    }

    .package-card h2 {
        font-size: 28px;
    }

    .manual-topup-details {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PATCH NOTES PAGE
========================= */
.patch-section {
    position: relative;
    z-index: 3;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.patch-card {
    width: 860px;
    max-width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.patch-header {
    text-align: center;
    margin-bottom: 30px;
}

.patch-header h1 {
    font-size: 42px;
    letter-spacing: 4px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.patch-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    color: #c9b58a;
}

.patch-list {
    display: flex;
    flex-direction: column;
    gap: 16px;

    max-height: 540px;
    overflow-y: auto;

    padding-right: 8px;
}

.patch-list::-webkit-scrollbar {
    width: 6px;
}

.patch-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.35);
}

.patch-list::-webkit-scrollbar-thumb {
    background: rgba(214, 166, 73, 0.55);
}

.patch-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;

    padding: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.32),
            rgba(0, 0, 0, 0.55)
        );

    border: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.34),
        0 8px 22px rgba(0, 0, 0, 0.26);

    transition: 0.25s ease;
}

.patch-item:hover {
    border-color: rgba(230, 178, 78, 0.62);

    transform: translateY(-2px);

    box-shadow:
        0 0 22px rgba(214, 166, 73, 0.14),
        inset 0 0 24px rgba(0, 0, 0, 0.34),
        0 12px 26px rgba(0, 0, 0, 0.36);
}

.patch-item.featured {
    border-color: rgba(230, 178, 78, 0.62);

    background:
        linear-gradient(
            180deg,
            rgba(72, 42, 13, 0.45),
            rgba(0, 0, 0, 0.58)
        );
}

.patch-date {
    height: 76px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(214, 166, 73, 0.28);

    background:
        linear-gradient(
            180deg,
            rgba(36, 26, 16, 0.72),
            rgba(10, 8, 7, 0.90)
        );
}

.patch-date span {
    font-size: 26px;
    line-height: 1;
    font-weight: 600;

    color: #f5e3b4;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 12px rgba(214, 166, 73, 0.28);
}

.patch-date small {
    margin-top: 6px;

    font-size: 10px;
    letter-spacing: 2px;

    color: #d6a84e;
}

.patch-content {
    text-align: left;
}

.patch-tag {
    width: fit-content;

    margin-bottom: 8px;
    padding: 4px 10px;

    font-size: 9px;
    letter-spacing: 1.6px;
    color: #d6a84e;

    border: 1px solid rgba(214, 166, 73, 0.24);
    background: rgba(0, 0, 0, 0.28);
}

.patch-content h2 {
    margin: 0;

    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 500;

    color: #f5e3b4;
}

.patch-content p {
    margin-top: 10px;

    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.4px;

    color: #d9d1c1;
}

/* PATCH RESPONSIVE */
@media (max-width: 760px) {
    .patch-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .patch-card {
        padding: 28px 18px;
    }

    .patch-header h1 {
        font-size: 30px;
    }

    .patch-item {
        grid-template-columns: 1fr;
    }

    .patch-date {
        width: 76px;
    }
}

/* =========================
   LOGIN PAGE
========================= */
.login-section {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 24px 40px;
}

.login-card {
    width: 430px;
    max-width: 100%;

    padding: 36px 34px 30px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.88) 0%,
            rgba(5, 5, 7, 0.94) 100%
        );

    border: 1px solid rgba(214, 166, 73, 0.32);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 230, 160, 0.10),
        inset 0 0 35px rgba(214, 166, 73, 0.04);

    backdrop-filter: blur(8px);

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header h1 {
    font-size: 34px;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(214, 166, 73, 0.35);
}

.login-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    color: #c9b58a;

    text-transform: none;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-submit {
    position: relative;

    margin-top: 8px;

    width: 100%;
    height: 54px;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #fff1c8;

    cursor: pointer;

    border: 1px solid rgba(230, 178, 78, 0.95);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96) 0%,
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98) 100%
        );

    box-shadow:
        0 0 18px rgba(214, 166, 73, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 230, 160, 0.28),
        inset 0 0 18px rgba(255, 210, 120, 0.09);

    transition: 0.25s ease;
}

.login-submit:hover {
    color: #fff6d7;
    border-color: #f0c76a;

    transform: translateY(-1px);

    box-shadow:
        0 0 24px rgba(230, 180, 80, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 238, 180, 0.30),
        inset 0 0 22px rgba(255, 214, 120, 0.10);
}

.login-note {
    margin-top: 20px;

    text-align: center;

    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(216, 208, 191, 0.68);
}

.login-note a {
    color: #d6a84e;
    text-decoration: none;
}

.login-note a:hover {
    color: #fff1c8;
}

.login-register-note {
    margin-top: 10px;
}

.forgot-password-card {
    width: 480px;
}

.forgot-password-actions {
    margin-top: 18px;
}

.active-login {
    color: #fff1c8;
}

/* LOGIN RESPONSIVE */
@media (max-width: 760px) {
    .login-section {
        height: auto;
        min-height: 100vh;
        padding: 130px 18px 40px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-header h1 {
        font-size: 30px;
    }

    .login-link {
        position: relative;
        right: auto;
        margin-top: 8px;
    }
}

/* =========================
   RYL2 PREMIUM DASHBOARD
========================= */
.ryl-dashboard-body {
    margin: 0;
    min-height: 100vh;

    font-family: "Cinzel", Georgia, "Times New Roman", serif;

    background:
        radial-gradient(
            circle at center,
            rgba(214, 166, 73, 0.08) 0%,
            rgba(0, 0, 0, 0.35) 38%,
            rgba(0, 0, 0, 0.88) 100%
        ),
        linear-gradient(
            rgba(4, 5, 8, 0.82),
            rgba(4, 5, 8, 0.94)
        ),
        url("assets/background.png") center center / cover no-repeat fixed;

    color: #f5ead2;
    overflow-x: hidden;
    overflow-y: auto;
}

.ryl-dashboard {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
}

/* =========================
   SIDEBAR
========================= */
.ryl-sidebar {
    min-height: 100vh;
    padding: 30px 22px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            rgba(7, 8, 12, 0.94),
            rgba(3, 4, 6, 0.98)
        );

    border-right: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        16px 0 45px rgba(0, 0, 0, 0.45),
        inset -1px 0 0 rgba(255, 220, 140, 0.04);
}

.ryl-brand {
    padding-bottom: 24px;
    margin-bottom: 34px;

    border-bottom: 1px solid rgba(214, 166, 73, 0.18);
}

.ryl-brand-main {
    font-size: 36px;
    letter-spacing: 5px;
    font-weight: 700;

    color: #f5e3b4;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 18px rgba(214, 166, 73, 0.28);
}

.ryl-brand-sub {
    margin-top: 8px;

    font-size: 10px;
    letter-spacing: 3px;
    color: #d6a84e;
}

.ryl-sidebar-title {
    margin-bottom: 14px;

    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(216, 208, 191, 0.45);
}

.ryl-side-menu {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ryl-side-menu a {
    position: relative;

    height: 46px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;

    color: #cfc4b2;

    border: 1px solid transparent;

    background: rgba(0, 0, 0, 0.16);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.ryl-side-menu a span {
    color: #d6a84e;
    font-size: 13px;
}

.ryl-side-menu a:hover,
.ryl-side-menu a.active {
    color: #fff1c8;

    border-color: rgba(214, 166, 73, 0.36);

    background:
        linear-gradient(
            90deg,
            rgba(126, 78, 19, 0.35),
            rgba(0, 0, 0, 0.12)
        );

    box-shadow:
        inset 3px 0 0 rgba(214, 166, 73, 0.90),
        0 0 18px rgba(214, 166, 73, 0.08);
}

.ryl-signout {
    margin-top: auto;

    height: 44px;

    display: flex;
    align-items: center;

    text-decoration: none;

    font-size: 12px;
    letter-spacing: 2px;
    color: #d46f6f;

    transition: 0.25s ease;
}

.ryl-signout:hover {
    color: #ff9b9b;
}

/* =========================
   MAIN
========================= */
.ryl-dashboard-main {
    min-height: 100vh;
    padding: 46px 54px 50px;

    overflow-y: auto;
}

.ryl-dashboard-main::-webkit-scrollbar {
    width: 7px;
}

.ryl-dashboard-main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.35);
}

.ryl-dashboard-main::-webkit-scrollbar-thumb {
    background: rgba(214, 166, 73, 0.48);
}

.ryl-dashboard-top {
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ryl-small-title {
    margin-bottom: 10px;

    font-size: 11px;
    letter-spacing: 4px;
    color: #d6a84e;
}

.ryl-dashboard-top h1 {
    margin: 0;

    font-size: 54px;
    line-height: 1.05;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 10px rgba(0, 0, 0, 1),
        0 0 24px rgba(214, 166, 73, 0.32);
}

.ryl-dashboard-top p {
    margin-top: 12px;

    font-size: 13px;
    letter-spacing: 1.5px;
    color: #c9b58a;
}

.ryl-top-logout {
    height: 46px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #fff1c8;

    border: 1px solid rgba(214, 166, 73, 0.52);

    background:
        linear-gradient(
            180deg,
            rgba(78, 50, 20, 0.80),
            rgba(10, 8, 7, 0.92)
        );

    transition: 0.25s ease;
}

.ryl-top-logout:hover {
    border-color: rgba(230, 178, 78, 0.90);
    box-shadow: 0 0 22px rgba(214, 166, 73, 0.16);
}

/* =========================
   SUMMARY
========================= */
.ryl-summary-grid {
    margin-bottom: 24px;

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

.ryl-summary-card {
    min-height: 128px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.78),
            rgba(0, 0, 0, 0.58)
        );

    border: 1px solid rgba(214, 166, 73, 0.24);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 230, 160, 0.06);
}

.ryl-summary-card span {
    margin-bottom: 12px;

    font-size: 11px;
    letter-spacing: 3px;
    color: #d6a84e;
}

.ryl-summary-card strong {
    font-size: 34px;
    letter-spacing: 1px;
    font-weight: 600;

    color: #fff1c8;

    text-shadow:
        0 0 16px rgba(214, 166, 73, 0.24),
        0 3px 8px rgba(0, 0, 0, 1);
}

.ryl-summary-card p {
    margin-top: 10px;

    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(216, 208, 191, 0.62);
}

.ryl-add-cp-btn {
    width: fit-content;
    margin-top: 18px;
    padding: 10px 16px;

    font-family: Cinzel, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1b1205;
    text-decoration: none;

    border: 1px solid #e3b858;
    background: linear-gradient(180deg, #f0c96d, #b47a22);
    box-shadow: 0 8px 22px rgba(180, 122, 34, 0.22);
    transition: 0.2s ease;
}

.ryl-add-cp-btn:hover {
    color: #100a03;
    border-color: #ffe2a0;
    box-shadow: 0 10px 28px rgba(214, 166, 73, 0.34);
    transform: translateY(-1px);
}

/* =========================
   ACTION CARDS
========================= */
.ryl-action-grid {
    margin-bottom: 24px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ryl-action-card {
    position: relative;

    min-height: 210px;
    padding: 26px 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-decoration: none;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.78),
            rgba(0, 0, 0, 0.62)
        );

    border: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 0 28px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.ryl-action-card::before {
    content: "";
    position: absolute;
    inset: 8px;

    border: 1px solid rgba(255, 230, 160, 0.06);

    pointer-events: none;
}

.ryl-action-card:hover {
    transform: translateY(-4px);

    border-color: rgba(230, 178, 78, 0.70);

    box-shadow:
        0 0 28px rgba(214, 166, 73, 0.16),
        0 22px 44px rgba(0, 0, 0, 0.48),
        inset 0 0 28px rgba(0, 0, 0, 0.28);
}

.ryl-action-card.featured {
    background:
        linear-gradient(
            180deg,
            rgba(82, 48, 14, 0.58),
            rgba(0, 0, 0, 0.66)
        );

    border-color: rgba(230, 178, 78, 0.52);
}

.ryl-action-icon {
    margin-bottom: 18px;

    font-size: 32px;
    color: #d6a84e;

    text-shadow:
        0 0 16px rgba(214, 166, 73, 0.35),
        0 3px 8px rgba(0, 0, 0, 1);
}

.ryl-action-card h2 {
    margin: 0;

    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #f5e3b4;
}

.ryl-action-card p {
    margin-top: 12px;

    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0.7px;

    color: #c9b58a;
}

/* =========================
   INFO PANEL
========================= */
.ryl-info-panel {
    padding: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.78),
            rgba(0, 0, 0, 0.58)
        );

    border: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 230, 160, 0.05);
}

.ryl-info-panel h2 {
    margin: 0;

    font-size: 20px;
    letter-spacing: 2px;
    color: #d6a84e;
}

.ryl-info-panel p {
    margin-top: 10px;
    max-width: 680px;

    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 0.7px;

    color: #d9d1c1;
}

.ryl-status-pill {
    white-space: nowrap;

    padding: 12px 16px;

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;

    color: #fff1c8;

    border: 1px solid rgba(214, 166, 73, 0.28);
    background: rgba(0, 0, 0, 0.28);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .ryl-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ryl-dashboard {
        grid-template-columns: 1fr;
    }

    .ryl-sidebar {
        min-height: auto;
    }

    .ryl-dashboard-main {
        padding: 32px 24px;
    }

    .ryl-dashboard-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ryl-dashboard-top h1 {
        font-size: 42px;
    }

    .ryl-summary-grid {
        grid-template-columns: 1fr;
    }

    .ryl-info-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .ryl-action-grid {
        grid-template-columns: 1fr;
    }

    .ryl-dashboard-main {
        padding: 24px 18px;
    }

    .ryl-dashboard-top h1 {
        font-size: 34px;
    }

    .ryl-brand-main {
        font-size: 30px;
    }
}

/* =========================
   MY CHARACTERS PAGE
========================= */
.character-count-card {
    min-width: 170px;
    padding: 18px 22px;
    text-align: right;
    border: 1px solid rgba(214, 166, 73, 0.34);
    background: linear-gradient(180deg, rgba(42, 27, 12, 0.82), rgba(5, 6, 8, 0.94));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.character-count-card span {
    display: block;
    margin-bottom: 7px;
    color: #c79b48;
    font-size: 9px;
    letter-spacing: 2.5px;
}

.character-count-card strong {
    color: #fff0c4;
    font-size: 25px;
    font-weight: 600;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.character-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(214, 166, 73, 0.29);
    background:
        radial-gradient(circle at 8% 5%, rgba(192, 132, 40, 0.16), transparent 38%),
        linear-gradient(145deg, rgba(11, 12, 16, 0.96), rgba(2, 3, 5, 0.93));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 232, 171, 0.06);
}

.character-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 84px;
    height: 2px;
    background: #d6a649;
    box-shadow: 0 0 14px rgba(214, 166, 73, 0.65);
}

.character-card.race-merk {
    border-color: rgba(127, 102, 191, 0.46);
    background:
        radial-gradient(circle at 8% 5%, rgba(95, 67, 166, 0.20), transparent 38%),
        linear-gradient(145deg, rgba(11, 12, 18, 0.96), rgba(2, 3, 6, 0.93));
}

.character-card.race-merk::after {
    background: #9f7cdd;
    box-shadow: 0 0 14px rgba(159, 124, 221, 0.65);
}

.character-card-content {
    position: relative;
    z-index: 2;
}

.character-card.has-portrait {
    min-height: 270px;
    padding-left: 198px;
}

.character-portrait {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 185px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(214, 166, 73, 0.08), transparent);
}

.character-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(4, 5, 7, 0.94));
    pointer-events: none;
}

.character-portrait img {
    width: auto;
    max-width: none;
    height: 94%;
    object-fit: initial;
    object-position: center bottom;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.72));
}

.character-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.character-identity {
    min-width: 0;
}

.character-identity > span,
.character-rank span,
.character-stats span {
    display: block;
    color: #bd9142;
    font-size: 8px;
    letter-spacing: 2px;
}

.character-identity h2 {
    overflow: hidden;
    margin: 5px 0 3px;
    color: #f8e8ba;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.character-identity p {
    margin: 0;
    color: #c9baa0;
    font-size: 11px;
    letter-spacing: 1px;
}

.character-ranks {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    gap: 13px;
}

.character-rank {
    min-width: 78px;
    padding-left: 13px;
    text-align: center;
    border-left: 1px solid rgba(214, 166, 73, 0.17);
}

.character-rank strong {
    display: block;
    margin-top: 6px;
    color: #f0c763;
    font-size: 24px;
    font-weight: 600;
}

.character-stats {
    margin-top: 22px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(214, 166, 73, 0.18);
}

.character-stats > div {
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid rgba(214, 166, 73, 0.14);
}

.character-stats > div:first-child {
    padding-left: 0;
}

.character-stats > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.character-stats strong {
    display: block;
    overflow: hidden;
    margin-top: 7px;
    color: #eee0ba;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.character-note,
.character-message,
.character-empty {
    margin-top: 20px;
    padding: 18px 20px;
    color: #bcae91;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.8px;
    border: 1px solid rgba(214, 166, 73, 0.20);
    background: rgba(3, 4, 6, 0.74);
}

.character-message.error {
    color: #f0aaaa;
    border-color: rgba(188, 55, 55, 0.46);
}

.character-empty {
    padding: 48px 24px;
    text-align: center;
}

.character-empty-icon {
    margin-bottom: 14px;
    color: #d6a649;
    font-size: 38px;
}

.character-empty h2 {
    margin: 0;
    color: #f5e3b4;
    font-size: 20px;
    letter-spacing: 2px;
}

.character-empty p {
    margin: 10px 0 0;
}

@media (max-width: 1100px) {
    .character-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .character-count-card {
        width: 100%;
        text-align: left;
    }

    .character-card-top {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .character-card.has-portrait {
        min-height: 0;
        padding: 25px;
        padding-top: 190px;
    }

    .character-portrait {
        top: 0;
        bottom: auto;
        width: 100%;
        height: 175px;
    }

    .character-portrait::after {
        background: linear-gradient(180deg, transparent 55%, rgba(4, 5, 7, 0.96));
    }

    .character-ranks {
        width: 100%;
        margin: 4px 0 0;
        justify-content: flex-start;
    }

    .character-rank {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        padding: 0 10px;
        text-align: center;
    }

    .character-rank:first-child {
        padding-left: 0;
        text-align: center;
        border-left: 0;
    }

    .character-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }

    .character-stats > div:nth-child(2) {
        border-right: 0;
    }

    .character-stats > div:nth-child(3) {
        padding-left: 0;
    }
}

/* =========================
   CHANGE PASSWORD PAGE
========================= */
.change-password-card {
    width: 520px;
    max-width: 100%;

    padding: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.82),
            rgba(0, 0, 0, 0.62)
        );

    border: 1px solid rgba(214, 166, 73, 0.28);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 230, 160, 0.06);

    margin-bottom: 24px;
}

.change-password-header {
    text-align: center;
    margin-bottom: 28px;
}

.change-password-header h2 {
    margin: 0;

    font-size: 28px;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 10px rgba(0, 0, 0, 1),
        0 0 18px rgba(214, 166, 73, 0.25);
}

.change-password-header p {
    margin-top: 12px;

    font-size: 12px;
    letter-spacing: 1.5px;
    color: #c9b58a;
}

.change-password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.change-password-submit {
    margin-top: 8px;

    width: 100%;
    height: 54px;

    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;

    color: #fff1c8;

    cursor: pointer;

    border: 1px solid rgba(230, 178, 78, 0.95);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96),
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98)
        );

    box-shadow:
        0 0 18px rgba(214, 166, 73, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 230, 160, 0.28),
        inset 0 0 18px rgba(255, 210, 120, 0.09);

    transition: 0.25s ease;
}

.change-password-submit:hover {
    color: #fff6d7;
    border-color: #f0c76a;

    transform: translateY(-1px);

    box-shadow:
        0 0 24px rgba(230, 180, 80, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 238, 180, 0.30),
        inset 0 0 22px rgba(255, 214, 120, 0.10);
}

.change-password-note {
    margin-top: 18px;

    text-align: center;

    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(216, 208, 191, 0.65);
}

.change-password-info {
    max-width: 900px;
}

@media (max-width: 620px) {
    .change-password-card {
        padding: 26px 20px;
    }

    .change-password-header h2 {
        font-size: 24px;
    }
}

/* =========================
   SIMPLE CP / MEDAL MALL
========================= */
.mall-simple-img img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.mall-select-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-family: Cinzel, serif;
    font-weight: 700;
    background: linear-gradient(180deg, #f3c969, #9f6b1e);
    color: #120b02;
}

.mall-detail-card {
    background: rgba(15, 15, 18, 0.92);
    border: 1px solid rgba(205, 160, 70, 0.35);
    padding: 26px;
    border-radius: 16px;
    max-width: 820px;
    box-shadow: 0 0 30px rgba(0,0,0,0.45);
}

.mall-detail-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
}

.mall-detail-img {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(205, 160, 70, 0.45);
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.mall-detail-img img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.mall-detail-info h2 {
    color: #f1c76a;
    margin-bottom: 10px;
}

.mall-detail-info p {
    color: #cfc2a2;
    margin: 8px 0;
}

.mall-buy-form {
    margin-top: 20px;
}

.mall-buy-form label {
    display: block;
    margin-bottom: 8px;
    color: #f1c76a;
    font-weight: 700;
}

.mall-buy-form select {
    width: 100%;
    max-width: 340px;
    padding: 12px;
    background: #111;
    color: #eee;
    border: 1px solid rgba(205, 160, 70, 0.45);
    border-radius: 8px;
}

.mall-buy-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.mall-back-btn,
.mall-buy-btn {
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-family: Cinzel, serif;
    font-weight: 700;
}

.mall-buy-btn {
    background: linear-gradient(180deg, #f3c969, #9f6b1e);
    color: #120b02;
}

.mall-back-btn {
    background: rgba(255,255,255,0.08);
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.15);
}

.mall-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.mall-message.success {
    background: rgba(30, 120, 60, 0.25);
    border: 1px solid rgba(70, 220, 120, 0.35);
    color: #7dff9b;
}

.mall-message.error {
    background: rgba(120, 30, 30, 0.25);
    border: 1px solid rgba(220, 70, 70, 0.35);
    color: #ff8a8a;
}

.mall-empty {
    color: #cfc2a2;
    padding: 20px;
}

.mall-balance-card {
    min-width: 190px;
    padding: 18px 22px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.84),
            rgba(0, 0, 0, 0.62)
        );

    border: 1px solid rgba(214, 166, 73, 0.30);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 230, 160, 0.06);
}

.mall-balance-card span {
    display: block;
    margin-bottom: 8px;

    font-size: 11px;
    letter-spacing: 2px;
    color: #d6a84e;
}

.mall-balance-card strong {
    font-size: 34px;
    letter-spacing: 1px;
    color: #fff1c8;

    text-shadow:
        0 0 16px rgba(214, 166, 73, 0.24),
        0 3px 8px rgba(0, 0, 0, 1);
}

.medal-balance {
    border-color: rgba(200, 205, 220, 0.30);
}

.mall-simple-panel {
    padding: 26px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.78),
            rgba(0, 0, 0, 0.60)
        );

    border: 1px solid rgba(214, 166, 73, 0.24);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 230, 160, 0.05);
}

.mall-simple-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.mall-simple-item {
    padding: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.82),
            rgba(0, 0, 0, 0.66)
        );

    border: 1px solid rgba(214, 166, 73, 0.22);

    box-shadow:
        inset 0 0 22px rgba(0, 0, 0, 0.35),
        0 12px 26px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mall-simple-item:hover {
    transform: translateY(-4px);

    border-color: rgba(230, 178, 78, 0.68);

    box-shadow:
        0 0 24px rgba(214, 166, 73, 0.12),
        0 18px 34px rgba(0, 0, 0, 0.42),
        inset 0 0 22px rgba(0, 0, 0, 0.35);
}

.medal-item {
    border-color: rgba(200, 205, 220, 0.20);
}

.mall-simple-img {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    background:
        radial-gradient(
            circle at center,
            rgba(214, 166, 73, 0.10),
            rgba(0, 0, 0, 0.42)
        );

    border: 2px solid rgba(245, 234, 210, 0.86);

    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.55),
        0 0 16px rgba(214, 166, 73, 0.08);

    overflow: hidden;
}

.mall-simple-img span {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(245, 234, 210, 0.38);
}

.mall-simple-img img {
    max-width: 86%;
    max-height: 86%;
    object-fit: contain;
}

.mall-simple-item h3 {
    min-height: 38px;

    margin: 0 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;

    color: #f5e3b4;
}

.mall-simple-item p {
    margin: 0 0 12px;

    text-align: center;

    font-size: 12px;
    letter-spacing: 1px;
    color: #d6a84e;

    text-transform: none;
}

.mall-simple-item button {
    width: 100%;
    height: 40px;

    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 700;

    color: #fff1c8;

    cursor: pointer;

    border: 1px solid rgba(230, 178, 78, 0.88);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96),
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98)
        );

    box-shadow:
        0 0 14px rgba(214, 166, 73, 0.12),
        inset 0 1px 0 rgba(255, 230, 160, 0.20);

    transition: 0.22s ease;
}

.mall-simple-item button:hover {
    transform: translateY(-1px);

    border-color: #f0c76a;

    box-shadow:
        0 0 18px rgba(230, 180, 80, 0.24),
        inset 0 1px 0 rgba(255, 238, 180, 0.26);
}

/* Responsive Mall */
@media (max-width: 1350px) {
    .mall-simple-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .mall-simple-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .mall-simple-panel {
        padding: 18px;
    }

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

    .mall-balance-card {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .mall-simple-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   LUCKY SPINNER PAGE
========================= */
.spinner-balance-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.spinner-layout {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 24px;
    align-items: start;
}

.spinner-panel {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.reward-panel {
    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.78),
            rgba(0, 0, 0, 0.62)
        );

    border: 1px solid rgba(214, 166, 73, 0.24);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 230, 160, 0.05);
}

.spinner-panel {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner-pointer {
    margin-bottom: 8px;

    font-size: 34px;
    color: #d6a84e;

    text-shadow:
        0 0 18px rgba(214, 166, 73, 0.45),
        0 3px 8px rgba(0, 0, 0, 1);
}

.spinner-wheel {
    position: relative;

    width: 330px;
    height: 330px;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid rgba(230, 178, 78, 0.85);

    box-shadow:
        0 0 30px rgba(214, 166, 73, 0.20),
        0 20px 45px rgba(0, 0, 0, 0.55),
        inset 0 0 35px rgba(0, 0, 0, 0.55);
}
.spinner-wheel::before {
    content: "";
    position: absolute;
    inset: 18px;

    border-radius: 50%;
    border: 1px solid rgba(255, 230, 160, 0.18);

    pointer-events: none;
}

.spinner-wheel::after {
    content: "";
    position: absolute;
    inset: 62px;

    border-radius: 50%;
    border: 1px solid rgba(255, 230, 160, 0.10);

    pointer-events: none;
}

.wheel-center {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;

    width: 104px;
    height: 104px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 700;

    color: #fff1c8;

    background:
        radial-gradient(
            circle,
            rgba(122, 76, 22, 0.95),
            rgba(9, 8, 7, 0.98)
        );

    border: 2px solid rgba(230, 178, 78, 0.85);

    box-shadow:
        0 0 24px rgba(214, 166, 73, 0.25),
        inset 0 0 18px rgba(0, 0, 0, 0.55);
}

.wheel-item {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 74px;
    height: 24px;

    margin-left: -37px;
    margin-top: -12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;

    color: #f5e3b4;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 1),
        0 0 10px rgba(214, 166, 73, 0.25);
}

.item-1 { transform: rotate(22deg) translateY(-142px) rotate(-22deg); }
.item-2 { transform: rotate(67deg) translateY(-142px) rotate(-67deg); }
.item-3 { transform: rotate(112deg) translateY(-142px) rotate(-112deg); }
.item-4 { transform: rotate(157deg) translateY(-142px) rotate(-157deg); }
.item-5 { transform: rotate(202deg) translateY(-142px) rotate(-202deg); }
.item-6 { transform: rotate(247deg) translateY(-142px) rotate(-247deg); }
.item-7 { transform: rotate(292deg) translateY(-142px) rotate(-292deg); }
.item-8 { transform: rotate(337deg) translateY(-142px) rotate(-337deg); }

.spinner-cost {
    margin-top: 24px;

    font-size: 13px;
    letter-spacing: 1.5px;
    color: #c9b58a;
}

.spinner-cost span {
    color: #d6a84e;
}

.spinner-btn {
    margin-top: 16px;

    width: 230px;
    height: 54px;

    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;

    color: #fff1c8;

    cursor: pointer;

    border: 1px solid rgba(230, 178, 78, 0.95);

    background:
        linear-gradient(
            180deg,
            rgba(122, 76, 22, 0.96),
            rgba(72, 42, 13, 0.98) 52%,
            rgba(24, 14, 6, 0.98)
        );

    box-shadow:
        0 0 18px rgba(214, 166, 73, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 230, 160, 0.28),
        inset 0 0 18px rgba(255, 210, 120, 0.09);

    transition: 0.25s ease;
}

.spinner-btn:hover {
    transform: translateY(-1px);

    border-color: #f0c76a;

    box-shadow:
        0 0 26px rgba(230, 180, 80, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 238, 180, 0.30);
}

.spinner-note {
    margin-top: 18px;

    text-align: center;

    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(216, 208, 191, 0.58);
}

.reward-title {
    margin-bottom: 20px;

    font-size: 24px;
    letter-spacing: 3px;
    font-weight: 500;

    color: #f5e3b4;

    text-shadow:
        0 4px 10px rgba(0, 0, 0, 1),
        0 0 18px rgba(214, 166, 73, 0.25);
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-item {
    min-height: 76px;
    padding: 12px;

    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
    align-items: center;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.52)
        );

    border: 1px solid rgba(214, 166, 73, 0.18);

    transition: 0.25s ease;
}

.reward-item:hover {
    border-color: rgba(230, 178, 78, 0.55);
    transform: translateX(3px);
}

.reward-img {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    letter-spacing: 1px;

    color: rgba(245, 234, 210, 0.45);

    background:
        radial-gradient(
            circle,
            rgba(214, 166, 73, 0.08),
            rgba(0, 0, 0, 0.50)
        );

    border: 1px solid rgba(245, 234, 210, 0.45);
}

.reward-item h3 {
    margin: 0 0 6px;

    font-size: 14px;
    letter-spacing: 1.2px;
    color: #f5e3b4;
}

.reward-item p {
    margin: 0;

    font-size: 11px;
    letter-spacing: 0.7px;
    color: #c9b58a;

    text-transform: none;
}

/* Spinner Responsive */
@media (max-width: 1200px) {
    .spinner-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .spinner-balance-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .spinner-panel,
    .reward-panel {
        padding: 20px;
    }

    .spinner-wheel {
        width: 280px;
        height: 280px;
    }

    .wheel-center {
        width: 82px;
        height: 82px;
        font-size: 16px;
    }

    .wheel-item {
        font-size: 9px;
    }

    .item-1 { transform: rotate(22deg) translateY(-102px) rotate(-22deg); }
    .item-2 { transform: rotate(67deg) translateY(-102px) rotate(-67deg); }
    .item-3 { transform: rotate(112deg) translateY(-102px) rotate(-112deg); }
    .item-4 { transform: rotate(157deg) translateY(-102px) rotate(-157deg); }
    .item-5 { transform: rotate(202deg) translateY(-102px) rotate(-202deg); }
    .item-6 { transform: rotate(247deg) translateY(-102px) rotate(-247deg); }
    .item-7 { transform: rotate(292deg) translateY(-102px) rotate(-292deg); }
    .item-8 { transform: rotate(337deg) translateY(-102px) rotate(-337deg); }
    .spinner-wheel {
        transition: transform 4.2s cubic-bezier(0.12, 0.75, 0.22, 1);
    }

    .spinner-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }
}
.spinner-wheel {
    position: relative;
    overflow: hidden;
}

.spinner-rotor {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            rgba(122, 76, 22, 0.95) 0deg 45deg,
            rgba(18, 14, 12, 0.96) 45deg 90deg,
            rgba(92, 50, 18, 0.96) 90deg 135deg,
            rgba(18, 14, 12, 0.96) 135deg 180deg,
            rgba(122, 76, 22, 0.95) 180deg 225deg,
            rgba(18, 14, 12, 0.96) 225deg 270deg,
            rgba(92, 50, 18, 0.96) 270deg 315deg,
            rgba(18, 14, 12, 0.96) 315deg 360deg
        );

    will-change: transform;
    transform: translateZ(0) rotate(0deg);
    backface-visibility: hidden;

    transition: transform 4.5s cubic-bezier(0.12, 0.72, 0.18, 1);
}

/* =========================
   HOME COUNTDOWN
========================= */
.countdown-box {
    margin-top: 22px;

    text-align: center;

    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.32s;
}

.countdown-title {
    margin-bottom: 10px;

    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 500;

    color: #d6a84e;

    text-shadow:
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 12px rgba(214, 166, 73, 0.25);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.countdown-item {
    width: 82px;
    height: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            180deg,
            rgba(8, 9, 12, 0.42),
            rgba(0, 0, 0, 0.62)
        );

    border: 1px solid rgba(214, 166, 73, 0.20);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 230, 160, 0.08),
        inset 0 0 22px rgba(214, 166, 73, 0.04);
}

.countdown-item span {
    font-size: 28px;
    line-height: 1;
    font-weight: 600;

    color: #fff1c8;

    text-shadow:
        0 0 14px rgba(214, 166, 73, 0.28),
        0 3px 8px rgba(0, 0, 0, 1);
}

.countdown-item small {
    margin-top: 7px;

    font-size: 8px;
    letter-spacing: 1.6px;
    color: #d6a84e;
}

/* mobile countdown */
@media (max-width: 760px) {
    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown-item {
        width: 78px;
        height: 64px;
    }

    .countdown-item span {
        font-size: 23px;
    }

    .countdown-item small {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/* Keep the dashboard section entrance consistent across every account page. */
body.ryl-dashboard-body .ryl-dashboard-main > * {
    opacity: 0;
    transform: translateY(16px);
    animation-name: rylSectionReveal;
    animation-duration: 0.56s;
    animation-timing-function: cubic-bezier(0.22, 0.76, 0.24, 1);
    animation-fill-mode: forwards;
}

body.ryl-dashboard-body .ryl-dashboard-main > *:nth-child(1) {
    animation-delay: 0.04s;
}

body.ryl-dashboard-body .ryl-dashboard-main > *:nth-child(2) {
    animation-delay: 0.12s;
}

body.ryl-dashboard-body .ryl-dashboard-main > *:nth-child(3) {
    animation-delay: 0.20s;
}

body.ryl-dashboard-body .ryl-dashboard-main > *:nth-child(n+4) {
    animation-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
    body.ryl-dashboard-body .ryl-dashboard-main > * {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }
}
