/* =========================================================
   PRIME NETWORK — Black / White / Red theme
   Static site design system
   ========================================================= */

:root {
  --black: #0a0a0b;
  --black-2: #101013;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --white: #f6f6f8;
  --muted: #a2a2ad;
  --muted-2: #71717a;

  --red: #e10600;
  --red-bright: #ff2020;
  --red-deep: #a80300;
  --red-glow: rgba(225, 6, 0, 0.55);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-red: 0 18px 50px rgba(225, 6, 0, 0.28);

  --maxw: 1200px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bebas Neue", "Oswald", var(--font-body);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow + subtle grid + noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(225, 6, 0, 0.20), transparent 60%),
    radial-gradient(45% 45% at 8% 8%, rgba(225, 6, 0, 0.10), transparent 55%),
    linear-gradient(180deg, #0b0b0d 0%, #060607 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(75% 60% at 50% 0%, #000 30%, transparent 100%);
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  padding: 7px 14px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.08);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}
.text-red { color: var(--red-bright); }
.muted { color: var(--muted); }
.section-title { font-size: clamp(34px, 5vw, 62px); }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white);
  --fg: #0a0a0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-red {
  --bg: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  --fg: #fff;
  box-shadow: var(--shadow-red);
}
.btn-red:hover { box-shadow: 0 22px 60px rgba(225, 6, 0, 0.45); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--white);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--red); background: rgba(225,6,0,0.08); }

.btn-lg { padding: 17px 34px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 26px; letter-spacing: 0.06em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 6px 20px var(--red-glow);
  font-size: 20px; color: #fff; overflow: hidden;
}
.brand b { color: var(--red-bright); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
  padding: 10px 14px; border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red-bright); border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px;
  background: rgba(16,16,20,0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  backdrop-filter: blur(12px);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: none; }
.dropdown a span { font-size: 12px; color: var(--muted-2); font-weight: 500; }
.dropdown a strong { font-size: 14px; color: var(--white); font-weight: 700; }
.dropdown a:hover { background: rgba(225,6,0,0.12); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,6,8,0.98);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .m-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; color: var(--white); padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: .04em; }
.mobile-menu a:hover { color: var(--red-bright); }
.mobile-menu .m-close { background:none; border:0; color:#fff; cursor:pointer; }
.mobile-menu .m-close svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(56px, 9vw, 128px); margin: 18px 0 20px; }
.hero h1 .stroke {
  color: transparent; -webkit-text-stroke: 2px var(--white);
}
.hero h1 em { font-style: normal; color: var(--red-bright); text-shadow: 0 0 40px var(--red-glow); }
.hero p.lead { margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* IP box */
.ip-box {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.ip-box .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }
.ip-box .ip { font-family: var(--font-display); font-size: 22px; letter-spacing: .05em; }
.ip-box button { border: 0; cursor: pointer; }

/* Hero card / server status */
.status-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--black-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.status-card::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 60% at 90% 0%, rgba(225,6,0,0.18), transparent 60%);
  pointer-events:none;
}
.status-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 22px; }
.status-head .live { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#3ee07f; }
.status-head .live .d { width:8px; height:8px; border-radius:50%; background:#3ee07f; box-shadow:0 0 10px #3ee07f; animation:pulse 1.6s infinite; }
.status-players { font-family: var(--font-display); font-size: 64px; line-height:1; }
.status-players small { display:block; font-family:var(--font-body); font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted-2); margin-top:8px; }
.status-bar { height:8px; border-radius:999px; background:rgba(255,255,255,0.08); margin:20px 0 8px; overflow:hidden; }
.status-bar span { display:block; height:100%; width:6%; background:linear-gradient(90deg,var(--red-bright),var(--red-deep)); border-radius:999px; }
.status-meta { display:flex; justify-content:space-between; font-size:12px; color:var(--muted-2); }
.status-ver { margin-top:20px; display:flex; gap:8px; flex-wrap:wrap; }
.chip { font-size:12px; font-weight:600; padding:6px 12px; border-radius:999px; border:1px solid var(--line-strong); color:var(--muted); }

/* ---------- Marquee ---------- */
.marquee { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; overflow:hidden; background:rgba(0,0,0,0.3); }
.marquee-track { display:flex; gap:56px; white-space:nowrap; animation:scroll 26s linear infinite; }
.marquee-track span { font-family:var(--font-display); font-size:26px; letter-spacing:.08em; color:var(--muted-2); display:flex; align-items:center; gap:56px; }
.marquee-track span i { color:var(--red-bright); font-style:normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .lead { margin-left:auto; margin-right:auto; }
.section-head h2 { margin: 16px 0 14px; }

/* Feature grid */
.grid { display:grid; gap:22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--black-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(225,6,0,0.4); box-shadow: var(--shadow-red); }
.card .ico {
  width:52px; height:52px; border-radius:14px; display:grid; place-items:center; margin-bottom:18px;
  background: rgba(225,6,0,0.12); border:1px solid rgba(225,6,0,0.3); color:var(--red-bright);
}
.card .ico svg { width:26px; height:26px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .num { position:absolute; top:18px; right:22px; font-family:var(--font-display); font-size:42px; color:rgba(255,255,255,0.05); }

/* Stats */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.stat { text-align:center; padding:34px 18px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,0.02); }
.stat .n { font-family:var(--font-display); font-size:56px; color:var(--white); line-height:1; }
.stat .n b { color:var(--red-bright); font-weight:400; }
.stat .l { margin-top:10px; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted-2); }

/* ---------- Download / client showcase ---------- */
.dl-hero { padding: 80px 0 40px; text-align:center; }
.dl-hero h1 { font-size: clamp(52px, 8vw, 104px); margin: 20px 0 18px; }
.badge-ver {
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(225,6,0,0.12); border:1px solid rgba(225,6,0,0.35);
  color:var(--red-bright); font-weight:700; font-size:13px; letter-spacing:.06em;
  padding:8px 16px; border-radius:999px;
}
.dl-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.dl-card {
  position:relative; padding:36px; border-radius:var(--radius-lg);
  border:1px solid var(--line); overflow:hidden;
  background:linear-gradient(160deg,var(--surface),var(--black-2));
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dl-card:hover { transform:translateY(-6px); border-color:rgba(225,6,0,0.45); box-shadow:var(--shadow-red); }
.dl-card .tag { position:absolute; top:24px; right:24px; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); }
.dl-card .big-ico { width:64px; height:64px; border-radius:18px; display:grid; place-items:center; margin-bottom:22px; background:linear-gradient(135deg,var(--red-bright),var(--red-deep)); box-shadow:var(--shadow-red); }
.dl-card .big-ico svg { width:32px; height:32px; color:#fff; }
.dl-card h3 { font-size:32px; margin-bottom:12px; }
.dl-card p { color:var(--muted); margin-bottom:22px; }
.dl-card ul.specs,
.card ul.specs,
ul.specs {
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
}
.dl-card ul.specs li,
.card ul.specs li,
ul.specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.dl-card ul.specs li svg,
.card ul.specs li svg,
ul.specs li svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  color: var(--red-bright);
  flex: none;
}

/* Steps */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; counter-reset: step; }
.step { padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,0.02); position:relative; }
.step::before { counter-increment: step; content:"0" counter(step); font-family:var(--font-display); font-size:52px; color:var(--red-bright); opacity:.9; display:block; margin-bottom:12px; }
.step h4 { font-size:20px; margin-bottom:8px; }
.step p { color:var(--muted); font-size:14px; }

/* Changelog */
.changelog { display:grid; gap:16px; }
.log { display:grid; grid-template-columns: 150px 1fr; gap:20px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,0.02); }
.log .v { font-family:var(--font-display); font-size:26px; }
.log .v small { display:block; font-family:var(--font-body); font-size:12px; color:var(--muted-2); letter-spacing:.1em; margin-top:4px; }
.log ul { display:grid; gap:8px; }
.log li { position:relative; padding-left:22px; color:var(--muted); font-size:14px; }
.log li::before { content:""; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:2px; background:var(--red-bright); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display:grid; gap:14px; }
.faq-item { border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,0.02); overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:0; color:var(--white); cursor:pointer; padding:22px 24px; font-size:17px; font-weight:600; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-q .pm { flex:none; width:28px; height:28px; border-radius:50%; border:1px solid var(--line-strong); display:grid; place-items:center; transition:transform .3s ease, background .3s ease; }
.faq-item.open .faq-q .pm { transform:rotate(45deg); background:var(--red); border-color:var(--red); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color:var(--muted); }

/* ---------- Store ---------- */
.store-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.plan { border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; background:linear-gradient(160deg,var(--surface),var(--black-2)); position:relative; overflow:hidden; transition:transform .25s ease, border-color .25s ease; }
.plan:hover { transform:translateY(-6px); }
.plan.featured { border-color:var(--red); box-shadow:var(--shadow-red); }
.plan.featured::after { content:"POPÜLER"; position:absolute; top:18px; right:-34px; transform:rotate(45deg); background:var(--red); color:#fff; font-size:11px; font-weight:700; letter-spacing:.14em; padding:6px 40px; }
.plan .p-name { font-family:var(--font-display); font-size:32px; }
.plan .p-price { font-family:var(--font-display); font-size:58px; margin:10px 0; }
.plan .p-price small { font-family:var(--font-body); font-size:15px; color:var(--muted-2); }
.plan ul { display:grid; gap:12px; margin:22px 0 28px; }
.plan ul li { display:flex; gap:10px; font-size:14px; color:var(--muted); }
.plan ul li svg { width:16px; height:16px; color:var(--red-bright); flex:none; margin-top:4px; }

/* ---------- CTA band ---------- */
.cta-band { position:relative; border-radius:var(--radius-lg); padding:64px; text-align:center; overflow:hidden; border:1px solid var(--line); background:linear-gradient(140deg, rgba(225,6,0,0.18), rgba(16,16,20,0.6)); }
.cta-band h2 { font-size:clamp(38px,6vw,72px); margin-bottom:16px; }
.cta-band .hero-cta { justify-content:center; }

/* ---------- Rules ---------- */
.rules-list { display:grid; gap:16px; max-width:900px; }
.rule { display:grid; grid-template-columns:56px 1fr; gap:18px; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,0.02); }
.rule .rn { font-family:var(--font-display); font-size:34px; color:var(--red-bright); }
.rule h4 { font-size:20px; margin-bottom:6px; }
.rule p { color:var(--muted); font-size:15px; }

/* ---------- Footer ---------- */
.site-footer { border-top:1px solid var(--line); padding:64px 0 30px; margin-top:40px; background:rgba(0,0,0,0.4); }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-brand p { color:var(--muted); margin:16px 0; max-width:320px; }
.footer-col h5 { font-size:13px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted-2); margin-bottom:18px; }
.footer-col a { display:block; color:var(--muted); padding:6px 0; font-size:14px; transition:color .2s; }
.footer-col a:hover { color:var(--red-bright); }
.socials { display:flex; gap:12px; }
.socials a { width:40px; height:40px; border-radius:12px; border:1px solid var(--line-strong); display:grid; place-items:center; color:var(--muted); transition:all .2s; }
.socials a:hover { color:#fff; border-color:var(--red); background:rgba(225,6,0,0.12); }
.socials svg { width:20px; height:20px; }
.footer-bottom { border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; color:var(--muted-2); font-size:13px; }

/* ---------- Toast ---------- */
.toast { position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(140%); background:var(--surface-2); border:1px solid var(--line-strong); color:#fff; padding:14px 22px; border-radius:999px; font-size:14px; font-weight:600; box-shadow:var(--shadow); z-index:300; transition:transform .4s cubic-bezier(.16,1,.3,1); display:flex; align-items:center; gap:10px; }
.toast.show { transform:translateX(-50%) translateY(0); }
.toast svg { width:18px; height:18px; color:#3ee07f; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity:1; transform:none; }

/* ---------- Page header (subpages) ---------- */
.page-hero { padding:70px 0 40px; text-align:center; }
.page-hero h1 { font-size:clamp(44px,7vw,88px); margin:16px 0 12px; }

/* ---------- Forms ---------- */
input:focus, textarea:focus { outline: none; border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(225,6,0,0.18); }
input::placeholder, textarea::placeholder { color: var(--muted-2); }

/* Real logo image (prime.png at project root) */
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand .logo:has(img) { background: transparent; box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns:1fr; gap:36px; }
  .grid-3, .grid-4, .stats, .steps, .store-grid { grid-template-columns:1fr 1fr; }
  .dl-cards, .grid-2 { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .nav-links { display:none; }
  .nav-toggle { display:inline-flex; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .stats, .steps, .store-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .log { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr !important; }
  .cta-band { padding:40px 24px; }
  .section { padding:70px 0; }
  .status-players { font-size:52px; }
}
