/* =============================================================
   BEDWARS INFO — Advanced single-page site
   Aesthetic: sleek dark + neon (inspired by VAPE v4.gg layout)
   ============================================================= */

:root {
  --bg: #0a0a12;
  --bg-2: #10101d;
  --bg-3: #17172b;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e9e9f2;
  --text-dim: #9a9ab0;
  --text-faint: #6a6a85;
  --accent: #7c5cff;
  --accent-2: #00e5ff;
  --accent-3: #ff4fd8;
  --lime: #a3ff3f;
  --purple: #7c5cff;
  --cyan: #00e5ff;
  --pink: #ff4fd8;
  --gold: #ffd24a;
  --danger: #ff5c7a;
  --radius: 16px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

/* ---- animated gradient backdrop ---- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(55% 45% at 85% 20%, rgba(0, 229, 255, 0.13), transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(255, 79, 216, 0.12), transparent 60%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  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: 42px 42px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
  pointer-events: none;
}

/* =============================================================
   NAVBAR
   ============================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 18, 0.72);
  border-bottom: 1px solid var(--panel-border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text);
}
.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.55);
}
.brand span em {
  font-style: normal;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9px;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(0, 229, 255, 0.18));
}
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.45);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.4);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: 150px 22px 90px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  background: rgba(163, 255, 63, 0.08);
  border: 1px solid rgba(163, 255, 63, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.4px;
}
.hero .badge .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(163, 255, 63, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 255, 63, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(163, 255, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 255, 63, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}
.hero p {
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 640px;
  margin: 20px auto 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 229, 255, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--panel-border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 52px auto 0;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.4); }
.stat-card .num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card .lbl {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
  font-weight: 700;
}

/* =============================================================
   SHOWCASE (game screenshots)
   ============================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 22px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head .kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.5px;
}
.section-head p { color: var(--text-dim); margin-top: 12px; }

.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.showcase figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--bg-2);
  position: relative;
}
.showcase img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s;
}
.showcase figure:hover img { transform: scale(1.04); }

/* =============================================================
   TABS (kits / battlepass)
   ============================================================= */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.4);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* kit cards */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.kit-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.kit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--kit-color, var(--accent));
  opacity: 0.7;
}
.kit-card:hover {
  transform: translateY(-5px);
  border-color: var(--kit-color, var(--accent));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.kit-card .kit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.kit-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
}
.kit-class {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 100px;
  color: #fff;
}
.kit-card .kit-price {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.kit-card p {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* featured kit spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 30px;
  align-items: center;
  margin-bottom: 24px;
}
.spotlight .kick { color: var(--cyan); font-weight: 800; letter-spacing: 1.5px; font-size: 12px; text-transform: uppercase; }
.spotlight h3 { font-size: 1.8rem; font-weight: 900; margin: 8px 0; }
.spotlight .meta { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.spotlight p { color: var(--text-dim); }
.spotlight-orb {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--pink), var(--purple));
  padding: 6px;
  animation: spin 8s linear infinite;
  box-shadow: 0 0 60px rgba(124, 92, 255, 0.5);
}
.spotlight-orb .inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 900;
  color: var(--text);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* battle pass */
.bp-hero {
  text-align: center;
  padding: 26px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(255, 210, 74, 0.10), rgba(255, 79, 216, 0.10));
  border: 1px solid var(--panel-border);
  border-radius: 20px;
}
.bp-hero .season {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.bp-hero h3 { font-size: 2rem; font-weight: 900; margin: 8px 0; }
.bp-hero p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }

.bp-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}
.bp-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(8px);
}
.bp-card h4 {
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-tier {
  margin-bottom: 16px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.15);
}
.bp-tier .lvl {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bp-tier .item { font-weight: 700; margin-top: 4px; }
.bp-free .lvl { color: var(--lime); }
.bp-premium .lvl { color: var(--gold); }

.xp-bar-wrap label {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.xp-bar {
  height: 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.xp-bar .fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transition: width 1s ease;
}

/* =============================================================
   UPDATES
   ============================================================= */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--purple), var(--cyan), transparent);
}
.tl-item { position: relative; padding-left: 48px; margin-bottom: 26px; }
.tl-item .dot {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 3px solid var(--cyan);
}
.tl-item.future .dot { border-color: var(--pink); }
.tl-item .date {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tl-item.future .date { color: var(--pink); }
.tl-item h4 { font-weight: 800; font-size: 1.1rem; margin: 4px 0; }
.tl-item p { color: var(--text-dim); font-size: 14px; }

/* =============================================================
   FEATURES / other
   ============================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: rgba(124, 92, 255, 0.15);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* CTA */
.cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px 90px;
  text-align: center;
}
.cta .box {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(0, 229, 255, 0.12));
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 48px 28px;
}
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; margin-bottom: 12px; }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; }

/* footer */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 36px 22px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
}
.footer a { color: var(--cyan); text-decoration: none; }
.footer .cols {
  max-width: var(--maxw);
  margin: 0 auto 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
}
.footer .col h5 { color: var(--text); margin-bottom: 10px; font-size: 14px; }
.footer .col a { display: block; color: var(--text-dim); padding: 3px 0; font-size: 14px; }
.footer .col a:hover { color: var(--text); }
.footer .disclaimer { color: var(--text-faint); font-size: 12px; max-width: 640px; margin: 0 auto; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 18, 0.97);
    padding: 16px 22px 26px;
    gap: 8px;
    transform: translateY(-150%);
    transition: transform 0.3s;
    border-bottom: 1px solid var(--panel-border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; }
  .burger { display: flex; margin-left: auto; }
  .spotlight, .bp-layout { grid-template-columns: 1fr; }
  .spotlight-orb { width: 130px; height: 130px; }
  .spotlight-orb .inner { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .hero { padding-top: 120px; }
}
