:root {
    color-scheme: dark;
    --bg: #050812;
    --surface: #0b1220;
    --surface-2: #101827;
    --surface-3: #142033;
    --border: rgba(148, 163, 184, .18);
    --border-strong: rgba(56, 189, 248, .35);
    --text: #f8fafc;
    --muted: #9aa8bc;
    --muted-2: #64748b;
    --blue: #0ea5e9;
    --blue-2: #2563eb;
    --green: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, .35);
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@property --panel-orbit-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        linear-gradient(180deg, rgba(14, 165, 233, .1), transparent 36rem),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
        var(--bg);
    background-size: auto, 64px 64px, 64px 64px, auto;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    position: sticky;
    top: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(5, 8, 18, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, .25);
    overflow: visible;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.brand-copy {
    display: grid;
    gap: 3px;
}

.brand-mark {
    width: 62px;
    height: 62px;
    display: inline-grid;
    place-items: center;
    border-radius: 0;
    background: transparent;
    color: white;
    font-weight: 800;
    overflow: visible;
}

.brand-mark-image {
    padding: 0;
    box-shadow: none;
}

.brand-mark-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-mark-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateY(10px) scale(1.34);
    transform-origin: center center;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .32));
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand strong {
    font-size: 1.42rem;
    font-weight: 800;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .86rem;
}

.main-nav,
.header-actions,
.hero-actions,
.card-actions,
.trust-strip,
.game-tags,
.segmented,
.footer-links {
    display: flex;
    align-items: center;
}

.main-nav {
    justify-content: center;
    gap: 6px;
}

.main-nav a,
.ghost-link,
.language-pill {
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 7px;
    transition: background .16s ease, color .24s ease, border-color .16s ease;
}

.main-nav a:hover,
.ghost-link:hover,
.language-pill:hover {
    color: var(--text);
    background: rgba(148, 163, 184, .08);
}

.main-nav a {
    position: relative;
    overflow: hidden;
    color: var(--muted);
    transition: color .24s ease, background .16s ease, border-color .16s ease;
}

.main-nav a::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--blue-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .34s ease;
}

.main-nav a:hover::before {
    transform: scaleX(1);
}

.main-nav a:hover {
    color: #dbeafe;
}

.header-actions {
    justify-content: flex-end;
    gap: 8px;
}

.header-preferences {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-pill {
    border: 1px solid var(--border);
    min-width: 74px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
}

.language-pill.flag-only {
    min-width: 48px;
    padding-inline: 12px;
    font-size: 1.2rem;
}

.language-pill small {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
}

.language-menu {
    position: relative;
}

.language-menu summary {
    list-style: none;
    cursor: pointer;
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: grid;
    min-width: 170px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(5, 8, 18, .96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.language-menu-panel a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 7px;
    color: var(--text);
}

.language-menu-panel a:hover {
    background: rgba(14, 165, 233, .12);
}

.language-menu-panel strong,
.language-menu-panel small {
    display: block;
}

.language-menu-panel small {
    color: var(--muted);
    margin-top: 2px;
}

.language-flag {
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--muted);
    background: rgba(15, 23, 42, .55);
    transition: transform .16s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.social-link:hover {
    color: #dbeafe;
    border-color: rgba(56, 189, 248, .35);
    background: rgba(14, 165, 233, .12);
    transform: translateY(-1px);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link-facebook span {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(1px);
}

.language-pill.flag-only {
    min-width: 64px;
    gap: 8px;
    padding-inline: 10px;
    font-size: .82rem;
    font-weight: 800;
}

.language-code {
    color: #dbeafe;
    font-size: .78rem;
    letter-spacing: 0;
}

.language-menu-panel a {
    grid-template-columns: 30px 1fr;
}

.language-flag-round {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

.flag-cz {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23fff' d='M0 0h60v20H0z'/%3E%3Cpath fill='%23d7141a' d='M0 20h60v20H0z'/%3E%3Cpath fill='%2311457e' d='M0 0l30 20L0 40z'/%3E%3C/svg%3E");
}

.flag-cz::before {
    display: none;
}

.flag-gb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='M0 0l60 40M60 0L0 40'/%3E%3Cpath stroke='%23fff' stroke-width='14' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='8' d='M30 0v40M0 20h60'/%3E%3C/svg%3E");
}

.flag-de {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23000' d='M0 0h60v13.333H0z'/%3E%3Cpath fill='%23dd0000' d='M0 13.333h60v13.334H0z'/%3E%3Cpath fill='%23ffce00' d='M0 26.667h60V40H0z'/%3E%3C/svg%3E");
}

.btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.btn {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 14px 38px rgba(37, 99, 235, .28);
}

.btn.secondary {
    color: #dbeafe;
    background: rgba(37, 99, 235, .12);
    border-color: rgba(96, 165, 250, .26);
    box-shadow: none;
}

.btn:hover,
.ghost-btn:hover {
    transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-disabled="true"],
.service-order-disabled {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
    box-shadow: none;
}

.btn.small {
    min-height: 38px;
    padding-inline: 14px;
}

.btn.full {
    width: 100%;
}

.ghost-btn {
    background: rgba(148, 163, 184, .08);
    border-color: var(--border);
    color: var(--text);
}

.nav-toggle,
.nav-button {
    display: none;
}

main {
    flex: 1;
}

.hero-section {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: 42px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 10px;
    background:
        linear-gradient(120deg, rgba(2, 6, 23, .90), rgba(2, 6, 23, .58)),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
        url("/assets/hero/datacenter.jpg");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .26), transparent 24rem),
        linear-gradient(180deg, rgba(3, 7, 18, .10), rgba(3, 7, 18, .42));
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 9% 20%, rgba(103, 232, 249, .62) 0 2px, transparent 3px),
        radial-gradient(circle at 11% 24%, rgba(59, 130, 246, .54) 0 2px, transparent 3px),
        radial-gradient(circle at 13% 28%, rgba(103, 232, 249, .46) 0 2px, transparent 3px),
        radial-gradient(circle at 15% 32%, rgba(59, 130, 246, .58) 0 2px, transparent 3px),
        radial-gradient(circle at 19% 48%, rgba(103, 232, 249, .48) 0 2px, transparent 3px),
        radial-gradient(circle at 21% 54%, rgba(59, 130, 246, .58) 0 2px, transparent 3px),
        radial-gradient(circle at 23% 60%, rgba(103, 232, 249, .44) 0 2px, transparent 3px);
    opacity: .88;
    mix-blend-mode: screen;
    animation: rack-blink-fast 1.45s steps(1, end) infinite;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 38px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 12px;
    color: #67e8f9;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: .78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.3rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: 0;
    margin-bottom: 22px;
}

h1[tabindex="-1"]:focus {
    outline: none;
}

.hero-title {
    display: grid;
    gap: 10px;
    max-width: 760px;
}

.hero-title-static {
    display: block;
    font-size: .765em;
}

.tt-typewriter {
    display: block;
    font-size: .45em;
    min-height: 1.18em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    width: 18ch;
    max-width: 100%;
    color: #dbeafe;
    padding-bottom: .14em;
}

.tt-typewriter .caret {
    display: inline-block;
    width: .08em;
    height: .9em;
    margin-left: .08em;
    vertical-align: -.06em;
    background: rgba(103, 232, 249, .92);
    animation: blink-caret .9s step-end infinite;
}

@keyframes blink-caret {
    0%, 45% {
        opacity: 1;
    }

    46%, 100% {
        opacity: 0;
    }
}

@keyframes rack-blink-fast {
    0%, 8%, 12%, 18%, 27%, 35%, 45%, 58%, 70%, 84%, 100% {
        opacity: .38;
    }

    9%, 11%, 19%, 24%, 36%, 40%, 59%, 64%, 71%, 78% {
        opacity: .88;
    }

    25%, 26%, 41%, 44%, 65%, 69%, 79%, 83% {
        opacity: .56;
    }
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.lead {
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 680px;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-why {
    margin-top: 24px;
    max-width: 720px;
}

.hero-why-title {
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 1rem;
    font-weight: 700;
}

.hero-why-mask {
    --why-loop-gap: 18px;
    max-height: 156px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 84%, transparent 100%);
}

.hero-why-track {
    display: grid;
    gap: var(--why-loop-gap);
    animation: why-marquee 20s linear infinite;
    will-change: transform;
}

.hero-why-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-why-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.45;
}

.hero-why-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #67e8f9, #2563eb);
}

.hero-panel {
    position: relative;
    z-index: 1;
    isolation: isolate;
    border-radius: 10px;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    pointer-events: none;
    border-radius: 10px;
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.hero-panel::before {
    border: 2px solid rgba(37, 99, 235, .15);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, .03) inset,
        0 0 10px rgba(37, 99, 235, .05);
}

.hero-panel::after {
    padding: 2px;
    background: conic-gradient(from var(--panel-orbit-angle),
        transparent 0deg 10deg,
        rgba(56, 189, 248, .03) 20deg,
        rgba(56, 189, 248, .10) 34deg,
        rgba(56, 189, 248, .25) 50deg,
        rgba(125, 211, 252, .66) 66deg,
        rgba(255, 255, 255, .92) 82deg,
        rgba(125, 211, 252, .74) 98deg,
        rgba(56, 189, 248, .30) 116deg,
        rgba(56, 189, 248, .12) 132deg,
        rgba(56, 189, 248, .03) 146deg,
        transparent 162deg 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 6px rgba(125, 211, 252, .22));
    animation: panel-orbit-angle 8.2s linear infinite;
}

.hero-panel:has(.configurator-card.is-wizard-open)::after {
    opacity: 0;
    animation: none;
}

.configurator-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(8, 13, 25, .96)),
        var(--surface);
    box-shadow: var(--shadow);
}

.configurator-card > * {
    position: relative;
    z-index: 1;
}

@keyframes panel-orbit-angle {
    from {
        --panel-orbit-angle: 0deg;
    }

    to {
        --panel-orbit-angle: 360deg;
    }
}

@keyframes why-marquee {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(calc(-50% - (var(--why-loop-gap) / 2)));
    }
}

.panel-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #bae6fd;
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(56, 189, 248, .22);
    font-weight: 800;
}

label {
    display: block;
    margin: 12px 0 7px;
    color: var(--muted);
    font-size: .9rem;
}

.field {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    color: var(--text);
    background: rgba(15, 23, 42, .84);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 10px 12px;
    outline: none;
    text-overflow: ellipsis;
}

.field:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.field-grid,
.form-grid,
.config-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.config-row > * {
    min-width: 0;
}

.config-row-primary {
    grid-template-columns: minmax(0, 7fr) minmax(110px, 3fr);
}

.whmcs-config-grid {
    position: relative;
    z-index: 2;
    align-items: start;
}

.game-order-configurator .whmcs-config-grid.choice-layer-active,
.quick-order-configurator .whmcs-config-grid.choice-layer-active {
    z-index: 90;
}

.game-order-configurator .whmcs-config-grid:has(.choice-menu.open),
.quick-order-configurator .whmcs-config-grid:has(.choice-menu.open) {
    z-index: 90;
}

.whmcs-config-field {
    min-width: 0;
}

.config-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 7px;
}

.config-field-head label {
    min-width: 0;
    margin: 0;
}

.whmcs-select {
    white-space: nowrap;
    overflow: hidden;
}

/* Shared configurator dropdown pattern. Use .choice-menu for new selects across the site. */
.choice-menu {
    position: relative;
    min-width: 0;
}

.choice-menu.open {
    z-index: 120;
}

.choice-menu-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    cursor: pointer;
}

.choice-menu-button span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.choice-menu-caret {
    flex: 0 0 auto;
    color: var(--muted-2);
    font-size: .9rem;
}

.choice-menu-list {
    position: absolute;
    z-index: 150;
    inset-inline: 0;
    top: calc(100% + 6px);
    display: grid;
    gap: 4px;
    width: max-content;
    min-width: 100%;
    max-width: min(520px, calc(100vw - 32px));
    max-height: 260px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background-color: #070b15;
    box-shadow: 0 22px 58px rgba(2, 6, 23, .82);
}

.game-choice-menu-list {
    width: min(420px, calc(100vw - 32px));
}

.choice-menu-search {
    display: grid;
    gap: 6px;
    padding: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    margin-bottom: 2px;
}

.choice-menu-search strong {
    color: var(--text);
    font-size: .8rem;
}

.choice-search-field {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .82rem;
}

.choice-menu-empty {
    padding: 10px;
    color: var(--muted-2);
    font-size: .82rem;
}

.choice-menu-list button {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    color: var(--muted);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.choice-menu-list button:hover,
.choice-menu-list button.active {
    color: var(--text);
    background: rgba(14, 165, 233, .16);
}

.range-value {
    flex: 0 0 auto;
    min-width: 48px;
    padding: 5px 9px;
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 7px;
    color: #e0f2fe;
    background: rgba(14, 165, 233, .13);
    font-size: .86rem;
    font-weight: 800;
    text-align: center;
}

.range-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
    align-items: center;
}

.range-input-row-single {
    grid-template-columns: minmax(0, 1fr);
}

.range-field {
    width: 100%;
    min-width: 0;
    height: 34px;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.range-field::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(90deg, rgba(14, 165, 233, .72), rgba(34, 211, 238, .44));
}

.range-field::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border: 2px solid #dff7ff;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 4px 14px rgba(14, 165, 233, .32);
}

.range-field::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(90deg, rgba(14, 165, 233, .72), rgba(34, 211, 238, .44));
}

.range-field::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 2px solid #dff7ff;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 4px 14px rgba(14, 165, 233, .32);
}

.unavailable-range-option {
    opacity: .72;
}

.unavailable-range-option .range-value {
    color: var(--muted-2);
    border-color: rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .56);
}

.unavailable-range-option .range-field {
    cursor: not-allowed;
}

.unavailable-range-option .range-field::-webkit-slider-runnable-track {
    border-color: rgba(148, 163, 184, .14);
    background: linear-gradient(90deg, rgba(71, 85, 105, .42), rgba(100, 116, 139, .28));
}

.unavailable-range-option .range-field::-webkit-slider-thumb {
    border-color: rgba(203, 213, 225, .74);
    background: #64748b;
    box-shadow: none;
}

.unavailable-range-option .range-field::-moz-range-track {
    border-color: rgba(148, 163, 184, .14);
    background: linear-gradient(90deg, rgba(71, 85, 105, .42), rgba(100, 116, 139, .28));
}

.unavailable-range-option .range-field::-moz-range-thumb {
    border-color: rgba(203, 213, 225, .74);
    background: #64748b;
    box-shadow: none;
}

.range-unavailable-note {
    margin: 3px 0 0;
    color: var(--muted-2);
    font-size: .78rem;
    line-height: 1.35;
}

.config-expand-shell {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition:
        grid-template-rows .34s cubic-bezier(.18, .78, .24, 1),
        margin .34s ease,
        opacity .22s ease,
        transform .34s ease;
}

.config-expand-shell.is-visible {
    grid-template-rows: 1fr;
    margin: var(--config-expand-margin, 8px 0 10px);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.config-expand-inner {
    min-height: 0;
    overflow: hidden;
}

.unlimited-resources-note {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid rgba(34, 197, 94, .28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(22, 163, 74, .16), rgba(21, 128, 61, .08));
    box-shadow: inset 0 1px 0 rgba(187, 247, 208, .1);
    color: #bbf7d0;
}

.unlimited-resources-note strong {
    color: #dcfce7;
    font-size: .88rem;
    line-height: 1.15;
    text-align: center;
}

.unlimited-resources-note span {
    color: #bbf7d0;
    font-size: .76rem;
    line-height: 1.35;
}

.dedicated-threads-note-shell {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: max-height .32s ease, margin .32s ease, opacity .2s ease, transform .32s ease;
}

.dedicated-threads-note-shell.is-visible {
    max-height: 760px;
    margin: 8px 0 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dedicated-threads-note {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(14, 165, 233, .36);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, .16), rgba(34, 197, 94, .08));
    box-shadow: inset 0 1px 0 rgba(186, 230, 253, .12), 0 14px 28px rgba(2, 132, 199, .08);
    color: #dbeafe;
    overflow: hidden;
}

.dedicated-threads-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.dedicated-threads-toggle strong {
    display: block;
    color: #e0f2fe;
    font-size: .88rem;
    line-height: 1.15;
}

.dedicated-threads-toggle small {
    display: block;
    margin-top: 3px;
    color: #c7d2fe;
    font-size: .76rem;
    line-height: 1.35;
}

.dedicated-threads-caret {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(125, 211, 252, .24);
    border-radius: 7px;
    color: #7dd3fc;
    background: rgba(15, 23, 42, .58);
    transition: transform .28s ease, border-color .2s ease, background .2s ease;
}

.dedicated-threads-note.is-expanded .dedicated-threads-caret {
    transform: rotate(180deg);
    border-color: rgba(125, 211, 252, .5);
    background: rgba(14, 165, 233, .16);
}

.dedicated-threads-panel {
    display: grid;
    max-height: 0;
    padding: 0 11px;
    border-top: 1px solid rgba(125, 211, 252, 0);
    overflow: hidden;
    opacity: 0;
    transition:
        max-height .34s cubic-bezier(.18, .78, .24, 1),
        padding .34s ease,
        border-color .34s ease,
        opacity .2s ease;
}

.dedicated-threads-note.is-expanded .dedicated-threads-panel {
    max-height: 560px;
    padding: 0 11px 11px;
    border-top-color: rgba(125, 211, 252, .14);
    opacity: 1;
}

.dedicated-threads-panel > * {
    min-height: 0;
}

.dedicated-threads-panel p {
    margin: 9px 0 0;
    color: #c7d2fe;
    font-size: .76rem;
    line-height: 1.45;
}

.dedicated-threads-note a {
    color: #7dd3fc;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
}

.dedicated-threads-note a:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.dedicated-threads-variants {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.dedicated-threads-variants button {
    display: grid;
    gap: 3px;
    min-height: 52px;
    padding: 8px 9px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 8px;
    color: #e0f2fe;
    background: rgba(15, 23, 42, .72);
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.dedicated-threads-variants button:hover,
.dedicated-threads-variants button.active {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, .55);
    background: linear-gradient(135deg, rgba(14, 165, 233, .22), rgba(22, 163, 74, .14));
}

.dedicated-threads-variants strong {
    color: #f0f9ff;
    font-size: .78rem;
    line-height: 1.2;
}

.dedicated-threads-variants span {
    color: #bae6fd;
    font-size: .72rem;
    line-height: 1.3;
}

.dedicated-threads-clear {
    justify-self: start;
    min-height: 30px;
    margin-top: 8px;
    padding: 0 9px;
    color: #bae6fd;
    font-size: .72rem;
}

.dedicated-threads-empty {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(251, 191, 36, .3);
    border-radius: 8px;
    color: #fde68a;
    background: rgba(251, 191, 36, .08);
    font-size: .76rem;
    line-height: 1.4;
}

.dedicated-threads-processing {
    color: #bae6fd !important;
}

.config-help-anchor {
    margin: 6px 0 8px;
    transition: margin .34s ease;
}

.config-help-anchor.is-expanded {
    margin: 8px 0 10px;
}

.config-help-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid rgba(14, 165, 233, .24);
    border-radius: 8px;
    background: rgba(14, 165, 233, .07);
    box-shadow: inset 0 1px 0 rgba(186, 230, 253, .08);
    transition: padding .34s ease, border-color .34s ease, background .34s ease, box-shadow .34s ease, transform .34s ease;
}

.config-help-anchor.is-expanded .config-help-prompt {
    gap: 12px;
    padding: 10px 11px;
    border-color: rgba(14, 165, 233, .42);
    background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(37, 99, 235, .08));
    box-shadow: inset 0 1px 0 rgba(186, 230, 253, .13), 0 16px 34px rgba(14, 165, 233, .12);
    transform: translateY(0);
}

.config-help-prompt strong {
    display: block;
    color: #e0f2fe;
    font-size: .76rem;
    line-height: 1.2;
    transition: font-size .34s ease;
}

.config-help-prompt span {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    color: #bfdbfe;
    font-size: .78rem;
    line-height: 1.35;
    transition: max-height .34s ease, margin .34s ease, opacity .2s ease;
}

.config-help-anchor.is-expanded .config-help-prompt strong {
    font-size: .9rem;
}

.config-help-anchor.is-expanded .config-help-prompt span {
    max-height: 48px;
    margin-top: 3px;
    opacity: 1;
}

.config-help-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.config-help-anchor:not(.is-expanded) .config-help-actions .btn {
    min-height: 28px;
    padding: 0 9px;
    font-size: .7rem;
    box-shadow: none;
}

.config-help-dismiss,
.config-wizard-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 7px;
    color: #bfdbfe;
}

.config-wizard-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 6, 23, .76);
    backdrop-filter: blur(10px);
}

.config-wizard-modal {
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, .34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(8, 13, 25, .98)),
        var(--surface);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48), 0 0 0 1px rgba(14, 165, 233, .08) inset;
}

.config-wizard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.config-wizard-head h3 {
    margin: 3px 0 0;
    color: #f8fafc;
    font-size: 1.25rem;
    line-height: 1.2;
}

.config-wizard-progress {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 6px;
    margin: 0 0 16px;
}

.config-wizard-progress span {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .22);
}

.config-wizard-progress span.active {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.config-wizard-step {
    display: grid;
    gap: 12px;
}

.config-wizard-step h4 {
    margin: 0;
    color: #e5f0ff;
    font-size: 1.02rem;
    line-height: 1.25;
}

.config-wizard-step p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.config-wizard-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.config-wizard-options button {
    min-height: 46px;
    padding: 10px 11px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    color: #dbeafe;
    background: rgba(15, 23, 42, .76);
    text-align: left;
    font-weight: 750;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.config-wizard-options button:hover,
.config-wizard-options button.active {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, .55);
    background: linear-gradient(135deg, rgba(14, 165, 233, .22), rgba(37, 99, 235, .14));
}

.config-wizard-result dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.config-wizard-result dl div {
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(15, 23, 42, .62);
}

.config-wizard-result dl div.config-wizard-wide {
    grid-column: 1 / -1;
}

.config-wizard-result dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .76rem;
}

.config-wizard-result dd {
    margin: 0;
    color: #f8fafc;
    font-weight: 850;
}

.config-wizard-result dd a {
    display: inline-block;
    margin-left: 5px;
    color: #7dd3fc;
    text-decoration: none;
}

.config-wizard-result dd a:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.config-wizard-footer {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 9px;
    align-items: center;
    margin-top: 18px;
}

.range-number {
    min-height: 40px;
    padding-inline: 8px;
    text-align: center;
    font-weight: 800;
}

.range-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: .78rem;
    margin-top: 3px;
}

.game-order-configurator {
    overflow: visible;
    padding: 21px;
}

.quick-order-configurator {
    overflow: visible;
}

.game-order-configurator .panel-label {
    margin-bottom: 14px;
    padding: 7px 9px;
}

.game-order-configurator .config-row-primary,
.quick-order-configurator .config-row-primary {
    position: relative;
    z-index: 6;
    grid-template-columns: 1fr;
}

.game-order-configurator .config-row-primary.choice-layer-active,
.quick-order-configurator .config-row-primary.choice-layer-active {
    z-index: 96;
}

.game-order-configurator .whmcs-config-grid,
.quick-order-configurator .whmcs-config-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    column-gap: 12px;
    row-gap: 8px;
}

.game-order-configurator .choice-menu-button,
.quick-order-configurator .choice-menu-button {
    gap: 6px;
    padding-inline: 10px 8px;
}

.game-order-configurator .whmcs-config-field.range-option,
.game-order-configurator .whmcs-config-field.full-option,
.quick-order-configurator .whmcs-config-field.range-option,
.quick-order-configurator .whmcs-config-field.full-option {
    grid-column: 1 / -1;
}

.game-order-configurator .field,
.quick-order-configurator .field {
    min-height: 42px;
    padding-block: 9px;
    font-size: .92rem;
}

.game-order-configurator label,
.game-order-configurator .config-field-head,
.quick-order-configurator label,
.quick-order-configurator .config-field-head {
    margin-top: 8px;
}

.game-order-configurator .segmented,
.quick-order-configurator .segmented {
    flex-wrap: nowrap;
    margin: 12px 0;
    gap: 4px;
}

.game-order-configurator .segmented.segmented-wrap,
.quick-order-configurator .segmented.segmented-wrap {
    flex-wrap: nowrap;
}

.game-order-configurator .segmented button,
.quick-order-configurator .segmented button {
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    padding: 6px 3px;
    font-size: .74rem;
    line-height: 1.15;
}

.game-order-configurator .billing-discount,
.quick-order-configurator .billing-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 4px;
    font-size: .64rem;
    line-height: 1;
}

.game-order-configurator .price-row,
.quick-order-configurator .price-row {
    margin: 14px 0;
    padding-top: 14px;
}

.game-order-configurator .price-row strong,
.quick-order-configurator .price-row strong {
    font-size: 1.72rem;
}

.quick-order-configurator .game-choice-menu .choice-menu-list {
    width: 100%;
    max-width: min(620px, calc(100vw - 32px));
}

.quick-order-configurator {
    padding: 15px 17px;
}

.quick-order-configurator .panel-label {
    margin-bottom: 7px;
    padding: 5px 8px;
    font-size: .74rem;
}

.quick-order-configurator .config-row {
    gap: 7px;
}

.quick-order-configurator .whmcs-config-grid {
    row-gap: 3px;
}

.quick-order-configurator label {
    margin: 5px 0 3px;
    font-size: .8rem;
}

.quick-order-configurator .config-field-head {
    margin: 5px 0 3px;
}

.quick-order-configurator .field {
    min-height: 36px;
    padding-block: 6px;
    font-size: .84rem;
}

.quick-order-configurator .choice-menu-button {
    padding-inline: 9px 7px;
}

.quick-order-configurator .range-value {
    min-width: 42px;
    padding: 2px 7px;
    font-size: .78rem;
}

.quick-order-configurator .range-field {
    height: 26px;
}

.quick-order-configurator .range-field::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    margin-top: -5.5px;
}

.quick-order-configurator .range-field::-moz-range-thumb {
    width: 15px;
    height: 15px;
}

.quick-order-configurator .range-meta {
    margin-top: 0;
    font-size: .7rem;
}

.quick-order-configurator .range-unavailable-note {
    margin-top: 1px;
    font-size: .7rem;
}

.quick-order-configurator .unlimited-resources-note {
    gap: 2px;
    margin: 0;
    padding: 7px 9px;
}

.quick-order-configurator .unlimited-resources-note-shell.is-visible {
    --config-expand-margin: 5px 0 6px;
}

.quick-order-configurator .unlimited-resources-note strong {
    font-size: .8rem;
}

.quick-order-configurator .unlimited-resources-note span {
    font-size: .7rem;
}

.quick-order-configurator .dedicated-threads-note-shell.is-visible {
    max-height: 620px;
    margin: 5px 0 6px;
}

.quick-order-configurator .dedicated-threads-toggle {
    padding: 8px 9px;
}

.quick-order-configurator .dedicated-threads-toggle strong {
    font-size: .8rem;
}

.quick-order-configurator .dedicated-threads-toggle small,
.quick-order-configurator .dedicated-threads-panel p,
.quick-order-configurator .dedicated-threads-note a,
.quick-order-configurator .dedicated-threads-empty {
    font-size: .7rem;
}

.quick-order-configurator .dedicated-threads-panel {
    padding-inline: 9px;
}

.quick-order-configurator .dedicated-threads-note.is-expanded .dedicated-threads-panel {
    padding: 0 9px 9px;
}

.quick-order-configurator .segmented {
    margin: 6px 0;
    padding: 3px;
}

.quick-order-configurator .segmented button {
    min-height: 38px;
    padding: 3px 2px;
    font-size: .66rem;
}

.quick-order-configurator .billing-discount {
    padding: 1px 3px;
    font-size: .58rem;
}

.quick-order-configurator .price-row {
    margin: 7px 0;
    padding-top: 7px;
}

.quick-order-configurator .price-copy {
    gap: 2px;
}

.quick-order-configurator .promo-discount-pill {
    padding: 1px 6px;
    font-size: .64rem;
}

.quick-order-configurator .promo-applied-message {
    font-size: .68rem;
}

.quick-order-configurator .price-row strong {
    font-size: 1.42rem;
}

.quick-order-configurator .btn.full {
    min-height: 36px;
}

.price-roll {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price-roll-digit {
    display: inline-block;
    width: .62em;
    height: 1em;
    overflow: hidden;
    line-height: 1;
    vertical-align: bottom;
}

.price-roll-track {
    display: grid;
    grid-auto-rows: 1em;
    transform: translateY(-10em);
}

.price-roll-track span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1em;
    line-height: 1;
}

.price-roll.rolling .price-roll-track {
    animation: price-digit-roll .58s cubic-bezier(.18, .78, .24, 1) var(--roll-delay, 0ms) both;
}

.price-roll-static {
    display: inline-block;
    height: 1em;
    line-height: 1;
}

.price-roll-space {
    width: .28em;
}

@keyframes price-digit-roll {
    0% {
        transform: translateY(0);
        filter: blur(.4px);
    }

    68% {
        filter: blur(.25px);
    }

    100% {
        transform: translateY(-10em);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-roll.rolling .price-roll-track {
        animation: none;
        transform: translateY(-10em);
    }

    .config-expand-shell {
        transition: none;
    }

    .review-text-shell {
        transition: none;
    }
}

.segmented {
    margin: 16px 0;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(2, 6, 23, .5);
}

.segmented-wrap {
    flex-wrap: wrap;
}

.service-highlights span {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(148, 163, 184, .06);
    font-size: .78rem;
}

.price-copy {
    display: grid;
    gap: 4px;
}

.price-note {
    color: var(--muted-2);
    font-size: .84rem;
}

.promo-discount-pill {
    justify-self: start;
    padding: 2px 7px;
    border: 1px solid rgba(34, 197, 94, .28);
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(22, 163, 74, .13);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.15;
}

.promo-applied-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    max-width: min(280px, 100%);
    color: #bbf7d0;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    animation: promo-applied-pop 3.2s ease both;
}

.promo-applied-message span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #052e16;
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, .42);
}

@keyframes promo-applied-pop {
    0% {
        opacity: 0;
        transform: translateY(-5px) scale(.96);
    }
    14%,
    78% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-3px) scale(.98);
    }
}

.discount-note {
    color: #86efac;
    font-size: .84rem;
    font-weight: 800;
}

.segmented button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-height: 36px;
    color: var(--muted);
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.segmented button.active {
    color: var(--text);
    background: rgba(14, 165, 233, .18);
}

.billing-discount {
    padding: 2px 6px;
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, .16);
    border: 1px solid rgba(34, 197, 94, .28);
    font-size: .7rem;
    font-weight: 900;
    line-height: 1.2;
}

.price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--border);
}

.price-row span,
.game-price span {
    color: var(--muted);
}

.price-row strong {
    font-size: 2rem;
    line-height: 1;
}

.page-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
}

.home-popular-section {
    scroll-margin-top: 120px;
}

.home-scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 16;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(125, 211, 252, .32);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(7, 12, 24, .78);
    box-shadow: 0 18px 48px rgba(2, 6, 23, .42), 0 0 22px rgba(14, 165, 233, .16);
    backdrop-filter: blur(14px);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px) scale(.94);
    transition: opacity .28s ease, transform .28s ease, border-color .2s ease, background .2s ease;
}

.home-scroll-hint.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.home-scroll-hint:hover {
    border-color: rgba(125, 211, 252, .58);
    background: rgba(14, 165, 233, .18);
}

.home-scroll-hint-arrow {
    width: 13px;
    height: 13px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
    animation: home-scroll-hint-bounce 1.45s ease-in-out infinite;
}

@keyframes home-scroll-hint-bounce {
    0%,
    100% {
        transform: translateY(-3px) rotate(45deg);
    }

    50% {
        transform: translateY(5px) rotate(45deg);
    }
}

@media (max-width: 720px) {
    .home-scroll-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-scroll-hint,
    .home-scroll-hint-arrow {
        transition: none;
        animation: none;
    }
}

.section-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.section-heading,
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 24px;
}

.section-heading-single {
    grid-template-columns: minmax(0, 1fr);
}

.section-heading p,
.split-section > p {
    color: var(--muted);
    line-height: 1.7;
}

.game-grid,
.service-grid,
.review-grid,
.feature-grid {
    display: grid;
    gap: 16px;
}

.game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-grid.popular-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.game-grid.catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-news-ticker {
    --news-gap: 26px;
    --news-duration: 34s;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 8px;
    background: rgba(15, 23, 42, .58);
    overflow: hidden;
}

.game-news-label {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.game-news-label .eyebrow {
    margin: 0;
}

.game-news-label strong {
    color: var(--text);
    font-size: .92rem;
}

.game-news-mask {
    overflow: hidden;
    min-width: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}

.game-news-track {
    display: flex;
    gap: var(--news-gap);
    width: max-content;
    animation: news-marquee var(--news-duration) linear infinite;
    will-change: transform;
}

.game-news-ticker:hover .game-news-track {
    animation-play-state: paused;
}

.game-news-list {
    display: flex;
    gap: var(--news-gap);
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.game-news-list li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--muted);
    font-size: .9rem;
    white-space: nowrap;
}

.game-news-list time {
    color: #7dd3fc;
    font-weight: 800;
}

@keyframes news-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--news-gap) / 2)));
    }
}

.game-card,
.service-card,
.review-card,
.feature-card,
.server-row,
.admin-gate,
.admin-form,
.panel-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, .72);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.game-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-card.catalog-card {
    cursor: pointer;
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.game-card,
.service-card,
.review-bubble {
    position: relative;
    isolation: isolate;
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1),
        box-shadow .28s ease,
        border-color .28s ease;
}

.game-card::after,
.service-card::after,
.review-bubble::after,
.configurator-card::after,
.detail-benefit-card::after,
.detail-feature-grid .feature-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--panel-orbit-angle),
        transparent 0deg 14deg,
        rgba(56, 189, 248, .03) 22deg,
        rgba(56, 189, 248, .12) 38deg,
        rgba(56, 189, 248, .28) 56deg,
        rgba(125, 211, 252, .68) 80deg,
        rgba(255, 255, 255, .96) 98deg,
        rgba(125, 211, 252, .72) 116deg,
        rgba(56, 189, 248, .28) 136deg,
        rgba(56, 189, 248, .10) 154deg,
        rgba(56, 189, 248, .03) 168deg,
        transparent 186deg 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(125, 211, 252, .18));
    transition: opacity .22s ease;
}

.game-card.compact .game-card-body {
    padding: 14px;
}

.game-card.compact .game-art {
    height: clamp(252px, 22vw, 278px);
    aspect-ratio: auto;
    overflow: hidden;
}

.game-card.compact .game-art::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    z-index: 1;
    height: 58px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .82) 72%, rgba(15, 23, 42, .98));
    pointer-events: none;
}

.game-card.compact .game-price {
    justify-content: flex-end;
    padding-top: 0;
    margin-top: auto;
}

.game-card.compact .game-price strong {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.1rem;
}

.game-card.compact .game-price strong small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
}

.game-card.compact .card-actions .btn,
.game-card.compact .card-actions .ghost-btn {
    min-height: 38px;
    padding-inline: 12px;
}

.game-art {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(14, 165, 233, .16), rgba(37, 99, 235, .06));
}

.game-art picture {
    display: block;
    width: 100%;
    height: 100%;
}

.game-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card.catalog-card .game-art {
    flex: 1;
    min-height: 100%;
    aspect-ratio: auto;
}

.game-card.catalog-card .game-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 34%, rgba(2, 6, 23, .78));
    opacity: .28;
    pointer-events: none;
    transition: opacity .25s ease;
}

.game-card.catalog-card .game-card-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    min-height: 55%;
    padding: 72px 16px 16px;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .92) 55%, rgba(15, 23, 42, .98));
    opacity: 0;
    pointer-events: none;
    transform: translateY(46%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .24s ease;
}

.game-card.catalog-card:hover .game-card-body,
.game-card.catalog-card:focus-visible .game-card-body,
.game-card.catalog-card:focus-within .game-card-body {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.game-card.catalog-card:hover .game-art::after,
.game-card.catalog-card:focus-visible .game-art::after,
.game-card.catalog-card:focus-within .game-art::after {
    opacity: 1;
}

.game-card.catalog-card .game-price {
    color: white;
}

.game-card.catalog-card .game-price > span {
    color: #bae6fd;
}

.order-hint {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 5;
    padding: 9px 12px;
    border-radius: 7px;
    color: white;
    background: linear-gradient(135deg, rgba(14, 165, 233, .94), rgba(37, 99, 235, .92));
    border: 1px solid rgba(224, 242, 254, .42);
    box-shadow: 0 14px 34px rgba(14, 165, 233, .32), 0 8px 22px rgba(2, 6, 23, .34);
    font-size: .88rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
}

.catalog-card:hover .order-hint,
.catalog-card:focus-visible .order-hint {
    opacity: 1;
    transform: translateY(0);
}

.game-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.game-card h3 {
    color: white;
}

.game-card p,
.service-card p,
.review-card p,
.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

.game-tags {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.game-tags span {
    padding: 6px 8px;
    border-radius: 6px;
    color: #bae6fd;
    background: color-mix(in srgb, var(--accent, #0ea5e9) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent, #0ea5e9) 35%, transparent);
    font-size: .76rem;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.catalog-card .platform-badges {
    margin-bottom: 22px;
}

.platform-badges span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid color-mix(in srgb, var(--accent, #0ea5e9) 38%, transparent);
    border-radius: 7px;
    color: #bae6fd;
    background: color-mix(in srgb, var(--accent, #0ea5e9) 17%, transparent);
}

.platform-badges svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.game-price strong {
    font-size: 1.22rem;
}

.game-price strong small {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
}

.catalog-card .game-price {
    align-items: center;
    padding-top: 8px;
}

.card-actions {
    gap: 8px;
    margin-top: 14px;
}

.card-actions .btn,
.card-actions .ghost-btn {
    flex: 1;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid-home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
    padding: 18px;
}

.service-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.service-card-compact {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-compact .service-icon {
    width: 100%;
    align-self: stretch;
}

.service-card-compact > strong {
    width: 100%;
    text-align: center;
}

.service-card-compact p {
    width: 100%;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.service-card:hover,
.game-card:hover,
.review-card:hover,
.feature-card:hover {
    border-color: var(--border-strong);
}

.game-card:hover,
.service-card:hover,
.review-bubble:hover,
.detail-benefit-card:hover,
.detail-feature-grid .feature-card:hover {
    transform: translateY(-8px) scale(1.018);
    box-shadow: 0 20px 52px rgba(2, 6, 23, .4);
    z-index: 3;
}

.game-card:hover::after,
.service-card:hover::after,
.review-bubble:hover::after,
.detail-benefit-card:hover::after,
.detail-feature-grid .feature-card:hover::after {
    opacity: 1;
    animation: panel-orbit-angle 7.8s linear infinite;
}

.configurator-card::after {
    opacity: .82;
    animation: panel-orbit-angle 8.2s linear infinite;
}

.configurator-card.is-wizard-open::after {
    opacity: 0;
    animation: none;
}

.service-icon {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    margin-bottom: 16px;
    padding-inline: 10px;
    border-radius: 8px;
    background: rgba(14, 165, 233, .12);
    color: #bae6fd;
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-grid.large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-large {
    min-height: 250px;
}

.services-workspace {
    padding-top: 28px;
}

.service-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 0 12px;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.service-tab-card {
    min-height: 92px;
    display: grid;
    gap: 10px;
    align-content: center;
    justify-items: start;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    color: var(--muted);
    background: rgba(15, 23, 42, .62);
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.service-tab-card:hover,
.service-tab-card.active {
    color: var(--text);
    border-color: rgba(56, 189, 248, .36);
    background: linear-gradient(180deg, rgba(14, 165, 233, .16), rgba(15, 23, 42, .76));
    transform: translateY(-3px);
}

.service-tab-card.active {
    border-bottom-color: rgba(15, 23, 42, .92);
    background: linear-gradient(180deg, rgba(14, 165, 233, .18), rgba(15, 23, 42, .92));
    box-shadow: 0 1px 0 rgba(15, 23, 42, .96);
    transform: translateY(1px);
}

.service-tab-panel {
    min-height: 420px;
    padding: 24px;
    border: 1px solid rgba(56, 189, 248, .20);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    background: linear-gradient(180deg, rgba(15, 23, 42, .56), rgba(8, 13, 25, .42));
    box-shadow: 0 16px 46px rgba(0, 0, 0, .18);
    animation: tab-panel-in .24s ease both;
}

@keyframes tab-panel-in {
    from {
        opacity: .55;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-transition {
    animation: catalog-filter-in .28s ease both;
}

@keyframes catalog-filter-in {
    from {
        opacity: .35;
        filter: blur(3px);
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.empty-results {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    max-width: 680px;
    padding: 24px;
    border: 1px dashed rgba(56, 189, 248, .32);
    border-radius: var(--radius);
    background: rgba(14, 165, 233, .08);
}

.empty-results p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.missing-game-card {
    max-width: 760px;
}

.missing-game-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.missing-game-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: .86rem;
}

.bot-check {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.missing-game-form .btn {
    min-height: 44px;
}

.form-message {
    display: block;
    color: var(--muted);
    line-height: 1.5;
}

.form-message.success {
    color: #86efac;
}

.form-message.error {
    grid-column: 1 / -1;
    color: #fecaca;
}

.service-tab-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 34px;
    border-radius: 7px;
    color: #bae6fd;
    background: rgba(14, 165, 233, .12);
}

.service-tab-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 16px;
    align-items: stretch;
}

.service-focus-card,
.service-config-card {
    min-height: 300px;
    padding: 22px;
}

.service-focus-card {
    display: flex;
    flex-direction: column;
}

.service-focus-card h2 {
    margin-bottom: 14px;
}

.service-price-line {
    display: grid;
    gap: 4px;
    margin: 20px 0 12px;
    padding-top: 22px;
}

.service-price-line span {
    color: var(--muted);
}

.service-price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.service-price-line strong {
    font-size: 1.7rem;
}

.service-price-line small,
.service-price-amount small {
    color: var(--muted);
    font-size: .82rem;
}

.service-setup-fee-line,
.service-first-payment-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(56, 189, 248, .18);
    border-radius: 7px;
    background: rgba(14, 165, 233, .07);
    font-size: .82rem;
}

.service-fee-lines-shell.is-visible {
    --config-expand-margin: 8px 0 0;
}

.service-fee-lines-shell .config-expand-inner {
    display: grid;
    gap: 6px;
}

.service-first-payment-line {
    border-color: rgba(34, 197, 94, .22);
    background: rgba(34, 197, 94, .08);
}

.service-setup-fee-line span,
.service-first-payment-line span {
    color: var(--muted);
}

.service-setup-fee-line strong,
.service-first-payment-line strong {
    color: var(--text);
    font-size: .95rem;
}

.service-first-payment-line strong {
    color: #bbf7d0;
}

.service-fee-roll {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    white-space: nowrap;
}

.service-billing-block {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.service-config-billing {
    margin: 16px 0 0;
}

.service-billing-block > span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.service-billing-segmented {
    margin: 0;
    gap: 4px;
    padding: 4px;
    flex-wrap: nowrap;
}

.service-billing-segmented button {
    flex-direction: column;
    min-width: 0;
    min-height: 44px;
    padding: 5px 4px;
    font-size: .72rem;
    line-height: 1.15;
}

.service-billing-segmented .billing-discount {
    padding: 1px 5px;
    font-size: .64rem;
}

.service-action-notices {
    display: grid;
    gap: 0;
    margin-top: auto;
    padding-top: 18px;
}

.service-action-notices .service-notice {
    margin-top: 0;
}

.service-notice-expand.is-visible {
    --config-expand-margin: 10px 0 0;
}

.service-config-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, .54);
    overflow: visible;
    position: relative;
}

.service-configurator-card h3 {
    margin-bottom: 16px;
}

.service-config-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.service-api-form {
    align-items: end;
    position: relative;
    z-index: 2;
}

.service-config-field {
    display: grid;
    gap: 7px;
    margin: 0;
    min-width: 0;
    position: relative;
}

.service-config-field.choice-layer-active {
    z-index: 95;
}

.service-config-field-wide {
    grid-column: 1 / -1;
}

.service-textarea {
    min-height: 104px;
    resize: vertical;
}

.service-inquiry-status {
    margin-top: 10px;
}

.service-config-field span {
    color: var(--muted);
    font-size: .88rem;
}

.required-mark {
    color: #7dd3fc;
    font-style: normal;
}

.service-choice-menu.open {
    z-index: 110;
}

.service-choice-menu-list {
    width: max-content;
    min-width: 100%;
    max-width: min(780px, calc(100vw - 32px));
}

.service-choice-menu .choice-menu-button span:first-child,
.service-choice-menu-list button {
    color: var(--text);
}

.service-choice-menu-list button {
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
}

.service-choice-menu-list button:disabled,
.service-choice-menu-list button.disabled {
    cursor: not-allowed;
    opacity: .45;
}

.service-config-bullets {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-notice {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 8px;
    background: rgba(14, 165, 233, .08);
    color: #dbeafe;
    font-size: .86rem;
    line-height: 1.55;
}

.service-inquiry-note {
    width: 100%;
    text-align: left;
    color: var(--text);
}

.service-notice-strong {
    border-color: rgba(245, 158, 11, .28);
    background: rgba(245, 158, 11, .08);
    color: #fde68a;
}

.service-license-notice {
    display: grid;
    gap: 12px;
    border-color: rgba(56, 189, 248, .28);
    background: rgba(14, 165, 233, .09);
    color: #dbeafe;
}

.service-license-notice-shell.is-visible {
    --config-expand-margin: 12px 0 0;
}

.service-license-notice p {
    margin: 0;
}

.service-license-confirmation {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #e0f2fe;
    cursor: pointer;
    font-weight: 700;
}

.service-license-confirmation input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #22c55e;
}

.service-license-confirmation span {
    color: inherit;
    font-size: .86rem;
    line-height: 1.5;
}

.service-field-toast {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 70;
    width: max-content;
    max-width: min(340px, calc(100vw - 48px));
    padding: 8px 10px;
    border: 1px solid rgba(125, 211, 252, .34);
    border-radius: 7px;
    background: rgba(8, 47, 73, .97);
    box-shadow: 0 16px 30px rgba(2, 6, 23, .34);
    color: #e0f2fe;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.35;
    pointer-events: none;
    animation: service-field-toast .5s ease-out both, service-field-toast-out .55s ease-in 2.35s forwards;
}

@keyframes service-field-toast {
    from {
        opacity: 0;
        transform: translateY(-7px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes service-field-toast-out {
    to {
        opacity: 0;
        transform: translateY(-6px) scale(.985);
    }
}

.service-config-card ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-config-card li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.service-config-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #67e8f9, #2563eb);
}

.reviews-band {
    padding-bottom: 82px;
    overflow: hidden;
}

.review-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-card {
    padding: 22px;
}

.stars {
    color: #facc15;
    margin-bottom: 14px;
}

.review-meta {
    display: grid;
    gap: 3px;
}

.review-meta span,
.review-card > span {
    color: var(--muted-2);
}

.reviews-marquee {
    --reviews-gap: 22px;
    --reviews-duration: 98s;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 18px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    cursor: grab;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.reviews-marquee::-webkit-scrollbar {
    display: none;
}

.reviews-marquee:hover {
    cursor: grab;
}

.reviews-marquee.is-timeline-controlled {
    overflow-x: hidden;
    touch-action: pan-y;
    user-select: none;
}

.reviews-marquee.is-timeline-controlled.is-dragging {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: var(--reviews-gap);
    width: max-content;
    animation: reviews-scroll var(--reviews-duration) linear infinite;
    will-change: transform;
}

.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

.reviews-strip {
    display: flex;
    gap: var(--reviews-gap);
    align-items: flex-start;
}

.review-bubble {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    width: max-content;
    max-width: min(420px, 78vw);
    padding: 18px 20px 17px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(8, 13, 25, .94));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}

.review-bubble::before {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -9px;
    width: 18px;
    height: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(8, 13, 25, .94));
    border-left: 1px solid rgba(148, 163, 184, .18);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    border-bottom-left-radius: 5px;
    transform: rotate(18deg) skewX(-14deg);
}

.reviews-strip .review-bubble:nth-child(odd) {
    margin-top: 26px;
}

.review-bubble p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.review-text-shell {
    position: relative;
    max-height: none;
    overflow: visible;
    transition: max-height .38s cubic-bezier(.18, .78, .24, 1);
}

.review-text-shell.is-collapsible {
    max-height: 10.5em;
    overflow: hidden;
}

.review-text-shell.is-collapsible::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.4em;
    pointer-events: none;
    opacity: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .98));
    transition: opacity .22s ease;
}

.review-text-shell.is-expanded {
    max-height: 1400px;
}

.review-text-shell.is-expanded::after {
    opacity: 0;
}

.review-text-shell p {
    margin: 0;
    min-height: 0;
    overflow: hidden;
    white-space: pre-line;
}

.review-read-more {
    justify-self: start;
    width: fit-content;
    margin: -2px 0 0;
    padding: 0;
    border: 0;
    color: #7dd3fc;
    background: transparent;
    font: inherit;
    font-size: .86rem;
    font-weight: 900;
    cursor: pointer;
}

.review-read-more:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.review-bubble-footer {
    display: grid;
    gap: 4px;
}

.review-bubble-footer strong {
    color: var(--text);
}

.review-bubble-footer span {
    color: var(--muted-2);
}

.resource-footnote-band {
    width: min(1180px, calc(100% - 32px));
    margin: -14px auto 30px;
}

.resource-footnote-band p {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, .22);
    border-radius: 8px;
    background: rgba(245, 158, 11, .07);
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}

.review-thread {
    display: grid;
    gap: 18px;
}

.review-bubble-page {
    width: fit-content;
    max-width: min(680px, 88vw);
    opacity: 0;
    animation: review-fade-in .8s ease forwards;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
}

.review-bubble-page.bubble-left {
    justify-self: start;
}

.review-bubble-page.bubble-right {
    justify-self: end;
}

.review-bubble-page.bubble-right::before {
    left: auto;
    right: 24px;
    transform: rotate(-18deg) skewX(14deg);
}

@keyframes review-fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@supports not (animation-timeline: view()) {
    .review-bubble-page {
        opacity: 1;
        animation: none;
    }
}

@keyframes reviews-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--reviews-gap) / 2)));
    }
}

.subhero {
    width: min(980px, calc(100% - 32px));
    margin: 30px auto 0;
    padding: 28px 0 12px;
}

.subhero h1 {
    max-width: 620px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    line-height: 1.04;
}

.subhero p {
    color: var(--muted);
    max-width: 760px;
    font-size: .94rem;
    line-height: 1.55;
}

.subhero .eyebrow {
    margin-bottom: 8px;
    font-size: .7rem;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.terms-page {
    padding-top: 28px;
}

.terms-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.terms-language-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(15, 23, 42, .72);
}

.terms-language-tabs a {
    min-width: 46px;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.terms-language-tabs a:hover,
.terms-language-tabs a.active {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: white;
    transform: translateY(-1px);
}

.terms-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(14, 165, 233, .28);
    border-radius: 8px;
    background: rgba(14, 165, 233, .1);
    color: #c7e7ff;
    font-size: .92rem;
    line-height: 1.55;
}

.terms-frame-shell {
    position: relative;
    min-height: min(78vh, 980px);
    padding: 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, .78);
}

.terms-frame {
    display: block;
    width: 100%;
    min-height: min(78vh, 980px);
    border: 0;
    border-radius: 6px;
    background: white;
}

.search-field {
    max-width: 420px;
}

.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(8, 13, 25, .98));
}

.detail-hero h1 {
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.04;
    margin-bottom: 10px;
}

.detail-hero p {
    max-width: 660px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.detail-hero picture {
    display: block;
    width: 100%;
}

.detail-hero img {
    width: 100%;
    max-height: 230px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 455px);
    gap: 28px;
    align-items: start;
}

.detail-content-stack {
    display: grid;
    gap: 30px;
}

.detail-alert {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(251, 191, 36, .34);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(251, 191, 36, .12), rgba(15, 23, 42, .68));
}

.detail-alert strong {
    color: #fde68a;
    letter-spacing: .02em;
}

.detail-alert p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.detail-alert .detail-alert-lead {
    color: var(--text);
    font-weight: 800;
}

.detail-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.detail-benefit-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 168px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15, 23, 42, .72), rgba(8, 13, 25, .56));
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1),
        box-shadow .28s ease,
        border-color .28s ease;
}

.detail-benefit-card > * {
    position: relative;
    z-index: 1;
}

.detail-benefit-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.benefit-icon,
.feature-card-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(14, 165, 233, .12);
    color: #bae6fd;
}

.benefit-icon svg,
.feature-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-deep-dive {
    margin-top: 10px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.detail-feature-grid .feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    background: rgba(15, 23, 42, .54);
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1),
        box-shadow .28s ease,
        border-color .28s ease;
}

.detail-feature-grid .feature-card > * {
    position: relative;
    z-index: 1;
}

.detail-feature-grid {
    align-items: start;
}

.detail-feature-grid .feature-card strong,
.detail-feature-grid .feature-card p {
    margin: 0;
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
    padding: 18px;
}

.feature-card span {
    color: #67e8f9;
    font-weight: 800;
}

.sticky-panel {
    position: sticky;
    top: 88px;
}

.server-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.server-game-choice-menu {
    width: min(100%, 260px);
    justify-self: end;
    z-index: 20;
}

.server-game-choice-menu.open {
    z-index: 130;
}

.server-filter-button {
    width: 100%;
}

.server-choice-menu-list {
    width: max-content;
    min-width: 100%;
    max-width: min(520px, calc(100vw - 32px));
}

.server-choice-menu-list button {
    color: var(--text);
}

.server-list {
    display: grid;
    gap: 10px;
}

.server-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(170px, .55fr) minmax(220px, .95fr);
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.server-row-header {
    padding-block: 10px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: transparent;
    border-color: rgba(148, 163, 184, .16);
}

.server-sort-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    background: transparent;
    cursor: pointer;
}

.server-sort-button.active,
.server-sort-button:hover {
    color: var(--text);
}

.server-row-animated {
    opacity: 0;
    transform: translateY(10px);
    animation: serverRowEnter .46s cubic-bezier(.2, .8, .2, 1) forwards;
}

.server-name-cell {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    align-items: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--muted-2);
}

.status-dot.online {
    background: var(--green);
    animation: serverStatusPulseGreen 1.9s ease-in-out infinite;
}

.status-dot.offline {
    background: #ef4444;
    animation: serverStatusPulseRed 1.9s ease-in-out infinite;
}

.status-dot.maintenance {
    background: var(--warning);
}

.server-limit-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.server-status-meta {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 12px;
    color: var(--muted-2);
    font-size: .78rem;
    font-weight: 800;
    text-align: right;
}

@keyframes serverRowEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serverStatusPulseGreen {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .32);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
}

@keyframes serverStatusPulseRed {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, .34);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
    }
}

code {
    color: #bae6fd;
    white-space: normal;
}

.admin-gate,
.admin-form {
    max-width: 900px;
    padding: 22px;
}

.admin-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-workspace {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.admin-sidebar,
.admin-list,
.admin-editor {
    padding: 18px;
}

.admin-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 10px;
}

.admin-tab {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.admin-tab:hover,
.admin-tab.active {
    color: var(--text);
    border-color: rgba(56, 189, 248, .28);
    background: rgba(14, 165, 233, .12);
}

.admin-main,
.admin-stack,
.admin-review-list {
    display: grid;
    gap: 14px;
}

.admin-split {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.admin-list {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 126px);
    overflow: hidden;
}

.admin-list-head,
.admin-editor-head,
.admin-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-game-list {
    display: grid;
    gap: 8px;
    overflow: auto;
    padding-right: 4px;
}

.admin-game-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 8px;
    color: var(--text);
    background: rgba(15, 23, 42, .36);
    text-align: left;
    cursor: pointer;
}

.admin-game-row:hover,
.admin-game-row.active {
    border-color: rgba(56, 189, 248, .42);
    background: rgba(14, 165, 233, .11);
}

.admin-game-row img {
    width: 54px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
}

.admin-game-row strong,
.admin-game-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-game-row small {
    margin-top: 2px;
    color: var(--muted);
}

.admin-status {
    padding: 4px 7px;
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, .14);
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
}

.admin-status.hidden {
    color: #fecaca;
    background: rgba(239, 68, 68, .14);
}

.admin-status.draft {
    color: #fde68a;
    background: rgba(245, 158, 11, .14);
}

.admin-editor {
    display: grid;
    gap: 18px;
}

.admin-editor h2,
.admin-form-section h3 {
    margin: 0;
}

.admin-form-section {
    display: grid;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .14);
}

.admin-check-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--muted);
}

.admin-check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.admin-image-grid,
.admin-setting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-preview-image {
    width: 100%;
    max-height: 210px;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    object-fit: contain;
    background: rgba(2, 6, 23, .45);
}

.admin-preview-card {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.admin-help {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.admin-message {
    padding: 12px 14px;
    border: 1px solid rgba(56, 189, 248, .24);
    border-radius: 8px;
    color: #bae6fd;
    background: rgba(14, 165, 233, .1);
}

.admin-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(239, 68, 68, .24);
    border-radius: 8px;
    background: rgba(127, 29, 29, .16);
}

.admin-danger-zone p {
    margin: 5px 0 0;
    color: var(--muted);
}

.ghost-btn.danger {
    color: #fecaca;
    border-color: rgba(239, 68, 68, .34);
}

.ghost-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.admin-news-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.admin-affiliate-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-affiliate-summary > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    background: rgba(2, 6, 23, .24);
}

.admin-affiliate-summary span,
.admin-affiliate-stats {
    color: var(--muted);
}

.admin-affiliate-list {
    display: grid;
    gap: 14px;
}

.admin-affiliate-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    background: rgba(2, 6, 23, .24);
}

.admin-affiliate-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-affiliate-card-head > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-affiliate-card-head > div:first-child > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-affiliate-target {
    grid-column: 1 / -1;
}

.admin-shortlink-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-shortlink-input > span {
    color: var(--muted);
    font-size: 1.15rem;
    font-weight: 900;
}

.admin-shortlink-input .field {
    min-width: 0;
}

.admin-affiliate-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .12);
    font-size: .9rem;
}

.admin-review-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    background: rgba(2, 6, 23, .24);
}

.admin-setting-grid > div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
}

.admin-setting-grid span {
    color: var(--muted);
}

.form-message {
    color: #bae6fd;
    margin: 12px 0 0;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: auto auto 24px;
    padding: 26px 0 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.site-footer strong {
    color: var(--text);
}

.site-footer p {
    margin: 6px 0 0;
}

.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    gap: 14px;
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px;
    border: 0;
    border-radius: 10px;
    background: rgba(5, 8, 18, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
    backdrop-filter: blur(18px);
}

.cookie-consent > * {
    position: relative;
    z-index: 1;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent h2,
.cookie-consent h3,
.cookie-consent p {
    margin: 0;
}

.cookie-consent h2 {
    font-size: 1.18rem;
}

.cookie-consent-copy {
    display: grid;
    gap: 8px;
}

.cookie-consent-copy p:not(.eyebrow),
.cookie-category p {
    color: var(--muted);
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-settings {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .16);
}

.cookie-settings[hidden] {
    display: none;
}

.cookie-category {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    background: rgba(15, 23, 42, .55);
}

.cookie-toggle-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    cursor: pointer;
}

.cookie-toggle-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .36);
    transition: background .18s ease;
}

.cookie-toggle::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: white;
    transition: transform .18s ease;
}

.cookie-toggle-row input:checked + .cookie-toggle {
    background: var(--green);
}

.cookie-toggle-row input:checked + .cookie-toggle::before {
    transform: translateX(20px);
}

.exit-offer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 6, 23, .64);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
}

.exit-offer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.exit-offer-backdrop[hidden] {
    display: none;
}

.exit-offer-modal {
    position: relative;
    display: grid;
    gap: 13px;
    width: min(430px, calc(100vw - 48px));
    padding: 20px;
    border: 0;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(7, 11, 23, .98)),
        var(--surface);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .48);
    transform: translateY(12px) scale(.985);
    transition: transform .28s cubic-bezier(.18, .78, .24, 1);
}

.exit-offer-backdrop.is-visible .exit-offer-modal {
    transform: translateY(0) scale(1);
}

.exit-offer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    color: #bfdbfe;
    background: rgba(15, 23, 42, .82);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.exit-offer-close:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, .42);
    background: rgba(14, 165, 233, .16);
}

.exit-offer-copy {
    display: grid;
    gap: 7px;
    justify-items: center;
    padding: 0 34px;
    text-align: center;
}

.exit-offer-copy h2,
.exit-offer-copy p {
    margin: 0;
}

.exit-offer-copy h2 {
    color: #f8fafc;
    font-size: clamp(1.28rem, 2.2vw, 1.58rem);
    line-height: 1.12;
}

.exit-offer-copy p:not(.eyebrow) {
    color: #cbd5e1;
    font-size: .93rem;
    line-height: 1.45;
}

.exit-offer-code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 8px;
    background: rgba(15, 23, 42, .72);
}

.exit-offer-code button {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(34, 197, 94, .34);
    border-radius: 7px;
    color: #f0fdf4;
    background: rgba(22, 163, 74, .14);
    font-weight: 900;
    letter-spacing: .06em;
    cursor: pointer;
}

.exit-offer-code small {
    color: #a7f3d0;
    font-size: .74rem;
    text-align: right;
}

.exit-offer-success {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 138px;
    padding: 16px 10px 8px;
    text-align: center;
    animation: exit-offer-success-in .52s cubic-bezier(.18, .78, .24, 1) both;
}

.exit-offer-success[hidden] {
    display: none;
}

.exit-offer-success span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: #052e16;
    background: linear-gradient(135deg, #86efac, #22c55e);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, .12), 0 18px 40px rgba(34, 197, 94, .28);
    font-size: 1.8rem;
    font-weight: 900;
}

.exit-offer-success strong {
    color: #dcfce7;
    font-size: 1.24rem;
    line-height: 1.15;
}

.exit-offer-success small {
    color: #bbf7d0;
    font-size: .9rem;
    line-height: 1.4;
}

.exit-offer-modal.is-applied [data-exit-intent-content],
.exit-offer-modal.is-applied [data-exit-intent-actions] {
    display: none;
}

@keyframes exit-offer-success-in {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(.94);
    }
    68% {
        opacity: 1;
        transform: translateY(0) scale(1.025);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.exit-offer-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.exit-offer-actions .btn,
.exit-offer-actions .ghost-btn {
    min-height: 38px;
}

.exit-offer-actions .btn {
    flex: 0 1 250px;
}

.footer-links {
    gap: 14px;
    flex-wrap: wrap;
}

.contact-page {
    display: grid;
    gap: 22px;
}

.contact-grid,
.contact-info-grid {
    display: grid;
    gap: 16px;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-info-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
}

.contact-provider-list {
    display: grid;
    gap: 16px;
}

.contact-card,
.contact-company-card,
.contact-links-card,
.contact-about-card {
    padding: 22px;
}

.contact-card {
    display: grid;
    align-content: start;
}

.contact-about-card {
    display: grid;
    gap: 18px;
}

.contact-card-icon,
.contact-provider-icon,
.contact-link-list a span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 7px;
    color: #bae6fd;
    background: rgba(14, 165, 233, .12);
}

.contact-card-icon {
    width: 42px;
    height: 38px;
    margin-bottom: 14px;
}

.contact-provider-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-provider-head h2,
.contact-provider-head .eyebrow {
    margin-bottom: 0;
}

.contact-provider-icon {
    width: 44px;
    height: 40px;
}

.contact-link-list a span {
    width: 32px;
    height: 30px;
}

.contact-card-icon svg,
.contact-provider-icon svg,
.contact-link-list svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card h2,
.contact-company-card h2,
.contact-links-card h2,
.contact-about-card h2 {
    margin-bottom: 12px;
}

.contact-about-copy {
    display: grid;
    gap: 10px;
}

.contact-about-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-about-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-about-points span {
    padding: 7px 10px;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(14, 165, 233, .08);
    font-size: .82rem;
    font-weight: 800;
}

.contact-details {
    display: grid;
    gap: 14px;
    margin: 0;
}

.contact-detail-row {
    display: grid;
    gap: 4px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.contact-detail-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-details dt {
    color: var(--muted-2);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-details dd {
    margin: 0;
    color: var(--text);
}

.contact-link-list {
    display: grid;
    gap: 10px;
}

.contact-link-list a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 8px;
    background: rgba(15, 23, 42, .22);
    text-decoration: none;
}

.contact-link-list a:hover {
    border-color: rgba(56, 189, 248, .34);
    background: rgba(14, 165, 233, .08);
}

.contact-link-list a,
.contact-details a {
    color: #bae6fd;
}

#blazor-error-ui {
    background: #3f1212;
    bottom: 0;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .25);
    color: white;
    display: none;
    left: 0;
    padding: .8rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto auto;
        row-gap: 0;
    }

    .main-nav,
    .header-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        pointer-events: none;
        transition:
            max-height .36s ease,
            margin-top .36s ease,
            opacity .24s ease,
            transform .32s ease,
            visibility 0s linear .36s;
    }

    .nav-button {
        display: grid;
        position: relative;
        justify-self: end;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 7px;
        cursor: pointer;
        background: rgba(148, 163, 184, .06);
        transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .nav-button span {
        position: absolute;
        width: 18px;
        height: 2px;
        background: var(--text);
        border-radius: 999px;
        transition: transform .28s ease, opacity .2s ease, background .2s ease;
    }

    .nav-button span:nth-child(1) {
        transform: translateY(-6px);
    }

    .nav-button span:nth-child(3) {
        transform: translateY(6px);
    }

    .nav-toggle:checked + .nav-button {
        border-color: rgba(56, 189, 248, .42);
        background: rgba(14, 165, 233, .12);
        box-shadow: 0 10px 26px rgba(14, 165, 233, .12);
    }

    .nav-toggle:checked + .nav-button span:nth-child(1) {
        transform: rotate(45deg);
    }

    .nav-toggle:checked + .nav-button span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.45);
    }

    .nav-toggle:checked + .nav-button span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .nav-toggle:checked ~ .main-nav,
    .nav-toggle:checked ~ .header-actions {
        max-height: 240px;
        margin-top: 16px;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition:
            max-height .38s ease,
            margin-top .38s ease,
            opacity .24s ease .08s,
            transform .32s ease .04s,
            visibility 0s;
    }

    .nav-toggle:checked ~ .header-actions {
        transition-delay: .06s, .06s, .14s, .1s, 0s;
    }

    @media (prefers-reduced-motion: reduce) {
        .main-nav,
        .header-actions,
        .nav-button,
        .nav-button span {
            transition: none;
        }
    }

    .hero-grid,
    .detail-hero,
    .detail-layout,
    .section-heading,
    .split-section,
    .admin-workspace,
    .admin-split {
        grid-template-columns: 1fr;
    }

    .admin-sidebar,
    .admin-list {
        position: static;
        max-height: none;
    }

    .sticky-panel {
        position: static;
    }

    .game-grid,
    .game-grid.popular-grid,
    .game-grid.catalog,
    .service-grid,
    .service-grid-home,
    .service-grid.large,
    .service-tabs,
    .service-focus-grid,
    .service-config-form,
    .review-row,
    .review-grid,
    .feature-grid,
    .detail-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .server-game-choice-menu {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .config-help-prompt {
        align-items: stretch;
        flex-direction: column;
    }

    .config-help-actions {
        justify-content: space-between;
    }

    .config-wizard-modal {
        padding: 14px;
    }

    .config-wizard-options,
    .config-wizard-result dl,
    .config-wizard-footer {
        grid-template-columns: 1fr;
    }

    .dedicated-threads-variants {
        grid-template-columns: 1fr;
    }

    .site-header,
    .hero-section,
    .page-section,
    .subhero,
    .detail-hero,
    .site-footer {
        width: min(100% - 22px, 1180px);
    }

    .site-header {
        width: min(100% - 14px, 1180px);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        padding: 9px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand strong {
        font-size: 1.08rem;
    }

    .brand small {
        font-size: .72rem;
    }

    .nav-toggle:checked ~ .main-nav,
    .nav-toggle:checked ~ .header-actions {
        max-height: 520px;
        overflow: visible;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .main-nav a {
        display: grid;
        min-height: 40px;
        place-items: center;
        padding: 9px 8px;
        border: 1px solid rgba(148, 163, 184, .16);
        background: rgba(15, 23, 42, .54);
        text-align: center;
    }

    .main-nav a::before {
        left: 8px;
        right: 8px;
    }

    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .header-actions .social-links {
        display: grid;
        grid-column: auto;
        grid-template-columns: repeat(2, 40px);
        justify-content: start;
        align-content: center;
        gap: 8px;
        width: 100%;
    }

    .header-actions .language-menu,
    .header-actions .language-pill,
    .header-actions .btn {
        width: 100%;
    }

    .header-actions .social-link {
        width: 40px;
        height: 40px;
    }

    .language-menu-panel {
        left: 0;
        right: auto;
        width: min(220px, calc(100vw - 32px));
    }

    .hero-section {
        width: min(100% - 8px, 1180px);
        padding: 30px 8px 22px;
    }

    .hero-copy {
        padding-inline: 8px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-panel::before,
    .hero-panel::after {
        inset: -1px;
    }

    .configurator-card.quick-order-configurator {
        padding-inline: 13px;
    }

    h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .game-grid,
    .game-grid.popular-grid,
    .game-grid.catalog,
    .service-grid,
    .service-grid-home,
    .service-grid.large,
    .service-tabs,
    .service-focus-grid,
    .service-config-form,
    .review-row,
    .review-grid,
    .feature-grid,
    .detail-benefit-grid,
    .server-toolbar,
    .field-grid,
    .form-grid,
    .config-row {
        grid-template-columns: 1fr;
    }

    .config-row-primary {
        grid-template-columns: 1fr;
    }

    .tt-typewriter {
        width: auto;
    }

    .detail-hero {
        padding: 20px;
    }

    .service-tab-panel {
        padding: 16px;
        border-radius: var(--radius);
    }

    .toolbar > span {
        display: none;
    }

    .service-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .service-tab-card {
        min-height: 76px;
        gap: 6px;
        justify-items: center;
        align-content: center;
        padding: 9px 6px;
        border-radius: 8px;
        text-align: center;
    }

    .service-tab-card:hover,
    .service-tab-card.active {
        transform: translateY(-1px);
    }

    .service-tab-card.active {
        border-bottom-color: rgba(56, 189, 248, .36);
        transform: none;
    }

    .service-tab-card strong {
        font-size: .72rem;
        line-height: 1.15;
    }

    .service-tab-icon {
        width: 32px;
        height: 30px;
    }

    .server-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 13px 12px;
    }

    .server-row > div:nth-child(2) {
        justify-self: end;
        color: #dbeafe;
        font-weight: 800;
        white-space: nowrap;
    }

    .server-row > div:nth-child(3),
    .server-row-header > button:nth-child(3) {
        display: none;
    }

    .server-name-cell {
        min-width: 0;
    }

    .server-name-cell strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-image-grid,
    .admin-setting-grid,
    .admin-news-row,
    .admin-affiliate-summary {
        grid-template-columns: 1fr;
    }

    .admin-list-head,
    .admin-editor-head,
    .admin-danger-zone,
    .admin-affiliate-card-head {
        align-items: stretch;
        flex-direction: column;
    }

    .site-footer {
        display: grid;
    }

    .server-row-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding-block: 9px;
        font-size: .7rem;
    }

    .server-row-header > button:nth-child(2) {
        justify-self: end;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .server-row-animated,
    .status-dot.online,
    .status-dot.offline {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Masonry game hosting catalog */
.game-grid.catalog.masonry-gallery {
    display: block;
    position: relative;
    min-height: 240px;
}

.masonry-gallery .game-card.catalog-card {
    position: absolute;
    display: block;
    height: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: unset;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, .14);
    background: transparent;
    transform-origin: center top;
    transition: border-color .18s ease, box-shadow .18s ease;
    will-change: auto;
}

.masonry-gallery .game-card.catalog-card::after {
    display: none;
}

.masonry-gallery .game-card.catalog-card:hover {
    transform: none;
    border-color: rgba(125, 211, 252, .55);
    box-shadow: 0 14px 30px rgba(2, 6, 23, .28);
    z-index: 4;
}

.masonry-gallery .game-card.catalog-card .game-art {
    display: block;
    flex: none;
    height: auto;
    min-height: 0;
    aspect-ratio: unset;
    overflow: hidden;
    border-radius: inherit;
    background: rgba(2, 6, 23, .24);
}

.masonry-gallery .game-card.catalog-card .game-art picture {
    height: auto;
}

.masonry-gallery .game-card.catalog-card .game-art img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    object-fit: contain;
}

.masonry-gallery .game-card.catalog-card .game-card-body {
    position: absolute;
    inset: auto 0 0;
}

@media (max-width: 1080px) {
    .contact-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .game-grid.catalog.masonry-gallery {
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    .game-news-ticker {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .game-news-label {
        justify-content: space-between;
    }

    .game-grid.catalog.masonry-gallery {
        min-height: 180px;
    }

    .masonry-gallery .game-card.catalog-card .game-card-body {
        opacity: 1;
        transform: none;
        min-height: 104px;
    }

    .missing-game-form {
        grid-template-columns: 1fr;
    }
}



/* Dark palette lift - 2026-06 */
:root {
    --bg: #07101c;
    --surface: #0d1828;
    --surface-2: #122036;
    --surface-3: #182941;
    --border: rgba(148, 163, 184, .22);
    --border-strong: rgba(56, 189, 248, .42);
    --muted: #aab7ca;
    --muted-2: #74859e;
    --shadow: 0 24px 74px rgba(0, 0, 0, .30);
}

body {
    background:
        radial-gradient(circle at 50% 0, rgba(14, 165, 233, .12), transparent 42rem),
        linear-gradient(180deg, rgba(14, 165, 233, .13), transparent 40rem),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        var(--bg);
    background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.site-header {
    border-color: rgba(125, 211, 252, .18);
    background: rgba(7, 14, 27, .88);
    box-shadow:
        0 14px 46px rgba(0, 0, 0, .22),
        0 0 34px rgba(14, 165, 233, .035);
}

.hero-section {
    border-color: rgba(56, 189, 248, .28);
    background:
        linear-gradient(120deg, rgba(3, 9, 24, .72), rgba(4, 17, 36, .36)),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        url("/assets/hero/datacenter.jpg");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
    box-shadow:
        0 26px 64px rgba(0, 0, 0, .22),
        0 0 42px rgba(14, 165, 233, .055);
}

.hero-section::before {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .34), transparent 25rem),
        radial-gradient(circle at 12% 65%, rgba(37, 99, 235, .10), transparent 22rem),
        linear-gradient(180deg, rgba(3, 7, 18, .03), rgba(3, 10, 24, .20));
}

.hero-copy .lead,
.hero-why-list li {
    color: #b2bfd1;
}

.hero-why-title,
.tt-typewriter {
    color: #e5efff;
}

.hero-panel::before {
    border-color: rgba(56, 189, 248, .27);
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, .05) inset,
        0 0 18px rgba(14, 165, 233, .09);
}

.quick-order-configurator {
    background:
        linear-gradient(180deg, rgba(18, 31, 52, .96), rgba(11, 21, 38, .97)),
        var(--surface);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, .27),
        0 0 40px rgba(14, 165, 233, .045);
}

.quick-order-configurator .field,
.quick-order-configurator .choice-menu-button {
    background: rgba(21, 36, 59, .91);
    border-color: rgba(148, 163, 184, .24);
}

.quick-order-configurator .choice-menu-list {
    background-color: #0b1729;
    box-shadow: 0 22px 52px rgba(2, 6, 23, .68);
}

.quick-order-configurator .cpu-priority-option .choice-menu-list,
.game-order-configurator .cpu-priority-option .choice-menu-list {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.quick-order-configurator .segmented {
    background: rgba(5, 13, 29, .54);
    border-color: rgba(148, 163, 184, .22);
}

.quick-order-configurator .segmented button.active {
    background: rgba(14, 165, 233, .24);
}
/* Theme switch and light palette - isolated prototype */
.theme-control {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
}

.theme-control-label {
    display: none;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
}

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle-track {
    position: relative;
    display: block;
    width: 50px;
    height: 29px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(11, 24, 40, .97), rgba(20, 41, 65, .97));
    box-shadow:
        0 8px 22px rgba(2, 6, 23, .30),
        inset 0 0 0 1px rgba(255, 255, 255, .035);
    transition: background .38s ease, border-color .38s ease, box-shadow .38s ease;
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 2;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8fafc, #cbd5e1);
    box-shadow: 0 3px 9px rgba(2, 6, 23, .34);
    transform: translateX(21px);
    transition: transform .42s cubic-bezier(.2, .8, .2, 1), background .38s ease, box-shadow .38s ease;
}

.theme-toggle-icon {
    position: absolute;
    top: 7px;
    z-index: 1;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color .38s ease, opacity .38s ease, transform .42s ease;
}

.theme-toggle-sun {
    left: 7px;
    color: #fbbf24;
    opacity: .62;
    transform: rotate(-18deg) scale(.88);
}

.theme-toggle-moon {
    right: 7px;
    color: #bfdbfe;
    opacity: 1;
}

.theme-toggle:focus-visible {
    outline: 3px solid rgba(56, 189, 248, .30);
    outline-offset: 3px;
}

html[data-theme="light"] .theme-toggle-track {
    border-color: rgba(14, 165, 233, .30);
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
    box-shadow:
        0 8px 22px rgba(15, 23, 42, .14),
        inset 0 0 0 1px rgba(255, 255, 255, .75);
}

html[data-theme="light"] .theme-toggle-thumb {
    background: linear-gradient(145deg, #ffffff, #fef3c7);
    box-shadow: 0 3px 9px rgba(15, 23, 42, .20);
    transform: translateX(0);
}

html[data-theme="light"] .theme-toggle-sun {
    color: #d97706;
    opacity: 1;
    transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle-moon {
    color: #64748b;
    opacity: .54;
    transform: rotate(14deg) scale(.88);
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .42s;
    animation-timing-function: cubic-bezier(.2, .75, .2, 1);
}

::view-transition-old(root) {
    animation-name: theme-fade-out;
}

::view-transition-new(root) {
    animation-name: theme-fade-in;
}

@keyframes theme-fade-out {
    to {
        opacity: .18;
        filter: saturate(.72);
    }
}

@keyframes theme-fade-in {
    from {
        opacity: .18;
        filter: saturate(.72);
    }
}

html.theme-changing body,
html.theme-changing .site-header,
html.theme-changing .hero-section,
html.theme-changing .configurator-card,
html.theme-changing .game-card,
html.theme-changing .service-card,
html.theme-changing .review-bubble,
html.theme-changing .feature-card,
html.theme-changing .server-row,
html.theme-changing .panel-card,
html.theme-changing .detail-hero,
html.theme-changing .detail-benefit-card,
html.theme-changing .service-tab-card,
html.theme-changing .service-tab-panel,
html.theme-changing .cookie-consent,
html.theme-changing .exit-offer-modal {
    transition:
        color .38s ease,
        background-color .38s ease,
        border-color .38s ease,
        box-shadow .38s ease,
        filter .38s ease;
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-2: #eef4fa;
    --surface-3: #e4edf7;
    --border: rgba(15, 23, 42, .13);
    --border-strong: rgba(14, 165, 233, .44);
    --text: #0b1728;
    --muted: #52657d;
    --muted-2: #70839a;
    --blue: #0284c7;
    --blue-2: #2563eb;
    --green: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --shadow: 0 22px 60px rgba(15, 23, 42, .13);
}

html[data-theme="light"],
html[data-theme="light"] body {
    background-color: var(--bg);
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 50% 0, rgba(14, 165, 233, .15), transparent 42rem),
        linear-gradient(180deg, rgba(186, 230, 253, .36), transparent 40rem),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 23, 42, .035) 1px, transparent 1px),
        var(--bg);
    background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

html[data-theme="light"] .site-header {
    border-color: rgba(14, 165, 233, .20);
    background: rgba(255, 255, 255, .86);
    box-shadow:
        0 14px 42px rgba(15, 23, 42, .12),
        0 0 34px rgba(14, 165, 233, .06);
}

html[data-theme="light"] .brand-mark-image img {
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, .16));
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .ghost-link:hover,
html[data-theme="light"] .language-pill:hover {
    color: #0c4a6e;
    background: rgba(14, 165, 233, .09);
}

html[data-theme="light"] .social-link,
html[data-theme="light"] .language-pill,
html[data-theme="light"] .nav-button,
html[data-theme="light"] .btn.secondary,
html[data-theme="light"] .ghost-btn {
    border-color: rgba(15, 23, 42, .13);
    color: #41546c;
    background: rgba(255, 255, 255, .72);
}

html[data-theme="light"] .social-link:hover,
html[data-theme="light"] .btn.secondary:hover,
html[data-theme="light"] .ghost-btn:hover {
    color: #075985;
    border-color: rgba(14, 165, 233, .38);
    background: rgba(224, 242, 254, .86);
}

html[data-theme="light"] .language-code {
    color: #0c4a6e;
}

html[data-theme="light"] .language-menu-panel {
    border-color: rgba(15, 23, 42, .13);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .16);
}

html[data-theme="light"] .language-menu-panel a:hover {
    background: rgba(14, 165, 233, .10);
}

html[data-theme="light"] .language-flag-round {
    border-color: rgba(15, 23, 42, .16);
}

html[data-theme="light"] .hero-section {
    border-color: rgba(14, 165, 233, .28);
    background:
        linear-gradient(120deg, rgba(248, 252, 255, .95), rgba(224, 242, 254, .82)),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 23, 42, .035) 1px, transparent 1px),
        url("/assets/hero/datacenter.jpg");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
    box-shadow:
        0 24px 58px rgba(15, 23, 42, .13),
        0 0 42px rgba(14, 165, 233, .08);
}

html[data-theme="light"] .hero-section::before {
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .28), transparent 25rem),
        radial-gradient(circle at 12% 65%, rgba(37, 99, 235, .09), transparent 22rem),
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(224, 242, 254, .18));
}

html[data-theme="light"] .hero-section::after {
    opacity: .46;
    mix-blend-mode: multiply;
}

html[data-theme="light"] .eyebrow {
    color: #0369a1;
}

html[data-theme="light"] .hero-copy .lead,
html[data-theme="light"] .hero-why-list li {
    color: #40556f;
}

html[data-theme="light"] .hero-why-title,
html[data-theme="light"] .tt-typewriter {
    color: #102a43;
}

html[data-theme="light"] .tt-typewriter .caret {
    background: #0284c7;
}

html[data-theme="light"] .hero-panel::before {
    border-color: rgba(14, 165, 233, .28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .72) inset,
        0 0 20px rgba(14, 165, 233, .10);
}

html[data-theme="light"] .configurator-card,
html[data-theme="light"] .quick-order-configurator {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 247, 253, .98)),
        var(--surface);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, .14),
        0 0 38px rgba(14, 165, 233, .06);
}

html[data-theme="light"] .field,
html[data-theme="light"] .quick-order-configurator .field,
html[data-theme="light"] .quick-order-configurator .choice-menu-button {
    color: var(--text);
    border-color: rgba(15, 23, 42, .15);
    background: rgba(255, 255, 255, .94);
}

html[data-theme="light"] .field::placeholder {
    color: #8292a6;
}

html[data-theme="light"] .choice-menu-list,
html[data-theme="light"] .quick-order-configurator .choice-menu-list {
    border-color: rgba(14, 165, 233, .34);
    background-color: #ffffff;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .18);
}

html[data-theme="light"] .choice-menu-list button:hover,
html[data-theme="light"] .choice-menu-list button.active {
    color: #0c4a6e;
    background: rgba(14, 165, 233, .11);
}

html[data-theme="light"] .segmented,
html[data-theme="light"] .quick-order-configurator .segmented {
    border-color: rgba(15, 23, 42, .13);
    background: rgba(226, 237, 247, .78);
}

html[data-theme="light"] .segmented button {
    color: #52657d;
}

html[data-theme="light"] .segmented button.active,
html[data-theme="light"] .quick-order-configurator .segmented button.active {
    color: #0c4a6e;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .10);
}

html[data-theme="light"] .range-value,
html[data-theme="light"] .panel-label,
html[data-theme="light"] .service-icon,
html[data-theme="light"] .benefit-icon,
html[data-theme="light"] .feature-card-icon,
html[data-theme="light"] .platform-badges span {
    color: #075985;
    background: rgba(14, 165, 233, .10);
}

html[data-theme="light"] .game-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .server-row,
html[data-theme="light"] .admin-gate,
html[data-theme="light"] .admin-form,
html[data-theme="light"] .panel-card {
    border-color: rgba(15, 23, 42, .13);
    background: rgba(255, 255, 255, .90);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .09);
}

html[data-theme="light"] .game-card h3 {
    color: var(--text);
}

html[data-theme="light"] .game-card.compact .game-art::after {
    background: linear-gradient(180deg, transparent 32%, rgba(255, 255, 255, .94) 100%);
}

html[data-theme="light"] .game-card.catalog-card .game-art::after {
    background: linear-gradient(180deg, rgba(2, 6, 23, .05), rgba(2, 6, 23, .88));
}

html[data-theme="light"] .game-card.catalog-card h3,
html[data-theme="light"] .game-card.catalog-card .game-price {
    color: #ffffff;
}

html[data-theme="light"] .game-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .review-bubble:hover,
html[data-theme="light"] .detail-benefit-card:hover,
html[data-theme="light"] .detail-feature-grid .feature-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, .17);
}

html[data-theme="light"] .game-news-ticker,
html[data-theme="light"] .service-tab-card,
html[data-theme="light"] .service-tab-panel,
html[data-theme="light"] .service-focus-card,
html[data-theme="light"] .service-config-card {
    border-color: rgba(15, 23, 42, .13);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

html[data-theme="light"] .service-tab-card:hover,
html[data-theme="light"] .service-tab-card.active {
    color: var(--text);
    border-color: rgba(14, 165, 233, .34);
    background: linear-gradient(180deg, rgba(224, 242, 254, .96), rgba(255, 255, 255, .98));
}

html[data-theme="light"] .service-tab-card.active {
    border-bottom-color: #ffffff;
    box-shadow: 0 1px 0 #ffffff;
}

html[data-theme="light"] .review-bubble {
    border-color: rgba(15, 23, 42, .13);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 247, 253, .98));
    box-shadow: 0 18px 38px rgba(15, 23, 42, .11);
}

html[data-theme="light"] .review-bubble::before {
    border-color: rgba(15, 23, 42, .13);
    background: linear-gradient(180deg, #f7fbff, #eef5fb);
}

html[data-theme="light"] .review-text-shell.is-collapsible::after {
    background: linear-gradient(180deg, transparent, #f2f8fd);
}

html[data-theme="light"] .detail-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(235, 245, 252, .98));
    box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
}

html[data-theme="light"] .detail-alert {
    background: linear-gradient(180deg, rgba(254, 243, 199, .78), rgba(255, 255, 255, .88));
}

html[data-theme="light"] .detail-alert strong {
    color: #92400e;
}

html[data-theme="light"] .detail-alert .detail-alert-lead {
    color: #5b3414;
}

html[data-theme="light"] .detail-benefit-card,
html[data-theme="light"] .detail-feature-grid .feature-card {
    border-color: rgba(15, 23, 42, .13);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 246, 252, .92));
}

html[data-theme="light"] .terms-language-tabs,
html[data-theme="light"] .terms-frame-shell {
    border-color: rgba(15, 23, 42, .13);
    background: rgba(255, 255, 255, .90);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

html[data-theme="light"] .terms-note {
    color: #40556f;
    background: rgba(224, 242, 254, .70);
}

html[data-theme="light"] .cookie-consent {
    color: var(--text);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 64px rgba(15, 23, 42, .20);
}

html[data-theme="light"] .cookie-settings {
    border-top-color: rgba(15, 23, 42, .12);
}

html[data-theme="light"] .cookie-category {
    border-color: rgba(15, 23, 42, .12);
    background: rgba(238, 244, 250, .88);
}

html[data-theme="light"] .exit-offer-modal {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(237, 246, 252, .99)),
        var(--surface);
    box-shadow: 0 22px 68px rgba(15, 23, 42, .24);
}

html[data-theme="light"] .exit-offer-close,
html[data-theme="light"] .exit-offer-code {
    color: #334155;
    border-color: rgba(15, 23, 42, .14);
    background: rgba(255, 255, 255, .80);
}

html[data-theme="light"] .exit-offer-copy h2 {
    color: var(--text);
}

html[data-theme="light"] .exit-offer-copy p:not(.eyebrow) {
    color: var(--muted);
}

html[data-theme="light"] .exit-offer-code button {
    color: #166534;
    background: rgba(34, 197, 94, .10);
}

html[data-theme="light"] .exit-offer-code small {
    color: #15803d;
}

html[data-theme="light"] .contact-link-list a {
    border-color: rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .62);
}

html[data-theme="light"] .contact-link-list a,
html[data-theme="light"] .contact-details a {
    color: #0369a1;
}

@media (max-width: 1080px) {
    .theme-control {
        position: static;
        width: 100%;
        order: -1;
        justify-content: space-between;
        padding: 9px 11px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(148, 163, 184, .06);
    }

    .theme-control-label {
        display: inline;
    }

    html[data-theme="light"] .theme-control {
        background: rgba(238, 244, 250, .82);
    }

    .nav-toggle:checked ~ .header-actions {
        max-height: 310px;
    }
}

@media (max-width: 720px) {
    .theme-control {
        flex: 1 0 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root),
    .theme-toggle-track,
    .theme-toggle-thumb,
    .theme-toggle-icon,
    html.theme-changing body,
    html.theme-changing .site-header,
    html.theme-changing .hero-section {
        animation: none;
        transition: none;
    }
}

html[data-theme="light"] .unlimited-resources-note {
    color: #166534;
    border-color: rgba(22, 163, 74, .26);
    background: linear-gradient(135deg, rgba(220, 252, 231, .94), rgba(240, 253, 244, .88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

html[data-theme="light"] .unlimited-resources-note strong {
    color: #14532d;
}

html[data-theme="light"] .unlimited-resources-note span {
    color: #166534;
}

html[data-theme="light"] .dedicated-threads-note {
    color: #334155;
    border-color: rgba(14, 165, 233, .28);
    background: linear-gradient(135deg, rgba(224, 242, 254, .90), rgba(239, 246, 255, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 12px 26px rgba(15, 23, 42, .07);
}

html[data-theme="light"] .dedicated-threads-toggle strong {
    color: #0c4a6e;
}

html[data-theme="light"] .dedicated-threads-toggle small,
html[data-theme="light"] .dedicated-threads-panel p {
    color: #52657d;
}

html[data-theme="light"] .dedicated-threads-caret {
    color: #0369a1;
    background: rgba(255, 255, 255, .72);
}

html[data-theme="light"] .dedicated-threads-note a {
    color: #0369a1;
}

html[data-theme="light"] .dedicated-threads-variants button {
    color: #334155;
    border-color: rgba(15, 23, 42, .13);
    background: rgba(255, 255, 255, .76);
}

html[data-theme="light"] .dedicated-threads-variants strong {
    color: #0b1728;
}

@media (max-width: 720px) {
    html[data-theme="light"] .main-nav a {
        color: #334155;
        border-color: rgba(15, 23, 42, .12);
        background: rgba(255, 255, 255, .78);
    }

    html[data-theme="light"] .main-nav a:hover {
        color: #075985;
        background: rgba(224, 242, 254, .92);
    }
}

/* Light theme refinements - visibility, contrast and navigation persistence */
html[data-theme="light"] .hero-section {
    background:
        linear-gradient(120deg, rgba(248, 252, 255, .82), rgba(224, 242, 254, .63)),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 23, 42, .035) 1px, transparent 1px),
        url("/assets/hero/datacenter.jpg");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
}

html[data-theme="light"] .hero-section::before {
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .18), transparent 25rem),
        radial-gradient(circle at 12% 65%, rgba(37, 99, 235, .06), transparent 22rem),
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(224, 242, 254, .08));
}

html[data-theme="light"] .config-help-prompt {
    border-color: rgba(14, 165, 233, .25);
    background: rgba(224, 242, 254, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70);
}

html[data-theme="light"] .config-help-anchor.is-expanded .config-help-prompt {
    border-color: rgba(14, 165, 233, .38);
    background: linear-gradient(135deg, rgba(224, 242, 254, .96), rgba(239, 246, 255, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 14px 30px rgba(14, 165, 233, .10);
}

html[data-theme="light"] .config-help-prompt strong {
    color: #075985;
}

html[data-theme="light"] .config-help-prompt span {
    color: #40556f;
}

html[data-theme="light"] .billing-discount,
html[data-theme="light"] .promo-discount-pill {
    color: #166534;
    border-color: rgba(22, 163, 74, .28);
    background: rgba(220, 252, 231, .92);
}

html[data-theme="light"] .discount-note,
html[data-theme="light"] .promo-applied-message {
    color: #15803d;
}


/* Light theme tone pass - cooler surfaces, stronger icons and dedicated artwork */
html[data-theme="light"] {
    --bg: #e7eff7;
    --surface: #f3f7fa;
    --surface-2: #e0eaf3;
    --surface-3: #d2dfeb;
    --border: rgba(30, 64, 100, .18);
    --text: #0b1728;
    --muted: #435970;
    --muted-2: #61758b;
    --shadow: 0 22px 60px rgba(30, 64, 100, .16);
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 50% 0, rgba(14, 165, 233, .12), transparent 42rem),
        linear-gradient(180deg, rgba(125, 211, 252, .16), transparent 40rem),
        linear-gradient(90deg, rgba(30, 64, 100, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(30, 64, 100, .045) 1px, transparent 1px),
        var(--bg);
    background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

html[data-theme="light"] .site-header {
    border-color: rgba(30, 64, 100, .17);
    background: rgba(244, 248, 251, .92);
    box-shadow:
        0 14px 42px rgba(30, 64, 100, .14),
        0 0 34px rgba(14, 165, 233, .05);
}

html[data-theme="light"] .hero-section {
    border-color: rgba(14, 116, 144, .28);
    background:
        linear-gradient(120deg, rgba(225, 237, 246, .30), rgba(198, 219, 234, .08)),
        linear-gradient(90deg, rgba(30, 64, 100, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(30, 64, 100, .03) 1px, transparent 1px),
        url("/assets/hero/datacenter-light.webp");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
    box-shadow:
        0 24px 58px rgba(30, 64, 100, .16),
        0 0 42px rgba(14, 165, 233, .07);
}

html[data-theme="light"] .hero-section::before {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .13), transparent 25rem),
        radial-gradient(circle at 12% 65%, rgba(37, 99, 235, .05), transparent 22rem),
        linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(125, 170, 202, .05));
}

html[data-theme="light"] .configurator-card,
html[data-theme="light"] .quick-order-configurator {
    background:
        linear-gradient(180deg, rgba(247, 250, 252, .98), rgba(226, 236, 244, .98)),
        var(--surface);
}

html[data-theme="light"] .game-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .server-row,
html[data-theme="light"] .admin-gate,
html[data-theme="light"] .admin-form,
html[data-theme="light"] .panel-card {
    border-color: rgba(30, 64, 100, .17);
    background: rgba(241, 246, 250, .94);
}

html[data-theme="light"] .game-news-ticker,
html[data-theme="light"] .service-tab-panel,
html[data-theme="light"] .service-focus-card,
html[data-theme="light"] .service-config-card {
    border-color: rgba(30, 64, 100, .18);
    background: rgba(238, 244, 248, .95);
    box-shadow: 0 12px 34px rgba(30, 64, 100, .10);
}

html[data-theme="light"] .service-tab-card {
    color: #40566f;
    border-color: rgba(30, 64, 100, .19);
    background: rgba(229, 238, 246, .96);
    box-shadow: 0 10px 26px rgba(30, 64, 100, .08);
}

html[data-theme="light"] .service-tab-card:hover,
html[data-theme="light"] .service-tab-card.active {
    color: #102a43;
    border-color: rgba(3, 105, 161, .38);
    background: linear-gradient(180deg, rgba(210, 231, 244, .98), rgba(233, 241, 247, .99));
}

html[data-theme="light"] .service-tab-card.active {
    border-bottom-color: #eef4f8;
    box-shadow: 0 1px 0 #eef4f8, 0 10px 24px rgba(30, 64, 100, .10);
}

html[data-theme="light"] .service-tab-icon {
    color: #0369a1;
    border: 1px solid rgba(3, 105, 161, .20);
    background: rgba(14, 165, 233, .17);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .60);
}

html[data-theme="light"] .service-tab-card:hover .service-tab-icon,
html[data-theme="light"] .service-tab-card.active .service-tab-icon {
    color: #075985;
    border-color: rgba(3, 105, 161, .30);
    background: rgba(14, 165, 233, .22);
}

html[data-theme="light"] .service-tab-icon svg {
    stroke-width: 2.15;
}

html[data-theme="light"] .service-icon,
html[data-theme="light"] .benefit-icon,
html[data-theme="light"] .feature-card-icon {
    color: #0369a1;
    border: 1px solid rgba(3, 105, 161, .18);
    background: rgba(14, 165, 233, .15);
}

html[data-theme="light"] .review-bubble,
html[data-theme="light"] .detail-hero,
html[data-theme="light"] .detail-benefit-card,
html[data-theme="light"] .detail-feature-grid .feature-card {
    border-color: rgba(30, 64, 100, .17);
    background: linear-gradient(180deg, rgba(244, 248, 251, .97), rgba(227, 236, 244, .97));
}

/* Stable hero scene: one source image, crossfaded light grading */
.hero-section,
html[data-theme="light"] .hero-section {
    background-image: url("/assets/hero/datacenter.jpg");
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    z-index: 0;
    opacity: 1;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .34), transparent 25rem),
        radial-gradient(circle at 12% 65%, rgba(37, 99, 235, .10), transparent 22rem),
        linear-gradient(120deg, rgba(3, 9, 24, .72), rgba(4, 17, 36, .36)),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    transition: opacity .82s cubic-bezier(.2, .75, .2, 1);
}

html[data-theme="light"] .hero-section::before {
    opacity: 0;
}

.hero-light-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    opacity: 0;
    background:
        linear-gradient(90deg, rgba(208, 225, 238, .16), rgba(135, 181, 211, .04)),
        linear-gradient(90deg, rgba(30, 64, 100, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(30, 64, 100, .03) 1px, transparent 1px),
        url("/assets/hero/datacenter.jpg");
    background-size: auto, 54px 54px, 54px 54px, cover;
    background-position: center;
    background-blend-mode: screen, normal, normal, normal;
    filter: brightness(1.52) contrast(1.08) saturate(.78);
    transition: opacity .82s cubic-bezier(.2, .75, .2, 1);
    pointer-events: none;
}

html[data-theme="light"] .hero-light-image {
    opacity: 1;
}

.hero-section::after {
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

/* Viewport-level theme switch, independent of the centered header/hero */
.theme-control.theme-control-floating {
    position: fixed;
    top: 4px;
    right: 8px;
    z-index: 100;
    width: auto;
    flex: none;
    order: initial;
    justify-content: center;
    padding: 3px;
    border: 1px solid rgba(125, 211, 252, .22);
    border-radius: 999px;
    background: rgba(7, 14, 27, .86);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(2, 6, 23, .24);
}

html[data-theme="light"] .theme-control.theme-control-floating {
    border-color: rgba(30, 64, 100, .17);
    background: rgba(244, 248, 251, .92);
    box-shadow: 0 10px 28px rgba(30, 64, 100, .15);
}

.theme-control-floating .theme-control-label,
.theme-control-mobile .theme-control-label {
    display: none;
}

.theme-control-mobile {
    display: none;
}

@media (max-width: 1080px) {
    .theme-control.theme-control-floating {
        display: none;
    }

    .theme-control.theme-control-mobile {
        display: flex;
        position: static;
        width: 56px;
        flex: 0 0 56px;
        order: initial;
        justify-content: center;
        padding: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-light-image {
        transition: none;
    }

}
/* Keep light-theme hero copy readable without washing out the whole scene */
html[data-theme="light"] .hero-copy::before {
    content: "";
    position: absolute;
    inset: -220px -70px -220px -42px;
    z-index: -1;
    border-radius: 0;
    background: linear-gradient(
        90deg,
        rgba(231, 239, 247, .56) 0%,
        rgba(231, 239, 247, .34) 64%,
        rgba(231, 239, 247, 0) 100%
    );
    backdrop-filter: blur(1.5px);
    pointer-events: none;
}

/* Light hero copy contrast and responsive switch safety */
html[data-theme="light"] .hero-copy .lead {
    color: #20364b;
}

html[data-theme="light"] .hero-why-title {
    color: #0b1728;
}

html[data-theme="light"] .hero-why-list li {
    color: #263b50;
}

html[data-theme="light"] .hero-copy .lead,
html[data-theme="light"] .hero-why-title,
html[data-theme="light"] .hero-why-list li {
    text-shadow: 0 1px 0 rgba(255, 255, 255, .42);
}

@media (max-width: 720px) {
    .header-preferences {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .theme-control.theme-control-mobile {
        width: 100%;
        min-width: 0;
        flex: none;
        border-radius: 7px;
    }

    .header-preferences .theme-toggle {
        width: 100%;
        height: 38px;
    }

    .header-preferences .language-menu,
    .header-preferences .language-pill {
        width: 100%;
        min-width: 0;
    }

    .header-preferences .language-pill.flag-only {
        gap: 4px;
        padding-inline: 6px;
    }

    .header-preferences .language-flag-round {
        width: 20px;
        height: 20px;
    }

    .header-preferences .language-code {
        font-size: .7rem;
    }

}
/* Final light-hero readability pass */
html[data-theme="light"] .hero-copy .lead {
    color: #081525;
    font-weight: 600;
    text-shadow: none;
}

html[data-theme="light"] .hero-why-title {
    color: #07111e;
    font-weight: 800;
    text-shadow: none;
}

html[data-theme="light"] .hero-why-list li {
    color: #12263a;
    font-weight: 600;
    text-shadow: none;
}

html[data-theme="light"] .hero-why-mask {
    -webkit-mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, .92) 0%,
        #000 3%,
        #000 97%,
        rgba(0, 0, 0, .92) 100%
    );
    mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, .92) 0%,
        #000 3%,
        #000 97%,
        rgba(0, 0, 0, .92) 100%
    );
}

/* Light configuration wizard */
html[data-theme="light"] .config-wizard-backdrop {
    background: rgba(30, 64, 100, .30);
    backdrop-filter: blur(12px) saturate(.88);
}

html[data-theme="light"] .config-wizard-modal {
    color: var(--text);
    border-color: rgba(3, 105, 161, .30);
    background:
        linear-gradient(180deg, rgba(248, 251, 253, .99), rgba(226, 236, 244, .99)),
        var(--surface);
    box-shadow:
        0 28px 80px rgba(30, 64, 100, .26),
        0 0 0 1px rgba(255, 255, 255, .76) inset;
}

html[data-theme="light"] .config-wizard-head h3,
html[data-theme="light"] .config-wizard-step h4 {
    color: #0b1728;
}

html[data-theme="light"] .config-wizard-close {
    color: #334155;
    border-color: rgba(30, 64, 100, .17);
    background: rgba(255, 255, 255, .74);
}

html[data-theme="light"] .config-wizard-close:hover {
    color: #075985;
    border-color: rgba(3, 105, 161, .34);
    background: rgba(240, 249, 255, .96);
}

html[data-theme="light"] .config-wizard-progress span {
    background: rgba(30, 64, 100, .17);
}

html[data-theme="light"] .config-wizard-step p {
    color: #435970;
}

html[data-theme="light"] .config-wizard-options button {
    color: #18324a;
    border-color: rgba(30, 64, 100, .18);
    background: rgba(244, 248, 251, .95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .64);
}

html[data-theme="light"] .config-wizard-options button:hover,
html[data-theme="light"] .config-wizard-options button.active {
    color: #0c4a6e;
    border-color: rgba(3, 105, 161, .40);
    background: linear-gradient(135deg, rgba(186, 230, 253, .76), rgba(219, 234, 254, .78));
}

html[data-theme="light"] .config-wizard-result dl div {
    border-color: rgba(30, 64, 100, .18);
    background: rgba(226, 236, 244, .82);
}

html[data-theme="light"] .config-wizard-result dt {
    color: #52657d;
}

html[data-theme="light"] .config-wizard-result dd {
    color: #0b1728;
}

html[data-theme="light"] .config-wizard-result dd a {
    color: #0369a1;
}

html[data-theme="light"] .config-wizard-result dd a:hover {
    color: #075985;
}

/* Polished theme and route transitions */
.theme-toggle-track {
    transition:
        background .58s ease,
        border-color .58s ease,
        box-shadow .58s ease;
}

.theme-toggle-thumb {
    transition:
        transform .64s cubic-bezier(.2, .8, .2, 1),
        background .58s ease,
        box-shadow .58s ease;
}

.theme-toggle-icon {
    transition:
        color .58s ease,
        opacity .58s ease,
        transform .64s ease;
}

::view-transition {
    pointer-events: none;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .68s;
}

html.theme-changing body,
html.theme-changing .site-header,
html.theme-changing .hero-section,
html.theme-changing .configurator-card,
html.theme-changing .game-card,
html.theme-changing .service-card,
html.theme-changing .review-bubble,
html.theme-changing .feature-card,
html.theme-changing .server-row,
html.theme-changing .panel-card,
html.theme-changing .detail-hero,
html.theme-changing .detail-benefit-card,
html.theme-changing .service-tab-card,
html.theme-changing .service-tab-panel,
html.theme-changing .cookie-consent,
html.theme-changing .exit-offer-modal {
    transition-duration: .62s;
}

html.page-leaving main,
html.page-entering main {
    transform-origin: 50% 18vh;
    will-change: opacity, transform, filter;
}

html.page-leaving main {
    pointer-events: none;
    opacity: .28;
    transform: translateY(5px) scale(.997);
    filter: blur(1.5px);
    transition:
        opacity .16s ease-out,
        transform .18s ease-out,
        filter .16s ease-out;
}

html.page-entering main {
    animation: page-route-enter .38s cubic-bezier(.2, .75, .2, 1) both;
}

@keyframes page-route-enter {
    from {
        opacity: .16;
        transform: translateY(9px) scale(.997);
        filter: blur(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.page-leaving main,
    html.page-entering main {
        pointer-events: auto;
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
}

/* Network packets are positioned on the 64px grid by site.js. */
.network-packet-field {
    --packet-tail: rgba(56, 189, 248, .16);
    --packet-mid: rgba(125, 211, 252, .82);
    --packet-head: rgba(240, 249, 255, .98);
    --packet-glow: rgba(56, 189, 248, .48);
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}

html[data-theme="light"] .network-packet-field {
    --packet-tail: rgba(2, 132, 199, .14);
    --packet-mid: rgba(3, 105, 161, .72);
    --packet-head: rgba(7, 89, 133, .96);
    --packet-glow: rgba(2, 132, 199, .34);
}

.site-shell {
    position: relative;
    z-index: 1;
}

.network-packet,
.network-packet-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    will-change: transform, opacity;
}

.network-packet-tail,
.network-packet-corner-tail {
    position: absolute;
    top: -1px;
    right: 0;
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--packet-tail) 30%, var(--packet-mid));
    box-shadow: 0 0 6px var(--packet-glow), 0 0 13px var(--packet-glow);
    transform-origin: 100% 50%;
}

.network-packet-head {
    position: absolute;
    top: -2px;
    left: -2px;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--packet-head);
    box-shadow: 0 0 6px var(--packet-glow), 0 0 12px var(--packet-glow);
}

@media (prefers-reduced-motion: reduce) {
    .network-packet-field {
        display: none;
    }
}
/* Guided content admin editor */
.admin-editor-subtitle,
.admin-field-help,
.admin-field-counter,
.admin-upload-card small,
.admin-feature-picker small {
    color: var(--muted);
}

.admin-editor-subtitle {
    margin: 6px 0 0;
    font-size: .86rem;
}

.admin-readiness {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 9px;
    background: rgba(2, 6, 23, .28);
}

.admin-readiness > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 23, 42, .5);
    font-size: .8rem;
}

.admin-readiness > span.ready {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, .34);
    background: rgba(22, 101, 52, .18);
}

.admin-live-preview {
    --admin-preview-accent: #0ea5e9;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 18px;
    align-items: center;
    overflow: hidden;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--admin-preview-accent) 42%, var(--border));
    border-radius: 10px;
    background:
        radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--admin-preview-accent) 20%, transparent), transparent 44%),
        rgba(8, 15, 29, .76);
}

.admin-live-preview-copy {
    display: grid;
    gap: 9px;
}

.admin-live-preview-copy h3,
.admin-live-preview-copy p {
    margin: 0;
}

.admin-live-preview-copy p {
    color: var(--muted);
    line-height: 1.55;
}

.admin-live-preview-copy > strong {
    color: #7dd3fc;
}

.admin-live-preview-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .76rem;
}

.admin-live-preview img {
    width: 100%;
    height: 138px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(15, 23, 42, .72);
}

.admin-section-heading > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.admin-section-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .86rem;
}

.admin-step {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, .4);
    border-radius: 50%;
    color: #bae6fd;
    background: rgba(14, 165, 233, .14);
    font-weight: 800;
}

.admin-field-help {
    display: block;
    margin-top: 6px;
    font-size: .76rem;
}

.admin-field-counter {
    margin-top: -7px;
    text-align: right;
    font-size: .74rem;
}

.admin-description-field {
    min-height: 190px;
}

.admin-check-card {
    align-items: flex-start;
    padding: 11px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(15, 23, 42, .38);
}

.admin-check-card span {
    display: grid;
    gap: 3px;
}

.admin-check-card strong {
    color: var(--text);
}

.admin-check-card small {
    color: var(--muted);
}

.admin-optional-panel {
    padding: 0 12px 12px;
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: 8px;
    background: rgba(15, 23, 42, .3);
}

.admin-optional-panel.compact {
    padding-bottom: 9px;
}

.admin-optional-panel > summary {
    padding: 11px 0;
    color: #bae6fd;
    cursor: pointer;
    font-weight: 750;
}

.admin-upload-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 9px;
    background: rgba(15, 23, 42, .36);
}

.admin-upload-card > div:first-child {
    display: grid;
    gap: 4px;
}

.admin-file-name {
    overflow: hidden;
    color: #bae6fd;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-whmcs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.admin-inline-result {
    padding: 10px 12px;
    border: 1px solid rgba(245, 158, 11, .32);
    border-radius: 8px;
    color: #fde68a;
    background: rgba(120, 53, 15, .18);
}

.admin-inline-result.success {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, .32);
    background: rgba(20, 83, 45, .2);
}

.admin-color-field > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
}

.admin-color-field input[type="color"] {
    width: 48px;
    height: 44px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--panel);
}

.admin-choice-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-choice-group {
    display: grid;
    gap: 9px;
}

.admin-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-choice,
.admin-feature-choice {
    border: 1px solid rgba(148, 163, 184, .2);
    color: var(--muted);
    background: rgba(15, 23, 42, .48);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}

.admin-choice {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    font: inherit;
    font-size: .79rem;
    font-weight: 750;
}

.admin-choice:hover,
.admin-feature-choice:hover {
    border-color: rgba(56, 189, 248, .55);
    color: var(--text);
    transform: translateY(-1px);
}

.admin-choice.active,
.admin-feature-choice.active {
    color: #e0f2fe;
    border-color: rgba(56, 189, 248, .72);
    background: rgba(14, 165, 233, .2);
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .08);
}

.admin-feature-picker {
    display: grid;
    gap: 10px;
}

.admin-feature-picker > div:first-child {
    display: grid;
    gap: 3px;
}

.admin-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 350px;
    overflow: auto;
    padding: 2px;
}

.admin-feature-choice {
    display: grid;
    gap: 4px;
    min-height: 64px;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
}

.admin-feature-choice strong {
    color: inherit;
    font-size: .82rem;
}

.admin-feature-choice small {
    overflow: hidden;
    color: var(--muted);
    font-size: .68rem;
    text-overflow: ellipsis;
}

.detail-game-description {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(15, 23, 42, .48);
}

.detail-game-description h2 {
    margin: 0 0 14px;
}

.detail-game-description > p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.detail-game-description > p:not(.eyebrow) + p {
    margin-top: 12px;
}

html[data-theme="light"] .admin-readiness,
html[data-theme="light"] .admin-optional-panel,
html[data-theme="light"] .admin-upload-card,
html[data-theme="light"] .admin-check-card,
html[data-theme="light"] .admin-choice,
html[data-theme="light"] .admin-feature-choice,
html[data-theme="light"] .admin-affiliate-summary > div,
html[data-theme="light"] .admin-affiliate-card {
    background: rgba(226, 236, 244, .78);
    border-color: rgba(30, 64, 100, .18);
}

html[data-theme="light"] .admin-live-preview,
html[data-theme="light"] .detail-game-description {
    background:
        radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--admin-preview-accent, #0ea5e9) 14%, transparent), transparent 44%),
        rgba(240, 246, 250, .96);
}

html[data-theme="light"] .admin-readiness > span {
    background: rgba(255, 255, 255, .72);
}

html[data-theme="light"] .admin-readiness > span.ready {
    color: #166534;
    background: rgba(220, 252, 231, .9);
}

html[data-theme="light"] .admin-choice.active,
html[data-theme="light"] .admin-feature-choice.active {
    color: #075985;
    background: rgba(186, 230, 253, .78);
}

html[data-theme="light"] .admin-live-preview-copy > strong,
html[data-theme="light"] .admin-optional-panel > summary,
html[data-theme="light"] .admin-file-name {
    color: #0369a1;
}

@media (max-width: 760px) {
    .admin-live-preview,
    .admin-choice-columns,
    .admin-whmcs-row {
        grid-template-columns: 1fr;
    }

    .admin-live-preview img {
        order: -1;
        height: 180px;
    }

    .admin-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-readiness {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .admin-readiness > span {
        flex: 0 0 auto;
    }
}
/* Discord development news on the home page */
.discord-news-section {
    padding-top: 42px;
    padding-bottom: 34px;
    scroll-margin-top: 118px;
}

.discord-news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.discord-news-heading-copy {
    max-width: 720px;
}

.discord-news-heading-copy h2 {
    margin-bottom: 9px;
}

.discord-news-heading-copy > p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.discord-news-heading-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.discord-news-heading-actions .ghost-btn,
.discord-news-heading-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
}

.discord-news-action-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 7px;
    border-radius: 7px;
    color: #e0e7ff;
    background: #5865f2;
    font-weight: 900;
}

.discord-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.discord-news-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(88, 101, 242, .26);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(88, 101, 242, .08), transparent 52%),
        rgba(15, 23, 42, .76);
    box-shadow: 0 16px 42px rgba(2, 6, 23, .22);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.discord-news-card:hover,
.discord-news-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, .54);
    box-shadow: 0 22px 58px rgba(2, 6, 23, .34), 0 0 30px rgba(88, 101, 242, .10);
}

.discord-news-card-button {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
    min-height: 390px;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.discord-news-card-button:focus-visible {
    outline: 3px solid rgba(129, 140, 248, .52);
    outline-offset: -3px;
}

.discord-news-card-media {
    position: relative;
    display: block;
    min-height: 174px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 15%, rgba(99, 102, 241, .44), transparent 45%),
        linear-gradient(135deg, #111827, #1e1b4b);
}

.discord-news-card-media > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .38s ease, filter .38s ease;
}

.discord-news-card:hover .discord-news-card-media > img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.discord-news-card-placeholder {
    display: grid;
    min-height: 190px;
    place-items: center;
}

.discord-news-card-placeholder svg {
    width: 76px;
    height: 76px;
    fill: rgba(199, 210, 254, .14);
    stroke: #a5b4fc;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 12px 26px rgba(88, 101, 242, .30));
}

.discord-news-card-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, .86) 100%);
    pointer-events: none;
}

.discord-news-channel,
.discord-news-new {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .015em;
}

.discord-news-channel {
    left: 13px;
    bottom: 12px;
    max-width: calc(100% - 92px);
    padding: 4px 9px;
    overflow: hidden;
    color: #e0e7ff;
    background: rgba(49, 46, 129, .78);
    border: 1px solid rgba(165, 180, 252, .24);
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.discord-news-new {
    top: 12px;
    right: 12px;
    padding: 3px 8px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 7px 20px rgba(239, 68, 68, .30);
    text-transform: uppercase;
}

.discord-news-new[hidden] {
    display: none;
}

.discord-news-card-body {
    display: flex;
    min-width: 0;
    padding: 17px;
    flex-direction: column;
}

.discord-news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .76rem;
}

.discord-news-card-meta strong {
    min-width: 0;
    overflow: hidden;
    color: #c7d2fe;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discord-news-card-meta time {
    flex: 0 0 auto;
}

.discord-news-card-text {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    line-height: 1.58;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.discord-news-card-detail {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 17px;
    color: #818cf8;
    font-size: .8rem;
    font-weight: 850;
}

.discord-news-card-detail span {
    transition: transform .2s ease;
}

.discord-news-card:hover .discord-news-card-detail span {
    transform: translate(2px, -2px);
}

.discord-news-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px dashed rgba(129, 140, 248, .34);
    border-radius: 10px;
    color: var(--muted);
    background: rgba(88, 101, 242, .06);
}

.discord-news-empty-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    color: #e0e7ff;
    background: #5865f2;
    font-size: 1.25rem;
    font-weight: 900;
}

.discord-news-empty strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.discord-news-empty p {
    margin: 0;
}

body.discord-news-modal-open {
    overflow: hidden;
}

.discord-news-dialog {
    width: min(900px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100dvh - 34px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, .38);
    border-radius: 13px;
    color: var(--text);
    background: transparent;
    box-shadow: 0 30px 100px rgba(2, 6, 23, .66), 0 0 52px rgba(88, 101, 242, .12);
}

.discord-news-dialog::backdrop {
    background: rgba(2, 6, 23, .82);
    backdrop-filter: blur(7px);
}

.discord-news-dialog-panel {
    max-height: calc(100dvh - 34px);
    overflow: auto;
    background:
        radial-gradient(circle at 90% 0, rgba(88, 101, 242, .13), transparent 24rem),
        #0b1220;
}

.discord-news-dialog-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 21px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 18, 32, .95);
    backdrop-filter: blur(16px);
}

.discord-news-dialog-header h3 {
    margin: 5px 0 0;
    font-size: 1.2rem;
}

.discord-news-dialog-channel {
    color: #818cf8;
    font-size: .76rem;
    font-weight: 850;
}

.discord-news-dialog-close {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    background: rgba(148, 163, 184, .08);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.discord-news-dialog-close span {
    font-size: 1.65rem;
    font-weight: 350;
    line-height: 1;
    transform: translateY(-1px);
}

.discord-news-dialog-close:hover,
.discord-news-dialog-close:focus-visible {
    color: #fff;
    border-color: #ef4444;
    background: #ef4444;
    outline: none;
}

.discord-news-dialog-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 21px 0;
    color: var(--muted);
    font-size: .82rem;
}

.discord-news-dialog-meta strong {
    color: #c7d2fe;
}

.discord-news-dialog-text {
    padding: 19px 21px;
    color: var(--text);
    font-size: .98rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.discord-news-link {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.discord-news-link:hover,
.discord-news-link:focus-visible {
    color: #dbeafe;
}

html[data-theme="light"] .discord-news-link {
    color: #1d4ed8;
}

html[data-theme="light"] .discord-news-link:hover,
html[data-theme="light"] .discord-news-link:focus-visible {
    color: #1e3a8a;
}

.discord-news-emoji {
    display: inline-block;
    width: 23px;
    height: 23px;
    margin: 0 2px;
    object-fit: contain;
    vertical-align: -6px;
}

.discord-news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 13px;
    padding: 0 21px 21px;
}

.discord-news-image {
    display: flex;
    min-height: 190px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(2, 6, 23, .68);
}

.discord-news-image img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.discord-news-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 21px 19px;
    border-top: 1px solid var(--border);
    background: rgba(245, 158, 11, .07);
}

.discord-news-dialog-footer > div {
    display: grid;
    gap: 4px;
}

.discord-news-dialog-footer strong {
    color: #fde68a;
}

.discord-news-dialog-footer span {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}

.discord-news-dialog-footer .btn {
    flex: 0 0 auto;
}

.home-popular-section {
    padding-top: 34px;
}

html[data-theme="light"] .discord-news-card {
    border-color: rgba(79, 70, 229, .20);
    background:
        linear-gradient(180deg, rgba(99, 102, 241, .09), transparent 55%),
        rgba(241, 246, 250, .95);
    box-shadow: 0 15px 36px rgba(30, 64, 100, .12);
}

html[data-theme="light"] .discord-news-card:hover,
html[data-theme="light"] .discord-news-card:focus-within {
    border-color: rgba(79, 70, 229, .42);
    box-shadow: 0 21px 50px rgba(30, 64, 100, .17), 0 0 28px rgba(99, 102, 241, .09);
}

html[data-theme="light"] .discord-news-card-meta strong,
html[data-theme="light"] .discord-news-dialog-meta strong {
    color: #3730a3;
}

html[data-theme="light"] .discord-news-card-detail,
html[data-theme="light"] .discord-news-dialog-channel {
    color: #4f46e5;
}

html[data-theme="light"] .discord-news-empty {
    border-color: rgba(79, 70, 229, .28);
    background: rgba(99, 102, 241, .07);
}

html[data-theme="light"] .discord-news-dialog {
    border-color: rgba(79, 70, 229, .28);
    box-shadow: 0 30px 90px rgba(30, 64, 100, .32), 0 0 44px rgba(99, 102, 241, .08);
}

html[data-theme="light"] .discord-news-dialog-panel {
    background:
        radial-gradient(circle at 90% 0, rgba(99, 102, 241, .10), transparent 24rem),
        #eef4f8;
}

html[data-theme="light"] .discord-news-dialog-header {
    background: rgba(238, 244, 248, .95);
}

html[data-theme="light"] .discord-news-dialog-close {
    color: #1e293b;
    background: rgba(255, 255, 255, .72);
}

html[data-theme="light"] .discord-news-dialog-footer {
    background: rgba(245, 158, 11, .09);
}

html[data-theme="light"] .discord-news-dialog-footer strong {
    color: #92400e;
}

/* On narrow screens the desktop-wide datacenter photo was scaled to the full
   height of the hero. That cropped away both server rows and left only the
   empty grey aisle. Keep the scene in the upper part of the hero and bias the
   crop towards the left-hand racks, then fade into the section background. */
@media (max-width: 720px) {
    .hero-section,
    html[data-theme="light"] .hero-section {
        background-color: #07111f;
        background-image: url("/assets/hero/datacenter.jpg");
        background-repeat: no-repeat;
        background-size: auto 700px;
        background-position: 16% 0;
    }

    .hero-section::before {
        opacity: 1;
        background:
            radial-gradient(circle at 92% 8%, rgba(14, 165, 233, .28), transparent 22rem),
            linear-gradient(
                180deg,
                rgba(3, 9, 24, .36) 0,
                rgba(3, 9, 24, .52) 430px,
                rgba(7, 17, 31, .94) 670px,
                #07111f 760px,
                #07111f 100%
            );
    }

    .hero-light-image {
        background:
            linear-gradient(
                180deg,
                rgba(229, 239, 247, .06) 0,
                rgba(216, 230, 240, .16) 430px,
                rgba(230, 238, 244, .92) 670px,
                #e6eef4 760px,
                #e6eef4 100%
            ),
            url("/assets/hero/datacenter.jpg");
        background-repeat: no-repeat;
        background-size: auto, auto 700px;
        background-position: 0 0, 16% 0;
        background-blend-mode: normal;
        filter: brightness(1.22) contrast(1.06) saturate(.82);
    }

    html[data-theme="light"] .hero-section {
        background-color: #e6eef4;
    }

    html[data-theme="light"] .hero-section::before {
        opacity: 0;
    }
}

@media (max-width: 860px) {
    .discord-news-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .discord-news-grid {
        grid-template-columns: 1fr;
    }

    .discord-news-card-button {
        min-height: 0;
        grid-template-columns: minmax(180px, .72fr) minmax(0, 1fr);
        grid-template-rows: 1fr;
    }

    .discord-news-card-media,
    .discord-news-card-media > img,
    .discord-news-card-placeholder {
        height: 100%;
        min-height: 220px;
    }
}

@media (max-width: 620px) {
    .discord-news-section {
        padding-top: 32px;
        padding-bottom: 25px;
    }

    .discord-news-heading-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .discord-news-heading-actions .ghost-btn,
    .discord-news-heading-actions .btn {
        width: 100%;
        padding-inline: 9px;
        font-size: .78rem;
    }

    .discord-news-card-button {
        display: grid;
        grid-template-columns: 1fr;
    }

    .discord-news-card-media,
    .discord-news-card-media > img,
    .discord-news-card-placeholder {
        min-height: 180px;
        height: 180px;
    }

    .discord-news-dialog {
        width: calc(100% - 14px);
        max-height: calc(100dvh - 14px);
        border-radius: 11px;
    }

    .discord-news-dialog-panel {
        max-height: calc(100dvh - 14px);
    }

    .discord-news-dialog-header,
    .discord-news-dialog-text,
    .discord-news-dialog-footer {
        padding-right: 15px;
        padding-left: 15px;
    }

    .discord-news-dialog-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .discord-news-gallery {
        grid-template-columns: 1fr;
        padding-right: 15px;
        padding-left: 15px;
    }

    .discord-news-dialog-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .discord-news-dialog-footer .btn {
        width: 100%;
    }

    .home-popular-section {
        padding-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .discord-news-card,
    .discord-news-card-media > img,
    .discord-news-card-detail span {
        transition: none;
    }
}
/* Light-theme service message contrast */
html[data-theme="light"] .service-notice {
    color: #244f69;
    border-color: rgba(3, 105, 161, .32);
    background: rgba(14, 165, 233, .10);
}

html[data-theme="light"] .service-notice-strong {
    color: #854d0e;
    border-color: rgba(180, 83, 9, .34);
    background: rgba(245, 158, 11, .12);
}

html[data-theme="light"] .form-message.success {
    color: #166534;
}

html[data-theme="light"] .form-message.error {
    color: #b91c1c;
}
