:root {
    --bg-main: #eef4ef;
    --bg-stone: #dfe6df;
    --bg-panel: rgba(30, 39, 42, 0.72);
    --bg-panel-strong: rgba(17, 22, 24, 0.86);
    --line-soft: rgba(255, 255, 255, 0.16);
    --line-strong: rgba(255, 255, 255, 0.28);
    --text-main: #f5f7f4;
    --text-dark: #142018;
    --text-muted: rgba(245, 247, 244, 0.78);
    --brand-orange: #ff8a26;
    --brand-gold: #ffcb32;
    --brand-cyan: #24d8ff;
    --brand-blue: #3687ff;
    --brand-lime: #9fe128;
    --brand-violet: #8f6dff;
    --shadow-soft: 0 30px 70px rgba(8, 12, 14, 0.18);
    --shadow-card: 0 18px 40px rgba(7, 10, 12, 0.25);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --wrap: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 205, 98, 0.22), transparent 28%),
        linear-gradient(180deg, #f3f7f1 0%, #e7eee7 40%, #dde5de 100%);
    color: var(--text-main);
    font-family: "Outfit", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(19, 24, 27, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand img {
    width: clamp(86px, 11vw, 132px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.main-nav a {
    position: relative;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.site-header__discord {
    padding: 11px 20px;
    font-size: 0.92rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 -8px 0;
    height: 3px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-cyan));
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.discord-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.discord-button,
.button--discord {
    padding: 14px 24px;
    color: #fff;
    background: linear-gradient(135deg, #6c7bff, #5a39ff);
    box-shadow: 0 16px 28px rgba(70, 62, 201, 0.3);
}

.button {
    padding: 16px 24px;
}

.button__icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    object-fit: contain;
}

.button:hover,
.discord-button:hover,
.copy-button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #171a10;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-orange));
    box-shadow: 0 18px 34px rgba(255, 171, 52, 0.32);
}

.button--secondary {
    color: #fff;
    background: rgba(18, 25, 29, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.button--spotify {
    color: #f7fff8;
    background: linear-gradient(135deg, #1ed760, #149643);
    box-shadow: 0 18px 34px rgba(22, 140, 64, 0.32);
}

.hero {
    position: relative;
    overflow: clip;
    min-height: 860px;
    background:
        linear-gradient(90deg, rgba(9, 13, 14, 0.82) 0%, rgba(13, 18, 20, 0.64) 38%, rgba(15, 20, 22, 0.24) 100%),
        var(--hero-image) center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 215, 100, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 10, 12, 0.28));
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    padding: 88px 0 72px;
}

.hero__copy {
    max-width: 720px;
}

.eyebrow,
.section-heading__eyebrow,
.glass-card__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(18, 22, 24, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__title-prefix,
.hero__title-main,
.section-heading h2,
.site-footer h3,
.glass-card h2 {
    font-family: "Bungee", sans-serif;
    letter-spacing: 0.01em;
}

.hero__title-prefix {
    margin: 26px 0 0;
    font-size: clamp(2.7rem, 7vw, 5rem);
    line-height: 0.95;
    color: #f6f7f4;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.hero__title-main {
    display: inline-block;
    margin-top: 8px;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    line-height: 0.94;
    text-transform: uppercase;
    background: linear-gradient(
        90deg,
        #ff5a30 0%,
        var(--brand-orange) 18%,
        var(--brand-gold) 35%,
        var(--brand-cyan) 58%,
        var(--brand-blue) 78%,
        var(--brand-lime) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.hero__description {
    max-width: 58ch;
    margin: 24px 0 0;
    color: var(--text-main);
    font-size: 1.17rem;
    line-height: 1.75;
}

.hero__description--secondary {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.server-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 720px;
    margin-top: 34px;
}

.server-card,
.info-card,
.glass-card,
.discord-cta,
.site-footer__grid,
.admin-panel,
.admin-login__card {
    box-shadow: var(--shadow-card);
}

.server-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(17, 21, 23, 0.88), rgba(23, 29, 31, 0.82));
    border: 1px solid var(--line-soft);
}

.server-card--gold {
    border-color: rgba(255, 188, 55, 0.45);
}

.server-card--cyan {
    border-color: rgba(36, 216, 255, 0.45);
}

.server-card__label {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.server-card__host {
    display: block;
    margin-top: 12px;
    font-size: 1.3rem;
}

.server-card__live {
    margin-top: 12px;
}

.server-card__live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
}

.server-card__live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.server-card__live--online {
    color: var(--brand-lime);
}

.server-card__live--offline {
    color: #ffb363;
}

.server-card__meta {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.copy-button {
    margin-top: 18px;
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.server-card--gold .copy-button {
    background: linear-gradient(135deg, rgba(255, 195, 56, 0.95), rgba(255, 140, 34, 0.95));
    color: #1a1c10;
}

.server-card--cyan .copy-button {
    background: linear-gradient(135deg, rgba(32, 233, 255, 0.94), rgba(30, 165, 255, 0.94));
    color: #08161c;
}

.hero__panel {
    align-self: end;
}

.glass-card {
    padding: 26px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(18, 22, 24, 0.82), rgba(24, 28, 31, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-card h2 {
    margin: 18px 0 12px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.glass-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.glass-card--status {
    position: relative;
    overflow: hidden;
    border-color: rgba(36, 216, 255, 0.18);
    background:
        radial-gradient(circle at top right, rgba(36, 216, 255, 0.2), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 203, 50, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(16, 25, 29, 0.9), rgba(18, 32, 38, 0.82));
}

.glass-card--status::before,
.glass-card--status::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(8px);
}

.glass-card--status::before {
    top: -48px;
    right: -36px;
    width: 156px;
    height: 156px;
    background: radial-gradient(circle, rgba(36, 216, 255, 0.16), transparent 68%);
}

.glass-card--status::after {
    bottom: -54px;
    left: -30px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(255, 138, 38, 0.14), transparent 70%);
}

.glass-card--status > * {
    position: relative;
    z-index: 1;
}

.glass-card--status .glass-card__label {
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.18), rgba(36, 216, 255, 0.16));
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff8d6;
}

.hero-status__headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.hero-status__headline h2 {
    margin-bottom: 8px;
}

.hero-status__count {
    min-width: 108px;
    padding: 16px 14px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 30px rgba(7, 10, 12, 0.2);
}

.hero-status__count strong {
    display: block;
    font-family: "Bungee", sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1;
    color: #fff;
}

.hero-status__count span {
    display: block;
    margin-top: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero-status__count--online {
    background: linear-gradient(135deg, rgba(159, 225, 40, 0.18), rgba(36, 216, 255, 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(159, 225, 40, 0.24),
        0 16px 30px rgba(7, 10, 12, 0.2);
}

.hero-status__count--offline {
    background: linear-gradient(135deg, rgba(255, 138, 38, 0.18), rgba(255, 203, 50, 0.12));
    box-shadow:
        inset 0 0 0 1px rgba(255, 138, 38, 0.24),
        0 16px 30px rgba(7, 10, 12, 0.2);
}

.hero-status__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hero-status__meta-card,
.hero-status__hosts div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-status__meta-card:first-child {
    background: linear-gradient(135deg, rgba(159, 225, 40, 0.14), rgba(255, 255, 255, 0.03));
    border-color: rgba(159, 225, 40, 0.18);
}

.hero-status__meta-card:last-child {
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.14), rgba(255, 138, 38, 0.08));
    border-color: rgba(255, 203, 50, 0.18);
}

.hero-status__hosts div:first-child {
    background: linear-gradient(135deg, rgba(36, 216, 255, 0.16), rgba(54, 135, 255, 0.08));
    border-color: rgba(36, 216, 255, 0.18);
}

.hero-status__hosts div:last-child {
    background: linear-gradient(135deg, rgba(143, 109, 255, 0.16), rgba(54, 135, 255, 0.08));
    border-color: rgba(143, 109, 255, 0.18);
}

.hero-status__meta-card span,
.hero-status__hosts span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-status__meta-card strong,
.hero-status__hosts strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.hero-status__hosts {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.hero-status__players {
    margin-top: 18px;
}

.hero-status__players h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
}

.player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.player-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(36, 216, 255, 0.18), rgba(54, 135, 255, 0.18));
    border: 1px solid rgba(36, 216, 255, 0.24);
    color: #f4fbff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(9, 17, 23, 0.18);
}

.player-badge:nth-child(2n) {
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.18), rgba(255, 138, 38, 0.18));
    border-color: rgba(255, 203, 50, 0.24);
    color: #fff9de;
}

.player-badge:nth-child(3n) {
    background: linear-gradient(135deg, rgba(159, 225, 40, 0.16), rgba(36, 216, 255, 0.14));
    border-color: rgba(159, 225, 40, 0.22);
}

.hero-status__empty,
.hero-status__time {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.section {
    padding: 88px 0;
    color: var(--text-dark);
}

.section--stone {
    background: linear-gradient(180deg, rgba(220, 227, 220, 0.94), rgba(214, 222, 214, 0.96));
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading--centered {
    text-align: center;
}

.section-heading__eyebrow {
    color: #1d2a22;
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(25, 32, 28, 0.08);
}

.section-heading h2 {
    margin: 18px 0 0;
    color: #1b231f;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
}

.section-heading__description {
    max-width: 68ch;
    margin: 16px 0 0;
    color: rgba(20, 32, 24, 0.78);
    line-height: 1.8;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--events {
    background:
        radial-gradient(circle at top left, rgba(255, 203, 50, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(36, 216, 255, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(241, 246, 240, 0.98), rgba(227, 235, 228, 0.98));
}

.events-layout {
    display: grid;
    grid-template-columns: minmax(0, 860px);
    justify-content: center;
    gap: 22px;
    align-items: start;
}

.events-column {
    display: grid;
    gap: 16px;
}

.events-column__head {
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(21, 32, 25, 0.08);
    box-shadow: var(--shadow-card);
}

.events-column__head h3 {
    margin: 0;
    color: #1a231f;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
}

.events-column__head p {
    margin: 12px 0 0;
    color: rgba(20, 32, 24, 0.78);
    line-height: 1.7;
}

.events-stack {
    display: grid;
    gap: 16px;
}

.event-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.event-card--announcement {
    background:
        radial-gradient(circle at top right, rgba(36, 216, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(17, 24, 27, 0.94), rgba(20, 31, 34, 0.92));
    border: 1px solid rgba(36, 216, 255, 0.18);
    color: var(--text-main);
}

.event-card--empty {
    background: linear-gradient(180deg, rgba(250, 252, 249, 0.96), rgba(236, 242, 236, 0.96));
    border: 1px dashed rgba(21, 32, 25, 0.14);
    color: var(--text-dark);
}

.event-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.event-card__badge,
.event-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-card__badge {
    color: #132015;
    background: linear-gradient(135deg, var(--brand-lime), #d2ff65);
}

.event-card__date {
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card--empty .event-card__date {
    color: rgba(20, 32, 24, 0.68);
    background: rgba(20, 32, 24, 0.06);
    border-color: rgba(20, 32, 24, 0.08);
}

.event-card h4 {
    margin: 16px 0 0;
    font-size: 1.28rem;
    line-height: 1.3;
}

.event-card--announcement h4,
.event-card--announcement p,
.event-card--announcement .event-card__winners > span {
    color: var(--text-main);
}

.event-card p {
    margin: 12px 0 0;
    line-height: 1.75;
}

.section--staff {
    background:
        radial-gradient(circle at top right, rgba(143, 109, 255, 0.14), transparent 26%),
        radial-gradient(circle at bottom left, rgba(36, 216, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(233, 240, 234, 0.98), rgba(220, 229, 221, 0.98));
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.staff-card {
    position: relative;
    min-height: 100%;
    padding: 26px 24px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(250, 252, 249, 0.96), rgba(232, 238, 232, 0.96));
    border: 1px solid rgba(22, 30, 25, 0.08);
    box-shadow: var(--shadow-card);
}

.staff-card::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-cyan));
}

.staff-card--lime::after {
    background: linear-gradient(90deg, var(--brand-lime), #66d95e);
}

.staff-card--cyan::after {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

.staff-card--gold::after {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-orange));
}

.staff-card--orange::after {
    background: linear-gradient(90deg, var(--brand-orange), #ff5a30);
}

.staff-card--violet::after {
    background: linear-gradient(90deg, var(--brand-violet), #4dd7ff);
}

.staff-card__top {
    display: flex;
    gap: 16px;
    align-items: center;
}

.staff-card__badge {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(14, 18, 19, 0.9);
    color: #fff;
    font-size: 1.4rem;
    flex: 0 0 auto;
}

.staff-card__role {
    margin: 0;
    color: rgba(20, 32, 24, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.staff-card h3 {
    margin: 8px 0 0;
    color: #1b231f;
    font-size: 1.4rem;
    line-height: 1.2;
}

.staff-card__tagline {
    margin: 18px 0 0;
    color: #1f2a24;
    font-weight: 700;
    line-height: 1.6;
}

.staff-card__bio {
    margin: 12px 0 0;
    color: rgba(20, 32, 24, 0.84);
    line-height: 1.75;
}

.staff-card--empty {
    max-width: 780px;
    margin: 0 auto;
}

.staff-card--lime .staff-card__badge {
    color: var(--brand-lime);
}

.staff-card--cyan .staff-card__badge {
    color: var(--brand-cyan);
}

.staff-card--gold .staff-card__badge {
    color: var(--brand-gold);
}

.staff-card--orange .staff-card__badge {
    color: var(--brand-orange);
}

.staff-card--violet .staff-card__badge {
    color: var(--brand-violet);
}

.rank-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 28px;
    align-items: start;
}

.rank-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(255, 203, 50, 0.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(159, 225, 40, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(18, 24, 26, 0.94), rgba(21, 30, 33, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card);
}

.rank-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.rank-card__identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rank-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.24), rgba(159, 225, 40, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rank-card__label,
.rank-card__price span,
.rank-card__meta span {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rank-card h3 {
    margin: 8px 0 0;
    color: #fff;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1;
}

.rank-card__price {
    min-width: 140px;
    padding: 16px 18px;
    border-radius: 20px;
    text-align: right;
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.18), rgba(255, 138, 38, 0.12));
    border: 1px solid rgba(255, 203, 50, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rank-card__price strong {
    display: block;
    margin-top: 10px;
    color: #fff6d3;
    font-family: "Bungee", sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}

.rank-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.rank-card__meta {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-card__meta strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.rank-card__benefits {
    margin-top: 22px;
}

.rank-card__benefits h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
}

.rank-benefits {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-benefits li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(159, 225, 40, 0.14), rgba(36, 216, 255, 0.1));
    border: 1px solid rgba(159, 225, 40, 0.18);
    color: rgba(245, 247, 244, 0.94);
    line-height: 1.6;
}

.rank-benefits li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #132015;
    font-size: 0.78rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-lime), #d2ff65);
}

.section--rules {
    background:
        radial-gradient(circle at top right, rgba(36, 216, 255, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 203, 50, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(239, 245, 239, 0.98), rgba(226, 235, 228, 0.98));
}

.rules-hero {
    margin-bottom: 28px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rule-card {
    position: relative;
    min-height: 100%;
    padding: 26px 24px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(250, 252, 249, 0.96), rgba(232, 238, 232, 0.96));
    border: 1px solid rgba(22, 30, 25, 0.08);
    box-shadow: var(--shadow-card);
}

.rule-card::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-cyan));
}

.rule-card--lime::after {
    background: linear-gradient(90deg, var(--brand-lime), #66d95e);
}

.rule-card--cyan::after {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

.rule-card--gold::after {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-orange));
}

.rule-card--orange::after {
    background: linear-gradient(90deg, var(--brand-orange), #ff6747);
}

.rule-card--violet::after {
    background: linear-gradient(90deg, var(--brand-violet), var(--brand-blue));
}

.rule-card__top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rule-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(20, 32, 24, 0.08);
    font-size: 1.35rem;
}

.rule-card__subtitle {
    margin: 0 0 6px;
    color: rgba(20, 32, 24, 0.54);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rule-card h3 {
    margin: 0;
    color: #1b231f;
    font-size: 1.4rem;
    line-height: 1.15;
}

.rule-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.rule-list li {
    position: relative;
    padding-left: 18px;
    color: rgba(20, 32, 24, 0.84);
    line-height: 1.7;
}

.rule-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 32, 24, 0.28);
    transform: translateY(-50%);
}

.rule-card--lime .rule-card__icon,
.rule-card--lime .rule-list li::before {
    background: rgba(159, 225, 40, 0.22);
}

.rule-card--cyan .rule-card__icon,
.rule-card--cyan .rule-list li::before {
    background: rgba(36, 216, 255, 0.18);
}

.rule-card--gold .rule-card__icon,
.rule-card--gold .rule-list li::before {
    background: rgba(255, 203, 50, 0.22);
}

.rule-card--orange .rule-card__icon,
.rule-card--orange .rule-list li::before {
    background: rgba(255, 138, 38, 0.22);
}

.rule-card--violet .rule-card__icon,
.rule-card--violet .rule-list li::before {
    background: rgba(143, 109, 255, 0.2);
}

.info-card {
    padding: 28px 24px;
    min-height: 265px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(250, 252, 249, 0.94), rgba(232, 238, 232, 0.94));
    border: 1px solid rgba(22, 30, 25, 0.08);
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(14, 18, 19, 0.86);
    color: #fff;
    font-size: 1.5rem;
}

.info-card h3 {
    margin: 22px 0 10px;
    font-size: 1.45rem;
    line-height: 1.1;
}

.info-card p {
    margin: 0;
    color: rgba(20, 32, 24, 0.84);
    font-size: 1rem;
    line-height: 1.75;
}

.info-card--lime h3,
.info-card--lime .info-card__icon {
    color: var(--brand-lime);
}

.info-card--cyan h3,
.info-card--cyan .info-card__icon {
    color: var(--brand-cyan);
}

.info-card--gold h3,
.info-card--gold .info-card__icon {
    color: var(--brand-gold);
}

.info-card--orange h3,
.info-card--orange .info-card__icon {
    color: var(--brand-orange);
}

.info-card--violet h3,
.info-card--violet .info-card__icon {
    color: var(--brand-violet);
}

.discord-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at left center, rgba(156, 114, 255, 0.28), transparent 26%),
        linear-gradient(135deg, #171d2f, #25203c 45%, #332258 100%);
    color: #fff;
}

.discord-cta h2 {
    margin: 12px 0 8px;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.discord-cta p {
    margin: 0;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.site-footer {
    padding: 0 0 32px;
    color: #f2f5f1;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 0.8fr 0.9fr;
    gap: 26px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(18, 22, 24, 0.92), rgba(25, 31, 33, 0.92));
}

.site-footer__brand img {
    width: 150px;
}

.site-footer__brand p,
.site-footer__bottom p,
.footer-links a,
.server-info dd {
    color: rgba(244, 247, 243, 0.74);
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    color: #fff;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.server-info {
    margin: 0;
    display: grid;
    gap: 14px;
}

.server-info div {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.server-info dt {
    font-weight: 700;
    color: #fff;
}

.server-info dd {
    margin: 6px 0 0;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 8px 0;
    font-size: 0.92rem;
}

@media (max-width: 1100px) {
    .hero__content,
    .card-grid--features,
    .staff-grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--reasons {
        grid-template-columns: 1fr;
    }

    .rules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__panel {
        align-self: start;
    }

    .events-layout,
    .rank-spotlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-header .wrap {
        width: min(1180px, calc(100vw - 16px));
    }

    .discord-cta,
    .site-footer__bottom {
        flex-direction: column;
    }

    .site-header__inner {
        flex-wrap: wrap;
        min-height: auto;
        padding: 16px 0;
        gap: 14px;
    }

    .site-nav {
        order: 3;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    .nav-toggle {
        display: inline-flex;
        align-self: flex-end;
    }

    .site-nav > .site-header__menu {
        width: min(90vw, 420px);
        max-width: 100%;
        display: none;
        gap: 14px;
        margin: 6px auto 0;
        padding: 20px;
        border-radius: 24px;
        background: rgba(17, 22, 24, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 18px 40px rgba(7, 10, 12, 0.28);
    }

    .site-nav.is-open > .site-header__menu {
        display: grid;
    }

    .main-nav {
        display: grid;
        justify-content: stretch;
        gap: 10px;
    }

    .main-nav a {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
    }

    .main-nav a::after {
        display: none;
    }

    .site-header__discord {
        width: 100%;
    }

    .hero {
        min-height: auto;
    }

    .hero__content,
    .server-cards,
    .card-grid--features,
    .events-layout,
    .staff-grid,
    .rank-card__meta-grid,
    .rules-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .rank-card__top {
        grid-template-columns: 1fr;
    }

    .rank-card__price {
        text-align: left;
    }

    .hero-status__headline,
    .hero-status__meta-grid {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding: 54px 0 56px;
    }

    .section {
        padding: 72px 0;
    }

    .site-footer__grid {
        padding: 26px;
    }
}
