/* ============================================================
   GTA Oldschool — Landing Page
   ============================================================ */

:root {
  --bg: #0b0712;
  --bg-2: #120b1d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4eefc;
  --muted: #a99bbd;

  --orange: #ff8a1f;
  --pink: #ff2e88;
  --purple: #8b3dff;
  --cyan: #2de2e6;
  --green: #3dff8a;
  --discord: #5865f2;

  --grad: linear-gradient(135deg, var(--orange) 0%, var(--pink) 55%, var(--purple) 100%);
  --grad-sun: linear-gradient(180deg, #ffd23f 0%, var(--orange) 35%, var(--pink) 70%, var(--purple) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --nav-h: 72px;

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgba(255, 138, 31, 0.12);
  color: #ffc48a;
  word-break: break-all;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad);
  border: 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--sm { --btn-pad: 10px 18px; font-size: 0.9rem; }
.btn--lg { --btn-pad: 18px 34px; font-size: 1.1rem; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -8px rgba(255, 46, 136, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 16px 40px -8px rgba(255, 46, 136, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 31, 0.6);
  background: rgba(255, 138, 31, 0.08);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(11, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__mark {
  padding: 4px 8px 2px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
}
.brand__text { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 46, 136, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(139, 61, 255, 0.25), transparent 60%),
    linear-gradient(180deg, #0b0712 0%, #1a0b2e 55%, #2a0d3a 100%);
}

.hero__sun {
  position: absolute;
  left: 50%;
  bottom: 24%;
  width: min(46vw, 440px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--grad-sun);
  filter: drop-shadow(0 0 80px rgba(255, 46, 136, 0.55));
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px) bottom / 100% 45% no-repeat,
                linear-gradient(#000, #000) top / 100% 55% no-repeat;
          mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px) bottom / 100% 45% no-repeat,
                linear-gradient(#000, #000) top / 100% 55% no-repeat;
  opacity: 0.9;
  animation: sunrise 1.6s cubic-bezier(.2,.8,.2,1) both;
}

.hero__grid {
  position: absolute;
  left: -50%; right: -50%;
  bottom: 0;
  height: 32%;
  background-image:
    linear-gradient(rgba(255, 46, 136, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 136, 0.55) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: top center;
  -webkit-mask: linear-gradient(180deg, transparent, #000 40%);
          mask: linear-gradient(180deg, transparent, #000 40%);
  animation: grid-move 2.4s linear infinite;
}

.hero__skyline {
  position: absolute;
  left: 0; right: 0;
  bottom: 30%;
  width: 100%;
  height: 26%;
  fill: #0d0716;
  filter: drop-shadow(0 -2px 0 rgba(255, 46, 136, 0.35));
}

.hero__palm {
  position: absolute;
  bottom: 22%;
  width: clamp(120px, 16vw, 220px);
  height: auto;
  fill: #08040e;
  stroke: #08040e;
  opacity: 0.95;
}
.hero__palm--left { left: -2%; transform: rotate(-4deg); transform-origin: bottom; }
.hero__palm--right { right: -2%; transform: rotate(5deg); transform-origin: bottom; width: clamp(100px, 13vw, 180px); }

.hero__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}

.hero__content {
  position: relative;
  isolation: isolate;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -40px -10% -20px;
  z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(11, 7, 18, 0.55), transparent 75%);
  pointer-events: none;
}
.hero .eyebrow {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 7, 18, 0.6);
  border: 1px solid rgba(255, 138, 31, 0.3);
  backdrop-filter: blur(6px);
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title-top {
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: var(--text);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}
.hero__title-main {
  position: relative;
  font-size: clamp(3.6rem, 15vw, 10rem);
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff 0%, #ffe3c2 30%, var(--orange) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 6px 0 #1a0b2e) drop-shadow(0 0 40px rgba(255, 46, 136, 0.5));
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #ece3f7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.8);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.server-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(11, 7, 18, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.server-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-out infinite;
}
.server-card__ip {
  padding: 0;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.server-card__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.server-card__copy svg { width: 16px; height: 16px; fill: currentColor; }
.server-card__copy:hover { background: rgba(255, 138, 31, 0.15); border-color: rgba(255, 138, 31, 0.5); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px; height: 42px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-dot 1.6s ease-in-out infinite;
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255, 138, 31, 0.08), rgba(255, 46, 136, 0.08), rgba(139, 61, 255, 0.08));
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker__track span { color: rgba(244, 238, 252, 0.8); }
.ticker__track i { font-style: normal; color: var(--orange); font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about__text p { color: #cfc3df; margin: 0 0 18px; }
.about__text strong { color: var(--text); }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Features */
.features {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139, 61, 255, 0.12), transparent 70%);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 31, 0.35);
  box-shadow: 0 24px 50px -24px rgba(255, 46, 136, 0.5);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 138, 31, 0.2), rgba(255, 46, 136, 0.2));
  border: 1px solid rgba(255, 138, 31, 0.3);
}
.card__icon svg { width: 26px; height: 26px; fill: var(--orange); }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.card p { margin: 0; color: var(--muted); }

/* How to play */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -22px;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.step p { margin: 0; color: var(--muted); }
.step a { color: var(--orange); font-weight: 700; }
.step a:hover { text-decoration: underline; }
.step strong { color: var(--text); }

.howto__cta { margin-top: 48px; text-align: center; }
.howto__note { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }

/* Community links */
.links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.link-card {
  --accent: var(--orange);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.link-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(40px);
  transition: opacity 0.3s ease;
}
.link-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px -24px var(--accent);
}
.link-card:hover::before { opacity: 0.3; }
.link-card--forum { --accent: var(--orange); }
.link-card--ucp { --accent: var(--cyan); }
.link-card--discord { --accent: var(--discord); }
.link-card--play { --accent: var(--pink); background: linear-gradient(160deg, rgba(255, 46, 136, 0.16), rgba(139, 61, 255, 0.1)); }

.link-card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 10px 24px -8px var(--accent);
}
.link-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.link-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.link-card p { margin: 0 0 22px; color: var(--muted); flex: 1; }
.link-card__go {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--accent);
}

/* Final CTA */
.final { padding: 40px 0 120px; }
.final__inner {
  position: relative;
  padding: 72px 40px;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.3);
  background:
    radial-gradient(ellipse 70% 120% at 50% 120%, rgba(255, 46, 136, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(139, 61, 255, 0.35), transparent 60%),
    var(--bg-2);
}
.final__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask: radial-gradient(ellipse at center, #000, transparent 75%);
          mask: radial-gradient(ellipse at center, #000, transparent 75%);
  pointer-events: none;
}
.final__mark {
  position: relative;
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  fill: var(--orange);
  filter: drop-shadow(0 0 18px rgba(255, 138, 31, 0.5));
}
.final__quote { position: relative; margin: 0 auto 36px; max-width: 860px; }
.final__quote p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #ffe3c2 45%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final__quote footer { color: #d9cde9; font-size: 1.2rem; max-width: 640px; margin: 0 auto; }
.final__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Hero tags */
.hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -12px 0 30px;
  padding: 0;
}
.hero__tags li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 7, 18, 0.55);
  backdrop-filter: blur(6px);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4eefc;
}
.hero__tags li::before { content: "✓"; margin-right: 8px; color: var(--green); }

/* P2P panel */
.p2p {
  position: relative;
  padding: 34px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 46, 136, 0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(139, 61, 255, 0.22), transparent 55%),
    var(--bg-2);
  box-shadow: 0 40px 80px -30px rgba(255, 46, 136, 0.4);
  overflow: hidden;
}
.p2p__label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.p2p__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.p2p__desc { margin: 0 0 22px; color: var(--muted); }
.p2p__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p2p__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.p2p__list li:hover { border-color: rgba(255, 138, 31, 0.5); background: rgba(255, 138, 31, 0.07); transform: translateX(4px); }
.p2p__list svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; }

/* Free-to-Play */
.f2p__panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid rgba(61, 255, 138, 0.22);
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(61, 255, 138, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(255, 138, 31, 0.12), transparent 60%),
    var(--bg-2);
}
.f2p .eyebrow { color: var(--green); }
.f2p__head .section__title { margin-bottom: 30px; }
.f2p__stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.stat__value {
  min-width: 3.4em;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 24px rgba(61, 255, 138, 0.35);
}
.stat__label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.f2p__body p { margin: 0 0 18px; color: #cfc3df; }
.f2p__body strong { color: var(--text); }
.f2p__quote {
  margin: 28px 0 0;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--green);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
}

/* Visi & Misi */
.vision {
  position: relative;
  max-width: 980px;
  margin: 0 auto 64px;
  padding: 44px 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 138, 31, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 138, 31, 0.12), rgba(255, 46, 136, 0.08) 50%, rgba(139, 61, 255, 0.12)),
    var(--bg-2);
  text-align: center;
}
.vision__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--grad);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.vision__lead {
  margin: 0 0 16px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.vision__lead strong { color: var(--orange); }
.vision__sub { margin: 0 auto; max-width: 760px; color: var(--muted); }

.mission__title { margin: 0 0 24px; text-align: center; }
.missions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.mission {
  position: relative;
  padding: 26px 28px 26px 92px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mission:hover { border-color: rgba(255, 138, 31, 0.35); transform: translateY(-3px); }
.mission--wide { grid-column: 1 / -1; }
.mission__num {
  position: absolute;
  left: 26px; top: 22px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission h4 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mission p { margin: 0; color: var(--muted); }

/* References */
.refs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.refs__text p { margin: 0 0 18px; color: #cfc3df; }
.refs__text strong { color: var(--text); }
.refs__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ref {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ref:hover { border-color: rgba(45, 226, 230, 0.45); transform: translateX(4px); }
.ref__idx { font-family: var(--font-display); font-size: 1.2rem; color: var(--cyan); }
.ref__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.refs__areas p { margin: 0 0 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 226, 230, 0.3);
  background: rgba(45, 226, 230, 0.07);
  font-size: 0.92rem;
  font-weight: 600;
  color: #c9f7f8;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #08050d;
  padding: 48px 0 28px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { margin: 12px 0 0; color: var(--muted); max-width: 340px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--orange); }
.footer__legal {
  padding-top: 22px;
  font-size: 0.88rem;
  color: rgba(169, 155, 189, 0.7);
}
.footer__legal p { margin: 0 0 6px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(61, 255, 138, 0.4);
  background: rgba(11, 7, 18, 0.92);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .links .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .links .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4), .links .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards .reveal:nth-child(5) { transition-delay: 0.32s; }
.missions .reveal:nth-child(even), .refs__list .reveal:nth-child(even) { transition-delay: 0.08s; }
.cards .reveal:nth-child(6) { transition-delay: 0.4s; }
.hero .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero .reveal:nth-child(5) { transition-delay: 0.4s; }

/* Keyframes */
@keyframes sunrise { from { transform: translate(-50%, 30%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 0.9; } }
@keyframes grid-move { from { background-position: 0 0; } to { background-position: 0 60px; } }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3); opacity: 0; } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
  .nav__toggle { display: flex; }
  .nav__play { margin-left: auto; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 16px 20px;
    background: rgba(11, 7, 18, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }

}

@media (max-width: 900px) {
  .about__grid, .refs__grid, .f2p__panel { grid-template-columns: 1fr; gap: 40px; }
  .missions { grid-template-columns: 1fr; }
  .mission--wide { grid-column: auto; }
  .section { padding: 84px 0; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .nav__inner { gap: 12px; }
  .brand { font-size: 1.35rem; }
  .cards, .steps, .links { grid-template-columns: 1fr; }
  .hero { padding-bottom: 100px; }
  .hero__cta .btn { width: 100%; }
  .hero__palm--right { display: none; }
  .server-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    width: 100%;
  }
  .server-card__copy { width: 100%; justify-content: center; }
  .final__inner { padding: 52px 20px; }
  .f2p__panel { padding: 32px 20px; }
  .f2p__stats { grid-template-columns: 1fr; }
  .vision { padding: 28px 22px; }
  .p2p { padding: 26px 22px; }
  .stat__value { min-width: 2.8em; font-size: 1.9rem; }
  .mission { padding: 24px 22px; }
  .mission__num { position: static; display: inline-block; margin-bottom: 10px; font-size: 2rem; }
  .final__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
