


:root {
    
    --bg-deep: #050810;
    --bg: #0a0e18;
    --bg-alt: #0f1422;
    --surface: rgba(15, 23, 42, 0.6);
    
    
    --text: #f0f4ff;
    --text-secondary: #c8d4f0;
    --muted: #7b8ab8;
    
    
    --primary: #00d9ff;
    --primary-light: #5eeaff;
    --primary-dark: #0099b8;
    --primary-glow: rgba(0, 217, 255, 0.35);
    
    
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.25);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    
    --card: rgba(15, 20, 35, 0.85);
    --card-strong: rgba(10, 14, 26, 0.95);
    --card-hover: rgba(20, 28, 48, 0.9);
    
    
    --border: rgba(0, 217, 255, 0.12);
    --border-strong: rgba(0, 217, 255, 0.25);
    --border-accent: rgba(139, 92, 246, 0.2);
    
    
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.4);
    --glow-primary: 0 0 40px var(--primary-glow);
    --glow-accent: 0 0 40px var(--accent-glow);
    --glow-text: 0 0 20px rgba(0, 217, 255, 0.4);
    
    
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-btn: 10px;
    
    
    --container: 1200px;
    --header-height: 80px;
    
    
    --font: 'SoftNum', 'Vazirmatn', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    
    
    --transition: 200ms ease;
    --transition-slow: 350ms ease;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.site {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg-deep);
    
    overflow-x: hidden;
}


body.site::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 120% 100% at 50% -30%, rgba(0, 217, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(139, 92, 246, 0.1), transparent 50%),
        radial-gradient(ellipse 60% 50% at 0% 70%, rgba(0, 217, 255, 0.08), transparent 45%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 50%, var(--bg-alt) 100%);
}


body.site::after {
    content: none;
}

.site-grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    isolation: isolate;
}

.site-grid-bg__layer {
    position: absolute;
    inset: 0;
}

.site-grid-bg__layer--coarse {
    opacity: 0.32;
    filter: blur(0.5px);
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.1) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: qg-grid-sway-a 22s ease-in-out infinite alternate;
}

.site-grid-bg__layer--fine {
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: qg-grid-sway-b 28s ease-in-out infinite alternate-reverse;
}

.site-grid-bg__glow {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background:
        radial-gradient(ellipse 90% 70% at 50% 40%, rgba(0, 217, 255, 0.05), transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(139, 92, 246, 0.04), transparent 50%);
}

@keyframes qg-grid-sway-a {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(12px, -8px, 0);
    }
}

@keyframes qg-grid-sway-b {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-8px, 10px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-grid-bg__layer {
        animation: none;
    }
}

.site-main,
.gaming-header,
.gaming-footer,
.skip-link {
    position: relative;
    z-index: 1;
}


.site-main {
    transition: opacity 0.18s ease, transform 0.18s ease;
    will-change: opacity, transform;
}

.site-main.is-leaving {
    opacity: 0;
    transform: translateY(8px);
}

.site-main.is-entering {
    opacity: 0;
    transform: translateY(-8px);
}

.qg-nav-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    z-index: 9999;
    transform: scaleX(0);
    transform-origin: right center;
    background: linear-gradient(90deg, var(--primary, #22d3ee), #8b5cf6);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

.qg-nav-progress.is-active {
    opacity: 1;
    transform: scaleX(0.8);
    transition: transform 1.4s cubic-bezier(0.1, 0.6, 0.2, 1), opacity 0.2s ease;
}

.qg-nav-progress.is-done {
    opacity: 0;
    transform: scaleX(1);
    transition: transform 0.2s ease, opacity 0.3s ease 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .site-main,
    .site-main.is-leaving,
    .site-main.is-entering {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 9999px;
    top: auto;
}

.skip-link:focus {
    position: sticky;
    left: auto;
    z-index: 1000;
    margin: 8px auto;
    display: block;
    width: fit-content;
    padding: 12px 20px;
    background: var(--card-strong);
    border-radius: var(--radius-sm);
    outline: 2px solid var(--primary);
    color: var(--primary);
}


.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
}


.site-header {
    display: none;
}


.hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    align-items: center;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: repeating-linear-gradient(
        -25deg,
        transparent,
        transparent 60px,
        rgba(0, 217, 255, 0.02) 60px,
        rgba(0, 217, 255, 0.02) 62px
    );
    pointer-events: none;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(120%) brightness(0.45);
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.18), transparent 45%),
        radial-gradient(circle at 80% 15%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(0, 217, 255, 0.1), transparent 50%),
        linear-gradient(160deg, rgba(5, 8, 16, 0.8) 0%, rgba(10, 14, 24, 0.65) 40%, rgba(15, 20, 34, 0.7) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(30px, 5vw, 50px);
    align-items: center;
    padding: clamp(100px, 15vw, 160px) 0 clamp(60px, 10vw, 100px);
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: 0.7fr 1fr;
        align-items: center;
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    order: 2;
}

@media (min-width: 900px) {
    .hero__content {
        order: 1;
    }
}


.hero__showcase {
    position: relative;
    display: flex;
    justify-content: center;
    width: min(100%, 450px);
    min-height: clamp(200px, 45vw, 380px);
    margin: 0 auto;
    order: 1;
}

@media (min-width: 900px) {
    .hero__showcase {
        order: 2;
        width: 100%;
        max-width: 480px;
    }
}

.hero__showcase-glow {
    position: absolute;
    inset: 5%;
    background: 
        radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0, 217, 255, 0.3), transparent 65%),
        radial-gradient(ellipse 60% 50% at 70% 35%, rgba(139, 92, 246, 0.2), transparent 60%);
    filter: blur(30px);
    opacity: 0.9;
    z-index: 0;
    animation: hero-glow-pulse 4s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero__showcase-frame {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: end center;
    min-height: clamp(220px, 32vw, 420px);
}

.hero__showcase-frame--float {
    animation: hero-char-float 5s ease-in-out infinite;
}

@keyframes hero-char-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__character-img {
    width: min(100%, 420px);
    height: auto;
    max-height: min(55vh, 480px);
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(0, 217, 255, 0.2));
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition:
        opacity 500ms ease,
        transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__character-img.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.hero__showcase-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.hero__showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.15);
    transition: all 200ms ease;
}

.hero__showcase-dot:hover {
    transform: scale(1.2);
    background: rgba(0, 217, 255, 0.5);
}

.hero__showcase-dot.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
    transform: scale(1.1);
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-shadow: var(--glow-text);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.hero__title {
    font-weight: 900;
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.15;
    text-shadow: 0 0 60px rgba(0, 217, 255, 0.15);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 60ch;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 24px;
}

.hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}


.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-btn);
    padding: 14px 28px;
    border: none;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn--primary {
    color: #050810;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: var(--glow-primary), 0 4px 20px rgba(0, 217, 255, 0.25);
}

.btn--primary:hover {
    box-shadow: var(--glow-primary), 0 8px 35px rgba(0, 217, 255, 0.4);
    filter: brightness(1.1);
}

.btn--ghost {
    color: var(--text);
    border: 1px solid var(--border-strong);
    background: rgba(5, 8, 16, 0.5);
    backdrop-filter: blur(12px);
}

.btn--ghost:hover {
    border-color: var(--accent);
    box-shadow: var(--glow-accent);
    background: rgba(139, 92, 246, 0.1);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--border-strong);
    color: var(--text);
}

.btn--outline:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.btn--large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}


.section {
    padding: clamp(60px, 8vw, 120px) 0;
    position: relative;
}

.section--tight {
    padding-top: clamp(40px, 6vw, 70px);
}

.section--soft {
    background: linear-gradient(180deg, transparent, rgba(0, 217, 255, 0.03), rgba(139, 92, 246, 0.02));
}

.section-head {
    display: grid;
    gap: 14px;
    margin-bottom: 50px;
}

.section-head.centered {
    text-align: center;
    margin-inline: auto;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    background: linear-gradient(100deg, #f0f9ff, var(--primary), #f0f9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0;
}

.muted {
    color: var(--muted);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
}


.server-logo-rail {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(15, 20, 35, 0.8), rgba(8, 12, 22, 0.95));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    padding: 20px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 217, 255, 0.5) rgba(10, 14, 24, 0.8);
    position: relative;
}

.server-logo-rail::before,
.server-logo-rail::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.server-logo-rail::before {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt), transparent);
}

.server-logo-rail::after {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt), transparent);
}

.server-logo-rail.is-dragging {
    cursor: grabbing;
}

.server-logo-track {
    display: flex;
    gap: 20px;
    min-width: max-content;
    padding: 0 20px;
}

.server-logo-item {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.9), rgba(5, 8, 16, 0.95));
    display: grid;
    place-items: center;
    transition: all 250ms ease;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.server-logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 250ms ease;
}

.server-logo-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--glow-primary), 0 15px 40px rgba(0, 0, 0, 0.4);
}

.server-logo-item:hover::before {
    opacity: 1;
}

.server-logo-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.1));
    transition: all 250ms ease;
}

.server-logo-item:hover img {
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
    transform: scale(1.05);
}


.card {
    background: linear-gradient(155deg, rgba(20, 28, 48, 0.9), rgba(10, 14, 26, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.9;
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow), var(--glow-primary);
    transform: translateY(-4px);
}

.card--quiet {
    background: rgba(15, 20, 35, 0.6);
    box-shadow: none;
}

.card--quiet::before {
    opacity: 0.5;
}

.card--quiet:hover {
    background: rgba(20, 28, 48, 0.7);
}


.grid {
    display: grid;
    gap: 20px;
}

.grid--features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


.features-section {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.04), rgba(139, 92, 246, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 280ms ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(0, 217, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.08), rgba(139, 92, 246, 0.06));
    transform: translateY(-6px);
    box-shadow: var(--glow-primary), var(--shadow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card__desc {
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}


.stats {
    display: grid;
}

.stats--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.stat {
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stat::after {
    content: '';
    position: absolute;
    inset-inline-end: -50px;
    inset-block-start: -50px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.stat:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow), var(--glow-primary);
}

.stat.is-loading .stat__body {
    opacity: 0;
    pointer-events: none;
}

.stat.is-loading .stat__icon {
    opacity: 0;
}

.stat.is-loading .stat__ghost {
    opacity: 1;
}

.stat__ghost {
    position: absolute;
    inset: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.stat__body {
    transition: opacity var(--transition);
    position: relative;
    z-index: 1;
}

.stat__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--glow-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat__label {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}


.skeleton-line {
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        rgba(0, 217, 255, 0.05),
        rgba(139, 92, 246, 0.1),
        rgba(0, 217, 255, 0.05)
    );
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    margin-bottom: 12px;
}

.skeleton-line--sm {
    height: 14px;
    width: 60%;
    margin: 0 auto;
}

@keyframes skeleton-shimmer {
    0% { background-position-x: -100px; }
    100% { background-position-x: 250px; }
}


.cta-band {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.06), rgba(139, 92, 246, 0.06));
    border-block: 1px solid var(--border);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 5vw, 45px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(15, 20, 35, 0.85), rgba(10, 14, 26, 0.9));
    box-shadow: var(--shadow), var(--glow-accent);
}

.cta-band__inner h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--text);
}

.cta-band__inner p {
    margin: 8px 0 0;
}


.server-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.server-card {
    padding-top: 24px;
}

.server-card .btn--primary {
    margin-top: 8px;
}

.server-card__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.server-card__top h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: var(--text);
}

.server-card__game {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.server-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin: 16px 0 18px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}


.badge {
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

.badge--ok {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.badge--warn {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
}


.toolbar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.toolbar select.field,
.toolbar .field {
    border-radius: var(--radius-btn);
    border: 1px solid var(--border);
    padding: 14px 18px;
    background: rgba(15, 20, 35, 0.9);
    color: var(--text);
    font-family: inherit;
    transition: all var(--transition);
}

.toolbar select.field:focus,
.toolbar .field:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
}

.field-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.field-group label {
    font-weight: 700;
    color: var(--text);
}

.field {
    width: 100%;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border);
    padding: 14px 18px;
    background: rgba(15, 20, 35, 0.9);
    color: var(--text);
    font-family: inherit;
    transition: all var(--transition);
}

.field:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
}

.form {
    margin-top: 20px;
}


.alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin: 14px 0;
}

.alert--success {
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert--danger {
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
}


.faq {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: clip;
    background: rgba(15, 20, 35, 0.7);
    transition: all var(--transition);
}

.faq__item:hover {
    border-color: var(--border-strong);
}

.faq__q {
    width: 100%;
    text-align: right;
    direction: rtl;
    background: transparent;
    padding: 20px;
    cursor: pointer;
    border: 0;
    font: inherit;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all var(--transition);
}

.faq__q:hover {
    color: var(--primary);
}

.faq__a {
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.9;
}

.faq__icon {
    width: 14px;
    height: 14px;
    border-inline-end: 2px solid var(--primary);
    border-block-start: 2px solid var(--primary);
    rotate: -45deg;
    transition: rotate 200ms ease;
    flex-shrink: 0;
}

.faq__q[aria-expanded='true'] .faq__icon {
    rotate: 135deg;
}


.contact-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
}

.card--aside {
    background: var(--card);
}

.card--aside ul.stack {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    color: var(--text-secondary);
}

.small {
    font-size: 0.9rem;
    margin-top: 18px;
    color: var(--muted);
}


.prose :is(h1, h2, h3) {
    scroll-margin-top: 100px;
    color: var(--text);
}

.prose h1 {
    margin-top: 0;
}

.prose p,
.prose li {
    color: var(--text-secondary);
}

.prose .cta-inline {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.steps {
    padding-inline-start: 24px;
    color: var(--text-secondary);
}

.callout {
    border-right: 4px solid var(--accent);
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}


.game-hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: center;
}

.game-hero__media {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.8), rgba(5, 8, 16, 0.9));
    padding: 24px;
}

.game-hero__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.game-hero__body h1 {
    margin: 0;
}

.game-servers-head {
    margin-top: 30px;
}


.text-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}

.text-link:hover {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}


code {
    background: rgba(0, 217, 255, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.9em;
}


.toast {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 24px;
    z-index: 100;
    min-width: 280px;
    max-width: min(500px, calc(100% - 48px));
    background: rgba(10, 14, 26, 0.95);
    color: var(--text);
    padding: 16px 20px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-strong);
    box-shadow: var(--glow-primary), var(--shadow);
    transform: translateY(140%);
    transition: transform 250ms ease;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.toast.show {
    transform: translateY(0);
}


.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .skeleton-line {
        animation: none;
        background: rgba(0, 217, 255, 0.08);
    }

    .hero__showcase-frame--float,
    .hero__showcase-glow {
        animation: none;
    }

    .hero__character-img {
        transition: opacity 200ms ease;
    }
}


.is-hidden-item {
    display: none !important;
}


@media (max-width: 1024px) {
    .grid--features,
    .grid--games,
    .grid--testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .grid--features,
    .grid--games,
    .grid--testimonials,
    .stats--three,
    .server-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .game-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .game-hero__media {
        max-width: 200px;
        margin: 0 auto;
    }

    .cta-band__inner {
        flex-direction: column;
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }
}
