@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Comfortaa:wght@300..700&family=Huninn&display=swap');
@import url('https://fonts.cdnfonts.com/css/kelson');


:root {
    --color-bg: #050509;
    --color-bg-elevated: #0b0b11;
    --color-bg-alt: #0f1018;
    --color-primary: #7a3cff;
    --color-primary-soft: rgba(122, 60, 255, 0.25);
    --color-primary-strong: #a374ff;
    --color-border: #232333;
    --color-text: #f5f5f7;
    --color-text-muted: #9b9bb3;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.75);
    --radius-lg: 16px;
    --radius-xl: 22px;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease-out;
}

/* Global resets */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #151525 0, #050509 52%, #020206 100%);
    color: var(--color-text);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    font-family: 'Comfortaa', sans-serif;
}

/* Typography */

h1,
h2,
h3,
h4 {
    margin: 0 0 0.4em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

p {
    margin: 0 0 1em;
    color: var(--color-text-muted);
    font-family: 'Kelson', sans-serif;
}

a {
    color: var(--color-primary-strong);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/* Layout helpers */

.container {
    width: min(1120px, 100% - 2.4rem);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: radial-gradient(circle at top left, #141422 0, #050509 52%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header.align-left {
    text-align: left;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3vw, 2.3rem);
}

.section-header p {
    max-width: 34rem;
    margin: 0.4rem auto 0;
}

/* Hero (home) */

.hero {
    position: relative;
    padding: 4.75rem 0 5.25rem;
    overflow: hidden;
}

.hero-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 10% -10%, rgba(122, 60, 255, 0.35), transparent 55%),
            radial-gradient(circle at 90% 0, rgba(228, 75, 255, 0.25), transparent 50%),
            radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.85), transparent 55%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    align-items: center;
    gap: 3rem;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4vw, 3.3rem);
}

.hero-text p {
    font-size: 1rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.6rem 0 0.75rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-meta span {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(122, 60, 255, 0.16), rgba(13, 13, 21, 1));
}

/* Hero right panel */

.hero-panel {
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: -30%;
    background:
            radial-gradient(circle at 0 0, rgba(122, 60, 255, 0.4), transparent 55%),
            radial-gradient(circle at 100% 100%, rgba(5, 246, 255, 0.15), transparent 55%);
    opacity: 0.7;
    filter: blur(12px);
    z-index: -1;
}

.hero-stat-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 55%),
    linear-gradient(145deg, #090910, #050509);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 1.75rem 1.6rem 1.45rem;
}

.hero-stat-card h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hero-stat-card ul {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
}

.hero-stat-card li {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat-card li:last-child {
    border-bottom: none;
}

.hero-stat-card .label {
    color: var(--color-text-muted);
}

.hero-stat-card .value {
    font-weight: 500;
}

.hero-footnote {
    font-size: 0.8rem;
}

/* Game-specific config heroes */

.hero-game {
    padding: 4.4rem 0 3.4rem;
}

.hero-game-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-game h1,
.hero-game-content h1 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.hero-game-content p {
    max-width: 32rem;
}

.hero-game-highlights {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 0.85rem;
}

.hero-game-highlights li {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 16, 0.96);
    color: var(--color-text-muted);
}

/* Different abstract overlays per game */

.hero-minecraft .hero-overlay {
    background:
            radial-gradient(circle at 5% -5%, rgba(102, 187, 106, 0.4), transparent 55%),
            radial-gradient(circle at 90% 15%, rgba(0, 150, 136, 0.25), transparent 50%),
            repeating-linear-gradient(
                    135deg,
                    rgba(255, 255, 255, 0.04),
                    rgba(255, 255, 255, 0.04) 1px,
                    transparent 1px,
                    transparent 10px
            );
    opacity: 0.9;
}

.hero-fivem .hero-overlay {
    background:
            radial-gradient(circle at 0 0, rgba(33, 150, 243, 0.45), transparent 55%),
            radial-gradient(circle at 100% 10%, rgba(244, 67, 54, 0.35), transparent 55%),
            radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.85), transparent 55%);
    opacity: 0.9;
}

.hero-gmod .hero-overlay {
    background:
            radial-gradient(circle at 0 20%, rgba(0, 188, 212, 0.5), transparent 55%),
            radial-gradient(circle at 90% 0, rgba(3, 169, 244, 0.35), transparent 55%),
            radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.9), transparent 55%);
    opacity: 0.9;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-med),
    color var(--transition-med), border-color var(--transition-med),
    box-shadow var(--transition-med), transform var(--transition-fast);
}

.btn-primary {
    background: radial-gradient(circle at top left, #e44bff, var(--color-primary));
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
}

.btn-ghost {
    background: rgba(13, 13, 21, 0.85);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--color-text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(23, 24, 38, 0.95);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--color-text);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.16);
    background: transparent;
    color: var(--color-text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: var(--color-text);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.btn-full {
    width: 100%;
}

/* Cards */

.card {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0a0a12, #050509);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1.4rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(122, 60, 255, 0.17), transparent 58%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.game-card h3 {
    margin-top: 0.7rem;
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.7rem;
}

.card-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1.1rem;
    padding: 0;
}

.card-tags li {
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--color-text-muted);
    background: rgba(12, 12, 20, 0.9);
}

.more-card {
    background: linear-gradient(150deg, #131322, #050509);
}

/* Circle icon */

.circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #e44bff, #7a3cff);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
    font-size: 1.2rem;
}

/* Plans */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.plan-card {
    padding-top: 3.4rem;
}

.plan-card-highlight {
    border-color: rgba(122, 60, 255, 0.8);
    background: radial-gradient(circle at top left, rgba(122, 60, 255, 0.35), transparent 55%),
    linear-gradient(145deg, #0c0c18, #050509);
}

.plan-subtitle {
    margin-bottom: 1.1rem;
}

.plan-badge {
    position: absolute;
    top: 1.1rem;
    left: 1.3rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 6, 12, 0.9);

}

.plan-badge.accent {
    border-color: rgba(228, 75, 255, 0.9);
    background: linear-gradient(145deg, rgba(228, 75, 255, 0.32), rgba(4, 4, 12, 0.95));
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.45rem;
}

.feature-list li::before {
    content: "•";
    color: var(--color-primary-strong);
    margin-top: 0.21rem;
}

.plan-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 1.1rem;
}

.plan-price {
    font-weight: 600;
    font-size: 1rem;
}

.plan-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Config section */

.config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.1fr);
    gap: 1.9rem;
    align-items: flex-start;
}

.config-card {
    padding-top: 1.65rem;
}

.config-card h3,
.config-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Form and inputs */

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label,
fieldset legend {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--color-text-muted);
}

input[type="text"],
input[type="email"],
textarea,
.select-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(9, 9, 17, 0.9);
    color: var(--color-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible,
.select-input:focus-visible {
    border-color: var(--color-primary-strong);
    box-shadow: 0 0 0 1px var(--color-primary-soft);
    background: #090913;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

/* Radio pill controls */

.plan-options {
    display: flex;
    gap: 0.75rem;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: rgba(7, 7, 12, 0.9);
    transition: background-color var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-pill span {
    pointer-events: none;
}

.radio-pill input:checked + span {
    color: #ffffff;
}

.radio-pill:has(input:checked) {
    background: radial-gradient(circle at top left, rgba(122, 60, 255, 0.4), rgba(8, 8, 16, 0.95));
    border-color: rgba(169, 119, 255, 0.8);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.72);
    transform: translateY(-1px);
}

/* Sliders */

.slider-group {
    margin-top: 0.8rem;
}

.slider-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-value {
    font-size: 0.85rem;
    color: var(--color-primary-strong);
}

input[type="range"] {
    width: 100%;
    margin: 0.35rem 0 0.2rem;
    -webkit-appearance: none;
    background: transparent;
}

input[type="range"]:focus-visible {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #e44bff);
    border-radius: 999px;
}


/* ---------- Mobile behaviour ---------- */
@media (max-width: 960px) {
    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .plans-grid {
        display: flex;
        flex-direction: column;
    }

    .cards-grid {
        display: flex;
        flex-direction: column;
    }
}