:root {
  color-scheme: dark;
  --bg: #20272c;
  --bg-deep: #171e23;
  --panel: #30383e;
  --panel-2: #293137;
  --panel-3: #252d32;
  --line: #232b30;
  --text: #f2f5f9;
  --muted: #a9b3bf;
  --dim: #728191;
  --blue: #6ea0fa;
  --blue-hover: #85b0ff;
  --blue-deep: #3d75dc;
  --green: #55d49b;
  --danger: #ff8585;
  --shadow: 0 8px 0 rgba(6, 12, 17, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(110,160,250,.7); outline-offset: 3px; }
.wrap { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: relative; overflow: hidden; min-height: 398px; isolation: isolate; border-bottom: 4px solid #11191f; background: #1a2535; }
.hero-scene { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(17,26,40,.88), rgba(13,32,57,.52) 50%, rgba(14,25,41,.78)), url('../assets/background.png') center/cover no-repeat; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(36,112,227,.23), transparent 55%), linear-gradient(180deg, rgba(9,17,28,.04), rgba(8,14,18,.64)); }
.topline { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { filter: drop-shadow(0 5px 12px rgba(0,0,0,.25)); }
.brand span { display: grid; line-height: 1.12; letter-spacing: .12em; }
.brand strong { font-size: 17px; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .36em; margin-top: 5px; }
.hero-links { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3.2vw, 54px); }
.hero-links a { color: #aab8cb; font-size: 15px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; transition: color .15s; }
.hero-links a:hover { color: white; }
.cart-top { display: flex; align-items: center; gap: 10px; padding: 12px 17px; border: 1px solid rgba(126,168,237,.25); border-radius: 999px; background: rgba(110,160,250,.14); color: #dce8ff; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; white-space: nowrap; }
.cart-top b, .sidebar-cart-count { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 50%; background: var(--blue); color: #16273f; font-size: 12px; }
.hero-content { position: relative; display: grid; grid-template-columns: 1fr 230px 1fr; align-items: center; min-height: 236px; gap: 30px; }
.hero-emblem { width: min(200px, 100%); height: auto; justify-self: center; filter: drop-shadow(0 18px 16px rgba(0,0,0,.44)); }
.hero-side { display: flex; flex-direction: column; gap: 7px; color: var(--blue); }


.hero-side-left {
    align-items: flex-end;
    text-align: right;
}

.server-count-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-summary-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.server-summary-text .eyebrow {
    font-size: 10px;
    color: #a3b4c7;
    letter-spacing: 0.09em;
}

.server-summary-text strong {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.12em;
}


.hero-side-right { align-items: flex-start; text-align: left; }
.hero-side .eyebrow { font-size: 10px; color: #a3b4c7; letter-spacing: .09em; }
.hero-side strong { color: white; font-size: 13px; letter-spacing: .18em; }
.hero-side strong span { color: #e0e8f5; font-weight: 500; }
.hero-side-right a { display: flex; align-items: center; gap: 12px; font-size: 25px; color: var(--blue); }
.hero-side-right a strong { display: inline-flex; align-items: baseline; flex-wrap: nowrap; white-space: nowrap; gap: 6px; font-size: 11px; letter-spacing: .15em; text-align: left; }
.hero-side-right a strong span { font-size: 13px; }
.hero-side-right small { color: #93a9c3; font-size: 11px; }

/* Balance the server and Discord header elements */
.hero-side strong {
    font-size: 12px;
    letter-spacing: 0.12em;
}


.server-ip {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #6ea0fa;
    color: #152c4c;
    line-height: 1;
}

.server-ip .mdi {
    font-size: 35px;
}


/* Discord logo: match the cube icon without the oversized blue tile */
.discord-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: transparent;
    color: var(--blue);
    border-radius: 0;
    font-size: 24px;
    filter: none;
}

.discord-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.discord-summary {
    gap: 10px;
}

.discord-summary-text small {
    font-size: 10px;
    letter-spacing: 0.09em;
}

.discord-summary-text strong {
    font-size: 12px;
    letter-spacing: 0.12em;
}

@media (max-width: 700px) {
    .hero-side strong {
        font-size: 9px;
        letter-spacing: 0.04em;
    }

    .server-ip .mdi {
        font-size: 22px;
    }

    .discord-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .discord-icon svg {
        width: 24px;
        height: 24px;
    }

    .discord-summary-text small {
        font-size: 7px;
    }

    .discord-summary-text strong {
        font-size: 7px;
        letter-spacing: 0.05em;
    }
}

.hero-caption { color: #9db6d8; font-size: 10px; font-weight: 800; letter-spacing: .24em; padding: 0 0 22px; text-align: center; }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(85,212,155,.13); margin-right: 8px; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; padding-top: 30px; padding-bottom: 45px; align-items: start; }
.store-column { min-width: 0; }
.section-nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px; padding: 10px; margin-bottom: 26px; background: var(--panel); border: 1px solid #333b42; border-radius: 5px; box-shadow: var(--shadow); }
.section-nav a { padding: 9px 19px; color: #a7b1bc; border-radius: 24px; font-size: 13px; font-weight: 800; transition: background .15s, color .15s; }
.section-nav a:hover, .section-nav a.active { color: var(--blue); background: #283137; }
/* Keep category navigation text-only even if older markup adds icon elements. */
.section-nav a::before, .section-nav a::after { content: none !important; display: none !important; }
.section-nav a > i, .section-nav a > svg, .section-nav a > .mdi,
.section-nav a > .nav-icon, .section-nav a > .icon, .section-nav a > .basket-icon { display: none !important; }
/* Checkout belongs in the sidebar, never inside the category navigation. */
.section-nav .sidebar-checkout, .section-nav a[href*="checkout.html"] { display: none !important; }

.panel { background: var(--panel); border: 1px solid rgba(255,255,255,.02); border-radius: 12px; box-shadow: var(--shadow); }
.welcome-panel { padding: 24px 30px 28px; margin-bottom: 34px; }
.panel-title { color: var(--blue); font-size: 14px; text-align: center; font-weight: 900; letter-spacing: .03em; }
.left-title { text-align: left; }
.title-rule { height: 1px; background: rgba(110,160,250,.6); margin: 15px 0 22px; }
.welcome-panel h1 { font-size: 20px; margin: 0 0 21px; }
.welcome-panel p { color: #bec7d1; font-size: 15px; margin: 7px 0; }
.muted { color: var(--muted) !important; }
.subtle-note { color: #94a2b2; font-size: 11px; line-height: 1.55; margin: 9px 0 0; }
.text-button { color: var(--blue); border: 0; background: none; text-decoration: underline; padding: 0; }
.catalog-section { margin-bottom: 38px; scroll-margin-top: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 4px 18px; }
.section-heading .eyebrow { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2 { font-size: 26px; line-height: 1.2; margin: 4px 0 0; }
.heading-icon { display: grid; place-items: center; border: 1px solid rgba(110,160,250,.24); width: 40px; height: 40px; border-radius: 50%; color: var(--blue); background: #29343b; font-size: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { padding: 18px 15px 17px; text-align: center; background: var(--panel); border: 1px solid #343e45; border-radius: 12px; box-shadow: 0 7px 0 rgba(4,8,11,.22); min-width: 0; display: flex; flex-direction: column; align-items: center; }
.product-artwork { width: 100%; min-height: 170px; display: grid; place-items: center; border-radius: 7px; background: radial-gradient(ellipse at 50% 68%, rgba(15,20,25,.65), transparent 66%), linear-gradient(145deg, #796845, #5f5239); overflow: hidden; }
.product-artwork img { width: min(180px, 88%); height: 165px; object-fit: contain; filter: drop-shadow(0 10px 7px rgba(0,0,0,.35)); transition: transform .18s; }
.product-card:hover .product-artwork img { transform: translateY(-4px) scale(1.035); }
.product-card h3 { font-size: 15px; margin: 14px 0 2px; font-weight: 850; }
.product-description { color: #acb8c6; font-size: 12px; min-height: 37px; margin: 0 0 4px; }
.product-price { margin: 3px 0 14px; font-size: 14px; font-weight: 800; }
.product-price span { color: #97a7b9; font-size: 10px; font-weight: 600; }
.primary-button, .outline-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 10px 21px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 850; box-shadow: 0 4px 0 var(--blue-deep); transition: background .15s, transform .15s; }
.primary-button:hover { background: var(--blue-hover); }
.primary-button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-deep); }
.primary-button:disabled { opacity: .56; cursor: not-allowed; }
.product-buy { width: 100%; margin-top: auto; padding: 9px 18px; }
.buy-cart { font-size: 17px; transform: rotate(180deg); }
.sidebar { display: grid; gap: 18px; position: sticky; top: 16px; }
.sidebar-checkout { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 24px 20px; background: var(--blue); color: white; box-shadow: 0 5px 0 var(--blue-deep); font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.basket-icon { font-size: 26px; color: #17263c; filter: drop-shadow(0 3px 2px rgba(0,0,0,.28)); }
.sidebar-cart-count { margin-left: auto; color: #17263c; }
.coin-shower-card, .server-card { padding: 21px 19px; }
.coin-shower-card img { display: block; width: 92%; height: 170px; object-fit: contain; margin: 14px auto 8px; }
.progress-label { display: flex; justify-content: space-between; color: #d9e1eb; font-size: 13px; margin-bottom: 8px; }
.progress-label strong { color: var(--blue); }
.progress-track { width: 100%; height: 17px; background: #232b31; border-radius: 5px; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #397be7, #7aacff); }
.status-line { display: flex; align-items: center; gap: 4px; margin: 16px 0 1px; }
.status-line strong { color: #e4eee9; font-size: 13px; }
.server-card > .muted { font-size: 11px; }
.server-address { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; padding: 10px; border: 1px solid #414d56; border-radius: 7px; background: #273137; color: #dfe8f5; font-size: 11px; }
.server-address span { color: var(--blue); font-weight: 800; }
.empty-category { display: flex; flex-direction: column; gap: 5px; padding: 23px; color: #b6c2cf; font-size: 13px; }
.empty-category strong { color: var(--text); }
.empty-category code { color: var(--blue); font-size: 12px; }
.support-panel { padding: 21px 25px 25px; margin-top: 5px; }
.support-panel p { color: #bac4cf; font-size: 13px; }
.outline-button { background: transparent; border: 1px solid rgba(110,160,250,.7); box-shadow: none; color: var(--blue); padding: 8px 17px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; justify-content: space-between; padding-top: 24px; padding-bottom: 30px; border-top: 1px solid #303940; color: #9aa8b7; font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--blue); }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #d9e1ec; font-weight: 800; letter-spacing: .1em; }
.footer-brand img { opacity: .86; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 20; max-width: calc(100% - 30px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: #10171c; border: 1px solid #3c4a56; color: #f5f8fd; padding: 12px 18px; border-radius: 9px; box-shadow: 0 10px 30px #0005; font-size: 13px; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Checkout */
.checkout-body { min-height: 100vh; background: linear-gradient(180deg, #20272c 0, #20272c 100%); }
.checkout-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #313a41; }
.checkout-nav { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 45px); }
.checkout-nav a { color: #aeb8c4; font-weight: 750; font-size: 14px; }
.checkout-nav a:hover { color: var(--blue); }
.checkout-main { padding-top: 31px; padding-bottom: 42px; }
.checkout-panel { padding: 26px 29px 34px; }
.checkout-title-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 19px; }
.checkout-title-row h1 { margin: 0; font-size: 18px; color: var(--blue); font-weight: 900; }
.checkout-total { color: var(--blue); font-size: 17px; white-space: nowrap; }
.checkout-total span { font-size: 12px; }
.cart-table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; min-width: 660px; font-size: 13px; }
.cart-table th { color: white; text-align: center; padding: 10px 12px 17px; font-weight: 850; font-size: 14px; }
.cart-table th:first-child { text-align: left; padding-left: 50px; }
.cart-table td { background: #282f35; padding: 13px 12px; text-align: center; color: #aebccb; }
.cart-table td:first-child { text-align: left; padding-left: 20px; border-radius: 6px 0 0 6px; }
.cart-table td:last-child { border-radius: 0 6px 6px 0; }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 190px; color: #9fadc0; }
.cart-product img { width: 46px; height: 46px; object-fit: contain; }
.cart-table small { color: #7e8fa0; font-size: 10px; }
.quantity-control { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #323b42; border-radius: 5px; padding: 4px 6px; color: #fff; }
.quantity-control button { width: 23px; height: 23px; color: #b9c5d2; border: 0; border-radius: 4px; background: #414b54; }
.remove-item { width: 31px; height: 31px; border: 0; border-radius: 50%; background: #3b4248; color: white; font-size: 23px; line-height: 1; }
.remove-item:hover { background: #874a50; }
.checkout-subsection { margin-top: 37px; }
.checkout-subsection h2 { color: var(--blue); font-size: 20px; font-weight: 500; margin: 0; }
.thin-rule { height: 1px; background: #20282e; margin: 13px 0 25px; box-shadow: 0 1px 0 rgba(255,255,255,.025); }
.coupon-form { display: flex; align-items: stretch; max-width: 690px; border-radius: 999px; background: #252d32; box-shadow: 0 4px 10px #0002; overflow: hidden; }
.coupon-form input { width: 100%; min-width: 0; background: transparent; color: white; border: 0; padding: 12px 18px; outline: none; }
.coupon-form input::placeholder { color: #97a5b4; }
.coupon-form .primary-button { border-radius: 0 999px 999px 0; box-shadow: none; flex-shrink: 0; }
.purchase-section { margin-top: 32px; }
.checkout-columns { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(260px, .8fr); gap: 23px; align-items: stretch; }
.payment-methods, .paypal-method { min-width: 0; }
.payment-methods h3, .paypal-method h3 { margin: 0 0 5px; font-size: 15px; color: #f1f5fa; }
.small-copy { font-size: 12px; color: #a9b6c4; margin: 0 0 17px; }
.email-form label { display: block; color: #c4ced9; font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.email-row { display: flex; gap: 8px; align-items: stretch; }
.email-row input { min-width: 0; width: 100%; border: 1px solid #46545f; border-radius: 8px; padding: 11px 13px; background: #252d32; color: white; }
.email-row .primary-button { padding-inline: 17px; flex-shrink: 0; border-radius: 8px; }
.watermark-area { min-height: 0; margin: 5px 0; }
.watermark-area:empty { display: none; }
.fastlane-card-container { width: 100%; }
.full-button { width: 100%; margin-top: 14px; border-radius: 8px; }
.payment-divider { display: flex; align-items: center; justify-content: center; color: #8391a0; font-size: 10px; font-weight: 900; }
.payment-divider span { display: inline-flex; align-items: center; gap: 7px; }
.payment-divider span::before, .payment-divider span::after { content: ""; width: 1px; height: 55px; background: #414b53; }
.paypal-button-wrap { margin-top: 25px; padding: 13px; background: #fff; border-radius: 7px; }
paypal-button { display: block; width: 100%; min-height: 42px; --paypal-button-border-radius: 5px; }
paypal-button[hidden] { display: none; }
.checkout-status { min-height: 0; padding: 0; margin-top: 14px; font-size: 13px; border-radius: 7px; }
.checkout-status:not(:empty) { padding: 11px 13px; background: #272f35; border: 1px solid #3b454d; }
.checkout-status.pending { color: #c8dcff; }
.checkout-status.success { color: #91ebc2; border-color: #315d4c; }
.checkout-status.error { color: #ffadad; border-color: #754348; }
.checkout-status.warning { color: #ffe3a3; border-color: #6b5a35; }
.checkout-footer-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: #98a5b4; font-size: 11px; border-top: 1px solid #272f34; margin-top: 27px; padding-top: 20px; }
.secure-mark { color: var(--green); }
.empty-cart { padding: 65px 15px; text-align: center; }
.empty-cart-mark { font-size: 40px; color: var(--blue); }
.empty-cart h2 { margin: 12px 0 4px; }
.empty-cart p { color: #a5b2c0; margin: 0 0 23px; }
.inline-button { display: inline-flex; width: fit-content; }
.success-wrap { max-width: 680px; padding-top: 12vh; padding-bottom: 70px; }
.success-panel { text-align: center; padding: 40px 28px; }
.success-panel > img { margin: 0 auto 17px; }
.success-panel h1 { margin: 12px 0 8px; font-size: 27px; }
.success-panel p { color: #c0cbd6; margin-bottom: 22px; }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 32px, 840px); }
  .hero-links { gap: 15px; }
  .hero-links a { font-size: 12px; }
  .store-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-checkout { grid-column: 1 / -1; }
  .coin-shower-card img { max-height: 145px; }
  .checkout-columns { grid-template-columns: minmax(0, 1fr) 32px minmax(220px, .8fr); gap: 15px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 24px); }
  .site-header { min-height: 360px; }
  .topline { height: 76px; gap: 10px; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 8px; }
  .hero-links { display: none; }
  .cart-top { padding: 9px 11px; font-size: 10px; }

/* Make the server IP tile match the Discord tile visually */
.hero-content .server-ip {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    flex: 0 0 70px !important;
    padding: 0 !important;
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.hero-content .server-ip .mdi {
    font-size: 40px !important;
}

/* Keep it compact on mobile */
@media (max-width: 700px) {
    .hero-content .server-ip {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        flex-basis: 32px !important;
    }

    .hero-content .server-ip .mdi {
        font-size: 22px !important;
    }
}

  .hero-emblem { width: 135px; }
  .hero-side .eyebrow { font-size: 8px; }
  .hero-side strong { font-size: 10px; letter-spacing: .05em; }
  .hero-side strong span { display: block; font-size: 8px; }
  .hero-side-right a { gap: 5px; font-size: 16px; }
  .hero-side-right a strong { font-size: 8px; }
  .hero-side-right a strong span { font-size: 9px; }
  .hero-side-right small { font-size: 9px; }
  .server-ip { font-size: 20px; }
  .section-nav { gap: 0; padding: 5px; margin-bottom: 17px; }
  .section-nav a { padding: 8px 10px; font-size: 11px; }
  .welcome-panel { padding: 20px; }
  .welcome-panel h1 { font-size: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-card { padding: 11px 9px 13px; }
  .product-artwork { min-height: 128px; }
  .product-artwork img { height: 126px; }
  .product-card h3 { font-size: 13px; }
  .product-description { font-size: 11px; min-height: 45px; }
  .product-price { font-size: 13px; }
  .product-buy { font-size: 12px; padding: 8px 13px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar-checkout { grid-column: auto; }
  .site-footer { justify-content: center; text-align: center; }
  .checkout-header { height: auto; min-height: 75px; align-items: flex-start; padding-top: 13px; padding-bottom: 13px; }
  .checkout-nav { max-width: 58%; gap: 8px 13px; justify-content: flex-end; flex-wrap: wrap; }
  .checkout-nav a { font-size: 11px; }
  .checkout-main { padding-top: 14px; }
  .checkout-panel { padding: 19px 12px 22px; }
  .checkout-title-row { padding-inline: 6px; }
  .checkout-title-row h1 { font-size: 16px; }
  .checkout-total { font-size: 15px; }
  .checkout-subsection { margin-top: 27px; }
  .checkout-subsection h2 { font-size: 17px; }
  .coupon-form { flex-direction: column; border-radius: 9px; }
  .coupon-form .primary-button { border-radius: 0; }
  .checkout-columns { grid-template-columns: 1fr; gap: 20px; }
  .payment-divider span::before, .payment-divider span::after { width: 45px; height: 1px; }
  .paypal-method { border-top: 1px solid #414b53; padding-top: 20px; }
  .email-row { flex-direction: column; }
  .email-row .primary-button { width: 100%; }
  .checkout-footer-note { flex-wrap: wrap; }
}

/* Static conversion of the original Tebex layout and category/package templates. */

.topline-tebex {
    position: relative;
    justify-content: center;
}

.topline-tebex .hero-links {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 84px);
    margin-inline: auto;
}

.topline-tebex .topline-spacer {
    display: none;
}

.topline-tebex .hero-links a {
    color: #79a9fb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-state { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; white-space: nowrap; }
.topline-spacer { width: 120px; flex: 0 1 120px; }
.topline-tebex .hero-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 84px); }
.topline-tebex .hero-links a { color: #79a9fb; display: inline-flex; align-items: center; gap: 8px; }
.topline-tebex .hero-links a.active { background: var(--blue); border-radius: 28px; color: white; padding: 12px 26px; }
.hero-logo-link { display: flex; align-items: center; justify-content: center; }
.hero-emblem { object-fit: contain; }
.server-count-row { display: flex; align-items: center; gap: 12px; }
.server-count-row strong { display: flex; gap: 8px; align-items: baseline; }
.server-count-row strong > span:first-child { color: var(--blue); }
.server-count-row strong > span:last-child { color: #f2f5f9; }
.hero-side-left { gap: 4px; }
.hero-side-left .eyebrow { align-self: flex-end; }
.hero-side-right { justify-content: center; }
.discord-summary { display: flex; align-items: center; gap: 12px; }
.discord-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 8px; background: var(--blue); color: #152c4c; font-size: 25px; }
.discord-icon svg { display: block; width: 31px; height: 31px; fill: currentColor; }
.discord-summary-text { display: flex; flex-direction: column; gap: 3px; }
.discord-summary-text small { color: #9eaec4; font-size: 9px; letter-spacing: .08em; }
.discord-summary-text strong { color: white; font-size: 11px; letter-spacing: .13em; }
.discord-summary-text strong span { color: var(--blue); }
.hero-side-right .discord-summary { font-size: inherit; color: inherit; }
.hero-side-right .discord-summary:hover { opacity: .88; }
.home-category-links { display: flex; flex-wrap: wrap; gap: 12px; }
.category-package-panel { padding: 25px 28px 30px; }
.category-package-panel .product-grid { margin-top: 18px; }
.category-description-panel { padding: 21px 25px; margin-bottom: 21px; }
.category-description-panel[hidden] { display: none; }
.category-description-panel #category-description { color: #c1cbd5; }
.category-empty { color: var(--muted); padding: 20px 2px 5px; margin: 0; }
.category-empty[hidden] { display: none; }
.product-artwork { width: 100%; min-height: auto; aspect-ratio: 1 / 1; background: #47392c; border: 1px solid rgba(255,255,255,.08); }
.product-artwork img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-artwork-button { display: block; width: 85%; margin: 0 auto; padding: 0; border: 0; border-radius: 7px; background: transparent; overflow: hidden; }
.product-card .product-buy { margin-top: auto; }
.product-list-wrap { width: 100%; overflow-x: auto; }
.product-list { width: 100%; border-collapse: separate; border-spacing: 0 9px; min-width: 470px; font-size: 13px; }
.product-list td { background: #282f35; padding: 12px 14px; color: #aebccb; }
.product-list td:first-child { border-radius: 6px 0 0 6px; color: #d5dde7; }
.product-list td:last-child { border-radius: 0 6px 6px 0; width: 140px; }
.product-list .list-action { width: 100%; }
.countdown-label { display: block; color: #ff9292; font-size: 11px; margin-top: 4px; }
.package-modal[hidden] { display: none; }
.package-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.package-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4, 8, 12, .78); backdrop-filter: blur(3px); }
.package-modal-dialog { position: relative; z-index: 1; width: min(980px, 100%); max-height: min(88vh, 920px); overflow: auto; background: var(--panel); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; box-shadow: 0 18px 65px #0009; }
.package-modal-close { position: sticky; top: 10px; float: right; z-index: 2; margin: 10px 12px -48px 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #a95b60; font-size: 29px; line-height: 1; }
.package-modal-close:hover { color: #ff8888; background: rgba(0,0,0,.1); }
.package-modal-content { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 25px; padding: 32px 28px; }
.modal-artwork { width: 100%; max-width: 210px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; align-self: start; }
.package-modal-copy h2 { margin: 0 44px 22px 0; color: var(--blue); font-size: 26px; }
.package-modal-copy p { color: #d3d8df; margin: 0 0 18px; }
.package-detail-group { margin: 16px 0 0; }
.package-detail-group h3 { margin: 0 0 8px; color: #e2e6eb; font-size: 18px; }
.package-detail-group ul { margin: 0; padding-left: 25px; color: #d0d5dc; }
.package-detail-group li { margin: 4px 0; }
.package-modal-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 26px; background: #293137; border-top: 1px solid #374149; }
.package-modal-footer strong { color: white; font-size: 17px; }
.discord-card-link { display: inline-block; color: var(--blue); font-size: 11px; margin-top: 12px; }
.loading-card { grid-column: 1 / -1; padding: 24px 16px; color: var(--muted); text-align: center; border: 1px dashed #45505a; border-radius: 8px; }

@media (max-width: 1000px) {
  .topline-spacer { flex-basis: 30px; }
  .topline-tebex .hero-links { gap: 18px; }
  .category-package-panel { padding: 20px 16px 25px; }
  .package-modal-content { grid-template-columns: 160px minmax(0,1fr); gap: 18px; }
  .modal-artwork { max-width: 160px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 330px; }
  .topline-tebex { height: auto; min-height: 72px; padding-top: 12px; padding-bottom: 8px; align-items: center; flex-wrap: wrap; }
  .login-state { font-size: 10px; }
  .topline-spacer { display: none; }
  .topline-tebex .hero-links { order: 3; flex-basis: 100%; display: flex; justify-content: center; gap: 7px; padding-bottom: 7px; }
  .topline-tebex .hero-links a { font-size: 10px; padding: 8px 10px; }
  .topline-tebex .hero-links a.active { padding: 8px 14px; }
  .hero-content { grid-template-columns: 1fr 112px 1fr; min-height: 210px; gap: 5px; }
  .hero-emblem { width: 112px; height: auto; }
  .server-count-row { flex-direction: column-reverse; align-items: flex-end; gap: 0; }
  .server-count-row strong { display: block; text-align: right; font-size: 9px; letter-spacing: .04em; }
  .server-count-row strong > span:last-child { font-size: 8px; }
  .server-ip { font-size: 19px; padding: 0; }
  .discord-summary { gap: 5px; }
  .discord-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 15px; }
  .discord-icon svg { width: 20px; height: 20px; }
  .discord-summary-text small { font-size: 7px; }
  .discord-summary-text strong { font-size: 7px; letter-spacing: .05em; }
  .package-modal { padding: 10px; }
  .package-modal-dialog { max-height: 94vh; }
  .package-modal-content { grid-template-columns: 1fr; gap: 14px; padding: 24px 17px; }
  .modal-artwork { width: 125px; max-width: 125px; }
  .package-modal-copy h2 { font-size: 21px; margin-bottom: 10px; }
  .package-modal-copy p, .package-detail-group li { font-size: 13px; }
  .package-detail-group h3 { font-size: 16px; }
  .package-modal-footer { padding: 13px 16px; }
  .package-modal-footer .primary-button { padding: 10px 14px; font-size: 12px; }
  .home-category-links { flex-direction: column; align-items: flex-start; }
}

.modal-open { overflow: hidden; }
.product-list-container { margin-top: 18px; }

.remove-item.category-remove { width: 100%; height: auto; padding: 9px 14px; border-radius: 999px; font-size: 12px; line-height: 1.3; box-shadow: 0 4px 0 #693b40; }
.product-list .remove-item.category-remove { width: 100%; }


/* Material Design Icons shared import is used by all pages. */
.mdi { display: inline-block; line-height: 1; vertical-align: -0.12em; }
.nav-mdi-icon { font-size: 18px; }
.login-state .mdi { font-size: 17px; margin-right: 4px; vertical-align: -0.18em; }
.server-ip .mdi { font-size: 35px; }
.basket-icon .mdi { font-size: 28px; }
.discord-icon .mdi { font-size: 25px; }
.panel-title .mdi { margin-right: 3px; }
.section-nav .mdi { font-size: 16px; margin-right: 3px; }
.checkout-section-nav { justify-content: center; }
.checkout-section-nav a { display: inline-flex; align-items: center; gap: 5px; }
.checkout-store-layout { padding-top: 30px; }
.checkout-panel { min-width: 0; }
.checkout-cart-content[hidden] { display: none !important; }
.checkout-panel [hidden] { display: none !important; }
.checkout-panel .empty-cart { padding: 32px 15px 38px; }
.checkout-panel .empty-cart[hidden] { display: none !important; }
.empty-cart-mark .mdi { font-size: 42px; }
.player-details-section { margin-top: 28px; }
.form-label { display: block; color: #dce4ed; font-weight: 800; font-size: 13px; margin: 0 0 8px; }
.required-mark { color: #ff9292; }
.checkout-text-input { display: block; width: min(100%, 560px); border: 1px solid #46545f; border-radius: 8px; padding: 12px 14px; background: #252d32; color: white; }
.checkout-text-input::placeholder { color: #788b9f; }
.checkout-text-input:focus { outline: 2px solid rgba(110,160,250,.7); outline-offset: 2px; border-color: var(--blue); }
.checkout-shop-panel { margin-top: 22px; padding: 23px 24px 27px; }
.checkout-shop-intro { margin-top: 10px; margin-bottom: 16px; }
.checkout-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 15px; border-bottom: 1px solid #252e34; }
.checkout-category-tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid #414c56; border-radius: 999px; background: #293137; color: #b5c0cd; font-weight: 800; font-size: 13px; cursor: pointer; }
.checkout-category-tab .mdi { font-size: 17px; }
.checkout-category-tab:hover { border-color: var(--blue); color: #fff; }
.checkout-category-tab.active, .checkout-category-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 0 var(--blue-deep); }
.checkout-shop-products { margin-top: 17px; }
.checkout-product-card { padding: 12px; align-items: stretch; }
.checkout-product-card .product-artwork { aspect-ratio: 1 / .82; min-height: 130px; }
.checkout-product-card .product-artwork img { object-fit: contain; padding: 7px; }
.checkout-product-card h3 { margin-top: 13px; }
.checkout-product-card .product-description { min-height: 0; margin-bottom: 8px; }
.checkout-product-card .product-price { margin: 10px 0 14px; }
.checkout-product-card .product-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.checkout-product-card .product-buy .mdi { font-size: 18px; }
.checkout-product-details { margin: 7px 0 0; text-align: left; color: #bac7d4; font-size: 11px; }
.checkout-product-details summary { color: var(--blue); font-weight: 800; cursor: pointer; }
.checkout-product-details ul { padding-left: 19px; margin: 8px 0 0; }
.checkout-product-details li { margin: 3px 0; }
.checkout-shop-empty[hidden] { display: none; }
.checkout-shop-empty { color: var(--muted); padding: 20px 2px 4px; margin: 0; }
.checkout-title-row h1 .mdi { font-size: 21px; margin-right: 5px; }
.checkout-footer-note .mdi { font-size: 16px; }
.success-layout { padding-top: 30px; }
.success-panel { text-align: center; padding: 38px 28px 42px; }
.success-shield { display: inline-block; font-size: 48px; color: var(--blue); margin-bottom: 8px; }
.success-panel h1 { margin: 14px 0 9px; font-size: 27px; }
.success-panel p { color: #c0cbd6; margin-bottom: 18px; }
.success-panel .inline-button { margin-top: 7px; }

@media (max-width: 1000px) {
  .checkout-store-layout { padding-top: 20px; }
  .checkout-shop-panel { padding: 20px 16px 25px; }
  .checkout-product-card .product-artwork { min-height: 115px; }
}
@media (max-width: 700px) {
  .checkout-store-layout, .success-layout { padding-top: 16px; }
  .checkout-section-nav { gap: 2px; }
  .checkout-section-nav a { padding: 8px 9px; }
  .checkout-shop-panel { padding: 18px 12px 22px; }
  .checkout-category-tabs { gap: 6px; }
  .checkout-category-tab { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 12px; }
  .checkout-shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .checkout-product-card { padding: 9px; }
  .checkout-product-card .product-artwork { min-height: 0; }
  .checkout-product-card h3 { font-size: 12px; }
  .checkout-product-card .product-buy { padding: 8px 9px; font-size: 11px; }
  .success-panel { padding: 28px 17px 30px; }
  .success-panel h1 { font-size: 22px; }
}

.buy-cart.mdi { transform: none; vertical-align: -0.12em; }


/* Local-first checkout preview (no payment is processed in this mode). */
.local-checkout-panel {
  padding: 1.25rem;
  border: 1px solid rgba(104, 154, 255, 0.34);
  border-radius: 10px;
  background: rgba(17, 25, 32, 0.45);
}
.local-checkout-panel h3 { margin: 0.55rem 0; }
.local-preview-label {
  display: inline-block;
  color: #80aaff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.local-checkout-panel .full-button { margin-top: 0.75rem; }