/* fivem theme — phone-frame hero, faction badge row, neon on near-black */

:root {
  --bg-0: #0b0e13;
  --bg-1: #12161d;
  --bg-2: #1a2029;
  --border: #262e3a;

  --text-hi: #eef1f5;
  --text-mid: #8b96a5;
  --text-low: #5a6472;

  --accent-primary: #21e6c1;
  --accent-secondary: #ff2ec4;

  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-0); color: var(--text-hi); font-family: var(--font-body); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 10px rgba(33,230,193,.8); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(33,230,193,0); } }
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ---------- nav ---------- */
header.nav { background: rgba(11,14,19,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; gap: 14px; padding: 14px 24px; }
.nav-logo { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.brand .tag { font-family: var(--font-body); font-weight: 700; font-size: 10px; color: var(--accent-primary); background: rgba(33,230,193,.1); border: 1px solid rgba(33,230,193,.3); padding: 3px 9px; border-radius: 999px; }
nav.links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--text-mid); }
nav.links a:hover { color: var(--accent-primary); }
.nav-cta { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; font-size: 14px; background: var(--accent-primary); color: var(--bg-0); padding: 10px 20px; border-radius: 6px; }
.nav-cta:hover { filter: brightness(1.1); }
.nav-toggle { display: none; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-hi); padding: 8px 12px; border-radius: 6px; }

/* phone-frame hero */
.hero { padding: 56px 0 0; }
.phone-frame {
  max-width: 400px; margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(33,230,193,.08);
}
.phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; font-family: var(--font-display); font-size: 12px; color: var(--text-mid);
  background: var(--bg-2);
}
.phone-statusbar .icons { display: flex; gap: 6px; align-items: center; }
.phone-screen {
  background-image: url('images/banner.png');
  background-size: cover; background-position: center;
  padding: 50px 24px 30px;
  position: relative;
  text-align: center;
}
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,14,19,.2), rgba(11,14,19,.85)); }
.phone-content { position: relative; z-index: 2; }
.eyebrow { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; color: var(--accent-primary); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
h1.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,6vw,38px); margin-bottom: 12px; letter-spacing: .01em; }
.hero-tagline { color: var(--text-mid); font-size: 14px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; font-size: 13px; padding: 12px 18px; border-radius: 6px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary { background: var(--accent-primary); color: var(--bg-0); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text-hi); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-secondary); color: var(--accent-secondary); }

.ip-caption { text-align: center; padding: 22px 0 8px; color: var(--text-mid); font-size: 13px; }
.ip-caption button { font-family: var(--font-body); background: var(--bg-2); border: 1px solid var(--border); color: var(--text-hi); padding: 6px 14px; font-size: 12px; cursor: pointer; margin-left: 8px; border-radius: 6px; }
.ip-caption button:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

/* faction badges */
.badge-shelf { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 36px 0 8px; }
.badge { width: 100px; text-align: center; }
.badge-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 8px; }
.badge-icon.hot { border-color: var(--accent-primary); box-shadow: 0 0 16px rgba(33,230,193,.2); }
.badge-val { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.badge-label { font-size: 11px; color: var(--text-low); }

/* ---------- section shell ---------- */
.section { padding: 60px 0; }
.section-head { margin-bottom: 30px; max-width: 60ch; }
.section-eyebrow { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--accent-secondary); margin-bottom: 8px; }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px,3vw,30px); margin-bottom: 10px; }
.section-sub { color: var(--text-mid); font-size: 15px; }

/* ---------- feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(33,230,193,.08); border: 1px solid rgba(33,230,193,.25); color: var(--accent-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { color: var(--text-mid); font-size: 14px; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.gallery-frame img { width: 100%; height: 180px; object-fit: cover; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 28px 0; background: var(--bg-1); margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-low); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent-primary); }

/* ---------- rules page ---------- */
.rules-block { margin-bottom: 30px; }
.rules-block h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent-primary); margin-bottom: 14px; }
.rules-list { list-style: none; }
.rules-list li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 8px; font-size: 14px; color: var(--text-mid); background: var(--bg-1); margin-bottom: 8px; border: 1px solid var(--border); }
.rules-list li .num { font-family: var(--font-display); font-weight: 700; color: var(--accent-secondary); flex-shrink: 0; }

/* ---------- staff page ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.staff-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.staff-avatar { width: 56px; height: 56px; border-radius: 12px; background: var(--bg-2); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-primary); }
.staff-name { font-weight: 600; font-size: 14px; }
.staff-role { font-family: var(--font-display); font-size: 11px; color: var(--accent-secondary); margin-top: 4px; }

/* ---------- store page ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.plan-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--accent-primary); }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.plan-price { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent-primary); margin-bottom: 16px; }
.plan-price span { font-size: 12px; color: var(--text-low); font-family: var(--font-body); }
.plan-list { list-style: none; margin-bottom: 22px; flex: 1; }
.plan-list li { font-size: 13px; color: var(--text-mid); padding: 6px 0; }
.plan-list li::before { content: "✓ "; color: var(--accent-primary); font-weight: 700; }

@media (max-width: 860px) {
  .card-grid, .staff-grid, .plan-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
  nav.links { display: none; }
  nav.links.nav-open { display: flex; flex-direction: column; position: absolute; top: 64px; right: 24px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .card-grid, .staff-grid, .plan-grid, .gallery-grid { grid-template-columns: 1fr; }
}

/* animations */

/* scroll-reveal — classes toggled by script.js */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.badge.reveal { transform: scale(.6); transition: opacity .4s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.badge.reveal.in { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal, .badge.reveal { opacity: 1; transform: none; transition: none; } }

/* nav mobile menu slide-in */
nav.links.nav-open { animation: navSlideIn .2s ease; }
@keyframes navSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* the phone "powers on" instead of just appearing */
.phone-frame { animation: phoneOn .55s cubic-bezier(.22,1,.36,1); }
@keyframes phoneOn { from { opacity: 0; transform: scale(.88) translateY(16px); } to { opacity: 1; transform: none; } }

/* the "online now" badge pulses like a live signal */
.badge-icon.hot { animation: neonPulse 2.2s ease-in-out infinite; }
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(33,230,193,.2); }
  50% { box-shadow: 0 0 28px rgba(33,230,193,.55); }
}

@media (prefers-reduced-motion: reduce) { .phone-frame, .badge-icon.hot { animation: none; } }

/* hover polish */
.card { transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent-primary); }
.staff-card, .plan-card { transition: transform .2s ease, border-color .2s ease; }
.staff-card:hover, .plan-card:hover { transform: translateY(-4px); border-color: var(--accent-primary); }
.badge-icon { transition: transform .2s ease, border-color .2s ease; }
.badge:hover .badge-icon { transform: translateY(-3px); border-color: var(--accent-secondary); }
.gallery-frame img { transition: transform .3s ease; }
.gallery-frame:hover img { transform: scale(1.06); }
