﻿

:root {
  --bg: #060606;
  --bg-soft: #0c0c0e;
  --bg-card: #101012;
  --bg-elevated: #161618;
  --border: transparent;
  --border-hover: rgba(255, 255, 255, 0.06);
  --text: #f8f8f8;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #c1167b;
  --accent-light: #f02d96;
  --accent-dark: #9a125f;
  --accent-glow: rgba(193, 22, 123, 0.5);
  --accent-soft: rgba(193, 22, 123, 0.14);
  --discord: #5865f2;
  --green: #22c55e;
  --font: "Poppins", system-ui, sans-serif;
  --header-h: 80px;
  --header-max: min(100%, 1680px);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(193, 22, 123, 0.55) rgba(255, 255, 255, 0.04);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(193, 22, 123, 0.45) rgba(255, 255, 255, 0.03);
}

*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 99px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-light), var(--accent-dark));
  border-radius: 99px;
  border: 1px solid rgba(6, 6, 6, 0.5);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff3da8, var(--accent));
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(193, 22, 123, 0.09), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(193, 22, 123, 0.04), transparent 50%);
}

body.home-page::before {
  content: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.app {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.app.is-ready { opacity: 1; }
body.is-loading { overflow: hidden; }

.accent {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--max);
  padding-inline: var(--pad);
  margin-inline: auto;
}

/* Reveal */
.reveal, .hero__reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible, .hero__reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.hero__reveal--d1 { transition-delay: 0.1s; }
.hero__reveal--d2 { transition-delay: 0.2s; }
.hero__reveal--d3 { transition-delay: 0.3s; }
.hero__reveal--d4 { transition-delay: 0.4s; }
.hero__reveal--d5 { transition-delay: 0.5s; }
.hero__reveal--d6 { transition-delay: 0.6s; }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.4s, visibility 0.4s;
}

.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: min(160px, 48vw);
}

.loader__logo {
  width: 100%;
  height: auto;
}

.loader__text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.loader__bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.loader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.2s;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: none;
}

.header__inner {
  width: 100%;
  max-width: var(--header-max);
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.header__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header__brand img { height: 42px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 1.5rem);
  flex: 1 1 auto;
  min-width: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header__actions > * {
  flex-shrink: 0;
}

.header__auth,
.header [data-auth-header] {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header [data-auth-header] .auth-user {
  flex-shrink: 0;
  max-width: min(280px, 46vw);
}

.header [data-auth-header] .auth-user__info {
  min-width: 0;
}

.header [data-auth-header] .auth-user__name {
  max-width: 140px;
  display: block;
}

.header [data-auth-header] .btn--header-auth {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 12.5rem;
  max-width: none;
  white-space: nowrap;
  padding: 0.5rem 1.15rem;
  font-size: 0.78rem;
  gap: 0.5rem;
  border-radius: 10px;
  line-height: 1.2;
}

.header [data-auth-header] .btn--header-auth .btn__label {
  display: inline-block;
  white-space: nowrap;
}

.header [data-auth-header] .btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  padding-bottom: 5px;
}

.header__nav a i {
  font-size: 0.9em;
  width: 1.1em;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.header__nav a:hover i,
.header__nav a.is-active i {
  opacity: 1;
  color: var(--accent-light);
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.header__nav a:hover,
.header__nav a.is-active { color: var(--text); }

.header__nav a:hover::after,
.header__nav a.is-active::after { transform: scaleX(1); }

.header .btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.8rem;
}

.header .btn--sm i {
  font-size: 1.05em;
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-soft);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__burger span {
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.72rem; }
.btn--lg { padding: 0.85rem 1.75rem; font-size: 0.85rem; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--shine::after {
  display: none;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn--outline:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn--discord {
  background: var(--discord);
  color: #fff;
}

.btn--discord:hover {
  background: var(--discord);
  transform: translateY(-2px);
}
.btn__icon { flex-shrink: 0; }

/* Glass / cards */
.glass {
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.glass:hover {
  transform: translateY(-5px);
}

.glass--glow {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.008) 55%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.glass--glow::before {
  display: none;
}

.glass--glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) var(--pad) 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.65;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(193, 22, 123, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(6, 6, 6, 0.2) 0%, rgba(6, 6, 6, 0.85) 75%, var(--bg) 100%);
  z-index: 1;
}

.hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100%);
  height: 420px;
  background: radial-gradient(circle, rgba(193, 22, 123, 0.08) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

.hero__logo {
  width: min(200px, 48vw);
  height: auto;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 40px rgba(193, 22, 123, 0.35)) drop-shadow(0 12px 32px rgba(0, 0, 0, 0.6));
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  line-height: 1.08;
  max-width: 16ch;
}

.hero__desc-box {
  padding: 1.25rem 1.5rem;
  background: rgba(6, 6, 6, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero__desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Launch / countdown */
.launch-status {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  min-width: min(100%, 380px);
  text-align: center;
}

.launch-status__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.launch-status__value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.launch-status__hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.countdown__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.countdown__unit {
  padding: 0 1rem;
  text-align: center;
}

.countdown__unit + .countdown__unit {
  border-left: none;
}

.countdown__value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.countdown__done {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
}

.section--soft { background: var(--bg-soft); }

.section--serwer {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section__bg--hoodrp {
  background-image: url("assets/hoodrp-bg.png");
  background-size: cover;
  background-position: center 35%;
  opacity: 0.42;
}

.section__bg--hoodrp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 6, 0.88) 0%,
    rgba(6, 6, 6, 0.72) 45%,
    rgba(6, 6, 6, 0.92) 100%
  );
}

.section--serwer .container {
  position: relative;
  z-index: 1;
}

.section--solo .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: clamp(8rem, 18vw, 12rem);
}

.section__head {
  margin-bottom: 2.5rem;
}

.section__head--center { text-align: center; }

.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

.section__lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  max-width: 520px;
}

.section__head--center .section__lead { margin-inline: auto; }
.section__lead a { color: var(--accent); transition: opacity 0.2s; }
.section__lead a:hover { opacity: 0.75; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}

.stat-card__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.5rem;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Split panels */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.panel {
  padding: 1.75rem;
}

.panel__date {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.panel__text, .panel__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

/* Districts */
.districts {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.districts__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 540px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
}

.district-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.district-tab img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.district-tab span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.district-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.district-tab.is-active {
  background: rgba(193, 22, 123, 0.18);
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--accent);
}

.district-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.district-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  transition: opacity 0.45s var(--ease), transform 10s var(--ease);
  transform: scale(1.04);
  pointer-events: none;
}

.district-panel__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.75) 100%);
}

.district-panel__bg.is-fading { opacity: 0; }

.district-panel > *:not(.district-panel__bg) {
  position: relative;
  z-index: 1;
}

.district-panel__dev {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  min-height: 280px;
}

.district-panel__dev-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.district-panel__dev-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  max-width: 28ch;
  line-height: 1.6;
}

.district-panel__set {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  width: fit-content;
}

.district-panel__set-label {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.district-panel__set strong { font-weight: 600; color: var(--text); }
.district-panel__set--crips strong { color: #4a9eed; }
.district-panel__set--bloods strong { color: #e84545; }
.district-panel__set--piru strong { color: #e84545; }
.district-panel__set--sureno strong { color: #d4a84b; }

.district-panel__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.district-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.district-gallery[hidden] { display: none; }

.district-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  aspect-ratio: 16 / 10;
}

.district-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.district-gallery__item:hover img { transform: scale(1.06); }

.district-panel__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: auto;
}

/* Join */
.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}

.join__auth.glass--glow,
.join__connect.glass--glow {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.join__connect {
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.join__connect:hover,
.auth-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.auth-panel {
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.join__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.join__ip {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: none;
  border-radius: 8px;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
}

.join__copy {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  background: var(--bg-soft);
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.join__copy:hover { border-color: var(--accent); color: var(--accent); }
.join__copy.copied { color: var(--green); border-color: rgba(34, 197, 94, 0.3); }
.join__cta { width: 100%; }

/* Auth */
.auth-panel__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.auth-panel__text, .auth-panel__id {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.auth-panel__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  border: none;
}

.auth-panel__welcome { margin-bottom: 0.35rem; }

.auth-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  background: var(--bg-soft);
  border: none;
  border-radius: 999px;
}

.auth-user__avatar { border-radius: 50%; }
.auth-user__name { font-size: 0.75rem; font-weight: 500; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-user__logout {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 6px;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font);
}

.auth-user__logout:hover { color: var(--text); }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 4rem var(--pad);
  background: radial-gradient(ellipse at center, rgba(193, 22, 123, 0.06), transparent 70%);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-band p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__inner img { height: 28px; width: auto; opacity: 0.85; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--accent); }

.footer__copy, .footer__legal {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.footer__legal {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  opacity: 0.6;
}

/* Callback */
.callback-page { min-height: 100vh; display: grid; place-items: center; }
.callback { text-align: center; padding: 2rem; }
.callback__status { margin: 1.25rem 0; color: var(--text-muted); font-size: 0.9rem; }
.callback__link { margin-top: 0.5rem; }

/* Mobile */
@media (max-width: 900px) {
  .header__nav, .header__actions > :not(.header__burger) { display: none; }
  .header__burger { display: flex; }

  .header.is-open .header__actions > :not(.header__burger) {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .header.is-open .header__auth,
  .header.is-open [data-auth-header] {
    width: 100%;
    justify-content: center;
  }

  .header.is-open {
    background: rgba(10, 10, 10, 0.95);
    height: auto;
    min-height: var(--header-h);
  }

  .header.is-open .header__inner {
    display: flex;
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .header.is-open .header__nav,
  .header.is-open .header__actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.75rem;
  }

  .header.is-open .header__nav { gap: 0.25rem; }
  .header.is-open .header__nav a {
    padding: 0.5rem 0;
    width: 100%;
  }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .split, .join { grid-template-columns: 1fr; }
  .districts { grid-template-columns: 1fr; }
  .districts__tabs {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }
  .district-tab { flex-shrink: 0; min-width: 180px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .countdown__unit { padding: 0 0.65rem; }
  .hero__title { font-size: 1.35rem; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide, .bento__card--accent { grid-column: span 1; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WOW â€” ambient, hero, sekcje
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite;
}

.ambient__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(193, 22, 123, 0.18);
  top: -10%;
  left: -5%;
}

.ambient__orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(193, 22, 123, 0.1);
  bottom: 10%;
  right: -5%;
  animation-delay: -9s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

.header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero__grid {
  display: none;
}

.hero__logo-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.hero__logo-ring {
  display: none;
}

.hero__scroll {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color 0.2s;
}

.hero__scroll:hover { color: var(--accent); }
.hero__scroll svg { opacity: 0.6; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.container--narrow { max-width: 720px; }

/* Showcase */
.showcase {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.showcase__img {
  position: absolute;
  inset: 0;
}

.showcase__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}

.showcase:hover .showcase__img img { transform: scale(1.12); }

.showcase__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(193, 22, 123, 0.12), transparent 55%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.96) 0%, rgba(6, 6, 6, 0.72) 45%, rgba(6, 6, 6, 0.35) 100%);
}

.showcase__content {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
  max-width: 520px;
}

.showcase__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.showcase__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Trailer */
.trailer__frame {
  max-width: 960px;
  margin-inline: auto;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trailer__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: #000;
}

.trailer__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer__placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.trailer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.55);
  transform: scale(1.04);
}

.trailer__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(193, 22, 123, 0.08), transparent 65%),
    linear-gradient(to bottom, rgba(6, 6, 6, 0.15), rgba(6, 6, 6, 0.55));
}

.trailer__play {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  padding-left: 0.2rem;
  pointer-events: none;
}

.trailer__soon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bento__card {
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.bento__card.glass--glow {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bento__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.bento__card--wide { grid-column: span 2; }
.bento__card--accent {
  grid-column: span 1;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.bento__card--accent:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.bento__card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.bento__card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s;
}

.bento__link:hover { opacity: 0.75; }

/* Path */
.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.path::before {
  display: none;
}

.path__step {
  padding: 1.35rem;
  text-align: center;
  transition: transform 0.3s var(--ease);
}

.path__step.glass--glow {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.path__step:hover { transform: translateY(-6px); }

.path__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  background: var(--accent-soft);
  border: none;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
}

.path__step h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.path__step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Factions */
.factions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.faction-card {
  padding: 1.35rem;
  text-align: center;
  border-top: none;
  transition: transform 0.3s var(--ease);
}

.faction-card:hover { transform: translateY(-6px); }
.faction-card--crips { background: linear-gradient(180deg, rgba(74, 158, 237, 0.08), transparent); }
.faction-card--bloods { background: linear-gradient(180deg, rgba(232, 69, 69, 0.08), transparent); }
.faction-card--sureno { background: linear-gradient(180deg, rgba(212, 168, 75, 0.08), transparent); }
.faction-card--civ { background: rgba(255, 255, 255, 0.02); }

.faction-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.faction-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Applications â€” osobna sekcja */
.applications-section {
  position: relative;
  padding: clamp(5rem, 10vw, 7rem) 0;
  background: var(--bg);
  overflow: hidden;
}

.applications-section__inner {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.applications-intro__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.applications-intro__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.applications-intro__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.applications-intro__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.applications-intro__steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.applications-intro__steps li span {
  flex-shrink: 0;
  width: 1.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-light);
}

.applications-intro__steps a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.applications-intro__steps a:hover { opacity: 0.75; }

.applications-board {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.application-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), background 0.25s;
}

.application-row--open {
  cursor: pointer;
}

.application-row--open:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.045);
}

.application-row--closed {
  opacity: 0.55;
  cursor: default;
}

.application-row__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(193, 22, 123, 0.12);
  color: var(--accent-light);
  font-size: 1.1rem;
}

.application-row--closed .application-row__icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.application-row__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.application-row__head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.application-row__body p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.application-row__status {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.application-row__status--open {
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}

.application-row__status--closed {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
}

.application-row__action {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(193, 22, 123, 0.15);
  color: var(--accent-light);
  font-size: 0.8rem;
  transition: transform 0.25s var(--ease);
}

.application-row--open:hover .application-row__action {
  transform: translate(2px, -2px);
}

.application-row__soon {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.applications-intro__cta {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.faq__item:hover {
  transform: translateY(-4px);
}

.faq__item[open] {
  background: rgba(193, 22, 123, 0.05);
  box-shadow: var(--shadow);
  transform: none;
}

.faq__item summary {
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover { color: var(--accent-light); }

.faq__item p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq__item a { color: var(--accent); }

/* CTA enhanced */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(193, 22, 123, 0.15), transparent 70%);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

.cta-band h2 { position: relative; }
.cta-band p { position: relative; }

.cta-band__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* District transition */
.district-panel {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.district-panel.is-switching {
  opacity: 0;
  transform: translateX(12px);
}

.stat-card__value.is-counted {
  animation: statPop 0.5s var(--ease);
}

@keyframes statPop {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .path { grid-template-columns: repeat(2, 1fr); }
  .path::before { display: none; }
  .factions { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .showcase__overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.6));
  }
  .showcase__content { max-width: none; }
  .applications-section__inner { grid-template-columns: 1fr; }
  .applications-intro__title { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .path, .factions { grid-template-columns: 1fr; }
}

html.is-devtools-open body {
  overflow: hidden;
}

html.is-devtools-open body::after {
  content: "DostÄ™p do narzÄ™dzi deweloperskich jest zablokowany.";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  background: #060606;
  pointer-events: all;
  user-select: none;
}
