:root {
  --void: #050309;
  --black: #000000;
  --deep: #100815;
  --purple: #a855f7;
  --purple-soft: #c084fc;
  --ash: #b8a9bd;
  --white: #f7f1ff;
  --muted: rgba(247, 241, 255, 0.72);
  --dim: rgba(247, 241, 255, 0.48);
  --line: rgba(255, 255, 255, 0.12);
  --red: #b63b2f;
  --orange: #d66a39;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.15), transparent 24%),
    radial-gradient(circle at 20% 70%, rgba(182, 59, 47, 0.12), transparent 24%),
    linear-gradient(180deg, #050309 0%, #000000 52%, #09030d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 101;
  opacity: 0.075;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.16), rgba(255,255,255,0.16) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--white);
  font-weight: 800;
}

/* Permanent Discord button */
.floating-discord {
  position: fixed;
  top: clamp(14px, 1.6vw, 22px);
  left: clamp(14px, 1.6vw, 24px);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: rgba(5, 3, 9, 0.68);
  backdrop-filter: blur(14px);
  color: var(--white);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    0 0 28px rgba(168, 85, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.floating-discord img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.floating-discord:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 0 34px rgba(168, 85, 247, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(64px, 7vw, 84px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(18px, 4vw, 64px);
  z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.32), transparent);
  backdrop-filter: blur(10px);
}

/* Keep old brand safe if still in HTML */
.brand {
  font-family: "Cinzel", serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

/* This is now truly centered on desktop */
.nav-countdown {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cinzel", serif;
  font-size: clamp(0.8rem, 1.35vw, 1.35rem);
  letter-spacing: 0.16em;
  color: var(--purple-soft);
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.55);
  white-space: nowrap;
  pointer-events: none;
}

.nav-countdown span {
  color: var(--white);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a:hover {
  color: var(--white);
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.5);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(100px, 12vw, 150px) clamp(18px, 5vw, 80px) clamp(60px, 8vw, 100px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("Banner.png") center center / cover no-repeat;
  filter: brightness(0.56) contrast(1.08) saturate(0.95);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.62) 65%, rgba(0,0,0,0.94) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5), transparent 35%, rgba(0,0,0,0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(1200px, 92vw);
  margin-top: clamp(40px, 5vw, 80px);
}

.eyebrow {
  font-family: "Cinzel", serif;
  font-style: italic;
  color: var(--ash);
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  margin-bottom: clamp(8px, 1vw, 14px);
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(3.4rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(0, 0, 0, 0.72);
}

.hero h2 {
  margin-top: clamp(12px, 1.5vw, 20px);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.7vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-soft);
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

.subtitle {
  margin-top: clamp(8px, 1vw, 14px);
  color: var(--muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-countdown {
  margin: clamp(34px, 5vw, 70px) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  flex-wrap: wrap;
}

.time-block {
  min-width: clamp(86px, 12vw, 170px);
  text-align: center;
}

.time-block strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  text-shadow:
    0 0 20px rgba(168, 85, 247, 0.42),
    0 0 40px rgba(168, 85, 247, 0.18);
}

.time-block span {
  display: block;
  margin-top: clamp(8px, 1vw, 12px);
  color: var(--purple-soft);
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.divider {
  font-family: "Cinzel", serif;
  color: rgba(192, 132, 252, 0.75);
  font-size: clamp(1.5rem, 4vw, 4rem);
  transform: translateY(-0.25em);
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.4);
}

.launch-note {
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--muted);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: clamp(26px, 3vw, 42px);
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(48px, 4vw, 58px);
  padding: 0 clamp(22px, 3vw, 34px);
  border-radius: 999px;
  font-size: clamp(0.75rem, 0.9vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: white;
  box-shadow:
    0 0 28px rgba(168, 85, 247, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.secondary-btn {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.45);
}

.content-section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) clamp(20px, 5vw, 90px);
  background:
    radial-gradient(circle at 82% 20%, rgba(168, 85, 247, 0.08), transparent 26%),
    radial-gradient(circle at 15% 70%, rgba(214, 106, 57, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,0.92), #050208 50%, #000000 100%);
}

.content-section::before {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 90px);
  right: clamp(20px, 5vw, 90px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,132,252,0.45), transparent);
}

.section-inner {
  width: min(1050px, 100%);
  margin: 0 auto;
}

.wide-layout {
  width: min(90vw, 1700px);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.35fr);
  gap: clamp(50px, 7vw, 130px);
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 120px;
}

.section-label {
  color: var(--purple-soft);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.content-section h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: clamp(34px, 5vw, 70px);
  text-shadow: 0 0 28px rgba(0,0,0,0.7);
}

.text-flow {
  width: 100%;
  max-width: 960px;
}

.text-flow h3 {
  margin-top: clamp(38px, 5vw, 66px);
  margin-bottom: clamp(12px, 1.5vw, 18px);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.text-flow h3:first-child {
  margin-top: 0;
}

.text-flow h4 {
  margin-top: clamp(24px, 3vw, 38px);
  margin-bottom: clamp(8px, 1vw, 12px);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--purple-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.text-flow p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.85;
  margin-bottom: clamp(12px, 1.5vw, 18px);
}

.big-line {
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.6rem) !important;
  line-height: 1.15 !important;
  color: var(--white) !important;
}

.quote-line {
  margin-top: clamp(34px, 5vw, 60px);
  font-family: "Cinzel", serif;
  color: var(--white) !important;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem) !important;
  line-height: 1.35 !important;
}

.inline-link {
  color: var(--purple-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  word-break: break-word;
}

.inline-link:hover {
  color: var(--white);
}

.section-btn {
  margin-top: clamp(20px, 3vw, 36px);
}

.prizes-section {
  background:
    radial-gradient(circle at 70% 30%, rgba(168,85,247,0.11), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(182,59,47,0.12), transparent 30%),
    linear-gradient(180deg, #000000 0%, #08020c 60%, #000000 100%);
}

.contact-section {
  padding-bottom: clamp(110px, 14vw, 180px);
}

.site-footer {
  position: relative;
  padding: clamp(44px, 6vw, 80px) clamp(20px, 5vw, 90px);
  background:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,0.12), transparent 28%),
    linear-gradient(180deg, #000000 0%, #050208 100%);
  border-top: 1px solid rgba(192,132,252,0.22);
}

.footer-inner {
  width: min(90vw, 1700px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: start;
}

.footer-brand strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-brand span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  color: var(--dim);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: right;
}

/* Tablet / smaller desktop */
@media (max-width: 1180px) {
  .wide-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 50px);
    width: min(92vw, 1000px);
  }

  .section-heading {
    position: static;
  }

  .text-flow {
    max-width: 100%;
  }
}

/* Mobile/tablet header stacks normally */
@media (max-width: 980px) {
  .site-header {
    position: fixed;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    padding: 16px clamp(18px, 4vw, 64px) 14px;
    text-align: center;
  }

  .brand {
    justify-self: center;
  }

  .nav-countdown {
    position: static;
    transform: none;
    order: 2;
    pointer-events: auto;
    margin-top: 6px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    order: 3;
    margin-left: 0;
    margin-top: 8px;
  }

  .hero {
    padding-top: 190px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta {
    align-items: center;
    text-align: center;
  }

  .floating-discord {
    top: 12px;
    left: 12px;
    padding: 9px 12px;
  }

  .floating-discord span {
    display: none;
  }

  .floating-discord img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    gap: 10px 16px;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .divider {
    display: none;
  }

  .time-block {
    min-width: 42%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: min(100%, 340px);
  }

  .content-section h2 {
    letter-spacing: 0;
  }

  .text-flow p {
    line-height: 1.75;
  }

  .footer-links {
    justify-content: center;
  }
}