/* ---------- Reset & Base (Black & Yellow Theme) ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  color: #f4f4f4;
  background: #0a0a0a radial-gradient(1100px 520px at 50% 10%, rgba(255, 216, 77, 0.06), transparent 60%);
  overflow-x: hidden;
}

/* ---------- Grid background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,216,77,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,216,77,0.07) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: radial-gradient(1200px 800px at 50% 40%, rgba(0,0,0,1), rgba(0,0,0,0.2));
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,216,77,0.18);
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(255,216,77,0.35)); }
.brand-text { font-weight: 600; letter-spacing: 0.2px; color: #ffe04d; }

.site-nav { display: flex; gap: 14px; align-items: center; }
.site-nav .nav-link {
  color: #fff3a1; text-decoration: none; font-weight: 700; letter-spacing: 0.3px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid transparent;
}
.site-nav .nav-link:hover { border-color: rgba(255,216,77,0.35); background: rgba(255,216,77,0.10); }
.site-nav .nav-link.active { border-color: rgba(255,216,77,0.35); }

.nav-toggle {
  display: none;
  width: 44px; height: 36px; border: 0; background: transparent; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 2px solid rgba(255,216,77,0.45); outline-offset: 2px; }
.nav-toggle .bar { display: block; height: 2px; margin: 6px 8px; background: #ffe04d; border-radius: 1px; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 58px; right: 12px; left: 12px;
    display: grid;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.97);
    border: 1px solid rgba(255,216,77,0.18);
    border-radius: 14px;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .site-nav.open { opacity: 1; transform: scale(1); pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100dvh - 70px);
  display: grid;
  place-items: center;
  padding: 40px 16px 20px;
  position: relative;
  z-index: 1;
}
.hero-inner {
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin-inline: auto;
}

.logo {
  width: clamp(160px, 22vw, 300px);
  filter: drop-shadow(0 0 30px rgba(255,216,77,0.25));
  margin-bottom: 8px;
}

.title {
  font-size: clamp(28px, 5.2vw, 56px);
  margin: 6px 0 4px;
  letter-spacing: 1px;
  color: #ffe04d;
  text-shadow: 0 0 16px rgba(255,216,77,0.18);
}

.tagline { 
  color: #f0f0f0;
  margin: 0 auto 22px;
  font-size: clamp(14px, 2.2vw, 18px);
  max-width: 56ch;
}

.countdown {
  display: flex; justify-content: center; align-items: center; gap: clamp(8px, 2.4vw, 20px);
  font-weight: 800; margin-bottom: 20px;
}
.time { display: grid; place-items: center; padding: 8px 10px; border-radius: 10px; }
.num {
  font-size: clamp(22px, 5vw, 36px);
  color: #ffd84d;
  text-shadow: 0 0 14px rgba(255,216,77,0.25);
  min-width: 2ch;
}
.label { font-size: 12px; opacity: 0.9; color: #ffe680; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  --ring: rgba(255,216,77,0.30);
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .4px;
  border: 1px solid rgba(255,216,77,0.35);
  background: rgba(20,20,20,.8);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  color: #fff5aa;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,216,77,0.55); background: rgba(255,216,77,0.10); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }

.btn-outline { }
.btn-warn { }
.btn-discord { }

/* ---------- About ---------- */
.about { display: grid; place-items: center; padding: 28px 16px 60px; }
.about-card {
  width: min(860px, 92vw);
  border: 1px solid rgba(255,216,77,0.2);
  background: linear-gradient(180deg, rgba(10,10,10,0.9), rgba(6,6,6,0.8));
  border-radius: 18px;
  padding: clamp(16px, 3.2vw, 28px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

.about-card h2 { margin-top: 0; color: #ffe04d; }
.about-card .small { opacity: 0.9; font-size: 0.9rem; color: #fff3a1; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,216,77,0.18);
  text-align: center;
  padding: 18px 10px 26px;
  color: #e8e8e8;
}
.site-footer a { color: #ffe680; }
