
:root {
  --red:      #cc1111;
  --red-bright: #ff2a2a;
  --red-dark: #880000;
  --gold:     #ffc800;
  --bg:       #050508;
  --bg2:      #0d0d14;
  --bg3:      #141420;
  --border:   rgba(200,20,20,0.25);
  --text:     #e8e8f0;
  --text-dim: #888899;
  --mono:     'Share Tech Mono', monospace;
  --head:     'Barlow Condensed', sans-serif;
  --body:     'Rajdhani', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── PIXEL GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,20,20,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,20,20,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,5,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.nav-logo {
  font-family: var(--head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--red-bright); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red-bright); }

.nav-ip {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red-bright);
  background: rgba(204,17,17,0.1);
  border: 1px solid var(--border);
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.nav-ip:hover { background: rgba(204,17,17,0.2); }
.nav-ip .copied {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-ip.show-copied .copied { opacity: 1; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,17,17,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}
.hero-title .red { color: var(--red-bright); }
.hero-title .stroke {
  -webkit-text-stroke: 2px rgba(255,255,255,0.15);
  color: transparent;
}

.hero-sub {
  font-family: var(--head);
  font-weight: 300;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
}

.btn-primary {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); }

.btn-secondary {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--red-bright); color: var(--red-bright); }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  margin-top: 80px;
  opacity: 0;
  animation: fadeUp 0.6s 1s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--head);
  font-weight: 900;
  font-size: 48px;
  color: var(--red-bright);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 1.2s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red-bright), transparent);
  animation: scrollPulse 2s infinite;
}
.scroll-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* ── GAMEMODES ── */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(42px, 6vw, 72px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 64px;
}
.section-title span { color: var(--red-bright); }

.gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
}

.gamemode-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.gamemode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,17,17,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gamemode-card:hover { border-color: var(--red-bright); transform: translateY(-4px); }
.gamemode-card:hover::before { opacity: 1; }

.gamemode-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}
.gamemode-name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}
.gamemode-desc { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.gamemode-tag {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red-bright);
  background: rgba(204,17,17,0.1);
  padding: 4px 12px;
  border: 1px solid var(--border);
}

/* ── RANKS / STORE ── */
.store-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 0;
}

.rank-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.rank-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rank-color, var(--red));
}
.rank-card:hover { transform: translateY(-6px); border-color: var(--rank-color, var(--red)); }

.rank-card.popular {
  border-color: var(--gold);
  transform: scale(1.05);
}
.rank-card.popular::after { background: var(--gold); }
.popular-badge {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--gold);
  color: #000;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  text-transform: uppercase;
}

.rank-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.rank-name {
  font-family: var(--head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rank-color, var(--text));
  margin-bottom: 8px;
}
.rank-price {
  font-family: var(--head);
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  margin: 16px 0;
}
.rank-price sup { font-size: 20px; vertical-align: top; margin-top: 6px; }
.rank-price small { font-size: 14px; color: var(--text-dim); font-weight: 400; }

.rank-features {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-dim);
}
.rank-features li { padding: 4px 0; }
.rank-features li::before { content: '✓ '; color: var(--rank-color, var(--red-bright)); font-weight: 700; }

.btn-rank {
  display: block;
  width: 100%;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  color: var(--rank-color, var(--red-bright));
  border: 1px solid var(--rank-color, var(--red-bright));
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-rank:hover {
  background: var(--rank-color, var(--red-bright));
  color: #fff;
}

/* ── SUPPORT ── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}
@media (max-width: 768px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 40px;
}
.support-card h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--red-bright);
}
.support-card p { color: var(--text-dim); margin-bottom: 24px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; color: var(--red-bright); font-size: 24px; }
.faq-a { color: var(--text-dim); font-size: 15px; margin-top: 12px; display: none; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-item.open .faq-a { display: block; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { border-color: var(--red-bright); }
textarea.form-input { min-height: 120px; resize: vertical; }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--head);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--red-bright); }
.footer-desc { color: var(--text-dim); font-size: 15px; max-width: 320px; }
.footer-ip {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red-bright);
  margin-top: 20px;
}

.footer-col h4 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 12px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── DIVIDER ── */
.red-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red-bright), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ── SERVER INFO STRIP ── */
.info-strip {
  background: rgba(204,17,17,0.08);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
.info-item span { color: var(--red-bright); font-weight: 700; }

/* ── PAGE TRANSITIONS ── */
.page { animation: fadeUp 0.4s ease forwards; }

/* Mobile */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 60px 20px; }
  .hero-stats { gap: 32px; }
  .stat-num { font-size: 36px; }
  .store-section .section { padding: 60px 20px; }
}
