:root {
  --green: #00ff66;
  --green-dark: #0a5f34;
  --ink: #050907;
  --ink-2: #101713;
  --paper: #f4fff7;
  --muted: #9db7a7;
  --line: rgba(0, 255, 102, .24);
  --panel: rgba(12, 22, 16, .82);
  --danger: #ff5577;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 255, 102, .22), transparent 28rem),
    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, .09), transparent 18rem),
    linear-gradient(135deg, #050806 0%, #0d1710 48%, #020302 100%);
  color: var(--paper);
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 255, 102, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, .035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

a { color: var(--green); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  gap: 20px;
  background: var(--ink);
  transition: opacity .45s ease, visibility .45s ease;
}

.loader img {
  width: 128px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--green);
  object-fit: cover;
  box-shadow: 0 0 46px rgba(0, 255, 102, .38);
}

.loader span {
  color: var(--green);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.loader.hide { opacity: 0; visibility: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 7, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--green);
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

nav a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover, nav a:focus-visible { color: var(--green); }

.menu-btn {
  display: none;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 255, 102, .06);
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.section { padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 78px); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-top: 48px;
}

.hero-copy { max-width: 920px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0;
  line-height: .96;
  text-transform: uppercase;
}

h1 { margin-bottom: 24px; font-size: clamp(54px, 10vw, 138px); }
h2 { margin-bottom: 20px; font-size: clamp(38px, 6vw, 76px); }
h3 { margin-bottom: 16px; font-size: clamp(26px, 3vw, 40px); }

.lead {
  max-width: 740px;
  color: #c6d6cb;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.28;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 10px 12px 0 0;
  padding: 13px 20px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn.primary { background: var(--green); color: #021107; }
.btn.ghost { background: rgba(0, 255, 102, .06); }

.command-panel, .game-card, .rank-panel, .contact-form, .contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 28, 20, .88), rgba(5, 9, 7, .84));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.command-panel {
  padding: clamp(22px, 4vw, 34px);
  transform: rotate(1deg);
}

.command-panel img {
  display: block;
  width: min(260px, 72%);
  margin: 0 auto 28px;
  border: 2px solid var(--green);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 54px rgba(0, 255, 102, .28);
}

.command-panel p { color: var(--muted); line-height: 1.5; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.countdown div {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 10px 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .24);
}

.countdown b { display: block; color: var(--green); font-family: "Archivo Black", sans-serif; font-size: clamp(24px, 4vw, 34px); }
.countdown span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 78px) 34px;
}

.stats div {
  min-height: 122px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
}

.stats strong {
  display: block;
  color: var(--green);
  font-family: "Archivo Black", sans-serif;
  font-size: 38px;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.section-head { max-width: 850px; margin-bottom: 34px; }
.section-head p, .ops-copy p, .join-copy p, .contact-card p { color: var(--muted); line-height: 1.62; }

.game-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.game-card {
  min-height: 252px;
  padding: clamp(22px, 4vw, 34px);
  transition: transform .2s ease, border-color .2s ease;
}

.game-card.gta { grid-row: span 2; min-height: 522px; display: flex; flex-direction: column; justify-content: flex-end; }
.game-card:hover { transform: translateY(-6px); border-color: var(--green); }
.game-card p { max-width: 520px; color: var(--muted); line-height: 1.55; }

.tag {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag.hot { background: rgba(0, 255, 102, .1); }

.operations {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.ops-copy { align-self: center; }

.event-list {
  display: grid;
  gap: 12px;
}

.event-list article {
  min-height: 108px;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, .045);
}

.event-list strong { display: block; font-size: 24px; }
.event-list span { color: var(--muted); }

.rank-panel {
  grid-column: 2;
  padding: 24px;
}

.rank-panel p { color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  height: clamp(180px, 22vw, 260px);
  margin: 0;
  display: grid;
  place-items: end start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 255, 102, .22), transparent 54%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 16px),
    rgba(0, 0, 0, .3);
}

.shot span {
  color: var(--green);
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
}

.join {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.contact-form { padding: clamp(22px, 4vw, 34px); }

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #cfe0d5;
  font-weight: 700;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(1, 8, 4, .78);
  color: var(--paper);
  font: inherit;
}

textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.hidden-field { display: none; }
.form-status { min-height: 26px; margin: 14px 0 0; color: var(--green); font-weight: 700; }
.form-status.error { color: var(--danger); }

.contact { padding-top: 0; }
.contact-card { padding: clamp(24px, 4vw, 38px); }

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .48);
  color: var(--muted);
}

footer img {
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 940px) {
  .hero, .operations, .join, .game-grid { grid-template-columns: 1fr; }
  .command-panel { transform: none; }
  .rank-panel { grid-column: auto; }
  .stats, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card.gta { grid-row: auto; min-height: 300px; }
  .menu-btn { display: block; }
  nav {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 9, 7, .97);
  }
  nav.open { display: flex; }
  nav a { padding: 10px 4px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .section { padding-inline: 16px; }
  .brand span { max-width: 190px; }
  h1 { font-size: clamp(48px, 16vw, 72px); }
  .hero { min-height: auto; }
  .stats, .gallery, .countdown { grid-template-columns: 1fr; }
  .btn { width: 100%; margin-right: 0; }
  footer { flex-direction: column; text-align: center; }
}
