/*
 * Khan Origin — Premium visual pass
 * A presentation-only layer. It intentionally leaves application logic untouched.
 */

/* Tokens moved to tokens.css — see the semantic + legacy-alias layers there. */

/* Page background comes from --c-backdrop, which each theme redefines.
   Token values are NOT re-declared here: doing so would pin the page to one
   palette and break the theme toggle. */
body.ui-page {
    background: var(--c-backdrop) fixed;
}

.ui-page :where(.nav-bar, .info-nav) {
    min-height: 4.75rem;
    padding-inline: clamp(1.25rem, 4vw, 4rem);
    background: rgba(6, 8, 12, 0.78);
    border-bottom: 1px solid var(--lux-line);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
    backdrop-filter: blur(24px) saturate(1.18);
}

.ui-page :where(.nav-logo, .brand-link) {
    gap: 0.8rem;
}

.ui-page :where(.nav-logo, .brand-link) img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(217, 183, 102, 0.2));
}

.ui-page :where(.nav-logo, .brand-link) span {
    color: var(--lux-ivory);
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.ui-page :where(.nav-link, .info-tab) {
    min-height: 2.6rem;
    padding: 0.58rem 0.95rem;
    color: var(--c-text-secondary);
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.ui-page :where(.nav-link, .info-tab):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.ui-page :where(.nav-link, .info-tab).active,
.ui-page :where(.nav-link, .info-tab)[aria-current="page"] {
    color: var(--c-brand);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.08));
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.25);
}

/* Home — cinematic hero */
.ui-home {
    background: var(--lux-bg);
}

.ui-home .navbar {
    top: 1.25rem;
    width: min(calc(100% - 2.5rem), 88rem);
    height: 4.75rem;
    padding: 0.6rem 0.75rem 0.6rem 1rem;
    background: rgba(7, 8, 11, 0.7);
    border: 1px solid rgba(242, 220, 168, 0.15);
    border-radius: 0.85rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(26px) saturate(1.12);
    backdrop-filter: blur(26px) saturate(1.12);
}

.ui-home .nav-brand {
    display: flex;
    width: auto;
    height: 3.25rem;
    padding: 0;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.72rem;
    background: transparent;
    border: 0;
}

.ui-home .nav-brand img {
    width: 3rem;
    height: 3rem;
    filter: drop-shadow(0 7px 14px rgba(217, 183, 102, 0.22));
}

.ui-home .nav-brand::after {
    color: var(--lux-ivory);
    content: "KHAN ORIGIN";
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.ui-home .nav-menu-group {
    gap: 0.1rem;
}

.ui-home .nav-item {
    min-height: 2.65rem;
    padding-inline: 0.7rem;
    color: #a1a3aa;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 650;
    letter-spacing: 0.045em;
}

.ui-home .nav-item:hover,
.ui-home .nav-item[aria-current="page"] {
    color: var(--lux-gold-bright);
    background: rgba(217, 183, 102, 0.09);
    border-color: rgba(217, 183, 102, 0.15);
}

.ui-home .btn-nav-login {
    min-height: 2.85rem;
    padding: 0.65rem 1.05rem;
    color: var(--c-text-on-brand) !important;
    background: linear-gradient(135deg, #f0d99f, #c9963d) !important;
    border: 1px solid rgba(255, 245, 215, 0.5) !important;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(168, 116, 33, 0.18), inset 0 1px rgba(255, 255, 255, 0.7) !important;
}

.ui-home .btn-nav-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.ui-home .hero-section {
    width: 100% !important;
    min-height: max(47rem, 100svh) !important;
    margin: 0 !important;
    padding: clamp(10rem, 19vh, 13rem) max(2rem, calc((100vw - 80rem) / 2)) clamp(5rem, 10vh, 8rem) !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    background:
        linear-gradient(90deg, rgba(13, 1, 3, 0.94) 0%, rgba(13, 1, 3, 0.80) 30%, rgba(13, 1, 3, 0.28) 58%, rgba(13, 1, 3, 0.04) 80%),
        linear-gradient(180deg, rgba(13, 1, 3, 0.35) 0%, transparent 45%, var(--c-bg-sunken) 100%),
        url("../image/hero-vietnam-29.jpg") center center / cover no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    isolation: isolate;
}

.ui-home .hero-section::before {
    z-index: -1 !important;
    opacity: 1 !important;
    background:
        radial-gradient(circle at 72% 38%, rgba(242, 205, 124, 0.08), transparent 24rem),
        linear-gradient(90deg, rgba(217, 183, 102, 0.16), transparent 1px) 5.4vw 50% / 1px 30% no-repeat !important;
    animation: none !important;
}

.ui-home .hero-section::after {
    z-index: -1;
    height: 22rem !important;
    background: linear-gradient(to bottom, transparent, var(--lux-bg)) !important;
}

.ui-home .autumn-leaves,
.ui-home .scroll-down-indicator {
    display: none !important;
}

.ui-home .hero-season-badge {
    position: relative;
    z-index: 2;
    margin: 0 0 1.5rem;
    padding: 0;
    color: var(--lux-gold-bright);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.25em;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.ui-home .hero-season-badge::before {
    width: 2.25rem;
    background: var(--lux-gold);
}

.ui-home .hero-season-badge::after {
    display: none;
}

.ui-home .hero-tagline {
    position: relative;
    z-index: 2;
    width: min(52rem, 90vw);
    max-width: 24ch;
    margin: 0 0 1.35rem;
    color: var(--c-text);
    background: none !important;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.18;
    text-transform: none !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
    filter: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.ui-home .hero-subtitle {
    position: relative;
    z-index: 2;
    max-width: 34rem !important;
    margin: 0 0 2.25rem !important;
    color: #bab7b0 !important;
    font-size: clamp(0.98rem, 1.15vw, 1.12rem) !important;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.72 !important;
}

.ui-home .hero-logo-main {
    display: none !important;
}

.ui-home .hero-btn-group {
    position: relative;
    z-index: 2;
    margin: 0 0 1.35rem;
    gap: 0.75rem;
}

.ui-home .btn-hero {
    min-width: 11.25rem;
    min-height: 3.4rem;
    padding: 0.85rem 1.4rem;
    border-radius: 0.45rem !important;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.ui-home .btn-hero-primary {
    color: var(--c-text-on-brand) !important;
    background: linear-gradient(135deg, #f1daa0 0%, #d6a954 52%, #bd8331 100%) !important;
    border-color: rgba(255, 244, 210, 0.5) !important;
    box-shadow: 0 16px 34px rgba(172, 118, 36, 0.2), inset 0 1px rgba(255, 255, 255, 0.74) !important;
}

.ui-home .btn-hero-primary:hover {
    box-shadow: 0 20px 42px rgba(190, 132, 45, 0.3), inset 0 1px rgba(255, 255, 255, 0.8) !important;
}

.ui-home .btn-hero-secondary {
    color: var(--lux-ivory) !important;
    background: rgba(10, 12, 16, 0.55) !important;
    border-color: rgba(245, 240, 231, 0.2) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.ui-home .btn-hero-secondary:hover {
    color: var(--lux-gold-bright) !important;
    background: rgba(16, 18, 23, 0.78) !important;
    border-color: rgba(217, 183, 102, 0.45) !important;
}

.ui-home .hero-stats {
    position: relative;
    z-index: 2;
    min-height: 2.7rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    color: #f1efe9;
    background: rgba(8, 10, 14, 0.54) !important;
    border: 1px solid rgba(245, 240, 231, 0.12) !important;
    border-radius: 999px !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.ui-home .hero-stats-count {
    color: var(--lux-ivory);
    font-weight: 700;
}

.ui-home .hero-stats-dot {
    background: #8dcf86 !important;
    box-shadow: 0 0 0 4px rgba(141, 207, 134, 0.09), 0 0 16px rgba(141, 207, 134, 0.5) !important;
}

.ui-home .main-content {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(4rem, 8vw, 7rem);
}

.ui-home .news-header-row {
    margin-top: clamp(4rem, 8vw, 7rem);
    padding-top: 1.35rem;
    border-top: 1px solid var(--lux-line);
}

.ui-home .section-eyebrow {
    color: var(--lux-gold);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ui-home .section-title,
.ui-home .news-title-group h2 {
    color: var(--c-text);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.ui-home :where(.calendar-wrapper, .news-card-modern, .ranking-container) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 35%),
        rgba(12, 16, 23, 0.86);
    border: 1px solid var(--lux-line);
    border-radius: 1rem;
    box-shadow: var(--lux-shadow);
}

.ui-home .news-card-modern {
    overflow: hidden;
}

.ui-home .news-card-modern:hover {
    border-color: var(--lux-line-strong);
    box-shadow: 0 32px 74px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.ui-home .calendar-header,
.ui-home .ranking-controls {
    background: rgba(255, 255, 255, 0.018);
    border-bottom-color: var(--lux-line);
}

/* Functional pages — elevated game console */
.ui-marketplace .container,
.ui-vend .container,
.ui-my-skills .container {
    width: min(calc(100% - 3rem), 84rem);
    padding-top: clamp(4rem, 7vw, 6.5rem) !important;
    padding-bottom: 7rem;
}

.ui-marketplace .page-header,
.ui-my-skills .header-section,
.ui-vend .ui-page-intro {
    position: relative;
    margin-bottom: 2.25rem;
    padding: 0 0 2.25rem 1.35rem;
    border-bottom: 1px solid var(--lux-line);
}

.ui-marketplace .page-header::before,
.ui-my-skills .header-section::before,
.ui-vend .ui-page-intro::before {
    position: absolute;
    top: 0.45rem;
    bottom: 2.45rem;
    left: 0;
    width: 2px;
    content: "";
    background: linear-gradient(var(--lux-gold-bright), transparent);
    box-shadow: 0 0 16px rgba(217, 183, 102, 0.32);
}

.ui-marketplace .page-title,
.ui-my-skills .header-section h1,
.ui-vend .ui-page-intro h1 {
    margin: 0;
    color: var(--lux-ivory);
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.ui-marketplace .page-title>i,
.ui-my-skills .header-section h1>i {
    margin-right: 0.45rem;
    color: var(--lux-gold);
    font-size: 0.58em;
    vertical-align: 0.12em;
}

.ui-vend .ui-page-intro__eyebrow {
    margin: 0 0 0.5rem;
    color: var(--lux-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ui-vend .ui-page-intro>p:last-child,
.ui-my-skills .sub-title {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--lux-copy);
    font-size: 1rem;
    line-height: 1.7;
}

.ui-marketplace .view-switcher {
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--lux-line);
    border-radius: 0.75rem;
}

.ui-marketplace .view-btn {
    min-height: 2.8rem;
    padding-inline: 1rem;
    border-radius: 0.55rem;
}

.ui-marketplace .view-btn.active {
    color: #19130a;
    background: linear-gradient(135deg, #efd793, #c9953e);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.65);
}

.ui-marketplace .filter-bar,
.ui-vend .control-panel,
.ui-page .ui-data-state {
    padding: 1rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
        rgba(13, 18, 27, 0.88);
    border: 1px solid var(--lux-line);
    border-radius: 0.85rem;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.ui-marketplace .filter-bar {
    margin-bottom: 1.25rem;
}

.ui-marketplace .search-input,
.ui-marketplace .filter-select,
.ui-vend .control-panel :where(select, input) {
    min-height: 3.15rem;
    color: var(--lux-ivory);
    background: rgba(4, 7, 11, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.6rem;
}

.ui-marketplace .search-input:hover,
.ui-marketplace .filter-select:hover,
.ui-vend .control-panel :where(select, input):hover {
    border-color: rgba(217, 183, 102, 0.28);
}

.ui-page .ui-data-state,
.ui-marketplace .empty-state {
    min-height: 13rem;
    margin-top: 1.5rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(217, 183, 102, 0.06), transparent 18rem),
        rgba(10, 14, 21, 0.7);
    border-style: solid;
}

.ui-marketplace .empty-icon,
.ui-page .ui-data-state__icon {
    color: var(--lux-gold);
}

.ui-marketplace .shop-card,
.ui-marketplace .flat-item-card,
.ui-vend .grid-card,
.ui-my-skills :where(.char-card, .stats-card, .spider-card, .skill-section, .side-panel) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 36%),
        rgba(14, 19, 28, 0.92);
    border: 1px solid var(--lux-line);
    border-radius: 0.95rem;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.ui-marketplace .shop-card:hover,
.ui-marketplace .flat-item-card:hover,
.ui-my-skills .skill-item:hover {
    border-color: var(--lux-line-strong);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.36);
    transform: translateY(-3px);
}

.ui-vend .control-panel {
    margin-bottom: 1.5rem;
}

.ui-vend .btn-primary {
    color: var(--c-text-on-brand);
    background: linear-gradient(135deg, #efd793, #c7933b);
    border-color: rgba(255, 239, 197, 0.45);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.6);
}

.ui-vend .grid-card {
    padding: 1.5rem;
}

.ui-vend .card-title,
.ui-my-skills .panel-title {
    padding-bottom: 0.9rem;
    color: var(--lux-ivory);
    border-bottom: 1px solid var(--lux-line);
    font-family: Outfit, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ui-vend .card-title i,
.ui-my-skills .panel-title i {
    color: var(--lux-gold);
}

.ui-vend .bag-grid-container {
    background:
        radial-gradient(circle at 50% 35%, rgba(217, 183, 102, 0.045), transparent 17rem),
        rgba(4, 7, 11, 0.64);
    border-color: rgba(217, 183, 102, 0.16);
    border-radius: 0.75rem;
}

.ui-vend .bag-cell {
    background: rgba(13, 18, 26, 0.64);
    border-color: rgba(255, 255, 255, 0.08);
}

.ui-vend .bag-cell:hover {
    background: rgba(217, 183, 102, 0.08);
    border-color: rgba(217, 183, 102, 0.35);
}

.ui-vend .log-console {
    color: #bfc4cd;
    background: #070a0f;
    border-color: rgba(255, 255, 255, 0.07);
    border-radius: 0.65rem;
}

.ui-my-skills .char-select {
    margin-bottom: 1.5rem;
    padding: 0.4rem;
    background: rgba(12, 16, 23, 0.85);
    border: 1px solid var(--lux-line);
    border-radius: 0.8rem;
}

.ui-my-skills .char-btn {
    border-radius: 0.55rem;
}

.ui-my-skills .char-btn.active {
    color: var(--c-text-on-brand);
    background: linear-gradient(135deg, #efd793, #c7933b);
    border-color: rgba(255, 239, 197, 0.45);
}

.ui-my-skills .stat-cell,
.ui-my-skills .skill-item {
    background: rgba(4, 7, 11, 0.55);
    border-color: rgba(255, 255, 255, 0.075);
    border-radius: 0.65rem;
}

/* Skill tree keeps class colors, but receives a more premium frame. */
.ui-skill-tree {
    background:
        radial-gradient(circle at 42% 32%, rgba(var(--theme-color-rgb), 0.07), transparent 32rem),
        radial-gradient(circle at 90% 100%, rgba(217, 183, 102, 0.045), transparent 28rem),
        #050810;
}

.ui-skill-tree>header {
    min-height: 4.75rem;
    background: rgba(5, 8, 15, 0.8);
    border-bottom: 1px solid rgba(225, 199, 137, 0.14);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.ui-skill-tree .game-logo {
    filter: drop-shadow(0 6px 18px rgba(217, 183, 102, 0.22));
}

.ui-skill-tree .class-btn,
.ui-skill-tree .char-select-btn,
.ui-skill-tree .sound-toggle-btn,
.ui-skill-tree .home-btn,
.ui-skill-tree .control-btn {
    background: rgba(13, 18, 28, 0.8);
    border-color: rgba(225, 199, 137, 0.13);
    border-radius: 0.65rem;
}

.ui-skill-tree .class-btn.active {
    box-shadow: 0 10px 26px rgba(var(--theme-color-rgb), 0.13), inset 0 1px rgba(255, 255, 255, 0.06);
}

.ui-skill-tree .character-card,
.ui-skill-tree .skill-card,
.ui-skill-tree #detail-drawer {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.026), transparent 40%),
        rgba(11, 16, 25, 0.92);
    border-color: rgba(225, 199, 137, 0.15);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.ui-skill-tree .skill-card:hover,
.ui-skill-tree .skill-card.selected {
    border-color: rgba(var(--theme-color-rgb), 0.46);
    box-shadow: 0 18px 38px rgba(var(--theme-color-rgb), 0.1);
}

.ui-skill-tree #instructions-overlay {
    background: rgba(7, 10, 16, 0.78);
    border-color: rgba(225, 199, 137, 0.12);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

/* Information pages */
.ui-info .page-hero {
    min-height: 34rem;
    padding: clamp(6rem, 12vw, 10rem) max(1.5rem, calc((100vw - 78rem) / 2));
    align-items: center;
    justify-content: flex-start;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(5, 7, 10, 0.78) 38%, rgba(5, 7, 10, 0.18) 72%),
        linear-gradient(180deg, transparent 40%, var(--lux-bg) 100%),
        url("../image/hero-citadel-v2.webp") center / cover no-repeat;
}

.ui-info .page-hero::after {
    background:
        radial-gradient(circle at 78% 42%, rgba(217, 183, 102, 0.09), transparent 22rem),
        linear-gradient(to bottom, transparent, var(--lux-bg));
}

.ui-info .poster-title {
    max-width: 42rem;
    text-align: left;
}

.ui-info .kicker {
    color: var(--lux-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.ui-info .poster-title h1 {
    margin: 0.55rem 0 1rem;
    color: var(--c-text);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    text-shadow: 0 16px 48px rgba(0, 0, 0, 0.72);
}

.ui-info .hero-copy {
    max-width: 36rem;
    margin-inline: 0;
    color: #b7b5b0;
    font-size: 1.03rem;
    line-height: 1.75;
}

.ui-info .page-shell {
    width: min(calc(100% - 3rem), 78rem);
    margin-top: -4rem;
}

.ui-info :where(.panel, .formula-panel, .mission-showcase, .service-showcase, .mission-summary) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.028), transparent 38%),
        rgba(13, 18, 27, 0.93);
    border: 1px solid var(--lux-line);
    border-radius: 1rem;
    box-shadow: var(--lux-shadow);
}

.ui-info :where(.panel, .formula-panel, .mission-showcase, .service-showcase):hover {
    border-color: var(--lux-line-strong);
}

.ui-info .panel-head {
    border-bottom-color: var(--lux-line);
}

.ui-info .formula-box,
.ui-info .calc-box,
.ui-info .service-card,
.ui-info .mission-summary-item,
.ui-info .reward-row {
    background: rgba(4, 7, 11, 0.54);
    border-color: rgba(255, 255, 255, 0.08);
}

.ui-info .formula-box,
.ui-info .service-price,
.ui-info .summary-value,
.ui-info .calc-result-value {
    color: var(--lux-gold-bright);
}

.ui-info.mission-page .mission-art .service-art-copy {
    display: none;
}

.ui-info.mission-page .mission-art {
    background-position: center 24%;
}

.ui-info :where(th) {
    color: #a7aab1;
    background: rgba(4, 7, 11, 0.8);
}

.ui-info :where(tr):hover td {
    background: rgba(217, 183, 102, 0.035);
}

@media (max-width: 72rem) {
    .ui-home .navbar {
        width: calc(100% - 1.5rem);
    }

    .ui-home .nav-brand::after {
        display: none;
    }

    .ui-home .hero-section {
        padding-inline: clamp(2rem, 6vw, 4rem) !important;
    }
}

@media (max-width: 64rem) {
    .ui-page :where(.nav-bar, .info-nav) {
        min-height: 4.25rem;
    }

    .ui-page :where(.nav-links, .info-tabs),
    .ui-home .nav-menu-group {
        background: rgba(7, 10, 16, 0.97);
        border-color: var(--lux-line);
        box-shadow: var(--lux-shadow);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
    }

    .ui-home .navbar {
        top: 0.75rem;
        height: 4.25rem;
    }

    .ui-home .hero-section {
        min-height: max(43rem, 100svh) !important;
        background:
            linear-gradient(90deg, rgba(4, 6, 9, 0.93) 0%, rgba(4, 6, 9, 0.72) 48%, rgba(4, 6, 9, 0.18) 100%),
            linear-gradient(180deg, rgba(4, 6, 9, 0.16), transparent 50%, var(--c-bg-sunken) 100%),
            url("../image/hero-citadel-v2.webp") 60% center / cover no-repeat !important;
    }
}

@media (max-width: 48rem) {
    .ui-home .navbar {
        top: 0.6rem;
        width: calc(100% - 1rem);
        padding-inline: 0.65rem;
        border-radius: 0.75rem;
    }

    .ui-home .nav-brand {
        width: auto;
        height: 3rem;
        flex-basis: auto;
    }

    .ui-home .nav-brand img {
        width: 2.75rem;
        height: 2.75rem;
    }

    .ui-home .hero-section {
        min-height: 47rem !important;
        padding: 9rem 1.5rem 4rem !important;
        justify-content: flex-end !important;
        background:
            linear-gradient(180deg, rgba(4, 6, 9, 0.15) 0%, rgba(4, 6, 9, 0.48) 37%, rgba(4, 6, 9, 0.96) 84%, var(--c-bg-sunken) 100%),
            linear-gradient(90deg, rgba(4, 6, 9, 0.44), rgba(4, 6, 9, 0.08)),
            url("../image/hero-citadel-v2.webp") 73% center / auto 100% no-repeat !important;
    }

    .ui-home .hero-section::before {
        display: none;
    }

    .ui-home .hero-season-badge {
        margin-bottom: 1rem;
        font-size: 0.64rem;
        letter-spacing: 0.18em;
    }

    .ui-home .hero-tagline {
        width: 100%;
        max-width: 8.5ch;
        margin-bottom: 1rem;
        font-size: clamp(3.45rem, 16vw, 5rem) !important;
        line-height: 0.84;
    }

    .ui-home .hero-subtitle {
        max-width: 30rem !important;
        margin-bottom: 1.5rem !important;
        font-size: 0.92rem !important;
        line-height: 1.58 !important;
    }

    .ui-home .hero-btn-group {
        width: min(100%, 24rem);
        grid-template-columns: 1fr 1fr;
    }

    .ui-home .btn-hero {
        min-height: 3.25rem;
        padding-inline: 0.8rem;
        font-size: 0.7rem;
    }

    .ui-home .hero-stats {
        min-height: 2.45rem;
        font-size: 0.74rem;
    }

    .ui-home .main-content {
        padding-top: 3rem;
    }

    .ui-home .news-header-row {
        margin-top: 3.5rem;
    }

    .ui-home .section-title,
    .ui-home .news-title-group h2 {
        font-size: 2.7rem;
    }

    .ui-marketplace .container,
    .ui-vend .container,
    .ui-my-skills .container {
        width: calc(100% - 1.5rem);
        padding-top: 3rem !important;
    }

    .ui-marketplace .page-header,
    .ui-my-skills .header-section,
    .ui-vend .ui-page-intro {
        padding: 0 0 1.5rem 1rem;
    }

    .ui-marketplace .page-title,
    .ui-my-skills .header-section h1,
    .ui-vend .ui-page-intro h1 {
        font-size: clamp(2.5rem, 13vw, 3.75rem);
    }

    .ui-marketplace .page-header::before,
    .ui-my-skills .header-section::before,
    .ui-vend .ui-page-intro::before {
        bottom: 1.7rem;
    }

    .ui-marketplace .view-switcher {
        width: 100%;
    }

    .ui-marketplace .view-switcher,
    .ui-marketplace .filter-bar {
        grid-template-columns: 1fr;
    }

    .ui-marketplace .view-btn {
        width: 100%;
    }

    .ui-page .ui-data-state {
        min-height: 0;
        grid-template-columns: 2.75rem minmax(0, 1fr);
        gap: 0.9rem 0.85rem;
        padding: 1.25rem;
    }

    .ui-page .ui-data-state__action {
        width: 100%;
        min-height: 2.85rem;
        grid-column: 1 / -1;
    }

    .ui-vend .grid-card {
        padding: 1rem;
    }

    .ui-info .page-hero {
        min-height: 30rem;
        padding: 7rem 1.5rem 6rem;
        background:
            linear-gradient(180deg, rgba(5, 7, 10, 0.36) 0%, rgba(5, 7, 10, 0.72) 46%, var(--lux-bg) 100%),
            url("../image/hero-citadel-v2.webp") 72% center / auto 100% no-repeat;
    }

    .ui-info .poster-title {
        align-self: flex-end;
    }

    .ui-info .poster-title h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .ui-info.mission-page .poster-title h1 {
        max-width: 100%;
        font-size: clamp(2.55rem, 12.2vw, 3.6rem);
        letter-spacing: -0.055em;
    }

    .ui-info .hero-copy {
        font-size: 0.93rem;
        line-height: 1.62;
    }

    .ui-info .page-shell {
        width: calc(100% - 1.5rem);
        margin-top: -2.25rem;
    }
}

@media (max-width: 26.875rem) {
    .ui-home .hero-section {
        padding-inline: 1.1rem !important;
    }

    .ui-home .hero-btn-group {
        grid-template-columns: 1fr;
    }

    .ui-home .hero-tagline {
        font-size: clamp(3.2rem, 16vw, 4rem) !important;
    }
}

/* ================================================================
   KHAN ORIGIN — PREMIUM PRODUCT HOMEPAGE
   Bright editorial system, July 2026
   ================================================================ */

html:has(body.ui-home) {
    scroll-padding-top: 4.75rem;
}

/* The homepage palette is inherited from the active theme. The former
   hardcoded paper values here forced light styling onto both themes. */
body.ui-home {
    color: var(--c-text);
    background: var(--c-backdrop) fixed;
    font-family: var(--font-sans);
}

body.ui-home a:focus-visible,
body.ui-home button:focus-visible,
body.ui-home input:focus-visible,
body.ui-home select:focus-visible {
    outline: 3px solid #2559a8 !important;
    outline-offset: 3px;
}

body.ui-home .navbar {
    position: sticky !important;
    z-index: 10000 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 4rem !important;
    padding: 0 clamp(1rem, 3vw, 2.5rem) !important;
    align-items: center !important;
    color: var(--c-text) !important;
    background: rgba(7, 15, 30, 0.94) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6) !important;
}

body.ui-home .nav-brand img {
    width: auto !important;
    height: 2.8rem !important;
    object-fit: contain;
}

@media (min-width: 769px) {
    body.ui-home .nav-menu-group {
        display: none !important;
    }
}

body.ui-home .nav-menu-primary {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2.2vw, 2.5rem);
}

body.ui-home .nav-menu-primary a {
    position: relative;
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    /* secondary, not muted: muted fails AA at this size on the light theme */
    color: var(--c-text-secondary);
    font-size: clamp(0.82rem, 0.9vw, 0.92rem);
    font-weight: 650;
    letter-spacing: 0.04em;
    padding: 0 0.4rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

body.ui-home .nav-menu-primary a:hover,
body.ui-home .nav-menu-primary a:focus-visible {
    color: var(--c-brand);
}

body.ui-home .nav-auth-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
}

body.ui-home .btn-nav-login {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 2.4rem !important;
    padding: 0.5rem 1.1rem !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.035em !important;
    cursor: pointer !important;
}

body.ui-home .btn-nav-login span {
    display: inline-block !important;
    color: #ffffff !important;
}

body.ui-home .btn-nav-login:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    border-color: rgba(147, 197, 253, 0.6) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
}

@media (min-width: 769px) {
    body.ui-home .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.ui-home .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(15, 26, 50, 0.88) !important;
        border: 1px solid rgba(148, 163, 184, 0.3) !important;
        color: var(--c-text) !important;
        border-radius: 12px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        z-index: 10001 !important;
    }

    body.ui-home .nav-menu-group {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(7, 15, 30, 0.96) !important;
        -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
        backdrop-filter: blur(24px) saturate(140%) !important;
        border: 1px solid rgba(148, 163, 184, 0.25) !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
        z-index: 9999 !important;
    }
}

body.ui-home .product-hero {
    position: relative;
    display: grid !important;
    min-height: max(44rem, 100svh) !important;
    padding: 4.75rem clamp(1.5rem, 4vw, 4.5rem) 0 !important;
    align-items: stretch;
    overflow: hidden;
    color: var(--product-ink) !important;
    background:
        linear-gradient(90deg, var(--c-bg) 0%, rgba(247, 245, 239, 0.99) 24%, rgba(247, 245, 239, 0.87) 42%, rgba(247, 245, 239, 0.2) 68%, rgba(247, 245, 239, 0.02) 100%),
        linear-gradient(180deg, rgba(247, 245, 239, 0.05) 58%, var(--c-bg) 100%),
        url("../image/hero-citadel-v2.webp") 65% center / cover no-repeat !important;
    border: 0 !important;
    isolation: isolate;
}

body.ui-home .product-hero::before {
    position: absolute;
    z-index: -1;
    top: 4.75rem;
    right: clamp(1.5rem, 4vw, 4.5rem);
    bottom: 3rem;
    left: clamp(1.5rem, 4vw, 4.5rem);
    content: "";
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 1px solid rgba(38, 34, 28, 0.12);
    pointer-events: none;
}

body.ui-home .product-hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 14rem;
    content: "";
    background: linear-gradient(180deg, transparent, var(--product-paper));
    pointer-events: none;
}

body.ui-home .product-hero .hero-stage {
    position: relative;
    display: grid !important;
    width: min(100%, 86rem) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: clamp(7rem, 14vh, 10.5rem) 0 8rem !important;
    grid-template-columns: minmax(0, 44rem) minmax(15rem, 1fr) !important;
    align-items: center !important;
    gap: 4rem !important;
}

body.ui-home .product-hero .hero-copy-panel {
    display: flex !important;
    max-width: 44rem;
    align-items: flex-start !important;
    text-align: left !important;
    animation: none !important;
}

body.ui-home .product-hero .hero-season-badge {
    display: inline-flex !important;
    width: fit-content;
    min-height: 2rem;
    margin: 0 0 1.5rem !important;
    padding: 0.3rem 0 !important;
    align-items: center;
    gap: 0.65rem;
    color: #4e493f !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 0.69rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
}

body.ui-home .status-pulse {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    background: #298653;
    border: 3px solid #cae7d4;
    border-radius: 50%;
    box-sizing: content-box;
}

body.ui-home .product-hero .hero-tagline {
    max-width: 24ch !important;
    margin: 0 0 1.25rem !important;
    color: var(--c-text) !important;
    font-family: var(--font-display) !important;
    font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.18 !important;
    text-align: left !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7) !important;
    text-transform: none !important;
    animation: none !important;
}

body.ui-home .product-hero .hero-subtitle {
    max-width: 42rem !important;
    margin: 1.25rem 0 2rem !important;
    color: var(--c-text-muted) !important;
    font-family: var(--font-sans) !important;
    font-size: clamp(0.98rem, 1.2vw, 1.12rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.75 !important;
    text-align: left !important;
    text-shadow: none !important;
    animation: none !important;
}

body.ui-home .product-hero .hero-btn-group {
    display: flex !important;
    width: auto !important;
    margin: 2.25rem 0 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    animation: none !important;
}

body.ui-home .product-hero .btn-hero {
    min-width: 10.5rem !important;
    min-height: 3.5rem !important;
    margin: 0 !important;
}

body.ui-home .btn-hero-secondary {
    display: inline-flex !important;
    min-height: 3.5rem;
    padding: 0 1.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #2c2924 !important;
    background: var(--c-surface-1) !important;
    border: 1px solid #bdb6aa !important;
    border-radius: 0.2rem !important;
    box-shadow: none !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease !important;
}

body.ui-home .btn-hero-secondary:hover {
    color: var(--product-brand) !important;
    background: var(--c-surface-1) !important;
    border-color: var(--product-brand) !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

body.ui-home .product-hero .hero-stats {
    display: flex !important;
    min-height: 2.75rem;
    margin: 1.6rem 0 0 !important;
    padding: 0 !important;
    align-items: center !important;
    align-self: flex-start !important;
    gap: 0.45rem !important;
    color: #615c53 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body.ui-home .product-hero .hero-stats-dot {
    width: 0.48rem !important;
    height: 0.48rem !important;
    background: #2b8f59 !important;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
}

body.ui-home .product-hero .hero-stats-count {
    color: #28241f !important;
    font-size: 0.8rem !important;
    font-weight: 750 !important;
}

body.ui-home .product-hero .hero-stats-label {
    color: #686259 !important;
    font-size: 0.73rem !important;
    font-weight: 450 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.ui-home .hero-chapter {
    position: absolute;
    right: 0;
    bottom: 8rem;
    display: grid;
    min-width: 15rem;
    padding-left: 1.25rem;
    gap: 0.3rem;
    color: #fdf8ed;
    border-left: 2px solid #d4a354;
    text-align: left;
}

body.ui-home .hero-chapter span {
    color: rgba(255, 250, 239, 0.76);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.ui-home .hero-chapter strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

body.ui-home .hero-scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 2.75rem;
    left: 50%;
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.65rem;
    color: #625c52;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

body.ui-home .hero-scroll-cue:hover {
    color: var(--product-brand);
}

body.ui-home .premium-product-home {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--product-ink);
    background: var(--product-paper);
}

body.ui-home .world-proof {
    display: grid;
    width: min(calc(100% - 3rem), 86rem);
    margin: 0 auto;
    padding: 1.85rem 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--product-line);
    border-bottom: 1px solid var(--product-line);
}

body.ui-home .world-proof-item {
    display: grid;
    min-height: 4.8rem;
    padding: 0 1.6rem;
    align-content: center;
    gap: 0.2rem;
    border-right: 1px solid var(--product-line);
}

body.ui-home .world-proof-item:first-child {
    padding-left: 0;
}

body.ui-home .world-proof-item:last-child {
    padding-right: 0;
    border-right: 0;
}

body.ui-home .world-proof-item strong {
    color: var(--product-ink);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

body.ui-home .world-proof-item span {
    color: var(--product-muted);
    font-size: 0.68rem;
    font-weight: 550;
    letter-spacing: 0.02em;
}

body.ui-home .story-section {
    display: grid;
    width: min(calc(100% - 3rem), 86rem);
    margin: clamp(7rem, 11vw, 10rem) auto 0;
    grid-template-columns: minmax(0, 1.42fr) minmax(19rem, 0.78fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

body.ui-home .story-market .story-media {
    grid-column: 2;
}

body.ui-home .story-market .story-copy {
    grid-row: 1;
    grid-column: 1;
}

body.ui-home .story-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #ddd7cc;
    border: 1px solid #cfc8bc;
    box-shadow: 0 28px 70px rgba(57, 48, 37, 0.12);
}

body.ui-home .story-media::before {
    display: block;
    padding-top: 62%;
    content: "";
}

body.ui-home .story-media video,
body.ui-home .story-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.ui-home .story-market .story-media img {
    object-position: center top;
}

body.ui-home .media-label {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    min-height: 2.6rem;
    padding: 0 0.9rem;
    align-items: center;
    gap: 0.7rem;
    color: #f8f3e9;
    background: #25221d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.ui-home .media-label span {
    color: #e0ad5c;
}

body.ui-home .story-copy {
    max-width: 31rem;
}

body.ui-home .section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--product-brand);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.ui-home .story-copy h2,
body.ui-home .section-heading h2,
body.ui-home .player-evidence h2,
body.ui-home .final-cta h2 {
    margin: 0;
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.15 !important;
    text-rendering: optimizeLegibility !important;
}

body.ui-home .story-copy>p {
    margin: 1.6rem 0 0;
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
}

body.ui-home .feature-list {
    display: grid;
    margin: 1.75rem 0 0;
    padding: 0;
    gap: 0.85rem;
    list-style: none;
}

body.ui-home .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--c-text);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.6;
}

body.ui-home .feature-list i {
    display: grid;
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 1.3rem;
    margin-top: 0.1rem;
    place-items: center;
    color: var(--c-text-on-brand);
    background: var(--c-brand);
    border-radius: 50%;
    font-size: 0.55rem;
}

body.ui-home .text-link {
    display: inline-flex;
    min-height: 2.75rem;
    margin-top: 1.85rem;
    align-items: center;
    gap: 0.7rem;
    color: var(--c-brand);
    border-bottom: 1px solid var(--c-brand);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

body.ui-home .text-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

body.ui-home .market-notes {
    display: flex;
    margin-top: 1.75rem;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.ui-home .market-notes span {
    display: inline-flex;
    min-height: 2.25rem;
    padding: 0 0.8rem;
    align-items: center;
    color: var(--c-text-secondary);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

body.ui-home .world-gallery {
    width: min(calc(100% - 3rem), 86rem);
    margin: clamp(6rem, 10vw, 9rem) auto 0;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: var(--c-surface-1);
    box-shadow: 0 0 0 100vmax var(--c-surface-1);
    clip-path: inset(0 -100vmax);
}

body.ui-home .section-heading {
    display: grid;
    margin-bottom: 3.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.55fr);
    align-items: end;
    gap: 4rem;
}

body.ui-home .section-heading h2 {
    max-width: 12ch;
}

body.ui-home .section-heading>p {
    max-width: 30rem;
    margin: 0;
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
}

body.ui-home .gallery-grid {
    display: grid;
    min-height: 51rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

body.ui-home .gallery-item {
    position: relative;
    min-height: 24rem;
    margin: 0;
    overflow: hidden;
    background: var(--c-surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
}

body.ui-home .gallery-item:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: span 7;
}

body.ui-home .gallery-item:nth-child(2),
body.ui-home .gallery-item:nth-child(3) {
    grid-column: span 5;
}

body.ui-home .gallery-item:nth-child(4) {
    display: none;
}

body.ui-home .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

body.ui-home .gallery-item::after {
    position: absolute;
    inset: 48% 0 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(12, 11, 10, 0.9));
    pointer-events: none;
}

body.ui-home .gallery-item:hover img {
    transform: scale(1.025);
}

body.ui-home .gallery-item figcaption {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    bottom: 1.35rem;
    left: 1.5rem;
    display: grid;
    gap: 0.2rem;
    color: #fff;
}

body.ui-home .gallery-item figcaption span {
    color: var(--c-brand);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.ui-home .gallery-item figcaption strong {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.ui-home .player-evidence {
    display: grid;
    width: min(calc(100% - 3rem), 86rem);
    margin: clamp(6rem, 10vw, 9rem) auto 0;
    padding-top: 3.5rem;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
    border-top: 1px solid var(--c-border);
}

body.ui-home .player-evidence h2 {
    max-width: 9ch;
}

body.ui-home .evidence-list {
    border-top: 1px solid var(--c-border);
}

body.ui-home .evidence-list>div {
    display: grid;
    padding: 1.6rem 0;
    grid-template-columns: 3.5rem minmax(10rem, 0.7fr) minmax(12rem, 1fr);
    align-items: start;
    gap: 1.2rem;
    border-bottom: 1px solid var(--c-border);
}

body.ui-home .evidence-list span {
    color: var(--c-brand);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
}

body.ui-home .evidence-list strong {
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.6;
}

body.ui-home .evidence-list p {
    margin: 0;
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.65;
}

body.ui-home .final-cta {
    display: grid;
    width: min(calc(100% - 3rem), 86rem);
    min-height: 24rem;
    margin: clamp(6rem, 10vw, 9rem) auto 0;
    padding: clamp(3rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
    background:
        radial-gradient(ellipse 70% 80% at 90% 50%, rgba(251, 191, 36, 0.15), transparent 70%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.88) 60%, rgba(15, 23, 42, 0.6) 100%),
        url("../image/gallery/gameplay-04.webp") 82% center / cover no-repeat;
    border: 1px solid var(--c-border-brand);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 30px rgba(251, 191, 36, 0.15);
}

body.ui-home .final-cta>div {
    max-width: 48rem;
}

body.ui-home .final-cta h2 {
    max-width: none;
    color: #ffffff !important;
    font-family: var(--font-sans) !important;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem) !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    word-break: break-word;
}

body.ui-home .final-cta p {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: var(--c-text-secondary) !important;
    font-family: var(--font-sans) !important;
    font-size: 1.05rem !important;
    line-height: 1.65;
}

body.ui-home .final-cta .btn-hero-primary {
    min-width: 14rem;
    min-height: 3.8rem;
    padding: 0 2rem;
    flex-shrink: 0;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--p-gold-400), var(--p-gold-600));
    color: var(--c-text-on-brand);
    border: 1px solid var(--p-gold-300);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

body.ui-home .final-cta .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.6);
    filter: brightness(1.1);
}

body.ui-home .footer-content {
    width: min(calc(100% - 3rem), 86rem) !important;
    padding-block: 3.5rem !important;
}

body.ui-home .footer-desc,
body.ui-home .footer-col a,
body.ui-home .footer-col button,
body.ui-home .footer-copyright,
body.ui-home .footer-bottom-links a,
body.ui-home .footer-cookie-btn {
    color: var(--c-text-muted) !important;
}

body.ui-home .footer-col h4,
body.ui-home .footer-newsletter h4 {
    color: #23201c !important;
}

body.ui-home .footer-social-link {
    color: #4f4a42 !important;
    background: transparent !important;
    border-color: var(--product-line) !important;
    box-shadow: none !important;
}

body.ui-home .footer-social-link:hover {
    color: #fff !important;
    background: var(--product-brand) !important;
    border-color: var(--product-brand) !important;
}

body.ui-home .footer-newsletter {
    display: none !important;
}

body.ui-home .footer-bottom {
    width: min(calc(100% - 3rem), 86rem) !important;
    border-color: var(--product-line) !important;
}

@media (max-width: 72rem) {
    body.ui-home .navbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-inline: 1.5rem !important;
        gap: 1.25rem;
    }

    body.ui-home .nav-menu-primary {
        gap: clamp(0.9rem, 1.4vw, 1.4rem);
    }

    body.ui-home .nav-menu-primary a {
        font-size: 0.78rem;
    }

    body.ui-home .lang-switcher {
        display: none !important;
    }

    body.ui-home #loginWrapper {
        display: inline-flex !important;
        align-items: center !important;
    }

    body.ui-home .product-hero {
        padding-inline: 1.5rem !important;
    }

    body.ui-home .product-hero .hero-stage {
        grid-template-columns: minmax(0, 38rem) minmax(10rem, 1fr) !important;
    }

    body.ui-home .product-hero .hero-tagline {
        font-size: clamp(4.2rem, 8vw, 6.5rem) !important;
    }

    body.ui-home .story-section {
        gap: 3.5rem;
    }
}

@media (max-width: 52rem) {
    html:has(body.ui-home) {
        scroll-padding-top: 4rem;
    }

    body.ui-home .navbar {
        height: 4rem !important;
        padding-inline: 1rem !important;
        grid-template-columns: auto 1fr auto;
    }

    body.ui-home .nav-brand {
        min-width: 0;
    }

    body.ui-home .nav-brand img {
        height: 2.7rem !important;
    }

    body.ui-home .nav-menu-primary {
        display: none;
    }

    body.ui-home .nav-primary-cta {
        min-height: 2.65rem;
        padding-inline: 1rem;
    }

    body.ui-home .product-hero {
        min-height: 50rem !important;
        padding: 4rem 1rem 0 !important;
        background:
            linear-gradient(180deg, rgba(247, 245, 239, 0.04) 0%, rgba(247, 245, 239, 0.12) 25%, rgba(247, 245, 239, 0.92) 54%, var(--c-bg) 78%, var(--c-bg) 100%),
            url("../image/hero-citadel-v2.webp") 73% top / auto 34rem no-repeat !important;
    }

    body.ui-home .product-hero::before {
        top: 4rem;
        right: 1rem;
        bottom: 2rem;
        left: 1rem;
    }

    body.ui-home .product-hero .hero-stage {
        display: block !important;
        min-height: 50rem !important;
        padding: 24rem 0 6rem !important;
    }

    body.ui-home .product-hero .hero-copy-panel {
        max-width: 34rem;
    }

    body.ui-home .product-hero .hero-tagline {
        max-width: 9ch !important;
        font-size: clamp(3.65rem, 13vw, 5.4rem) !important;
        line-height: 0.86 !important;
    }

    body.ui-home .product-hero .hero-subtitle {
        max-width: 32rem !important;
        margin-top: 1.4rem !important;
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
    }

    body.ui-home .hero-chapter {
        display: none;
    }

    body.ui-home .hero-scroll-cue {
        display: none;
    }

    body.ui-home .world-proof {
        width: calc(100% - 2rem);
        padding-block: 0;
        grid-template-columns: 1fr 1fr;
    }

    body.ui-home .world-proof-item {
        min-height: 6.4rem;
        padding: 1rem !important;
        border-right: 1px solid var(--product-line);
        border-bottom: 1px solid var(--product-line);
    }

    body.ui-home .world-proof-item:nth-child(2n) {
        border-right: 0;
    }

    body.ui-home .world-proof-item:nth-child(n + 3) {
        border-bottom: 0;
    }

    body.ui-home .story-section {
        width: calc(100% - 2rem);
        margin-top: 6rem;
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    body.ui-home .story-market .story-media,
    body.ui-home .story-market .story-copy {
        grid-row: auto;
        grid-column: auto;
    }

    body.ui-home .story-market .story-media {
        order: 1;
    }

    body.ui-home .story-market .story-copy {
        order: 2;
    }

    body.ui-home .story-copy {
        max-width: none;
    }

    body.ui-home .world-gallery {
        width: calc(100% - 2rem);
        margin-top: 7rem;
        padding-block: 5rem;
    }

    body.ui-home .section-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    body.ui-home .gallery-grid {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    body.ui-home .gallery-item,
    body.ui-home .gallery-item:nth-child(1),
    body.ui-home .gallery-item:nth-child(2),
    body.ui-home .gallery-item:nth-child(3),
    body.ui-home .gallery-item:nth-child(4) {
        display: block;
        min-height: 18rem;
        grid-row: auto;
        grid-column: auto;
    }

    body.ui-home .gallery-item:nth-child(1),
    body.ui-home .gallery-item:nth-child(4) {
        grid-column: 1 / -1;
    }

    body.ui-home .player-evidence {
        width: calc(100% - 2rem);
        margin-top: 6rem;
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    body.ui-home .evidence-list>div {
        grid-template-columns: 2.5rem minmax(9rem, 0.8fr) minmax(10rem, 1fr);
    }

    body.ui-home .final-cta {
        width: calc(100% - 2rem);
        margin-top: 5rem;
        padding: 2.5rem 1.5rem;
        grid-template-columns: 1fr;
        align-items: start;
        background:
            radial-gradient(ellipse 70% 80% at 50% 100%, rgba(251, 191, 36, 0.15), transparent 70%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 100%),
            url("../image/gallery/gameplay-04.webp") center / cover no-repeat;
    }

    body.ui-home .final-cta .btn-hero-primary {
        width: 100%;
    }
}

@media (max-width: 35rem) {
    body.ui-home .nav-primary-cta span {
        font-size: 0;
    }

    body.ui-home .nav-primary-cta span::after {
        content: "Play";
        font-size: 0.66rem;
    }

    body.ui-home .product-hero {
        min-height: 48rem !important;
        background:
            linear-gradient(180deg, rgba(247, 245, 239, 0.02) 0%, rgba(247, 245, 239, 0.16) 24%, rgba(247, 245, 239, 0.96) 50%, var(--c-bg) 70%),
            url("../image/hero-citadel-v2.webp") 72% top / auto 27rem no-repeat !important;
    }

    body.ui-home .product-hero .hero-stage {
        min-height: 48rem !important;
        padding: 20rem 0 4rem !important;
    }

    body.ui-home .product-hero .hero-season-badge {
        margin-bottom: 1rem !important;
        font-size: 0.6rem !important;
    }

    body.ui-home .product-hero .hero-tagline {
        font-size: clamp(3.25rem, 15vw, 4.4rem) !important;
    }

    body.ui-home .product-hero .hero-btn-group {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem !important;
    }

    body.ui-home .product-hero .btn-hero {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 3.35rem !important;
        padding-inline: 0.8rem !important;
        font-size: 0.65rem !important;
    }

    body.ui-home .product-hero .hero-stats {
        margin-top: 1rem !important;
    }

    body.ui-home .product-hero .hero-stats-label {
        font-size: 0.65rem !important;
    }

    body.ui-home .story-copy h2,
    body.ui-home .section-heading h2,
    body.ui-home .player-evidence h2,
    body.ui-home .final-cta h2 {
        font-family: var(--font-sans) !important;
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        font-weight: 850 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.01em !important;
    }

    body.ui-home .story-media::before {
        padding-top: 72%;
    }

    body.ui-home .media-label {
        right: 0.6rem;
        bottom: 0.6rem;
    }

    body.ui-home .gallery-grid {
        grid-template-columns: 1fr;
    }

    body.ui-home .gallery-item,
    body.ui-home .gallery-item:nth-child(1),
    body.ui-home .gallery-item:nth-child(4) {
        min-height: 15rem;
        grid-column: auto;
    }

    body.ui-home .evidence-list>div {
        grid-template-columns: 2.25rem 1fr;
        gap: 0.55rem 0.8rem;
    }

    body.ui-home .evidence-list p {
        grid-column: 2;
    }

    body.ui-home .final-cta {
        min-height: 0;
        padding: 2.25rem 1.35rem;
    }

    body.ui-home .final-cta .btn-hero-primary {
        width: 100%;
    }

    body.ui-home .footer-content,
    body.ui-home .footer-bottom {
        width: calc(100% - 2rem) !important;
    }
}

/* ================================================================
   PREMIUM EVENT CALENDAR
   ================================================================ */

body.ui-home .nav-menu-primary {
    gap: clamp(1.1rem, 1.8vw, 2.2rem);
}

body.ui-home .nav-menu-primary a {
    font-size: clamp(0.8rem, 0.88vw, 0.9rem);
}

body.ui-home .premium-calendar {
    width: min(calc(100% - 3rem), 86rem);
    margin: clamp(7rem, 11vw, 10rem) auto 0;
    scroll-margin-top: 6rem;
}

body.ui-home .premium-calendar-heading h2 {
    max-width: 10ch;
}

body.ui-home .calendar-heading-copy {
    display: grid;
    justify-items: start;
    gap: 1.25rem;
}

body.ui-home .calendar-heading-copy>p {
    max-width: 30rem;
    margin: 0;
    color: var(--product-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

body.ui-home .premium-calendar .server-time-box {
    display: inline-flex !important;
    min-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 1.1rem !important;
    align-items: center !important;
    gap: 0.6rem !important;
    color: #e2e8f0 !important;
    background: rgba(34, 24, 28, 0.95) !important;
    border: 1px solid rgba(250, 204, 21, 0.28) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase;
}

body.ui-home .premium-calendar .server-time-box i {
    color: #fbbf24 !important;
}

body.ui-home .premium-calendar .server-time-box strong {
    color: #fef08a !important;
    font-size: 0.75rem !important;
}

body.ui-home .premium-calendar-shell {
    overflow: hidden !important;
    color: #ffffff !important;
    background: rgba(30, 20, 24, 0.95) !important;
    border: 1px solid rgba(250, 204, 21, 0.28) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

body.ui-home .premium-calendar .calendar-header {
    display: flex !important;
    min-height: 5.5rem !important;
    padding: 1.15rem 1.5rem !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #ffffff !important;
    background: rgba(42, 28, 34, 0.98) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.ui-home .premium-calendar .calendar-header>div:first-child {
    display: grid;
    gap: 0.2rem;
}

body.ui-home .calendar-header-label {
    color: #fbbf24 !important;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.ui-home .premium-calendar #month-year-display {
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    line-height: 1 !important;
}

body.ui-home .calendar-navigation {
    display: flex;
    gap: 0.5rem;
}

body.ui-home .premium-calendar .calendar-nav-btn {
    display: grid !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem !important;
    padding: 0 !important;
    place-items: center !important;
    color: #ffffff !important;
    background: rgba(28, 18, 22, 0.9) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 180ms ease !important;
}

body.ui-home .premium-calendar .calendar-nav-btn:hover {
    color: #140d0f !important;
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
}

body.ui-home .premium-calendar .calendar-legend {
    display: flex !important;
    min-height: 3.65rem;
    margin: 0 !important;
    padding: 0.75rem 1.5rem !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 1.2rem !important;
    color: #cbd5e1 !important;
    background: rgba(36, 24, 29, 0.96) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.15) !important;
}

body.ui-home .premium-calendar .calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

body.ui-home .premium-calendar .calendar-legend-dot {
    width: 0.55rem !important;
    height: 0.55rem !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px currentColor !important;
}

body.ui-home .premium-calendar .calendar-legend-dot.cashbonus,
body.ui-home .premium-calendar .evt-cashbonus {
    --event-color: #d97706;
}

body.ui-home .premium-calendar .calendar-legend-dot.mobpop,
body.ui-home .premium-calendar .evt-mobpop {
    --event-color: #9333ea;
}

body.ui-home .premium-calendar .calendar-legend-dot.droprate,
body.ui-home .premium-calendar .evt-droprate {
    --event-color: #0d9488;
}

body.ui-home .premium-calendar .calendar-legend-dot.kibonus,
body.ui-home .premium-calendar .evt-kibonus {
    --event-color: #db2777;
}

body.ui-home .premium-calendar .calendar-legend-dot.maintenance,
body.ui-home .premium-calendar .evt-maintenance {
    --event-color: #64748b;
}

body.ui-home .premium-calendar .calendar-legend-dot.boss,
body.ui-home .premium-calendar .evt-boss {
    --event-color: #dc2626;
}

body.ui-home .premium-calendar .calendar-legend-dot.pvp,
body.ui-home .premium-calendar .evt-pvp {
    --event-color: #2563eb;
}

body.ui-home .premium-calendar .calendar-legend-dot {
    background: var(--event-color, #8a8175) !important;
}

body.ui-home .premium-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: stretch;
}

body.ui-home .calendar-table-wrap {
    min-width: 0;
    overflow: hidden;
}

body.ui-home .premium-calendar .calendar-table {
    width: 100% !important;
    margin: 0 !important;
    table-layout: fixed !important;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
    color: #ffffff !important;
    background: rgba(28, 18, 22, 0.95) !important;
    border: 0 !important;
}

body.ui-home .premium-calendar .calendar-table th {
    height: 3rem !important;
    padding: 0.5rem 0.75rem !important;
    color: #fbbf24 !important;
    background: rgba(44, 28, 34, 0.98) !important;
    border: 0 !important;
    border-right: 1px solid rgba(250, 204, 21, 0.15) !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.15) !important;
    font-size: 0.72rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.09em !important;
    text-align: left !important;
}

body.ui-home .premium-calendar .calendar-table th:last-child {
    border-right: 0 !important;
}

body.ui-home .premium-calendar .calendar-table td {
    position: relative !important;
    height: 6.25rem !important;
    padding: 0.6rem !important;
    vertical-align: top !important;
    color: #ffffff !important;
    background: rgba(28, 19, 23, 0.85) !important;
    border: 0 !important;
    border-right: 1px solid rgba(250, 204, 21, 0.12) !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.12) !important;
    cursor: pointer;
    transition: background-color 160ms ease !important;
}

body.ui-home .premium-calendar .calendar-table td:last-child {
    border-right: 0 !important;
}

body.ui-home .premium-calendar .calendar-table td:empty {
    background: rgba(18, 11, 14, 0.7) !important;
    cursor: default;
}

body.ui-home .premium-calendar .calendar-table td:not(:empty):hover,
body.ui-home .premium-calendar .calendar-table td.selected-day {
    background: rgba(250, 204, 21, 0.15) !important;
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.45) !important;
}

body.ui-home .premium-calendar .calendar-table td.calendar-today {
    background: rgba(220, 38, 38, 0.22) !important;
    box-shadow: inset 0 0 0 2px #fbbf24 !important;
}

body.ui-home .premium-calendar .calendar-date {
    display: block !important;
    margin-bottom: 0.45rem !important;
    color: #ffffff !important;
    font-family: var(--font-ui) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.ui-home .premium-calendar .calendar-today .calendar-date {
    color: #fbbf24 !important;
}

body.ui-home .premium-calendar .event-badge {
    display: block !important;
    width: 100% !important;
    min-height: 1.45rem !important;
    margin: 0.25rem 0 0 !important;
    padding: 0.25rem 0.45rem !important;
    overflow: hidden !important;
    color: #ffffff !important;
    background: var(--event-color, #64748b) !important;
    border: 0 !important;
    border-radius: 0.25rem !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    font-size: 0.66rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
    text-shadow: none !important;
    white-space: nowrap;
}

body.ui-home .premium-calendar .calendar-day-details-panel {
    display: block !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    color: #ffffff !important;
    background: rgba(38, 25, 30, 0.98) !important;
    border: 0 !important;
    border-left: 1px solid rgba(250, 204, 21, 0.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.ui-home .premium-calendar .details-header {
    display: flex !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.85rem !important;
    align-items: center;
    gap: 0.55rem;
    color: #fbbf24 !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.2) !important;
    font-size: 0.78rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.ui-home .premium-calendar .details-header i {
    color: #fbbf24 !important;
}

body.ui-home .premium-calendar .no-events-placeholder {
    display: grid !important;
    min-height: 13rem;
    padding: 1.5rem !important;
    place-content: center;
    justify-items: center;
    gap: 0.7rem;
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px dashed rgba(250, 204, 21, 0.25) !important;
    border-radius: 0.5rem !important;
    font-size: 0.75rem !important;
    line-height: 1.6;
    text-align: center;
}

body.ui-home .premium-calendar .no-events-placeholder i {
    color: #fbbf24 !important;
    font-size: 1.5rem !important;
}

body.ui-home .premium-calendar .events-details-list {
    display: grid;
    gap: 0.65rem;
}

body.ui-home .premium-calendar .event-detail-item {
    display: grid !important;
    min-height: 4rem;
    padding: 0.75rem !important;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    color: #ffffff !important;
    background: rgba(26, 17, 21, 0.95) !important;
    border: 1px solid rgba(250, 204, 21, 0.22) !important;
    border-left: 3px solid var(--event-color, #fbbf24) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

body.ui-home .premium-calendar .event-detail-icon {
    display: grid !important;
    width: 2rem !important;
    height: 2rem !important;
    place-items: center;
    color: #fff !important;
    background: var(--event-color, #fbbf24) !important;
    border-radius: 50% !important;
}

body.ui-home .premium-calendar .event-detail-title {
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

body.ui-home .premium-calendar .event-detail-time {
    margin-top: 0.2rem;
    color: #cbd5e1 !important;
    font-size: 0.68rem !important;
}

@media (max-width: 64rem) {
    body.ui-home .nav-menu-primary {
        gap: 0.85rem;
    }

    body.ui-home .nav-menu-primary a {
        font-size: 0.76rem;
    }

    body.ui-home .premium-calendar-layout {
        grid-template-columns: 1fr;
    }

    body.ui-home .premium-calendar .calendar-day-details-panel {
        min-height: 15rem !important;
        border-top: 1px solid var(--product-line) !important;
        border-left: 0 !important;
    }
}

@media (max-width: 52rem) {
    body.ui-home .premium-calendar {
        width: calc(100% - 2rem);
        margin-top: 6rem;
    }

    body.ui-home .premium-calendar .calendar-header {
        min-height: 5rem !important;
        padding: 1rem !important;
    }

    body.ui-home .premium-calendar .calendar-legend {
        padding: 0.8rem 1rem !important;
        gap: 0.55rem 0.9rem !important;
    }

    body.ui-home .premium-calendar .calendar-table th {
        height: 2.5rem !important;
        padding: 0.25rem !important;
        font-size: 0.48rem !important;
        text-align: center !important;
    }

    body.ui-home .premium-calendar .calendar-table td {
        height: 4rem !important;
        padding: 0.35rem !important;
        text-align: center;
    }

    body.ui-home .premium-calendar .calendar-date {
        margin-bottom: 0.25rem !important;
        font-size: 0.9rem !important;
    }

    body.ui-home .premium-calendar .event-badge {
        display: inline-block !important;
        width: 0.45rem !important;
        min-width: 0.45rem !important;
        height: 0.45rem !important;
        min-height: 0.45rem !important;
        margin: 0.15rem 0.05rem 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        font-size: 0 !important;
        vertical-align: top;
    }

    body.ui-home .premium-calendar .calendar-day-details-panel {
        padding: 1rem !important;
    }
}

@media (max-width: 35rem) {
    body.ui-home .premium-calendar-heading {
        margin-bottom: 2rem;
    }

    body.ui-home .calendar-heading-copy {
        width: 100%;
    }

    body.ui-home .premium-calendar .server-time-box {
        width: 100%;
        justify-content: center;
    }

    body.ui-home .premium-calendar #month-year-display {
        font-size: 1.65rem !important;
    }

    body.ui-home .premium-calendar .calendar-legend-item {
        font-size: 0.52rem !important;
    }

    body.ui-home .premium-calendar .calendar-table td {
        height: 3.6rem !important;
        padding-inline: 0.2rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    body.ui-home *,
    body.ui-home *::before,
    body.ui-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (prefers-reduced-motion: no-preference) {

    .ui-home .hero-season-badge,
    .ui-home .hero-tagline,
    .ui-home .hero-subtitle,
    .ui-home .hero-btn-group,
    .ui-home .hero-stats {
        animation: lux-reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .ui-home .hero-tagline {
        animation-delay: 80ms;
    }

    .ui-home .hero-subtitle {
        animation-delay: 150ms;
    }

    .ui-home .hero-btn-group {
        animation-delay: 220ms;
    }

    .ui-home .hero-stats {
        animation-delay: 290ms;
    }
}

@keyframes lux-reveal {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Homepage V2 — editorial realm layout
   ========================================================= */

.ui-home .hero-section {
    display: flex !important;
    min-height: max(54rem, 100svh) !important;
    padding: clamp(8.5rem, 14vh, 11rem) max(2rem, calc((100vw - 80rem) / 2)) 1.5rem !important;
    flex-direction: column;
    justify-content: flex-end !important;
}

.ui-home .hero-stage {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    min-height: 31rem;
    margin: auto 0;
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
}

.ui-home .hero-copy-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.ui-home .hero-copy-panel .hero-season-badge,
.ui-home .hero-copy-panel .hero-tagline,
.ui-home .hero-copy-panel .hero-subtitle,
.ui-home .hero-copy-panel .hero-btn-group,
.ui-home .hero-copy-panel .hero-stats {
    position: relative;
    z-index: auto;
}

.ui-home .hero-copy-panel .hero-tagline {
    width: min(47rem, 100%);
}

.ui-home .hero-edition-card {
    position: relative;
    display: grid;
    min-height: 24rem;
    padding: 1.35rem;
    align-self: center;
    overflow: hidden;
    color: var(--lux-ivory);
    background:
        linear-gradient(160deg, rgba(242, 214, 150, 0.09), transparent 38%),
        rgba(7, 9, 13, 0.68);
    border: 1px solid rgba(242, 214, 150, 0.22);
    border-radius: 0.9rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(22px) saturate(1.12);
    backdrop-filter: blur(22px) saturate(1.12);
}

.ui-home .hero-edition-card::before {
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 13rem;
    height: 13rem;
    content: "";
    background: radial-gradient(circle, rgba(217, 183, 102, 0.18), transparent 68%);
    pointer-events: none;
}

.ui-home .hero-edition-card::after {
    position: absolute;
    top: 0;
    right: 1.35rem;
    width: 2.75rem;
    height: 1px;
    content: "";
    background: var(--lux-gold-bright);
    box-shadow: 0 0 16px rgba(217, 183, 102, 0.45);
}

.ui-home .hero-edition-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--c-text-secondary);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ui-home .hero-edition-live {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #4ade80;
}

.ui-home .hero-edition-live i {
    font-size: 0.42rem;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.8));
}

.ui-home .hero-edition-number {
    align-self: center;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 7.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.8;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.ui-home .hero-edition-copy {
    display: grid;
    align-content: end;
    gap: 0.35rem;
}

.ui-home .hero-edition-copy strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.ui-home .hero-edition-copy span {
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.4;
}

.ui-home .hero-edition-rule {
    height: 1px;
    background: linear-gradient(90deg, var(--c-border-strong), transparent);
}

.ui-home .hero-edition-card>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--c-brand);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.ui-home .hero-edition-card>a:hover {
    color: var(--c-brand-hover);
    transform: translateX(2px);
}

.ui-home .hero-world-strip {
    position: relative;
    z-index: 3;
    display: grid;
    width: 100%;
    min-height: 5.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    backdrop-filter: blur(24px) saturate(1.2);
}

.ui-home .hero-world-item {
    display: flex;
    min-width: 0;
    padding: 1rem 1.25rem;
    align-items: center;
    gap: 0.85rem;
    border-right: 1px solid var(--c-border);
}

.ui-home .hero-world-icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    place-items: center;
    color: var(--c-brand);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
}

.ui-home .hero-world-item>span:last-child {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.ui-home .hero-world-item small {
    color: var(--c-text-muted);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ui-home .hero-world-item strong {
    overflow: hidden;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-home .hero-world-link {
    display: flex;
    min-height: 5.4rem;
    padding: 1rem 1.4rem;
    align-items: center;
    gap: 0.8rem;
    color: var(--c-text-on-brand);
    background: linear-gradient(135deg, #efd793, #c89239);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.ui-home .hero-world-link:hover {
    color: var(--c-text-on-brand);
    filter: brightness(1.08);
}

.ui-home .main-content {
    width: min(calc(100% - 3rem), 80rem) !important;
    padding-top: 2rem;
}

.ui-home .main-content::before {
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    content: "";
    background: linear-gradient(90deg, transparent, var(--lux-line-strong), transparent);
}

.ui-home .news-header-row {
    align-items: end;
}

.ui-home .server-time-box {
    padding: 0.65rem 1.1rem;
    color: var(--c-text-secondary);
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
}

.ui-home .server-time-box strong {
    color: #ffffff;
}

.ui-home .calendar-wrapper {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--c-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.ui-home .calendar-table th {
    height: 3.25rem;
    color: var(--c-brand);
    background: var(--c-surface-3);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ui-home .calendar-table td {
    background: var(--c-surface-1);
    border-color: var(--c-border);
    color: var(--c-text);
}

.ui-home .calendar-table td:hover {
    background: var(--c-surface-2);
}

.ui-home .news-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
}

.ui-home .news-card-modern {
    min-height: 24rem;
    grid-column: span 6;
    border-radius: var(--radius-xl);
    border: 1px solid var(--c-border);
    background: var(--c-surface-1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ui-home .news-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--c-border-brand);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ui-home .news-card-modern:nth-child(3) {
    min-height: 20rem;
    grid-column: 1 / -1;
}

.ui-home .news-card-img {
    min-height: 12rem;
    background:
        radial-gradient(circle at 65% 35%, rgba(251, 191, 36, 0.15), transparent 12rem),
        linear-gradient(145deg, #1e293b, #0f172a);
}

.ui-home .news-card-img i {
    color: var(--c-brand);
    font-size: 2.4rem;
}

.ui-home .news-card-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.ui-home .news-card-excerpt {
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.65;
}

.ui-home .ranking-container {
    overflow: hidden;
}

.ui-home .ranking-header-row {
    margin-top: clamp(5rem, 10vw, 9rem);
}

@media (max-width: 64rem) {
    .ui-home .hero-stage {
        grid-template-columns: minmax(0, 1fr) 15rem;
        gap: 2rem;
    }

    .ui-home .hero-edition-card {
        min-height: 21rem;
    }

    .ui-home .hero-edition-number {
        font-size: 6.5rem;
    }

    .ui-home .hero-world-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ui-home .hero-world-link {
        min-height: 3.6rem;
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 48rem) {
    .ui-home .hero-section {
        min-height: 0 !important;
        padding: 7.25rem 1rem 1rem !important;
        background:
            linear-gradient(180deg, rgba(4, 6, 9, 0.14) 0%, rgba(4, 6, 9, 0.58) 40%, rgba(4, 6, 9, 0.98) 78%, var(--c-bg-sunken) 100%),
            linear-gradient(90deg, rgba(4, 6, 9, 0.35), rgba(4, 6, 9, 0.05)),
            url("../image/hero-citadel-v2.webp") 72% top / auto 46rem no-repeat !important;
    }

    .ui-home .hero-stage {
        display: block;
        min-height: 42rem;
        padding: 15rem 0 2rem;
    }

    .ui-home .hero-copy-panel {
        align-items: flex-start;
        text-align: left;
    }

    .ui-home .hero-copy-panel .hero-season-badge,
    .ui-home .hero-copy-panel .hero-tagline,
    .ui-home .hero-copy-panel .hero-subtitle {
        text-align: left !important;
    }

    .ui-home .hero-copy-panel .hero-tagline {
        max-width: 8ch;
    }

    .ui-home .hero-copy-panel .hero-subtitle {
        max-width: 23rem !important;
    }

    .ui-home .hero-copy-panel .hero-btn-group {
        width: 100%;
    }

    .ui-home .hero-copy-panel .hero-stats {
        align-self: flex-start;
    }

    .ui-home .hero-edition-card {
        display: none;
    }

    .ui-home .hero-world-strip {
        grid-template-columns: 1fr 1fr;
        border-radius: 0.75rem;
    }

    .ui-home .hero-world-item {
        min-height: 4.7rem;
        padding: 0.8rem;
    }

    .ui-home .hero-world-item:nth-child(2) {
        border-right: 0;
    }

    .ui-home .hero-world-item:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(242, 214, 150, 0.11);
    }

    .ui-home .hero-world-icon {
        width: 2.1rem;
        height: 2.1rem;
        flex-basis: 2.1rem;
    }

    .ui-home .hero-world-link {
        min-height: 3.6rem;
        grid-column: 1 / -1;
    }

    .ui-home .main-content {
        width: calc(100% - 1.5rem) !important;
    }

    .ui-home .news-grid {
        grid-template-columns: 1fr;
    }

    .ui-home .news-card-modern,
    .ui-home .news-card-modern:nth-child(3) {
        min-height: 0;
        grid-column: auto;
    }
}

@media (max-width: 26.875rem) {
    .ui-home .hero-stage {
        padding-top: 13rem;
    }

    .ui-home .hero-world-strip {
        grid-template-columns: 1fr;
    }

    .ui-home .hero-world-item,
    .ui-home .hero-world-item:nth-child(2),
    .ui-home .hero-world-item:nth-child(3) {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(242, 214, 150, 0.11);
    }
}

/* Final product-home overrides must stay last in this layered legacy stylesheet. */
body.ui-home .navbar::before {
    display: none !important;
    content: none !important;
}

body.ui-home .product-hero {
    display: grid !important;
    min-height: max(44rem, 100svh) !important;
    padding: 4.75rem clamp(1.5rem, 4vw, 4.5rem) 0 !important;
    justify-content: stretch !important;
}

body.ui-home .product-hero .hero-stage {
    display: grid !important;
    width: min(100%, 86rem) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: clamp(7rem, 14vh, 10.5rem) 0 8rem !important;
    grid-template-columns: minmax(0, 44rem) minmax(15rem, 1fr) !important;
    align-items: center !important;
}

@media (max-width: 52rem) {
    body.ui-home .product-hero {
        min-height: 50rem !important;
        padding: 4rem 1rem 0 !important;
        justify-content: stretch !important;
        background:
            linear-gradient(180deg, rgba(247, 245, 239, 0.04) 0%, rgba(247, 245, 239, 0.12) 25%, rgba(247, 245, 239, 0.92) 54%, var(--c-bg) 78%, var(--c-bg) 100%),
            url("../image/hero-citadel-v2.webp") 73% top / auto 34rem no-repeat !important;
    }

    body.ui-home .product-hero .hero-stage {
        display: block !important;
        min-height: 50rem !important;
        padding: 24rem 0 6rem !important;
    }
}

@media (max-width: 35rem) {
    body.ui-home .product-hero {
        min-height: 48rem !important;
        background:
            linear-gradient(180deg, rgba(247, 245, 239, 0.02) 0%, rgba(247, 245, 239, 0.16) 24%, rgba(247, 245, 239, 0.96) 50%, var(--c-bg) 70%),
            url("../image/hero-citadel-v2.webp") 72% top / auto 27rem no-repeat !important;
    }

    body.ui-home .product-hero .hero-stage {
        min-height: 48rem !important;
        padding: 20rem 0 4rem !important;
    }
}

/* ================================================================
   LIVE RANKING + PRODUCT FOOTER
   ================================================================ */

body.ui-home .premium-ranking {
    width: min(calc(100% - 3rem), 86rem);
    margin: clamp(6rem, 10vw, 9rem) auto 0;
    scroll-margin-top: 6rem;
}

body.ui-home .premium-ranking-heading h2 {
    font-family: var(--font-display) !important;
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3) !important;
}

body.ui-home .premium-ranking-container {
    position: relative;
    overflow: hidden !important;
    color: var(--c-text) !important;
    background: var(--c-surface-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65) !important;
}

body.ui-home .premium-ranking .ranking-controls {
    display: flex !important;
    min-height: 4.75rem;
    padding: 1rem 1.5rem !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    color: var(--c-text) !important;
    background: var(--c-surface-2) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--c-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.ui-home .premium-ranking .rank-tabs,
body.ui-home .premium-ranking .rank-filters {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem !important;
}

body.ui-home .premium-ranking .rank-tab-btn,
body.ui-home .premium-ranking .rank-select {
    min-height: 2.6rem !important;
    padding: 0 1.1rem !important;
    color: var(--c-text-secondary) !important;
    background: var(--c-surface-1) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.82rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
    line-height: 1 !important;
    text-transform: uppercase;
    transition: all 0.25s ease !important;
}

body.ui-home .premium-ranking .rank-tab-btn {
    cursor: pointer;
}

body.ui-home .premium-ranking .rank-tab-btn:hover {
    color: #ffffff !important;
    background: var(--c-surface-3) !important;
    border-color: var(--c-border-strong) !important;
    transform: translateY(-1px);
}

body.ui-home .premium-ranking .rank-tab-btn.active {
    color: var(--c-text-on-brand) !important;
    background: linear-gradient(135deg, var(--p-gold-400), var(--p-gold-600)) !important;
    border-color: var(--p-gold-400) !important;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.45) !important;
}

body.ui-home .premium-ranking .rank-select {
    min-width: 10.5rem;
    cursor: pointer;
}

body.ui-home .ranking-preview-note {
    position: absolute;
    top: 5.65rem;
    right: 1rem;
    z-index: 4;
    display: inline-flex;
    min-height: 2rem;
    padding: 0 0.85rem;
    align-items: center;
    color: var(--c-brand);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--c-border-brand);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.ui-home .premium-ranking .podium-section {
    display: grid !important;
    min-height: 32rem !important;
    padding: 3.5rem clamp(1rem, 3.5vw, 3rem) 2.5rem !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 1.5rem !important;
    background:
        radial-gradient(ellipse at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 60%, rgba(30, 20, 45, 0.6) 0%, transparent 80%),
        var(--c-surface-1) !important;
    border: 0 !important;
    perspective: 1000px;
}

body.ui-home .premium-ranking .podium-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 27.5rem !important;
    padding: 0 0 1.5rem !important;
    overflow: hidden !important;
    color: var(--c-text) !important;
    border-radius: 20px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    z-index: 1;
}

/* 2nd - Silver */
body.ui-home .premium-ranking .podium-card--silver {
    min-height: 27.5rem !important;
    background: linear-gradient(180deg, rgba(20, 28, 45, 0.95) 0%, rgba(12, 17, 28, 0.98) 100%) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.45) !important;
    box-shadow: 0 0 25px rgba(148, 163, 184, 0.15), 0 20px 45px rgba(0, 0, 0, 0.75) !important;
}

body.ui-home .premium-ranking .podium-card--silver:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 0 35px rgba(148, 163, 184, 0.35), 0 25px 60px rgba(0, 0, 0, 0.85) !important;
}

/* 1st - Gold (Champion) - Center Stage Prestige Card */
body.ui-home .premium-ranking .podium-card--gold {
    min-height: 31rem !important;
    background: linear-gradient(180deg, rgba(42, 30, 15, 0.96) 0%, rgba(18, 13, 8, 0.98) 100%) !important;
    border: 2px solid rgba(245, 158, 11, 0.75) !important;
    box-shadow: 0 0 45px rgba(245, 158, 11, 0.3), 0 25px 60px rgba(0, 0, 0, 0.85) !important;
    transform: translateY(-16px) !important;
    z-index: 2;
}

body.ui-home .premium-ranking .podium-card--gold:hover {
    transform: translateY(-24px) scale(1.02) !important;
    border-color: #fde047 !important;
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.5), 0 30px 75px rgba(0, 0, 0, 0.95) !important;
}

/* Prestige Top 1 Collectible Vietnamese Heritage Card Frame */
body.ui-home .premium-ranking .podium-card--gold.top1-legendary-card {
    position: relative !important;
    min-height: 33rem !important;
    background: radial-gradient(circle at 50% 30%, rgba(180, 20, 30, 0.45) 0%, rgba(30, 10, 15, 0.96) 65%, rgba(12, 6, 8, 0.99) 100%) !important;
    border: 2.5px solid #facc15 !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 0 50px rgba(250, 204, 21, 0.45), 0 0 25px rgba(239, 68, 68, 0.4), 0 30px 70px rgba(0, 0, 0, 0.95) !important;
    transform: translateY(-20px) !important;
    overflow: visible !important;
    z-index: 20 !important;
}

body.ui-home .premium-ranking .podium-card--gold.top1-legendary-card:hover {
    transform: translateY(-28px) scale(1.025) !important;
    border-color: #fef08a !important;
    box-shadow: 0 0 75px rgba(250, 204, 21, 0.7), 0 0 40px rgba(239, 68, 68, 0.55), 0 35px 80px rgba(0, 0, 0, 0.98) !important;
    z-index: 30 !important;
}

.top1-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.92;
    pointer-events: none;
    border-radius: 1.45rem;
    overflow: hidden;
    z-index: 1;
}

.top1-card-inner-border {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 1.25rem;
    pointer-events: none;
    z-index: 2;
}

.top1-level-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.95), rgba(120, 53, 15, 0.95));
    border: 1.5px solid #facc15;
    border-radius: 8px;
    padding: 3px 8px;
    font-weight: 900;
    color: #fef08a;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(250, 204, 21, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.top1-tag-lbl {
    font-size: 8px;
    letter-spacing: 0.1em;
    color: #fde047;
    text-transform: uppercase;
}

.top1-tag-val {
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 0 6px #facc15;
}

.top1-top-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.95), rgba(120, 53, 15, 0.95));
    border: 1.5px solid #facc15;
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #fef08a;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(250, 204, 21, 0.4);
}

body.ui-home .premium-ranking .podium-card--gold .podium-model.top1-model-stage {
    position: relative !important;
    z-index: 3 !important;
    height: 17.5rem !important;
    min-height: 17.5rem !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.ui-home .premium-ranking .podium-card--gold .char-model-frame {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═════════ INTEGRATED SILK DYNAMIC TYPOGRAPHY PANEL ═════════ */
.top1-silk-info-panel {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.25rem 0.75rem 1rem;
    margin-top: -10px;
}

.top1-silk-char-name {
    font-family: 'Cinzel', 'Outfit', 'Be Vietnam Pro', serif, sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(180deg, #ffffff 0%, #fff0aa 30%, #ffd700 70%, #b38728 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 14px rgba(250, 204, 21, 0.6));
    margin-bottom: 2px;
}

.top1-silk-char-sub {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fef08a;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
    opacity: 0.95;
    margin-bottom: 6px;
}

.top1-silk-rank-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(20, 10, 15, 0.88), rgba(70, 20, 30, 0.95), rgba(20, 10, 15, 0.88));
    border: 1.5px solid rgba(250, 204, 21, 0.75);
    border-radius: 9999px;
    padding: 3px 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
}

.top1-rank-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fde047;
}

.top1-rank-badge {
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #991b1b);
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid #fecaca;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

.top1-rank-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffd700;
}

.top1-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(250, 204, 21, 0.45);
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top1-stat-pill strong {
    color: #4ade80;
    font-size: 0.95rem;
    font-weight: 900;
}

/* Dedicated Top 1 Weapon / Armor Showcase */
.top1-item-showcase {
    position: relative;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 290px;
    margin: 4px auto 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(24, 18, 35, 0.95), rgba(12, 10, 20, 0.98));
    border: 1.5px solid #facc15;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(250, 204, 21, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top1-item-showcase:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.95), 0 0 20px rgba(250, 204, 21, 0.6);
}

.top1-item-showcase:hover .rank-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    z-index: 999999 !important;
}

.top1-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    object-fit: contain;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid #facc15;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
    flex-shrink: 0;
}

.top1-item-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.top1-item-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.top1-item-title {
    font-size: 13px;
    font-weight: 800;
    color: #fde047;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top1-item-plus-badge {
    font-size: 13px;
    font-weight: 900;
    color: #ef4444;
    background: #fef08a;
    padding: 1px 6px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
    flex-shrink: 0;
}

.top1-item-stat-row {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top1-silk-date-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(254, 240, 138, 0.75);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   PRESTIGE TOP 2 WHITE TIGER SILVER COLLECTIBLE CARD FRAME
   ═══════════════════════════════════════════════════════════════════ */
body.ui-home .premium-ranking .podium-card--silver.top2-legendary-card {
    position: relative !important;
    min-height: 31rem !important;
    background: radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.96) 65%, rgba(8, 12, 22, 0.99) 100%) !important;
    border: 2px solid #93c5fd !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 0 45px rgba(147, 197, 253, 0.4), 0 0 25px rgba(59, 130, 246, 0.35), 0 25px 60px rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-10px) !important;
    overflow: visible !important;
    z-index: 15 !important;
}

body.ui-home .premium-ranking .podium-card--silver.top2-legendary-card:hover {
    transform: translateY(-18px) scale(1.02) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 0 65px rgba(147, 197, 253, 0.65), 0 0 35px rgba(59, 130, 246, 0.5), 0 30px 70px rgba(0, 0, 0, 0.95) !important;
    z-index: 25 !important;
}

.top2-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.94;
    pointer-events: none;
    border-radius: 1.45rem;
    overflow: hidden;
    z-index: 1;
}

.top2-card-inner-border {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 1.25rem;
    pointer-events: none;
    z-index: 2;
}

.top2-level-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 1.5px solid #93c5fd;
    border-radius: 8px;
    padding: 3px 8px;
    font-weight: 900;
    color: #e0f2fe;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(147, 197, 253, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.top2-tag-lbl {
    font-size: 8px;
    letter-spacing: 0.1em;
    color: #93c5fd;
    text-transform: uppercase;
}

.top2-tag-val {
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 0 6px #60a5fa;
}

.top2-top-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 1.5px solid #93c5fd;
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #e0f2fe;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(147, 197, 253, 0.4);
}

body.ui-home .premium-ranking .podium-card--silver .podium-model.top2-model-stage {
    position: relative !important;
    z-index: 3 !important;
    height: 16.5rem !important;
    min-height: 16.5rem !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ═════════ TOP 2 DYNAMIC SILK INFORMATION PANEL ═════════ */
.top2-silk-info-panel {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.25rem 0.75rem 1rem;
    margin-top: -10px;
}

.top2-silk-char-name {
    font-family: 'Cinzel', 'Outfit', 'Be Vietnam Pro', serif, sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 40%, #94a3b8 80%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(147, 197, 253, 0.6));
    margin-bottom: 2px;
}

.top2-silk-char-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bae6fd;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
    opacity: 0.95;
    margin-bottom: 6px;
}

.top2-silk-rank-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(10, 18, 35, 0.88), rgba(20, 45, 80, 0.95), rgba(10, 18, 35, 0.88));
    border: 1.5px solid rgba(147, 197, 253, 0.75);
    border-radius: 9999px;
    padding: 3px 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
}

.top2-rank-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #bae6fd;
}

.top2-rank-badge {
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid #7dd3fc;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
}

.top2-rank-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #e0f2fe;
}

.top2-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top2-stat-pill strong {
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 900;
}

/* Dedicated Top 2 Weapon / Armor Showcase */
.top2-item-showcase {
    position: relative;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: 4px auto 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 30, 0.98));
    border: 1.5px solid #93c5fd;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(147, 197, 253, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top2-item-showcase:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.95), 0 0 20px rgba(147, 197, 253, 0.6);
}

.top2-item-showcase:hover .rank-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    z-index: 999999 !important;
}

.top2-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    object-fit: contain;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid #93c5fd;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 0 10px rgba(147, 197, 253, 0.4);
    flex-shrink: 0;
}

.top2-item-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.top2-item-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.top2-item-title {
    font-size: 13px;
    font-weight: 800;
    color: #e0f2fe;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top2-item-plus-badge {
    font-size: 13px;
    font-weight: 900;
    color: #0369a1;
    background: #bae6fd;
    padding: 1px 6px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(147, 197, 253, 0.8);
    flex-shrink: 0;
}

.top2-item-stat-row {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top2-silk-date-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(186, 230, 253, 0.75);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   PRESTIGE TOP 3 PIXIU (TỲ HƯU) BRONZE COLLECTIBLE CARD FRAME
   ═══════════════════════════════════════════════════════════════════ */
body.ui-home .premium-ranking .podium-card--bronze.top3-legendary-card {
    position: relative !important;
    min-height: 30.5rem !important;
    background: radial-gradient(circle at 50% 30%, rgba(180, 83, 9, 0.45) 0%, rgba(40, 20, 10, 0.96) 65%, rgba(18, 10, 6, 0.99) 100%) !important;
    border: 2px solid #f97316 !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 0 45px rgba(249, 115, 22, 0.4), 0 0 25px rgba(234, 88, 12, 0.35), 0 25px 60px rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-8px) !important;
    overflow: visible !important;
    z-index: 10 !important;
}

body.ui-home .premium-ranking .podium-card--bronze.top3-legendary-card:hover {
    transform: translateY(-16px) scale(1.02) !important;
    border-color: #fdba74 !important;
    box-shadow: 0 0 65px rgba(249, 115, 22, 0.65), 0 0 35px rgba(234, 88, 12, 0.5), 0 30px 70px rgba(0, 0, 0, 0.95) !important;
    z-index: 22 !important;
}

.top3-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.94;
    pointer-events: none;
    border-radius: 1.45rem;
    overflow: hidden;
    z-index: 1;
}

.top3-card-inner-border {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 1.25rem;
    pointer-events: none;
    z-index: 2;
}

.top3-level-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, rgba(67, 20, 7, 0.95), rgba(124, 45, 18, 0.95));
    border: 1.5px solid #f97316;
    border-radius: 8px;
    padding: 3px 8px;
    font-weight: 900;
    color: #ffedd5;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(249, 115, 22, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.top3-tag-lbl {
    font-size: 8px;
    letter-spacing: 0.1em;
    color: #fdba74;
    text-transform: uppercase;
}

.top3-tag-val {
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 0 6px #f97316;
}

.top3-top-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, rgba(67, 20, 7, 0.95), rgba(124, 45, 18, 0.95));
    border: 1.5px solid #f97316;
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #ffedd5;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 8px rgba(249, 115, 22, 0.4);
}

body.ui-home .premium-ranking .podium-card--bronze .podium-model.top3-model-stage {
    position: relative !important;
    z-index: 3 !important;
    height: 16.5rem !important;
    min-height: 16.5rem !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ═════════ TOP 3 DYNAMIC SILK INFORMATION PANEL ═════════ */
.top3-silk-info-panel {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.25rem 0.75rem 1rem;
    margin-top: -10px;
}

.top3-silk-char-name {
    font-family: 'Cinzel', 'Outfit', 'Be Vietnam Pro', serif, sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(180deg, #ffffff 0%, #fed7aa 35%, #ea580c 75%, #9a3412 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(249, 115, 22, 0.6));
    margin-bottom: 2px;
}

.top3-silk-char-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fdba74;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
    opacity: 0.95;
    margin-bottom: 6px;
}

.top3-silk-rank-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(30, 15, 8, 0.88), rgba(70, 30, 15, 0.95), rgba(30, 15, 8, 0.88));
    border: 1.5px solid rgba(249, 115, 22, 0.75);
    border-radius: 9999px;
    padding: 3px 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
}

.top3-rank-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fed7aa;
}

.top3-rank-badge {
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #ea580c, #9a3412);
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid #ffedd5;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.8);
}

.top3-rank-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffedd5;
}

.top3-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(249, 115, 22, 0.45);
    border-radius: 6px;
    padding: 2px 10px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top3-stat-pill strong {
    color: #fb923c;
    font-size: 0.95rem;
    font-weight: 900;
}

/* Dedicated Top 3 Weapon / Armor Showcase */
.top3-item-showcase {
    position: relative;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: 4px auto 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(30, 15, 10, 0.95), rgba(18, 10, 6, 0.98));
    border: 1.5px solid #f97316;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), inset 0 0 12px rgba(249, 115, 22, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top3-item-showcase:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.95), 0 0 20px rgba(249, 115, 22, 0.6);
}

.top3-item-showcase:hover .rank-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    z-index: 999999 !important;
}

.top3-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    object-fit: contain;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid #f97316;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
    flex-shrink: 0;
}

.top3-item-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.top3-item-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.top3-item-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffedd5;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top3-item-plus-badge {
    font-size: 13px;
    font-weight: 900;
    color: #7c2d12;
    background: #fed7aa;
    padding: 1px 6px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
    flex-shrink: 0;
}

.top3-item-stat-row {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top3-silk-date-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(253, 186, 116, 0.75);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Ambient Top Card Halo */
.podium-halo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}
.podium-halo--gold {
    background: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.35) 0%, transparent 70%);
}
.podium-halo--silver {
    background: radial-gradient(ellipse at 50% 0%, rgba(148, 163, 184, 0.28) 0%, transparent 70%);
}
.podium-halo--bronze {
    background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.28) 0%, transparent 70%);
}

/* Model Stage Container */
body.ui-home .premium-ranking .podium-model {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 16.5rem !important;
    min-height: 16.5rem !important;
    margin: 0 0 0.75rem !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.ui-home .premium-ranking .podium-card--gold .podium-model {
    height: 18.5rem !important;
    min-height: 18.5rem !important;
    background: radial-gradient(circle at 50% 35%, rgba(251, 191, 36, 0.25) 0%, rgba(180, 83, 9, 0.1) 50%, rgba(15, 11, 7, 0.95) 85%) !important;
}

body.ui-home .premium-ranking .podium-card--silver .podium-model {
    background: radial-gradient(circle at 50% 35%, rgba(147, 197, 253, 0.22) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(10, 16, 26, 0.95) 85%) !important;
}

body.ui-home .premium-ranking .podium-card--bronze .podium-model {
    background: radial-gradient(circle at 50% 35%, rgba(249, 115, 22, 0.22) 0%, rgba(194, 65, 12, 0.08) 50%, rgba(18, 12, 10, 0.95) 85%) !important;
}

/* God Rays Light Stream */
.podium-god-rays {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 100%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
    filter: blur(5px);
    pointer-events: none;
    z-index: 1;
    animation: rayPulse 4s ease-in-out infinite alternate;
}
.podium-god-rays--gold {
    background: linear-gradient(180deg, rgba(254, 240, 138, 0.45) 0%, rgba(245, 158, 11, 0.15) 60%, transparent 100%);
}
.podium-god-rays--silver {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.4) 0%, rgba(96, 165, 250, 0.12) 60%, transparent 100%);
}
.podium-god-rays--bronze {
    background: linear-gradient(180deg, rgba(254, 215, 170, 0.4) 0%, rgba(249, 115, 22, 0.12) 60%, transparent 100%);
}

@keyframes rayPulse {
    0% { opacity: 0.6; transform: translateX(-50%) scaleX(0.92); }
    100% { opacity: 0.95; transform: translateX(-50%) scaleX(1.08); }
}

/* Spinning Divine Magic Circle / Rune Matrix */
.podium-rune-circle {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 170px;
    height: 170px;
    margin-top: -85px;
    margin-left: -85px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: runeRotate 30s linear infinite;
    opacity: 0.75;
}
.podium-rune-circle--gold {
    border: 1.5px dashed rgba(251, 191, 36, 0.45);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25), inset 0 0 20px rgba(245, 158, 11, 0.2);
}
.podium-rune-circle--silver {
    border: 1.5px dashed rgba(148, 163, 184, 0.4);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.2), inset 0 0 15px rgba(148, 163, 184, 0.15);
}
.podium-rune-circle--bronze {
    border: 1.5px dashed rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2), inset 0 0 15px rgba(249, 115, 22, 0.15);
}

.podium-rune-circle::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.podium-rune-circle::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.45);
    animation: runeRotateRev 20s linear infinite;
}

@keyframes runeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes runeRotateRev {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* 3D Floating Stage Pedestal Disc Under Character */
.podium-pedestal {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 148px;
    height: 38px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.podium-pedestal--gold {
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.45) 0%, rgba(217, 119, 6, 0.2) 50%, transparent 78%);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), inset 0 0 15px rgba(251, 191, 36, 0.7);
}
.podium-pedestal--silver {
    background: radial-gradient(ellipse at center, rgba(203, 213, 225, 0.4) 0%, rgba(100, 116, 139, 0.15) 50%, transparent 78%);
    border: 1.5px solid rgba(203, 213, 225, 0.55);
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.5), inset 0 0 12px rgba(203, 213, 225, 0.6);
}
.podium-pedestal--bronze {
    background: radial-gradient(ellipse at center, rgba(253, 186, 116, 0.4) 0%, rgba(194, 65, 12, 0.15) 50%, transparent 78%);
    border: 1.5px solid rgba(253, 186, 116, 0.55);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5), inset 0 0 12px rgba(253, 186, 116, 0.6);
}

/* Floating Sparkle Embers */
.podium-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.podium-sparkles .spark {
    position: absolute;
    font-size: 11px;
    opacity: 0;
    animation: floatSpark 4s ease-in-out infinite;
}
.podium-card--gold .podium-sparkles .spark { color: #fde047; text-shadow: 0 0 6px #facc15; }
.podium-card--silver .podium-sparkles .spark { color: #e2e8f0; text-shadow: 0 0 6px #93c5fd; }
.podium-card--bronze .podium-sparkles .spark { color: #fed7aa; text-shadow: 0 0 6px #fb923c; }

.podium-sparkles .s1 { top: 25%; left: 18%; animation-delay: 0s; }
.podium-sparkles .s2 { top: 38%; right: 18%; animation-delay: 1.2s; font-size: 13px; }
.podium-sparkles .s3 { top: 65%; left: 24%; animation-delay: 2.4s; }
.podium-sparkles .s4 { top: 20%; right: 28%; animation-delay: 1.8s; }

@keyframes floatSpark {
    0% { opacity: 0; transform: translateY(12px) scale(0.6); }
    40% { opacity: 0.9; transform: translateY(-4px) scale(1.1); }
    80% { opacity: 0.7; transform: translateY(-16px) scale(0.9); }
    100% { opacity: 0; transform: translateY(-24px) scale(0.5); }
}

/* 3D Character Model Frame */
body.ui-home .premium-ranking .char-model-frame,
.char-model-frame {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow: hidden !important;
    pointer-events: none !important;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.75));
}

body.ui-home .premium-ranking.ranking-preview .char-model-frame {
    display: none !important;
}

/* Crown Pill Badges */
body.ui-home .premium-ranking .podium-crown {
    position: absolute !important;
    z-index: 4 !important;
    top: 1rem !important;
    left: 1rem !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: inline-flex !important;
    width: auto !important;
    min-height: 2rem !important;
    margin: 0 !important;
    padding: 0.3rem 0.85rem !important;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.75rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.07em !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    backdrop-filter: blur(8px);
}

body.ui-home .premium-ranking .podium-crown i {
    font-size: 0.82rem !important;
    line-height: 1 !important;
}

body.ui-home .premium-ranking .podium-card--gold .podium-crown {
    color: #1a1002 !important;
    background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #f59e0b 100%) !important;
    border: 1px solid #fef08a !important;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.ui-home .premium-ranking .podium-card--silver .podium-crown {
    color: #0f172a !important;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%) !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.ui-home .premium-ranking .podium-card--bronze .podium-crown {
    color: #1a0a02 !important;
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 50%, #ea580c 100%) !important;
    border: 1px solid #fed7aa !important;
    box-shadow: 0 0 14px rgba(251, 146, 60, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Character Name & Class */
body.ui-home .premium-ranking .podium-name,
body.ui-home .premium-ranking .podium-class,
body.ui-home .premium-ranking .podium-value {
    width: auto !important;
    margin-inline: 1.25rem !important;
    text-align: left !important;
}

body.ui-home .premium-ranking .podium-name {
    margin-bottom: 0.35rem !important;
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
    text-transform: none !important;
}

body.ui-home .premium-ranking .podium-card--gold .podium-name {
    background: linear-gradient(135deg, #ffffff 40%, #fde047 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.ui-home .premium-ranking .podium-card--silver .podium-name {
    background: linear-gradient(135deg, #ffffff 45%, #93c5fd 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.ui-home .premium-ranking .podium-card--bronze .podium-name {
    background: linear-gradient(135deg, #ffffff 45%, #fdba74 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.ui-home .premium-ranking .podium-class {
    margin-bottom: 0.85rem !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

.podium-class-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #e2e8f0;
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.ui-home .premium-ranking .podium-card--gold .podium-class-pill {
    color: #fde047;
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(245, 158, 11, 0.12);
}
body.ui-home .premium-ranking .podium-card--silver .podium-class-pill {
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.35);
    background: rgba(59, 130, 246, 0.12);
}
body.ui-home .premium-ranking .podium-card--bronze .podium-class-pill {
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.35);
    background: rgba(234, 88, 12, 0.12);
}

body.ui-home .premium-ranking .podium-value {
    display: flex !important;
    margin-top: auto !important;
    padding: 0 !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
    color: var(--c-brand) !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.ui-home .premium-ranking .podium-value strong {
    color: #facc15 !important;
    font-family: var(--font-ui) !important;
    font-size: 1.75rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

body.ui-home .premium-ranking .podium-value span {
    color: var(--c-text-muted) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.75rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.06em !important;
}

body.ui-home .premium-ranking .rank-header,
body.ui-home .premium-ranking .rank-row {
    display: grid !important;
    min-height: 4rem;
    padding: 0 1.5rem !important;
    grid-template-columns: 3.5rem 4rem minmax(11rem, 1fr) minmax(8rem, 0.55fr) 5rem !important;
    align-items: center !important;
    gap: 0.85rem !important;
    color: var(--c-text) !important;
    background: var(--c-surface-1) !important;
    border: 0 !important;
    border-top: 1px solid var(--c-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
}

body.ui-home .premium-ranking .rank-header {
    min-height: 3.25rem;
    color: var(--c-brand) !important;
    background: var(--c-surface-3) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

body.ui-home .premium-ranking .rank-row:hover {
    background: var(--c-surface-2) !important;
    transform: none !important;
}

body.ui-home .premium-ranking .col-rank {
    color: var(--c-brand) !important;
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

body.ui-home .premium-ranking .rank-row .col-rank {
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    text-align: left !important;
    transform: none !important;
}

body.ui-home .premium-ranking .rank-row .col-rank::before {
    display: none !important;
    content: none !important;
}

body.ui-home .premium-ranking .rank-header .col-rank {
    color: var(--c-brand) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
}

body.ui-home .premium-ranking .col-name {
    color: #ffffff !important;
    font-family: var(--font-sans) !important;
    font-size: 0.95rem !important;
    font-weight: 750 !important;
}

body.ui-home .premium-ranking .class-badge,
body.ui-home .premium-ranking .col-class {
    color: var(--c-accent) !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--font-ui) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
}

body.ui-home .premium-ranking .col-level {
    color: var(--c-text-secondary) !important;
    font-family: var(--font-ui) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    text-align: right !important;
}

body.ui-home .premium-ranking .rank-header.rank-header-item,
body.ui-home .premium-ranking .rank-row.rank-row-item,
.ui-home .rank-header.rank-header-item,
.ui-home .rank-row.rank-row-item {
    grid-template-columns: 3rem 3.5rem minmax(7rem, 1fr) minmax(5.5rem, 0.75fr) minmax(13rem, 1.8fr) 5rem !important;
}

.rank-row-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(250, 204, 21, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.2s;
    background: rgba(15, 23, 42, 0.8);
    display: block;
}

.rank-row:hover .rank-row-avatar-img {
    transform: scale(1.1);
    border-color: #facc15;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

/* Custom Rank Item Styling & Hover Tooltip */
.col-item-details {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rank-item-box-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
    cursor: pointer;
}

.rank-item-icon-box {
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(250, 204, 21, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.rank-row:hover .rank-item-icon-box {
    border-color: #facc15;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
    transform: scale(1.08);
}

.rank-item-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.rank-item-name-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.podium-item-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rank-item-name-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #fde047;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
    transition: color 0.15s ease, text-shadow 0.15s ease;
    min-width: 0;
}

.rank-row:hover .rank-item-name-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.7);
}

/* Hover Tooltip Card - GPU Accelerated */
.rank-tooltip-card {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(11, 17, 33, 0.97) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(250, 204, 21, 0.5) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 20px rgba(250, 204, 21, 0.2) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-width: 220px;
    max-width: 320px;
    z-index: 9999 !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: opacity 0.15s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.15s;
    text-align: left;
}

.rank-tooltip-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(250, 204, 21, 0.5) transparent transparent transparent;
}

.rank-item-box-wrap:hover .rank-tooltip-card,
.podium-item-box:hover .rank-tooltip-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.rank-tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-tooltip-header img {
    width: 38px;
    height: 38px;
    image-rendering: pixelated;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}

.rank-tooltip-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #fde047 !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.5) !important;
    word-break: break-word;
}

.rank-tooltip-plus {
    color: #f59e0b !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    margin-left: 4px;
}

.rank-tooltip-body {
    font-size: 11.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.4 !important;
}

.rank-tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.rank-tooltip-label {
    color: #94a3b8 !important;
}

.rank-tooltip-val {
    font-weight: 600 !important;
    color: #f8fafc !important;
}

/* Podium Item Card Enhanced */
.podium-item-box {
    position: relative;
    margin-top: 10px;
    margin-inline: 1.25rem !important;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(250, 204, 21, 0.45);
    border-radius: 12px;
    width: auto !important;
    max-width: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(250, 204, 21, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.podium-item-box:hover {
    transform: translateY(-2px);
    border-color: #facc15;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75), 0 0 18px rgba(250, 204, 21, 0.4);
    background: rgba(20, 30, 55, 0.95);
}

.podium-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    object-fit: contain;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 8px;
    padding: 3px;
    box-shadow: inset 0 0 8px rgba(250, 204, 21, 0.2);
    flex-shrink: 0;
}

.podium-item-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.podium-item-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #fde047;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-item-plus {
    color: #f59e0b;
    font-weight: 800;
    font-size: 16px;
    margin-top: 2px;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

body.ui-home .premium-ranking .rank-model {
    width: 2.55rem !important;
    height: 2.55rem !important;
    overflow: hidden !important;
    background:
        linear-gradient(145deg, #d7b97d, #473c2c) !important;
    border: 1px solid #cdbfaa !important;
    border-radius: 50% !important;
}

body.ui-home .ranking-empty {
    display: grid;
    min-height: 16rem;
    grid-column: 1 / -1;
    place-content: center;
    gap: 0.45rem;
    text-align: center;
}

body.ui-home .ranking-empty strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

body.ui-home .ranking-empty span {
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

body.ui-home .product-footer {
    display: block !important;
    margin-top: clamp(6rem, 10vw, 9rem);
    color: var(--c-text-secondary);
    background: var(--c-bg-sunken);
    border-top: 1px solid var(--c-border);
}

body.ui-home .product-footer-main {
    display: grid;
    width: min(calc(100% - 3rem), 86rem);
    margin: 0 auto;
    padding: clamp(4rem, 7vw, 6rem) 0;
    grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(4rem, 10vw, 10rem);
}

body.ui-home .product-footer-brand {
    max-width: 25rem;
}

body.ui-home .product-footer-logo {
    display: inline-flex;
    min-height: 4rem;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

body.ui-home .product-footer-logo img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

body.ui-home .product-footer-brand>p {
    margin: 1.15rem 0 0;
    color: var(--c-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.7;
}

body.ui-home .product-footer-social {
    display: flex;
    margin-top: 1.5rem;
    gap: 0.65rem;
}

body.ui-home .product-footer-social a {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: var(--c-text-secondary);
    background: var(--c-surface-1);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

body.ui-home .product-footer-social a:hover {
    color: var(--c-text-on-brand);
    background: var(--c-brand);
    border-color: var(--c-brand);
    transform: translateY(-2px);
}

body.ui-home .product-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
}

body.ui-home .product-footer-links>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

body.ui-home .product-footer-links strong {
    margin-bottom: 0.35rem;
    color: var(--c-brand);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.ui-home .product-footer-links a,
body.ui-home .product-footer-links button {
    min-height: 1.65rem;
    padding: 0;
    color: var(--c-text-secondary);
    background: transparent;
    border: 0;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

body.ui-home .product-footer-links a:hover,
body.ui-home .product-footer-links button:hover {
    color: #ffffff;
}

body.ui-home .product-footer-bottom {
    display: flex;
    width: min(calc(100% - 3rem), 86rem);
    min-height: 4.75rem;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--c-text-muted);
    border-top: 1px solid var(--c-border);
    font-family: var(--font-ui);
    font-size: 0.76rem;
}

body.ui-home .product-footer-bottom a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text-secondary);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

body.ui-home .product-footer-bottom a:hover {
    color: var(--c-brand);
}

@media (max-width: 64rem) {
    body.ui-home .nav-menu-primary {
        gap: 0.85rem;
    }

    body.ui-home .nav-menu-primary a {
        font-size: 0.76rem;
    }

    body.ui-home .premium-ranking .ranking-controls {
        align-items: flex-start !important;
        flex-direction: column;
    }

    body.ui-home .ranking-preview-note {
        position: static;
        order: 3;
    }

    body.ui-home .product-footer-main {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 52rem) {
    body.ui-home .premium-ranking {
        width: calc(100% - 2rem);
        margin-top: 7rem;
    }

    body.ui-home .premium-ranking .podium-section {
        padding: 2rem 1rem !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: stretch !important;
    }

    body.ui-home .premium-ranking .podium-card {
        min-height: 19rem !important;
    }

    body.ui-home .premium-ranking .podium-card:nth-child(2) {
        min-height: 22rem !important;
        grid-column: 1 / -1;
        order: -1;
    }

    body.ui-home .premium-ranking .rank-header,
    body.ui-home .premium-ranking .rank-row {
        padding-inline: 1rem !important;
        grid-template-columns: 2.25rem 3.25rem minmax(8rem, 1fr) 4.25rem !important;
        gap: 0.55rem !important;
    }

    body.ui-home .premium-ranking .rank-header .col-class,
    body.ui-home .premium-ranking .rank-row .col-class {
        display: none !important;
    }

    body.ui-home .product-footer-main,
    body.ui-home .product-footer-bottom {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 35rem) {

    body.ui-home .premium-ranking .rank-tabs,
    body.ui-home .premium-ranking .rank-filters {
        display: grid !important;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.ui-home .premium-ranking .rank-tabs .rank-tab-btn:first-child {
        grid-column: 1 / -1;
    }

    body.ui-home .premium-ranking .rank-tab-btn,
    body.ui-home .premium-ranking .rank-select {
        width: 100%;
        min-width: 0 !important;
    }

    body.ui-home .premium-ranking .podium-section {
        grid-template-columns: 1fr !important;
    }

    body.ui-home .premium-ranking .podium-card,
    body.ui-home .premium-ranking .podium-card:nth-child(2) {
        min-height: 20rem !important;
        grid-column: auto;
        order: initial;
    }

    body.ui-home .premium-ranking .podium-card:nth-child(2) {
        order: -1;
    }

    body.ui-home .premium-ranking .podium-model {
        height: 11rem !important;
        min-height: 11rem !important;
    }

    body.ui-home .premium-ranking .rank-header,
    body.ui-home .premium-ranking .rank-row {
        grid-template-columns: 2rem minmax(7rem, 1fr) 3.5rem !important;
    }

    body.ui-home .premium-ranking .rank-header .col-avatar,
    body.ui-home .premium-ranking .rank-row .col-avatar {
        display: none !important;
    }

    body.ui-home .product-footer {
        margin-top: 5rem;
    }

    body.ui-home .product-footer-main {
        padding-block: 4rem;
    }

    body.ui-home .product-footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    body.ui-home .product-footer-links>div:last-child {
        grid-column: 1 / -1;
    }

    body.ui-home .product-footer-bottom {
        padding-block: 1rem;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

/* ================================================================
   STICKY MULTILINGUAL HEADER
   ================================================================ */

body.ui-home .navbar {
    position: fixed !important;
    top: 0 !important;
    transform: translateY(0) !important;
    transition: height 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

body.ui-home .navbar.is-scrolled {
    height: 4.25rem !important;
    background: rgba(28, 18, 22, 0.96) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.28) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
}

body.ui-home .navbar.is-scrolled .nav-brand img {
    height: 2.85rem !important;
}

body.ui-home .navbar.is-scrolled .nav-item,
body.ui-home .navbar.is-scrolled .nav-menu-primary a {
    color: #e2e8f0 !important;
}

body.ui-home .navbar.is-scrolled .nav-item:hover,
body.ui-home .navbar.is-scrolled .nav-menu-primary a:hover {
    color: #fbbf24 !important;
}

body.ui-home .nav-menu-primary a[aria-current="page"] {
    color: #fbbf24 !important;
}

body.ui-home .nav-menu-primary a[aria-current="page"]::after {
    background: #fbbf24 !important;
    transform: scaleX(1);
}

body.ui-home .nav-menu-primary {
    gap: clamp(1.2rem, 2vw, 2.2rem);
}

body.ui-home .nav-menu-primary a {
    font-size: clamp(0.82rem, 0.9vw, 0.92rem);
    padding: 0 0.4rem;
    white-space: nowrap;
}

html:not([lang="en"]) body.ui-home .product-hero .hero-tagline {
    max-width: 24ch !important;
    font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
}

body.ui-home .lang-switcher {
    display: none !important;
}

body.ui-home .premium-language-menu {
    position: relative;
    z-index: 1100;
    display: block !important;
    flex: 0 0 auto;
}

body.ui-home .premium-language-current {
    display: grid;
    min-width: 8.4rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.45rem;
    color: #3e3932;
    background: var(--c-surface-1);
    border: 1px solid var(--product-line);
    border-radius: 0.15rem;
    box-shadow: none;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    cursor: pointer;
}

body.ui-home .premium-language-current:hover,
body.ui-home .premium-language-menu.open .premium-language-current {
    color: var(--product-brand);
    border-color: rgba(159, 63, 43, 0.55);
}

body.ui-home .premium-language-current img,
body.ui-home .premium-language-option img {
    display: block;
    width: 1.5rem;
    height: 1.125rem;
    object-fit: cover;
    border: 1px solid rgba(46, 39, 31, 0.12);
    box-shadow: 0 2px 5px rgba(46, 39, 31, 0.1);
}

body.ui-home .premium-language-name {
    overflow: hidden;
    font-size: 0.64rem;
    font-weight: 650;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.ui-home .premium-language-code {
    color: #81796e;
    font-size: 0.55rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

body.ui-home .premium-language-current i {
    color: #8b8378;
    font-size: 0.56rem;
    transition: transform 180ms ease;
}

body.ui-home .premium-language-menu.open .premium-language-current i {
    transform: rotate(180deg);
}

body.ui-home .premium-language-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    display: grid !important;
    width: 15rem;
    padding: 0.45rem;
    gap: 0.2rem;
    visibility: hidden;
    opacity: 0;
    color: var(--product-ink);
    background: var(--c-surface-1);
    border: 1px solid var(--product-line);
    border-radius: 0.15rem;
    box-shadow: 0 22px 55px rgba(45, 37, 27, 0.16);
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

body.ui-home .premium-language-menu.open .premium-language-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.ui-home .premium-language-option {
    display: grid;
    width: 100%;
    min-height: 3rem;
    padding: 0 0.7rem;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    color: #514b43;
    background: transparent;
    border: 0;
    border-radius: 0.1rem;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    cursor: pointer;
}

body.ui-home .premium-language-option span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: left;
}

body.ui-home .premium-language-option small {
    color: #928a7e;
    font-size: 0.56rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

body.ui-home .premium-language-option:hover {
    color: var(--product-brand);
    background: #f3eee6;
}

body.ui-home .premium-language-option.active {
    color: #fff;
    background: var(--product-brand);
}

body.ui-home .premium-language-option.active small {
    color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 85rem) {
    body.ui-home .premium-language-current {
        min-width: 4.9rem;
        grid-template-columns: 1.5rem auto auto;
    }

    body.ui-home .premium-language-name {
        display: none;
    }
}

@media (max-width: 95rem) {
    body.ui-home #loginWrapper .btn-nav-login {
        width: 2.75rem !important;
        padding: 0 !important;
    }

    body.ui-home #loginWrapper .btn-nav-login span {
        display: none !important;
    }
}

@media (max-width: 48rem) {
    body.ui-home #loginWrapper .btn-nav-login {
        width: auto !important;
        padding: 6px 14px !important;
    }

    body.ui-home #loginWrapper .btn-nav-login span {
        display: inline-block !important;
    }
}

@media (max-width: 72rem) {
    body.ui-home .premium-language-menu {
        display: block !important;
    }

    body.ui-home .nav-auth-group {
        gap: 0.4rem !important;
    }

    body.ui-home .premium-language-current {
        min-width: 4.6rem;
        padding-inline: 0.55rem;
    }
}

@media (max-width: 52rem) {
    body.ui-home .navbar.is-scrolled {
        height: 4rem !important;
    }

    body.ui-home .navbar.is-scrolled .nav-brand img {
        height: 2.55rem !important;
    }

    body.ui-home .premium-language-current {
        height: 2.65rem;
    }

    body.ui-home .premium-language-dropdown {
        position: fixed;
        top: 4.45rem;
        right: 1rem;
        width: min(15rem, calc(100vw - 2rem));
    }

    html:not([lang="en"]) body.ui-home .product-hero .hero-tagline {
        max-width: 24ch !important;
        font-size: clamp(2.2rem, 9vw, 3.4rem) !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 26rem) {
    body.ui-home .premium-language-current {
        min-width: 2.75rem;
        width: 2.75rem;
        padding: 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    body.ui-home .premium-language-code,
    body.ui-home .premium-language-current i {
        display: none;
    }
}

/* Admin access belongs to the premium action cluster, not the hidden legacy menu. */
body.ui-home #adminCashNav.nav-admin-cta,
#adminCashNav {
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: auto !important;
    min-width: 0 !important;
    height: 2.4rem !important;
    min-height: 2.4rem !important;
    padding: 0.4rem 0.9rem !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    border: 1px solid #f59e0b !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4) !important;
    cursor: pointer !important;
    font-size: 0.72rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.ui-home #adminCashNav.nav-admin-cta span,
#adminCashNav span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    clip: auto !important;
    clip-path: none !important;
}

body.ui-home #adminCashNav.nav-admin-cta i,
#adminCashNav i {
    color: #ffffff !important;
    font-size: 0.85rem !important;
}

body.ui-home #adminCashNav.nav-admin-cta:hover,
#adminCashNav:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border-color: #fbbf24 !important;
    transform: translateY(-1px) !important;
}

.admin-cash-title,
.admin-stats-title,
.admin-title-gold-flex {
    color: var(--c-text) !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.admin-title-purple-flex {
    color: #e9d5ff !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.admin-cash-subtitle,
.admin-modal-desc,
.admin-stats-reset-note {
    color: var(--c-text-muted) !important;
}

.admin-field-label {
    color: var(--c-border) !important;
    font-weight: 700 !important;
}

.admin-cash-toolbar select,
.admin-cash-toolbar label.fil,
.admin-cash-search,
.admin-input-styled {
    background: var(--c-surface-2) !important;
    color: var(--c-text) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.admin-cash-toolbar select:focus,
.admin-cash-search:focus-within,
.admin-input-styled:focus {
    border-color: #facc15 !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2) !important;
}

.admin-cash-toolbar select option,
.admin-input-styled option {
    background-color: var(--c-surface-2) !important;
    color: var(--c-text) !important;
    padding: 8px 12px !important;
}

.admin-cash-search input {
    color: var(--c-text) !important;
    background: transparent !important;
}

.admin-cash-search input::placeholder,
.admin-input-styled::placeholder {
    color: #64748b !important;
}

.admin-input-styled:-webkit-autofill,
.admin-cash-search input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--c-surface-2) inset !important;
    -webkit-text-fill-color: var(--c-text) !important;
    caret-color: var(--c-text) !important;
}

.admin-cash-table-wrap,
.admin-table-scroll-wrap {
    background: #090d16 !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-radius: 10px !important;
}

.admin-cash-table {
    background: transparent !important;
    color: var(--c-border) !important;
}

.admin-cash-table th {
    background: var(--c-surface-2) !important;
    color: #fcd34d !important;
    border-bottom: 2px solid rgba(250, 204, 21, 0.35) !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

.admin-cash-table td {
    color: var(--c-text-secondary) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.admin-cash-table tbody tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.5) !important;
}

.admin-cash-table tbody tr:hover td {
    background: rgba(250, 204, 21, 0.16) !important;
    color: #ffffff !important;
}

.admin-cash-table tbody tr.selected td {
    background: rgba(250, 204, 21, 0.24) !important;
    color: #fef08a !important;
    font-weight: 700 !important;
}

.admin-table-summary-bar {
    background: rgba(250, 204, 21, 0.1) !important;
    color: #fde68a !important;
    font-weight: 800 !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.25) !important;
}

.td-loading-muted {
    color: var(--c-text-muted) !important;
    background: rgba(15, 23, 42, 0.6) !important;
}

.admin-cash-list,
.admin-cash-panel {
    background: rgba(15, 23, 42, 0.88) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.admin-selected-box {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(15, 23, 42, 0.8)) !important;
    border: 1px solid rgba(250, 204, 21, 0.4) !important;
    border-radius: 12px !important;
}

.admin-selected-name {
    color: #fef08a !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.admin-selected-meta {
    color: var(--c-text-secondary) !important;
}

.admin-stats-card-shell,
.admin-stats-top-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.admin-stats-top-header {
    background: rgba(2, 6, 23, 0.85) !important;
    color: #fcd34d !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.admin-stat-card-green {
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

.admin-stat-label-green {
    color: #86efac !important;
}

.admin-stat-val-green {
    color: #4ade80 !important;
}

.admin-stat-card-slate {
    background: rgba(148, 163, 184, 0.12) !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
}

.admin-stat-label-slate {
    color: var(--c-text-muted) !important;
}

.admin-stat-val-slate {
    color: var(--c-bg-sunken) !important;
}

.admin-stat-card-blue {
    background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

.admin-stat-label-blue {
    color: #93c5fd !important;
}

.admin-stat-val-blue {
    color: #60a5fa !important;
}

.admin-stat-card-pink {
    background: rgba(244, 114, 182, 0.12) !important;
    border: 1px solid rgba(244, 114, 182, 0.35) !important;
}

.admin-stat-label-pink {
    color: #f472b6 !important;
}

.admin-spin-count {
    color: #f472b6 !important;
}

.admin-spin-preview {
    color: var(--c-text-secondary) !important;
}

.admin-amount-grid button {
    background: rgba(30, 41, 59, 0.9) !important;
    color: var(--c-border) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    font-weight: 800 !important;
}

.admin-amount-grid button:hover {
    background: rgba(250, 204, 21, 0.25) !important;
    color: #ffffff !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.3) !important;
}

.admin-bonus-toggle,
.admin-deduct-toggle,
.admin-promo-toggle {
    background: rgba(30, 41, 59, 0.9) !important;
    color: var(--c-text-secondary) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    font-weight: 800 !important;
}

.admin-promo-active {
    background: rgba(236, 72, 153, 0.22) !important;
    color: #f472b6 !important;
    border-color: rgba(236, 72, 153, 0.5) !important;
}

.admin-summary-box-gold {
    background: rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    color: #fde68a !important;
}

.admin-message-box-blue {
    color: #93c5fd !important;
}

.admin-cash-btn {
    background: #1e293b !important;
    color: var(--c-text) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

.admin-cash-btn:hover {
    background: #334155 !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.admin-cash-btn.primary {
    background: linear-gradient(135deg, #facc15, #d97706) !important;
    color: var(--c-surface-2) !important;
    border-color: rgba(250, 204, 21, 0.6) !important;
    font-weight: 800 !important;
}

.admin-cash-btn.secondary {
    background: rgba(30, 64, 175, 0.4) !important;
    color: #bfdbfe !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
}

.btn-admin-cyan {
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
    color: #ffffff !important;
}

.btn-admin-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
    color: #ffffff !important;
}

.admin-cash-btn.danger {
    background: rgba(185, 28, 28, 0.4) !important;
    color: #fecaca !important;
    border-color: rgba(248, 113, 113, 0.4) !important;
}

#adminCashModal ::-webkit-scrollbar,
#adminTransfersModal ::-webkit-scrollbar,
#adminVendsModal ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#adminCashModal ::-webkit-scrollbar-track,
#adminTransfersModal ::-webkit-scrollbar-track,
#adminVendsModal ::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
}

#adminCashModal ::-webkit-scrollbar-thumb,
#adminTransfersModal ::-webkit-scrollbar-thumb,
#adminVendsModal ::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 4px;
}

#adminCashModal ::-webkit-scrollbar-thumb:hover,
#adminTransfersModal ::-webkit-scrollbar-thumb:hover,
#adminVendsModal ::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 204, 21, 0.6);
    border-radius: 4px;
}

/* =========================================================
   KHAN ORIGIN — AI ASSISTANT POPUP WIDGET STYLES
   ========================================================= */

body>#khanAiWidgetContainer,
#khanAiWidgetContainer,
.khan-ai-widget-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    z-index: 2147483647 !important;
    margin: 0 !important;
    transform: none !important;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Floating Callout Teaser */
.khan-ai-callout-badge {
    background: linear-gradient(135deg, #1e1b4b, var(--c-surface-2));
    border: 1.5px solid #facc15;
    color: #fef08a;
    padding: 9px 15px;
    border-radius: 16px 16px 2px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 204, 21, 0.5);
    cursor: pointer;
    animation: aiCalloutFloat 3s infinite ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 300px;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.3s;
}

.khan-ai-callout-badge:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #38bdf8;
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.5);
    color: #ffffff;
}

.khan-ai-callout-close {
    background: transparent;
    border: none;
    color: var(--c-text-muted);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    padding: 0 3px;
}

.khan-ai-callout-close:hover {
    color: #ef4444;
}

@keyframes aiCalloutFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* Floating AI Trigger Button - Always Fixed Viewport Prominence */
.khan-ai-trigger-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 40px;
    border: 2px solid #facc15;
    background: linear-gradient(135deg, var(--c-surface-2) 0%, #1e1b4b 50%, #047857 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(250, 204, 21, 0.6), 0 0 50px rgba(6, 182, 212, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-user-select: none;
    user-select: none;
    animation: aiBtnGlowPulse 2.5s infinite ease-in-out;
}

@keyframes aiBtnGlowPulse {

    0%,
    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 204, 21, 0.5), 0 0 40px rgba(6, 182, 212, 0.3);
    }

    50% {
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.75), 0 0 40px rgba(250, 204, 21, 1), 0 0 75px rgba(6, 182, 212, 0.8);
        border-color: #38bdf8;
    }
}

.khan-ai-trigger-btn:hover {
    transform: translateY(-5px) scale(1.06);
    border-color: #ffffff;
    background: linear-gradient(135deg, #1e1b4b 0%, var(--c-surface-2) 50%, #065f46 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8), 0 0 50px rgba(250, 204, 21, 1), 0 0 80px rgba(56, 189, 248, 0.9);
    color: #ffffff;
}

.khan-ai-trigger-btn:active {
    transform: translateY(0) scale(0.97);
}

.khan-ai-trigger-icon {
    font-size: 1.4rem;
    color: #facc15;
    animation: aiIconSparkle 2.2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.9));
}

@keyframes aiIconSparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.25) rotate(14deg);
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(250, 204, 21, 1));
    }
}

.khan-ai-badge {
    position: absolute;
    top: -8px;
    right: -6px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 12px;
    border: 2px solid var(--c-surface-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

/* Chat Drawer Panel */
body>#khanAiChatPanel,
#khanAiChatPanel,
.khan-ai-chat-panel {
    position: fixed !important;
    bottom: 110px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    width: 410px;
    max-width: calc(100vw - 32px);
    height: 590px;
    max-height: calc(100vh - 140px);
    border-radius: 22px;
    border: 1.5px solid rgba(250, 204, 21, 0.35);
    background: rgba(15, 23, 42, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 50px rgba(250, 204, 21, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2147483647 !important;
}

.khan-ai-chat-panel.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Header */
.khan-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.khan-ai-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.khan-ai-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-surface-2);
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

.khan-ai-title-group h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.khan-ai-status-text {
    margin: 2px 0 0 0;
    font-size: 0.73rem;
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.khan-ai-dev-notice {
    margin: 3px 0 0 0;
    font-size: 0.68rem;
    color: #facc15;
    line-height: 1.35;
    opacity: 0.92;
}

.khan-ai-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.khan-ai-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.khan-ai-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
}

/* Quick Question Chips */
.khan-ai-chips-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
}

.khan-ai-chips-bar::-webkit-scrollbar {
    display: none;
}

.khan-ai-chip {
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.22);
    color: #fde047;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.khan-ai-chip:hover {
    background: rgba(250, 204, 21, 0.22);
    border-color: rgba(250, 204, 21, 0.6);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Chat Body */
.khan-ai-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 204, 21, 0.3) transparent;
}

.khan-ai-body::-webkit-scrollbar {
    width: 6px;
}

.khan-ai-body::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.3);
    border-radius: 4px;
}

/* Message Bubbles */
.khan-ai-msg {
    animation: aiMsgFadeIn 0.3s ease-out forwards;
    word-break: break-word;
}

@keyframes aiMsgFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.khan-ai-msg.user {
    align-self: flex-end;
    max-width: 84%;
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 18px 18px 2px 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.khan-ai-msg.ai {
    align-self: flex-start;
    max-width: 88%;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--c-bg-sunken);
    padding: 13px 17px;
    border-radius: 18px 18px 18px 2px;
    font-size: 0.88rem;
    line-height: 1.55;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.khan-ai-msg.ai strong {
    color: #fde047;
}

/* Typing indicator */
.khan-ai-typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: rgba(30, 41, 59, 0.85);
    border-radius: 18px 18px 18px 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.khan-ai-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #facc15;
    animation: aiDotBounce 1.4s infinite ease-in-out both;
}

.khan-ai-typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.khan-ai-typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes aiDotBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Input Area */
.khan-ai-input-area {
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.khan-ai-input {
    flex: 1;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
}

.khan-ai-input:focus {
    border-color: rgba(250, 204, 21, 0.6);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.2);
}

.khan-ai-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #facc15, #d97706);
    color: var(--c-surface-2);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
    flex-shrink: 0;
}

.khan-ai-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(250, 204, 21, 0.5);
    background: linear-gradient(135deg, #fde047, #f59e0b);
}

.khan-ai-send-btn:active {
    transform: scale(0.94);
}

/* =========================================================
   PREMIUM THEME TOGGLE BUTTON (SUN / MOON DYNAMIC ICON)
   ========================================================= */
.theme-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.65);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fde047;
    cursor: pointer;
    outline: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15);
    margin-right: 10px;
    z-index: 100;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    transform: translateY(-2px) scale(1.08);
    border-color: rgba(253, 224, 71, 0.5);
    box-shadow: 0 6px 22px rgba(253, 224, 71, 0.3), inset 0 1px rgba(255, 255, 255, 0.3);
    background: rgba(30, 41, 59, 0.85);
}

.theme-toggle-btn:active {
    transform: translateY(0) scale(0.95);
}

.theme-toggle-btn i {
    font-size: 1.2rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease, color 0.35s ease;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn .theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
    color: #f59e0b;
}

.theme-toggle-btn .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #fde047;
    filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.7));
}

.theme-toggle-btn.theme-animating {
    animation: themeBtnPulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes themeBtnPulse {
    0% {
        transform: scale(0.85) rotate(0deg);
    }

    50% {
        transform: scale(1.22) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Mobile drawer theme toggle item */
.mobile-theme-toggle-btn {
    background: rgba(253, 224, 71, 0.08) !important;
    border: 1px solid rgba(253, 224, 71, 0.2) !important;
    color: #fde047 !important;
    margin-bottom: 8px !important;
}

/* ── Header Mega Sub-Menu (Tiện Ích Dropdown) ── */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-item-dropdown.open .nav-dropdown-btn {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.header-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #0b0f19 !important;
    /* Solid background, no transparency blur issue */
    border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(245, 158, 11, 0.25);
    width: 720px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 100000;
}

.nav-item-dropdown:hover .header-mega-menu,
.nav-item-dropdown.open .header-mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(6px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mega-col-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f59e0b;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-menu-col a i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #f59e0b;
    transition: color 0.2s, transform 0.2s;
}

.mega-menu-col a:hover {
    color: #ffffff !important;
    background: rgba(245, 158, 11, 0.25) !important;
    transform: translateX(4px);
}

.mega-menu-col a:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Download dropdown (compact) */
.download-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.download-nav-dropdown .nav-dropdown-btn {
    gap: 5px;
}

.download-nav-dropdown .download-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #0b0f19;
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 100000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 158, 11, 0.2);
}

.download-nav-dropdown:hover .download-dropdown-menu,
.download-nav-dropdown.open .download-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(6px);
}

.download-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-dropdown-menu a i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #f59e0b;
    transition: color 0.2s, transform 0.2s;
}

.download-dropdown-menu a:hover {
    color: #ffffff !important;
    background: rgba(245, 158, 11, 0.25);
    transform: translateX(3px);
}

.download-dropdown-menu a:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

.download-dropdown-menu .download-divider {
    height: 1px;
    background: rgba(245, 158, 11, 0.2);
    margin: 4px 14px;
}

#wheelModal .modal-content,
#goldWheelModal .modal-content {
    background: linear-gradient(165deg, rgba(10, 16, 32, 0.98) 0%, rgba(18, 26, 48, 0.96) 100%) !important;
    color: var(--c-text) !important;
    border: 1px solid rgba(240, 200, 80, 0.3) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 215, 0, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   UNIFIED LUXURY DARK THEME ACTIVE
   ═══════════════════════════════════════════════════════════════════ */

/* =====================================================================
   VIETNAM NATIONAL DAY 2/9 — HÀO KHÍ NON SÔNG (LUXURY EDITION)
   Senior 10-Year Web UI/UX Special Festive Theme
   ===================================================================== */

/* 1. TOP CELEBRATION BANNER */
.national-day-topbar {
    position: relative;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(90deg, #450a0a 0%, #991b1b 20%, #dc2626 50%, #991b1b 80%, #450a0a 100%);
    border-bottom: 1.5px solid rgba(250, 204, 21, 0.65);
    box-shadow: 0 4px 25px rgba(185, 28, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
}

.national-day-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: nationalSweep 4s infinite linear;
}

@keyframes nationalSweep {
    0% { left: -100%; }
    40%, 100% { left: 150%; }
}

.national-topbar-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.national-topbar-gold {
    color: #facc15;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.85);
}

.national-flag-icon {
    font-size: 1.15rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    animation: starPulse 2.5s infinite ease-in-out;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.6)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.9)); }
}

/* 2. FESTIVE AMBIENT PARTICLES (LIGHTWEIGHT CSS FIREWORKS & STARS) */
.celebration-sparkles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ambient-star {
    position: absolute;
    color: #facc15;
    font-size: 0.85rem;
    opacity: 0.75;
    animation: starDrift 6s infinite ease-in-out;
}

@keyframes starDrift {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
    50% { opacity: 0.95; transform: translateY(-30px) rotate(180deg) scale(1.25); filter: drop-shadow(0 0 8px #facc15); }
    100% { transform: translateY(-60px) rotate(360deg) scale(0.6); opacity: 0; }
}

/* 3. HERO 2/9 BADGE & BUTTONS */
.hero-festive-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.48rem 1.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.90), rgba(70, 10, 20, 0.95));
    border: 1.5px solid rgba(250, 204, 21, 0.75);
    border-radius: 999px;
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: festiveBadgeGlow 3s infinite alternate;
}

@keyframes festiveBadgeGlow {
    0% { box-shadow: 0 0 16px rgba(250, 204, 21, 0.35), 0 0 35px rgba(220, 38, 38, 0.25); }
    100% { box-shadow: 0 0 30px rgba(250, 204, 21, 0.75), 0 0 50px rgba(220, 38, 38, 0.5); }
}

.hero-festive-badge span.star {
    color: #facc15;
    font-size: 1.05rem;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.9);
}

/* 4. LUXURY BUTTONS */
.btn-vietnam-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #fef08a 0%, #facc15 45%, #d97706 100%) !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 0.85rem !important;
    color: #140205 !important;
    font-family: var(--font-ui);
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.45), 0 0 20px rgba(220, 38, 38, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-vietnam-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: nationalSweep 3.5s infinite linear;
}

.btn-vietnam-gold:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 16px 45px rgba(250, 204, 21, 0.7), 0 0 35px rgba(220, 38, 38, 0.55) !important;
    filter: brightness(1.08);
}

.btn-vietnam-crimson {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #5c0e1a 100%) !important;
    border: 1.5px solid rgba(250, 204, 21, 0.75) !important;
    border-radius: 0.85rem !important;
    color: #ffffff !important;
    font-family: var(--font-ui);
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.45), 0 0 15px rgba(250, 204, 21, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-vietnam-crimson:hover {
    transform: translateY(-3px) scale(1.02) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 16px 45px rgba(220, 38, 38, 0.7), 0 0 30px rgba(250, 204, 21, 0.55) !important;
    color: #fef08a !important;
}

/* 5. LUXURY CARDS & GLASS ELEVATION */
.ui-page .glass-card,
.ui-page .item-card,
.ui-page .news-card,
.ui-page .podium-card,
.ui-page .rank-table-wrap,
.ui-page .vend-table-wrap,
.ui-page .admin-cash-content,
.ui-page .ai-chat-window,
.ui-page .modal-content,
.ui-page .auth-modal-content,
.ui-page .topup-card {
    border: 1.5px solid rgba(250, 204, 21, 0.28) !important;
    background: linear-gradient(145deg, rgba(35, 4, 9, 0.90), rgba(18, 2, 5, 0.96)) !important;
    box-shadow: 0 16px 45px rgba(13, 1, 3, 0.75), 0 0 25px rgba(185, 28, 28, 0.2) !important;
    backdrop-filter: blur(24px) saturate(1.25) !important;
}

.ui-page .glass-card:hover,
.ui-page .item-card:hover,
.ui-page .news-card:hover,
.ui-page .topup-card:hover {
    border-color: rgba(250, 204, 21, 0.65) !important;
    box-shadow: 0 20px 55px rgba(13, 1, 3, 0.9), 0 0 35px rgba(250, 204, 21, 0.35) !important;
    transform: translateY(-3px);
}

/* 6. NAVBAR FESTIVE STYLING */
.ui-home .navbar {
    background: linear-gradient(135deg, rgba(30, 3, 8, 0.85), rgba(50, 6, 14, 0.80)) !important;
    border: 1.5px solid rgba(250, 204, 21, 0.35) !important;
    box-shadow: 0 18px 50px rgba(13, 1, 3, 0.6), 0 0 25px rgba(220, 38, 38, 0.25) !important;
}

.ui-home .nav-brand::after {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.6) !important;
}

/* 7. TYPOGRAPHY HIGH-CONTRAST BOOST */
.ui-page h1,
.ui-page h2,
.ui-page h3,
.ui-page h4 {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 20px rgba(185, 28, 28, 0.35);
}

.ui-page .gold-text,
.ui-page .hero-title-gold,
.ui-page .accent-gold {
    color: #facc15 !important;
    text-shadow: 0 0 16px rgba(250, 204, 21, 0.75) !important;
}

/* =====================================================================
   VIETNAM 2/9 NATIONAL DAY — LUCKY WHEEL & GOLD WHEEL THEME
   Military Parade, Fighter Jets Su-30, Tanks T-90, Golden Star & Flags
   ===================================================================== */

/* 1. MODAL WRAPPER & BACKGROUND */
.wheel-vietnam-modal {
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(220, 38, 38, 0.38), transparent 65%),
        radial-gradient(circle at 15% 90%, rgba(250, 204, 21, 0.15), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(185, 28, 28, 0.25), transparent 50%),
        linear-gradient(180deg, #230d12 0%, #17090c 60%, #0f0507 100%) !important;
    border: 2px solid rgba(250, 204, 21, 0.45) !important;
    border-radius: 20px !important;
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.35), 0 25px 80px rgba(0, 0, 0, 0.9) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wheel-vietnam-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #fbbf24, #dc2626, #fbbf24);
    background-size: 200% 100%;
    animation: milSweep 4s linear infinite;
    z-index: 5;
}

@keyframes milSweep {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* 2. FESTIVE BADGE & MILITARY STRIP */
.wheel-vietnam-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.4rem 1.2rem;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(250, 204, 21, 0.2));
    border: 1px solid rgba(250, 204, 21, 0.5);
    border-radius: 30px;
    color: #fef08a;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
    animation: badgePulse29 3s ease-in-out infinite alternate;
}

@keyframes badgePulse29 {
    0% { transform: scale(0.98); box-shadow: 0 0 15px rgba(250, 204, 21, 0.25); }
    100% { transform: scale(1.02); box-shadow: 0 0 28px rgba(220, 38, 38, 0.5), 0 0 15px rgba(250, 204, 21, 0.6); }
}

.wheel-title-vn {
    font-family: var(--font-display) !important;
    font-size: 1.85rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-align: center !important;
    text-shadow: 0 0 25px rgba(250, 204, 21, 0.8), 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 0.35rem !important;
}

.wheel-subtitle-vn {
    color: #fef08a !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    margin-bottom: 0.85rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.wheel-military-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.mil-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: rgba(36, 18, 24, 0.85);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gold-wheel-warning-vn {
    background: rgba(220, 38, 38, 0.15) !important;
    border: 1px solid rgba(220, 38, 38, 0.4) !important;
    border-radius: 8px !important;
    color: #fecaca !important;
    font-size: 0.85rem !important;
    padding: 0.65rem 1rem !important;
    margin-bottom: 1.25rem !important;
    text-align: center !important;
}

/* 3. SPINS BOX VIETNAM STYLE */
.wheel-spins-box-vn,
.gold-spins-box-vn {
    background: linear-gradient(135deg, rgba(42, 20, 28, 0.95), rgba(25, 10, 15, 0.95)) !important;
    border: 1px solid rgba(250, 204, 21, 0.4) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 0 20px rgba(220, 38, 38, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    padding: 12px 20px !important;
}

/* 4. VIETNAM 2/9 CENTER CELL */
.wheel-cell-center.wheel-center-vn {
    grid-column: 2 / 6;
    grid-row: 2 / 3;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at center, rgba(220, 38, 38, 0.55) 0%, rgba(35, 10, 15, 0.98) 75%) !important;
    border: 2px solid #fbbf24 !important;
    box-shadow:
        inset 0 0 35px rgba(220, 38, 38, 0.6),
        0 0 25px rgba(250, 204, 21, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 8px 12px !important;
}

.wheel-cell-center.wheel-center-vn.gold-center-vn {
    background:
        radial-gradient(circle at center, rgba(234, 179, 8, 0.4) 0%, rgba(35, 15, 8, 0.98) 75%) !important;
    border: 2px solid #facc15 !important;
    box-shadow:
        inset 0 0 35px rgba(234, 179, 8, 0.5),
        0 0 25px rgba(250, 204, 21, 0.5) !important;
}

.wheel-center-star {
    font-size: 1.6rem;
    line-height: 1;
    color: #facc15;
    text-shadow: 0 0 16px rgba(250, 204, 21, 0.9), 0 0 30px rgba(234, 179, 8, 0.7);
    animation: starPulse29 2s ease-in-out infinite alternate;
    margin-bottom: 2px;
}

@keyframes starPulse29 {
    0% { transform: scale(0.9) rotate(-5deg); filter: drop-shadow(0 0 10px #facc15); }
    100% { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 22px #ffd700); }
}

.wheel-center-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.8), 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.wheel-center-sub {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 800;
    color: #fde047;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.7);
    margin-top: 2px;
}

.wheel-center-mil {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.wheel-jet-deco {
    position: absolute;
    font-size: 1.25rem;
    opacity: 0.85;
    pointer-events: none;
    animation: jetHover 3s ease-in-out infinite alternate;
}

.wheel-jet-deco.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.wheel-jet-deco.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

@keyframes jetHover {
    0% { transform: translateY(-50%) translateY(-4px) scale(0.95); }
    100% { transform: translateY(-50%) translateY(4px) scale(1.05); }
}

/* 5. WHEEL CELLS VIETNAM LUXURY POLISH */
.wheel-vietnam-modal .wheel-cell {
    border: 2px solid rgba(250, 204, 21, 0.25) !important;
    background: radial-gradient(circle at 50% 50%, rgba(38, 20, 27, 0.95), rgba(20, 10, 14, 0.98)) !important;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8) !important;
    border-radius: 12px !important;
}

.wheel-vietnam-modal .wheel-cell:hover {
    transform: scale(1.06) translateY(-2px);
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4), 0 0 15px rgba(250, 204, 21, 0.4) !important;
}

.wheel-vietnam-modal .wheel-cell.tier-legendary {
    border-color: #fbbf24 !important;
    background: linear-gradient(135deg, rgba(85, 20, 20, 0.95), rgba(40, 10, 12, 0.95)) !important;
    box-shadow: inset 0 0 15px rgba(250, 204, 21, 0.4), 0 0 15px rgba(220, 38, 38, 0.35) !important;
}

.wheel-vietnam-modal .wheel-cell.tier-legendary .wheel-cell-name {
    color: #fef08a !important;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.9) !important;
}

.wheel-vietnam-modal .wheel-cell.lit {
    border-color: #ffffff !important;
    background: linear-gradient(135deg, #facc15, #dc2626) !important;
    box-shadow: 0 0 25px #ffffff, 0 0 45px #facc15, 0 0 60px #dc2626 !important;
    transform: scale(1.15) !important;
}

/* 6. WHEEL BUTTONS VIETNAM CELEBRATION */
.wheel-spin-btn-vn {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%) !important;
    border: 2px solid #fbbf24 !important;
    color: #ffffff !important;
    font-family: var(--font-ui) !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transition: all 0.25s ease !important;
}

.wheel-spin-btn-vn:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #b91c1c 100%) !important;
    border-color: #fde047 !important;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.7), 0 0 25px rgba(250, 204, 21, 0.6) !important;
    transform: translateY(-2px) !important;
}

.wheel-spin10-btn-vn {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%) !important;
    border: 2px solid #ffffff !important;
    color: #17090c !important;
    font-family: var(--font-ui) !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    transition: all 0.25s ease !important;
}

.wheel-spin10-btn-vn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%) !important;
    box-shadow: 0 12px 36px rgba(245, 158, 11, 0.7), 0 0 30px rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px) !important;
}

/* 7. GLOBAL WINNERS PANEL */
.wheel-global-panel-vn {
    background: rgba(28, 14, 19, 0.95) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7) !important;
}

.wheel-global-panel-vn .wheel-winners-header {
    border-bottom: 1px solid rgba(250, 204, 21, 0.2) !important;
}

.wheel-global-panel-vn .wheel-winners-title {
    color: #fbbf24 !important;
    font-family: var(--font-ui) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   8. PREMIUM NEWS & ANNOUNCEMENTS SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.premium-news-section {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    max-width: 88rem;
    margin: 0 auto;
}

.premium-news-section .section-heading {
    margin-bottom: 2.5rem;
}

/* Filter Tabs */
.news-tabs-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-filter-tabs {
    display: inline-flex;
    background: rgba(18, 10, 14, 0.75);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 999px;
    padding: 0.35rem;
    gap: 0.35rem;
    backdrop-filter: blur(16px);
}

.news-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #94a3b8;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-tab-btn:hover {
    color: #fef08a;
    background: rgba(250, 204, 21, 0.08);
}

.news-tab-btn.active {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(220, 38, 38, 0.25));
    border-color: rgba(250, 204, 21, 0.5);
    color: #fef08a;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.3);
}

/* News Grid */
.news-grid,
.news-portal-grid,
.ui-home .news-portal-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
}

.news-card-featured {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 360px 1fr !important;
    align-items: stretch;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(30, 8, 12, 0.85), rgba(16, 4, 7, 0.95));
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 1.2rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(185, 28, 28, 0.15);
    backdrop-filter: blur(20px);
}

.news-card:hover {
    border-color: rgba(250, 204, 21, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(250, 204, 21, 0.35);
}

.news-card-featured:hover {
    border-color: #facc15;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85), 0 0 45px rgba(239, 68, 68, 0.35);
}

/* Thumbnail */
.news-card-thumb {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.news-card-featured .news-card-thumb {
    height: 100%;
    min-height: 220px;
}

.news-thumb-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb-bg {
    transform: scale(1.06);
}

.news-thumb-29 {
    background: radial-gradient(circle at center, #991b1b 0%, #450a0a 70%, #1a0205 100%);
    border-right: 1px solid rgba(250, 204, 21, 0.3);
}

.news-thumb-podium {
    background: radial-gradient(circle at center, #854d0e 0%, #451a03 70%, #170701 100%);
}

.news-thumb-notice {
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 70%, #050b14 100%);
}

.news-thumb-market {
    background: radial-gradient(circle at center, #115e59 0%, #064e3b 70%, #022c22 100%);
}

.news-thumb-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.6));
}

.news-thumb-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(220, 38, 38, 0.9);
    border: 1px solid rgba(250, 204, 21, 0.5);
    border-radius: 999px;
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

.news-thumb-badge .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #facc15;
    animation: pulseGlow 1.5s infinite;
}

/* Card Body */
.news-card-body {
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tag-event {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.tag-update {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #93c5fd;
}

.tag-notice {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fde047;
}

.tag-market {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.5);
    color: #6ee7b7;
}

.news-date {
    color: #94a3b8;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.news-card-title {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.65rem;
    transition: color 0.25s ease;
}

.news-card-featured .news-card-title {
    font-size: 1.45rem;
    color: #fef08a;
}

.news-card:hover .news-card-title {
    color: #facc15;
}

.news-card-excerpt {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.news-author {
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.news-read-more {
    color: #facc15;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.25s ease;
}

.news-card:hover .news-read-more {
    transform: translateX(4px);
}

/* News Modal */
.modal-news-content {
    max-width: 720px !important;
    background: linear-gradient(145deg, rgba(26, 6, 10, 0.98), rgba(14, 2, 4, 0.98)) !important;
    border: 1.5px solid rgba(250, 204, 21, 0.4) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(250, 204, 21, 0.2) !important;
    border-radius: 1.25rem !important;
    padding: 2.2rem !important;
}

.news-modal-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(250, 204, 21, 0.2);
    padding-bottom: 1.2rem;
}

.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
}

.news-modal-title {
    color: #fef08a;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
}

.news-modal-body {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.7;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 1.5rem;
}

.news-modal-body h4 {
    color: #facc15;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-ui);
}

.news-modal-body h5 {
    color: #f87171;
    font-size: 1.02rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-modal-body ul {
    padding-left: 1.2rem;
    margin: 0.6rem 0;
}

.news-modal-body li {
    margin-bottom: 0.4rem;
}

.news-modal-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 960px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-featured {
        grid-template-columns: 1fr;
    }
    .news-card-featured .news-card-thumb {
        height: 180px;
    }
}