@font-face {
    font-family: 'Super Waffles';
    src: url('../fonts/SuperWaffles.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #141217;
    --bg-hero: #100e14;
    --panel: #1b1720;
    --panel-hi: #221d28;
    --line: rgba(255, 255, 255, 0.08);
    --line-hi: rgba(255, 255, 255, 0.16);
    --violet: #8a46d4;
    --violet-hi: #a468e8;
    --violet-soft: #c4a5f2;
    --lavender: #917ccb;
    --gold: #f2b53d;
    --gold-hi: #ffd479;
    --pinkT: #f06fa8;
    --pinkT-hi: #ffa8cd;
    --magT: #e04ecf;
    --magT-hi: #ff8df0;
    --cyanT: #38bdf8;
    --cyanT-hi: #7dd3fc;
    --ink: #f6f3fc;
    --muted: #a99cc4;
    --muted-dim: #7d7095;
    --frost: #5eead4;
    --danger: #f87171;
    --font-ios: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'SF Pro', system-ui, -apple-system-body, sans-serif;
    --font-waffles: 'Super Waffles', var(--font-ios);
    --font-px: var(--font-ios);
    --font-round: var(--font-ios);
    --font-title: 'Daydream', var(--font-ios);
    --font-b: var(--font-ios);
    --font-fredoka: var(--font-ios);
    --font-outfit: var(--font-ios);
    --font-silkscreen: var(--font-ios);
    --font-mc: 'Minecraft', monospace, sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--violet) var(--bg);
    scrollbar-width: thin;
}

body.store-page {
    font-family: var(--font-b);
    background: #0f0d14 !important;
    background-image: radial-gradient(circle at 50% 0%, #1c1626 0%, #120f18 55%, #0b090f 100%) !important;
    background-attachment: fixed !important;
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.55;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--violet);
    border-radius: 4px;
}

::selection {
    background: var(--violet);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    border: none !important;
    outline: none !important;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--violet-hi);
    outline-offset: 3px;
}

.px-art {
    image-rendering: pixelated;
}

.gold {
    color: var(--gold);
}

.bg-fx,
.smoky-bg-layer {
    display: none !important;
}

.store-page-content,
footer {
    position: relative;
    z-index: 1;
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    background: rgba(8, 6, 16, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}

.nav-logo-svg {
    height: 38px;
    width: auto;
    max-width: 175px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform .2s ease;
    user-select: none;
}

.nav-logo:hover .nav-logo-svg {
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: 'Daydream', sans-serif;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    letter-spacing: 0.5px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    color: #38bdf8;
    background: linear-gradient(180deg, #a5f3fc 0%, #38bdf8 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 #071524) drop-shadow(0 3.5px 0 #050e18) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
    transition: transform .18s ease;
    user-select: none;
}

.nav-logo:hover .nav-logo-text {
    transform: scale(1.04);
}

.nav-items {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #b9aed3;
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .92rem;
    padding: .6rem .85rem;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    border-bottom: 3px solid transparent;
    line-height: 1.3;
    text-decoration: none !important;
}

.nav-btn:hover {
    color: #fff;
}

.nav-btn.active {
    color: #fff;
    border-bottom-color: var(--violet);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 2px solid var(--line-hi);
    padding: .6rem 1rem;
    font-family: var(--font-mc);
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.4;
    background: var(--panel);
}

.status-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background: var(--muted-dim);
    border-radius: 50%;
}

.status-dot.on {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.status-dot.unknown {
    background: var(--muted-dim);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: #5865f2;
    border: 2px solid #8b95f7;
    color: #fff;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: .92rem;
    padding: .62rem 1.15rem;
    cursor: pointer;
    transition: filter .15s, transform .15s;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .45);
    line-height: 1.4;
    text-decoration: none !important;
}

.btn-discord:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    color: #fff;
}

.btn-discord svg {
    width: 18px;
    height: 18px;
}

.account-nav-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 2px solid var(--line-hi);
    background: var(--panel);
    padding: .42rem .95rem;
    font-family: var(--font-px);
    font-size: .78rem;
    color: #fff;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .45);
}

.account-nav-pill:hover {
    border-color: var(--violet-soft);
    transform: translateY(-1px);
}

.account-nav-pill img {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    image-rendering: pixelated;
}

.account-nav-edition {
    font-family: var(--font-silkscreen);
    font-size: .62rem;
    padding: .22rem .48rem;
    background: rgba(138, 70, 212, .25);
    border: 1px solid var(--violet);
    color: var(--violet-soft);
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: 700;
}

.btn-set-user {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: var(--panel);
    border: 2px solid var(--line-hi);
    color: var(--ink);
    font-family: var(--font-px);
    font-size: .78rem;
    padding: .62rem 1rem;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .45);
}

.btn-set-user:hover {
    border-color: var(--violet-soft);
    color: #fff;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all .2s;
}

.mob-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line-hi);
    z-index: 499;
    flex-direction: column;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
}

.mob-menu.open {
    display: flex;
}

.mob-menu a.nav-btn {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    width: 100%;
    font-family: var(--font-fredoka);
    font-size: .95rem;
    font-weight: 700;
}

.mob-menu .btn-discord,
.mob-menu .btn-set-user,
.mob-menu .account-nav-pill {
    margin: .8rem 1.5rem;
    justify-content: center;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-px);
    font-size: .74rem;
    padding: .9rem 1.4rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s, box-shadow .15s, filter .15s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.5;
    text-transform: uppercase;
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .5) !important;
    filter: brightness(1.08);
}

.pill-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .5) !important;
}

.pill-amethyst {
    background: var(--violet);
    border-color: var(--violet-soft);
    color: #fff;
}

.pill-gold {
    background: var(--gold);
    border-color: var(--gold-hi);
    color: #3a2600;
}

.pill-ghost {
    background: rgba(138, 70, 212, .06);
    border-color: var(--line-hi);
    color: var(--ink);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .35) !important;
}

.pill-ghost:hover {
    border-color: var(--violet-soft);
    background: rgba(138, 70, 212, .14);
}

.store-page-content {
    min-height: 100vh;
    padding-top: 68px;
}

.sec {
    padding: 3rem clamp(1.25rem, 4vw, 3rem) 5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    padding: 3.5rem 2rem 2.25rem;
}

.page-eyebrow {
    font-family: var(--font-silkscreen);
    font-size: .68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 1.4rem;
    line-height: 1.8;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
}

.page-title::before,
.page-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--line-hi);
}

.page-title span {
    font-family: var(--font-waffles);
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg, #9d5ce6, var(--violet));
    border: 2px solid var(--violet-soft);
    padding: .85rem 1.6rem;
    box-shadow: 0 5px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.35;
    letter-spacing: 1px;
    white-space: nowrap;
}

.page-sub {
    font-size: .95rem;
    color: var(--muted);
    margin-top: 1.4rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.store-subnav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.15rem;
    margin: 0 auto 2.75rem;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
}

.subnav-btn {
    background: var(--panel);
    border: 2px solid var(--line-hi);
    border-radius: 6px;
    color: var(--muted);
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1.05rem 1.85rem;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.4;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .45) !important;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.subnav-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.subnav-btn:hover {
    border-color: var(--violet-soft);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .45), 0 0 18px rgba(138, 70, 212, .25) !important;
}

.subnav-btn:hover .subnav-icon {
    transform: scale(1.15) rotate(-3deg);
}

.subnav-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .45) !important;
}

.subnav-btn.active {
    background: var(--violet);
    border-color: var(--violet-soft);
    color: #fff;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
}

.subnav-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .5), 0 0 20px rgba(138, 70, 212, .4) !important;
}

@media (max-width: 640px) {
    .store-subnav-bar {
        gap: .65rem;
    }
    .subnav-btn {
        padding: .85rem 1.25rem;
        font-size: .74rem;
        gap: .55rem;
    }
    .subnav-icon {
        width: 24px;
        height: 24px;
    }
}

.store-panel {
    display: none;
}

.store-panel.active {
    display: block;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.rank-card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 2.1rem 1.9rem;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rank-card:hover {
    border-color: var(--violet);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--violet), 0 20px 42px rgba(138, 70, 212, .24), 0 0 24px rgba(138, 70, 212, .15);
}

.rank-card.basic {
    border-color: var(--line);
}

.rank-card.basic:hover {
    border-color: var(--cyanT);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--cyanT), 0 20px 42px rgba(56, 189, 248, .24), 0 0 24px rgba(56, 189, 248, .15);
}

.rank-card.plus {
    border-color: rgba(224, 78, 207, .35);
}

.rank-card.plus:hover {
    border-color: var(--magT);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--magT), 0 20px 42px rgba(224, 78, 207, .24), 0 0 24px rgba(224, 78, 207, .15);
}

.rank-card.prime {
    border-color: rgba(242, 181, 61, .4);
}

.rank-card.prime:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--gold), 0 20px 42px rgba(242, 181, 61, .26), 0 0 26px rgba(242, 181, 61, .18);
}

.rank-badge {
    height: 104px;
    width: 104px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55));
    border: none !important;
    outline: none !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

.rank-card:hover .rank-badge {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .75));
}

.rank-tier-lbl {
    font-family: var(--font-mc);
    font-size: .85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: .9rem;
    line-height: 1.6;
}

.rank-card.basic .rank-tier-lbl {
    color: var(--cyanT-hi);
}

.rank-card.plus .rank-tier-lbl {
    color: var(--magT-hi);
}

.rank-card.prime .rank-tier-lbl {
    color: var(--gold);
}

.rank-name {
    font-family: var(--font-waffles);
    font-weight: normal;
    font-size: 2rem;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: .7rem;
    line-height: 1.2;
}

.rank-price {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.rank-price .cur {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 700;
    margin-right: .3rem;
}

.rank-period {
    font-size: .78rem;
    color: var(--muted-dim);
    margin: .4rem 0 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.rank-perks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.rank-perks li {
    font-family: var(--font-ios);
    font-size: .92rem;
    font-weight: 500;
    color: #d1c7e8;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, color 0.18s ease;
}

.rank-perks li:hover {
    transform: translateX(4px);
    color: #ffffff;
}

.rank-perks li::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-top: .42rem;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.rank-perks li:hover::before {
    transform: scale(1.3);
}

.rank-card.basic .rank-perks li::before {
    background: var(--cyanT);
}

.rank-card.plus .rank-perks li::before {
    background: var(--magT);
}

.rank-card.prime .rank-perks li::before {
    background: var(--gold);
}

.rank-perks-btn {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--lavender);
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color .15s;
}

.rank-perks-btn:hover {
    color: #fff;
}

.rank-buy-btn {
    width: 100%;
    padding: .9rem;
    border: 2px solid;
    font-family: var(--font-px);
    font-size: .76rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.5;
}

.rank-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0, 0, 0, .5) !important;
    filter: brightness(1.12);
}

.rank-buy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .5) !important;
}

.rank-card.basic .rank-buy-btn {
    background: #0284c7;
    border-color: #38bdf8;
    color: #fff;
}

.rank-card.plus .rank-buy-btn {
    background: var(--magT);
    border-color: var(--magT-hi);
    color: #fff;
}

.rank-card.prime .rank-buy-btn {
    background: var(--gold);
    border-color: var(--gold-hi);
    color: #3a2600;
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-round);
    font-size: .66rem;
    letter-spacing: 0.5px;
    background: var(--gold);
    color: #3a2600;
    padding: .45rem .85rem;
    border: 2px solid var(--gold-hi);
    box-shadow: 0 3px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.4;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rank-card:hover .popular-badge {
    transform: translateX(-50%) translateY(-3px) scale(1.06);
}

.custom-rank-featured {
    background: var(--panel);
    border: 2px solid rgba(242, 181, 61, .45);
    padding: 2.25rem 2.25rem 2rem;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    margin-bottom: 3.5rem;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-rank-featured:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 0 0 1px var(--gold), 0 22px 48px rgba(242, 181, 61, .22), 0 0 30px rgba(242, 181, 61, .14);
}

.custom-rank-featured:hover .rank-badge {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .75));
}

.custom-top-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-round);
    font-size: .7rem;
    background: linear-gradient(90deg, #f2b53d, #e04ecf);
    color: #fff;
    padding: .48rem 1rem;
    border: 2px solid var(--gold-hi);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.4;
    white-space: nowrap;
    letter-spacing: 0.8px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-rank-featured:hover .custom-top-badge {
    transform: translateX(-50%) translateY(-3px) scale(1.05);
}

.custom-card-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.custom-card-left {
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 2.5rem;
}

.custom-card-left .rank-badge {
    margin-bottom: 1rem;
}

.custom-card-left .rank-tier-lbl {
    font-family: var(--font-mc);
    font-size: .85rem;
    color: var(--gold);
}

.custom-card-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.custom-perks-title {
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--lavender);
}

.custom-bullets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1.5rem;
}

.custom-bullets-grid li {
    font-family: var(--font-ios);
    font-size: .92rem;
    font-weight: 500;
    color: #d1c7e8;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, color 0.18s ease;
}

.custom-bullets-grid li:hover {
    transform: translateX(4px);
    color: #fff;
}

.custom-bullets-grid li::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-top: .42rem;
    flex-shrink: 0;
    background: var(--gold);
    transition: transform 0.18s ease;
}

.custom-bullets-grid li:hover::before {
    transform: scale(1.3);
}

.custom-buy-btn {
    padding: .95rem 1.6rem;
    background: linear-gradient(90deg, #f2b53d, #ffd479);
    border: 2px solid #fff;
    color: #3a2600;
    font-family: var(--font-px);
    font-size: .78rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .55) !important;
    line-height: 1.5;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.custom-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0, 0, 0, .55) !important;
    filter: brightness(1.12);
}

.custom-buy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .55) !important;
}

.rank-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-hi);
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 4rem;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.rank-table th,
.rank-table td {
    padding: .95rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: .88rem;
    text-align: center;
}

.rank-table th:first-child,
.rank-table td:first-child {
    text-align: left;
}

.rank-table thead tr {
    background: var(--panel-hi);
}

.rank-table th {
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.6;
}

.th-sculk {
    color: var(--cyanT-hi) !important;
}

.th-sculk-plus {
    color: var(--magT-hi) !important;
}

.th-warden {
    color: var(--gold) !important;
}

.th-custom {
    color: #e04ecf !important;
}

.rank-table td {
    font-family: var(--font-ios);
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
}

.rank-table tbody tr {
    transition: background 0.18s ease;
}

.rank-table tbody tr:hover {
    background: rgba(138, 70, 212, .12);
}

.ck {
    color: #4ade80;
    font-weight: 900;
}

.cx {
    color: var(--muted-dim);
}

.fair-play-banner {
    background: var(--panel);
    border: 1px solid var(--line-hi);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    max-width: 960px;
    margin: 0 auto 2.75rem;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}

.fair-play-banner:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.fair-play-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--cyanT) 100%);
}

.fair-play-icon {
    color: var(--cyanT);
    font-size: 2.1rem;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.4));
}

.fair-play-content {
    text-align: left;
    flex: 1;
}

.fair-play-title {
    color: var(--gold-hi);
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.4px;
    margin-bottom: .35rem;
}

.fair-play-desc {
    margin: 0;
    font-family: var(--font-ios);
    font-size: .92rem;
    color: #c9c0dc;
    line-height: 1.55;
}

.fair-play-desc strong {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 640px) {
    .fair-play-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.25rem;
        gap: .85rem;
    }
}

.crate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.crate-card {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.crate-card:hover {
    border-color: var(--violet);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--violet), 0 20px 42px rgba(138, 70, 212, .24), 0 0 24px rgba(138, 70, 212, .15);
}

.crate-card.basic {
    border-color: var(--line);
}

.crate-card.basic:hover {
    border-color: var(--cyanT);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--cyanT), 0 20px 42px rgba(56, 189, 248, .22), 0 0 24px rgba(56, 189, 248, .15);
}

.crate-card.plus {
    border-color: rgba(224, 78, 207, .35);
}

.crate-card.plus:hover {
    border-color: var(--magT);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--magT), 0 20px 42px rgba(224, 78, 207, .22), 0 0 24px rgba(224, 78, 207, .15);
}

.crate-card.prime {
    border-color: rgba(242, 181, 61, .4);
}

.crate-card.prime:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px var(--gold), 0 20px 42px rgba(242, 181, 61, .24), 0 0 26px rgba(242, 181, 61, .16);
}

.crate-card.ultimate {
    border-color: rgba(168, 85, 247, .45);
}

.crate-card.ultimate:hover {
    border-color: #c084fc;
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px #c084fc, 0 20px 42px rgba(168, 85, 247, .28), 0 0 26px rgba(168, 85, 247, .18);
}

.crate-badge {
    height: 124px;
    width: 124px;
    object-fit: contain;
    border-radius: 14px;
    margin: 0 auto 1.4rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .6));
    border: none !important;
    outline: none !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

.crate-card:hover .crate-badge {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .8));
}

.crate-tier-lbl {
    font-family: var(--font-mc);
    font-size: .92rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.crate-card.basic .crate-tier-lbl {
    color: var(--cyanT-hi);
}

.crate-card.plus .crate-tier-lbl {
    color: var(--magT-hi);
}

.crate-card.prime .crate-tier-lbl {
    color: var(--gold);
}

.crate-card.ultimate .crate-tier-lbl {
    color: #d8b4fe;
}

.crate-name {
    font-family: var(--font-waffles);
    font-weight: normal;
    font-size: 2.3rem;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.crate-price {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 2.15rem;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: .5rem;
}

.crate-price .cur {
    font-size: .92rem;
    color: var(--muted);
    font-weight: 700;
    margin-right: .35rem;
}

.crate-desc-txt {
    font-family: var(--font-ios);
    font-size: .9rem;
    font-weight: 450;
    color: var(--muted-dim);
    margin: .5rem 0 1.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
    line-height: 1.6;
}

.crate-rewards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 2rem;
    text-align: left;
}

.crate-rewards li {
    font-family: var(--font-ios);
    font-size: .98rem;
    font-weight: 500;
    color: #d1c7e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .25rem 0;
    line-height: 1.55;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, color 0.18s ease;
}

.crate-rewards li:hover {
    transform: translateX(4px);
    color: #ffffff;
}

.reward-item-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.reward-bullet {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.18s ease;
}

.crate-rewards li:hover .reward-bullet {
    transform: scale(1.3);
}

.crate-card.basic .reward-bullet { background: var(--cyanT); }
.crate-card.plus .reward-bullet { background: var(--magT); }
.crate-card.prime .reward-bullet { background: var(--gold); }
.crate-card.ultimate .reward-bullet { background: #c084fc; }

.reward-name {
    white-space: normal;
}

.key-rar {
    font-family: var(--font-silkscreen);
    font-weight: 700;
    font-size: .68rem;
    padding: .28rem .55rem;
    border: 1px solid;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.4;
    text-transform: uppercase;
}

.rar-c { color: #a8a0b8; border-color: #a8a0b8; }
.rar-u { color: #60a5fa; border-color: #60a5fa; }
.rar-r { color: var(--frost); border-color: var(--frost); }
.rar-e { color: var(--violet-soft); border-color: var(--violet-soft); }
.rar-l { color: var(--gold); border-color: var(--gold); }

.crate-buy-btn {
    width: 100%;
    padding: 1.05rem 1.5rem;
    font-family: var(--font-px);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
    margin-top: auto;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .55) !important;
    line-height: 1.5;
    letter-spacing: 0.8px;
}

.crate-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0, 0, 0, .55) !important;
    filter: brightness(1.12);
}

.crate-buy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .55) !important;
}

.crate-card.basic .crate-buy-btn {
    border: 2px solid var(--cyanT);
    background: var(--cyanT);
    color: #03141a;
}
.crate-card.basic .crate-buy-btn:hover {
    background: var(--cyanT-hi);
    border-color: var(--cyanT-hi);
}

.crate-card.plus .crate-buy-btn {
    border: 2px solid var(--magT);
    background: var(--magT);
    color: #fff;
}
.crate-card.plus .crate-buy-btn:hover {
    background: var(--magT-hi);
    border-color: var(--magT-hi);
}

.crate-card.prime .crate-buy-btn {
    border: 2px solid var(--gold-hi);
    background: var(--gold);
    color: #3a2600;
}
.crate-card.prime .crate-buy-btn:hover {
    background: var(--gold-hi);
    border-color: var(--gold-hi);
}

.crate-card.ultimate .crate-buy-btn {
    border: 2px solid #a855f7;
    background: linear-gradient(135deg, #7c3aed, #0ea5e9);
    color: #fff;
}
.crate-card.ultimate .crate-buy-btn:hover {
    filter: brightness(1.15);
}

.info-tabs {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 2.5rem;
}

.info-tab {
    background: var(--panel);
    border: 2px solid var(--line-hi);
    color: var(--muted);
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: .9rem 1.4rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.5;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .4) !important;
}

.info-tab:hover {
    border-color: var(--violet-soft);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, .4), 0 0 14px rgba(138, 70, 212, .2) !important;
}

.info-tab.active {
    background: var(--violet);
    border-color: var(--violet-soft);
    color: #fff;
}

.info-panel {
    display: none;
}

.info-panel.active {
    display: block;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rule-block {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: border-color .2s;
}

.rule-block:hover {
    border-color: var(--violet);
}

.rule-block-ttl {
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding-bottom: .95rem;
    border-bottom: 1px solid var(--line);
    color: var(--lavender);
    line-height: 1.5;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.rule-list li {
    font-family: var(--font-ios);
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    gap: .65rem;
    line-height: 1.6;
}

.rule-list li::before {
    content: '▸';
    color: var(--violet-hi);
    flex-shrink: 0;
}

.faq-item {
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    background: var(--panel);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
    transition: border-color .2s;
}

.faq-item:hover {
    border-color: var(--line-hi);
}

.faq-item.open {
    border-color: var(--violet);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: var(--panel);
    border: none;
    color: var(--ink);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-q:hover {
    background: var(--panel-hi);
}

.faq-q .plus {
    font-family: var(--font-silkscreen);
    color: var(--violet-hi);
    transition: transform .2s;
    flex-shrink: 0;
    font-size: .88rem;
}

.faq-item.open .faq-q .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.faq-item.open .faq-a {
    max-height: 400px;
}

.faq-a p {
    font-family: var(--font-ios);
    padding: 0 1.5rem 1.25rem;
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.75;
}

footer {
    border-top: 1px solid var(--line-hi);
    background: #0a0810;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1.1rem;
}

.footer-logo-text {
    font-family: 'Daydream', sans-serif;
    font-size: 1.85rem;
    letter-spacing: 0.5px;
    line-height: 1;
    display: inline-block;
    text-transform: uppercase;
    color: #38bdf8;
    background: linear-gradient(180deg, #a5f3fc 0%, #38bdf8 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 #071524) drop-shadow(0 3.5px 0 #050e18) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
    margin-bottom: .6rem;
    user-select: none;
    transition: transform .18s ease, filter .18s ease;
}

.footer-logo-svg {
    height: 34px;
    width: auto;
    max-width: 165px;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
    transition: transform .2s ease;
    user-select: none;
    margin-bottom: .6rem;
}

.footer-brand:hover .footer-logo-svg {
    transform: scale(1.04);
}

.footer-logo-text:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 2px 0 #071524) drop-shadow(0 3.5px 0 #050e18) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.footer-desc {
    font-size: .83rem;
    color: var(--muted-dim);
    line-height: 1.7;
    max-width: 290px;
}

.footer-col-ttl {
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.footer-links a {
    font-size: .86rem;
    color: var(--muted);
    transition: color .15s;
    text-decoration: none !important;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-outfit);
    font-size: .84rem;
    color: var(--muted-dim);
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 4, 14, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--panel);
    border: 2px solid var(--line-hi);
    max-width: 440px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, .5), 0 0 60px rgba(0, 0, 0, .6) !important;
    animation: modalPop .2s cubic-bezier(.22, 1, .36, 1);
}

.modal-box.wide {
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--line-hi);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .85) !important;
    overflow: hidden;
}

.modal-box.wide .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.35rem 1.6rem;
    scrollbar-width: thin;
    scrollbar-color: var(--violet) var(--bg);
}

.modal-box.wide .modal-footer {
    padding: 0.95rem 1.6rem;
    border-top: 1px solid var(--line);
    background: var(--panel-hi);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--line-hi);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-round);
    font-size: 1.15rem;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color .15s;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
}

.modal-powered {
    font-family: var(--font-silkscreen);
    font-size: .62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 1.4rem;
    line-height: 1.8;
}

.modal-line {
    display: flex;
    justify-content: space-between;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .86rem;
    color: var(--muted);
    gap: 1rem;
}

.modal-line .val {
    color: #fff;
    font-weight: 800;
    font-family: var(--font-outfit);
    font-size: .95rem;
    flex-shrink: 0;
}

.modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    border-top: 2px solid var(--line-hi);
    margin-top: .5rem;
}

.modal-total-label {
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: 1px;
    color: var(--muted);
}

.modal-total-val {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--gold);
    line-height: 1.4;
}

.modal-buy {
    width: 100%;
    padding: .95rem;
    background: var(--violet);
    border: 2px solid var(--violet-soft);
    color: #fff;
    font-family: var(--font-px);
    font-size: .78rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .15s;
    margin-top: 1.25rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
    line-height: 1.5;
}

.modal-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, .5) !important;
    filter: brightness(1.08);
}

.modal-buy:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .5) !important;
}

.modal-discord {
    border: 2px solid #5865f2;
    background: rgba(88, 101, 242, .09);
    padding: 1rem 1.1rem;
    margin-top: 1.15rem;
}

.md-title {
    font-family: var(--font-px);
    font-size: .62rem;
    color: #8b95f7;
    text-transform: uppercase;
    margin-bottom: .55rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

.modal-discord p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: .85rem;
}

.md-join {
    display: block;
    text-align: center;
    background: #5865f2;
    border: 2px solid #8b95f7;
    color: #fff;
    font-family: var(--font-px);
    font-size: .62rem;
    padding: .8rem;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .45) !important;
    transition: filter .15s, transform .15s;
    text-transform: uppercase;
    line-height: 1.5;
}

.md-join:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #fff;
}

.md-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #5865f2;
    color: #fff;
    font-family: var(--font-px);
    font-size: .55rem;
    margin-right: .4rem;
    flex-shrink: 0;
}

.md-p2 {
    margin-top: .85rem;
}

.modal-discord p b {
    color: #fff;
}

.md-skip {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--muted-dim);
    font-size: .72rem;
    margin-top: .6rem;
    cursor: pointer;
    text-decoration: underline;
}

.md-skip:hover {
    color: var(--muted);
}

.modal-footer {
    padding: 0 1.5rem 1.35rem;
    font-size: .72rem;
    color: var(--muted-dim);
    text-align: center;
    line-height: 1.6;
}

.edition-toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.edition-btn {
    padding: .85rem;
    background: var(--panel-hi);
    border: 2px solid var(--line-hi);
    color: var(--muted);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .45) !important;
    transition: all .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.edition-btn.active {
    background: var(--violet);
    border-color: var(--violet-soft);
    color: #fff;
}

.edition-btn i {
    font-size: 1rem;
}

.store-form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-fredoka);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: .6rem;
}

.username-input-wrap {
    position: relative;
}

.username-input {
    width: 100%;
    background: #09070f;
    border: 2px solid var(--line-hi);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    padding: .9rem 1.1rem;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: border-color .15s;
}

.username-input:focus {
    border-color: var(--violet);
}

.validation-feedback {
    font-size: .76rem;
    margin-top: .5rem;
    line-height: 1.4;
}

.validation-feedback.error {
    color: var(--danger);
}

.validation-feedback.success {
    color: #4ade80;
}

.validation-feedback.info {
    color: var(--muted-dim);
}

.player-preview-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--panel-hi);
    border: 1px solid var(--line);
    padding: .85rem 1.1rem;
    margin-bottom: 1.25rem;
}

.preview-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    image-rendering: pixelated;
    background: #000;
    border: none !important;
    outline: none !important;
}

.preview-name {
    font-family: var(--font-px);
    font-size: .75rem;
    color: #fff;
    line-height: 1.4;
}

.preview-edition {
    font-size: .72rem;
    color: var(--muted-dim);
}

.perks-modal-top {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
}

.perks-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    border: none !important;
    outline: none !important;
    flex-shrink: 0;
}

.perks-modal-meta {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.perks-modal-title {
    font-family: var(--font-ios);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 0;
}

.perks-modal-price {
    font-family: var(--font-outfit);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
}

#perksModalCategories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.75rem;
    margin-bottom: 1.25rem;
}

.perks-category-box {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.perks-category-title {
    font-family: var(--font-mc), monospace;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold-hi);
    margin-bottom: .55rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.perks-category-list {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.perks-category-list li {
    font-family: var(--font-ios);
    font-size: .9rem;
    font-weight: 400;
    color: #d1c7e8;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    line-height: 1.48;
}

.perks-category-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyanT);
    margin-top: .45rem;
    flex-shrink: 0;
    border-radius: 1px;
}

.perks-kit-showcase {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .8rem 1.1rem;
    margin-top: .8rem;
    margin-bottom: .25rem;
}

.perks-kit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    flex-wrap: wrap;
}

.perks-kit-info {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.perks-kit-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.perks-kit-item-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.perks-kit-item-icon:hover {
    transform: scale(1.15) rotate(-4deg);
}

.perks-kit-heading {
    font-family: var(--font-ios);
    font-size: .88rem;
    font-weight: 700;
    color: #ffffff;
    display: inline;
    margin-right: .4rem;
}

.perks-kit-sub {
    font-family: var(--font-ios);
    font-size: .78rem;
    color: var(--muted-dim);
}

.btn-toggle-kit {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-hi);
    color: var(--ink);
    font-family: var(--font-ios);
    font-weight: 600;
    font-size: .78rem;
    padding: .4rem .85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn-toggle-kit:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.perks-kit-preview-panel {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
    animation: fadeInKit .2s ease;
}

@keyframes fadeInKit {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.perks-kit-img-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line-hi);
    background: #09070f;
    max-width: 100%;
}

.perks-kit-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.perks-kit-img:hover {
    transform: scale(1.01);
}

.perks-kit-overlay-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(10, 8, 16, 0.88);
    border: 1px solid var(--line);
    color: var(--cyanT-hi);
    font-family: var(--font-mc);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-buy-perks {
    padding: .75rem 1.6rem;
    background: var(--gold);
    border: 2px solid var(--gold-hi);
    color: #3a2600;
    font-family: var(--font-px);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .4) !important;
    line-height: 1.4;
    transition: transform .15s, box-shadow .15s, filter .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.modal-buy-perks:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, .4) !important;
    filter: brightness(1.08);
}

.modal-buy-perks:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .4) !important;
}

.perks-footer-note {
    font-size: .76rem;
    color: var(--muted-dim);
    line-height: 1.4;
}

@media(max-width:680px) {
    #perksModalCategories {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
    .modal-box.wide .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .modal-buy-perks {
        width: 100%;
    }
    .perks-footer-note {
        text-align: center;
    }
}

@media(max-width:1240px) {
    .crate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media(max-width:1120px) {
    .nav-items {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

@media(max-width:1000px) {
    .rank-grid {
        grid-template-columns: 1fr;
    }
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .custom-card-grid {
        grid-template-columns: 1fr;
    }
    .custom-card-left {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:680px) {
    .crate-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .crate-card {
        padding: 2.2rem 1.6rem;
    }
    .crate-badge {
        height: 104px;
        width: 104px;
    }
    .crate-name {
        font-size: 1.95rem;
    }
}

@media(max-width:640px) {
    .sec {
        padding: 2.5rem 1.25rem 4rem;
    }
    .page-title {
        gap: .9rem;
    }
    .page-title span {
        white-space: normal;
        font-size: 1rem;
    }
    .custom-bullets-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-right .status-pill {
        display: none;
    }
}
