/* Cryovexar.xyz - Frosted Crystal Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --bg-dark: #0a1628;
  --bg-card: #111e36;
  --emerald: #00e5a0;
  --cyan: #00c4d4;
  --ice-blue: #a0e8ff;
  --white: #f0f4f8;
  --muted: #7a8ba5;
  --glass-bg: rgba(17,30,54,0.85);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  height: 68px;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,229,160,0.12);
}

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.main-nav { display: flex; gap: 1.8rem; list-style: none; }

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s;
}

.main-nav a:hover,
.main-nav a.current { color: var(--emerald); }
.main-nav a:hover::after,
.main-nav a.current::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--emerald);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.35s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 1.4rem;
    transition: left 0.4s;
    box-shadow: 4px 0 25px rgba(0,0,0,0.6);
  }
  .main-nav.active { left: 0; }
}

/* HERO - split layout */
.landing {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5% 60px;
  gap: 3rem;
  background:
    radial-gradient(circle at 70% 30%, rgba(0,229,160,0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(0,196,212,0.05) 0%, transparent 50%),
    var(--bg-dark);
}

.landing-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.landing-text h1 em {
  font-style: normal;
  color: var(--emerald);
}

.landing-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 38px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,229,160,0.3);
}

.landing-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.crystal-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  background: var(--glass-bg);
  border: 1px solid rgba(0,229,160,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--emerald);
  box-shadow: 0 0 60px rgba(0,229,160,0.08);
}

@media (max-width: 800px) {
  .landing { grid-template-columns: 1fr; text-align: center; }
  .landing-text p { margin-left: auto; margin-right: auto; }
  .crystal-card { max-width: 280px; font-size: 4rem; margin: 0 auto; }
}

/* ALERTS */
.alerts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 5% 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.alert-box {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 2rem;
  border-top: 3px solid var(--emerald);
  transition: transform 0.3s;
}

.alert-box:hover { transform: translateY(-4px); }

.alert-box .badge {
  display: inline-block;
  background: rgba(0,229,160,0.1);
  color: var(--emerald);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.alert-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.alert-box p {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .alerts-row { grid-template-columns: 1fr; }
}

/* GAME EMBED */
.game-zone {
  padding: 3rem 5%;
  max-width: 1300px;
  margin: 0 auto;
}

.game-zone h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--ice-blue);
}

.game-frame {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 5/4;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0,229,160,0.15);
  background: #000;
}

.game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* BENEFITS */
.benefits {
  padding: 4rem 5%;
  max-width: 1300px;
  margin: 0 auto;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid var(--cyan);
}

.benefit-row .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--emerald);
  min-width: 50px;
}

.benefit-row h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.benefit-row p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 600px) {
  .benefit-row { flex-direction: column; text-align: center; }
}

/* TICKER */
.ticker-strip {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2.5rem 5%;
  background: linear-gradient(90deg, var(--bg-card), rgba(0,229,160,0.05), var(--bg-card));
  margin: 2rem 0;
}

.tick { text-align: center; }
.tick .val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--emerald);
}

.tick .desc {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.2rem;
}

/* PAGE INNER */
.inner-page {
  padding: 110px 5% 50px;
  max-width: 900px;
  margin: 0 auto;
}

.inner-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--emerald);
  margin-bottom: 1.5rem;
}

.inner-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ice-blue);
  margin: 2rem 0 0.8rem;
}

.inner-page p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.inner-page ul {
  list-style: none;
  margin-bottom: 1.2rem;
}

.inner-page ul li {
  color: var(--muted);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
}

.inner-page ul li::before {
  content: '\2022';
  color: var(--emerald);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* PLAY PAGE */
.play-header {
  padding: 100px 5% 30px;
  text-align: center;
}

.play-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--emerald);
  margin-bottom: 0.8rem;
}

.play-header p { color: var(--muted); max-width: 650px; margin: 0 auto; }

.wide-game {
  padding: 2rem 3%;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.wide-game .game-frame { max-width: 100%; }

/* FOOTER */
.ground {
  background: var(--bg-card);
  border-top: 1px solid rgba(0,229,160,0.1);
  padding: 2.5rem 5%;
  text-align: center;
}

.ground-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.ground-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.ground-nav a:hover { color: var(--emerald); }

.rg-section {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,229,160,0.08);
}

.rg-section p { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.6rem; }

.rg-section a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 0.6rem;
}

.rg-section a:hover { text-decoration: underline; }

.ground-copy { color: var(--muted); font-size: 0.75rem; margin-top: 1.2rem; opacity: 0.5; }

/* AGE GATE */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate.dismissed { display: none; }

.age-modal {
  background: var(--bg-card);
  border: 1px solid var(--emerald);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 92%;
}

.age-modal h2 {
  font-family: 'Playfair Display', serif;
  color: var(--emerald);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.age-modal p { color: var(--muted); margin-bottom: 1.8rem; font-size: 0.95rem; }

.age-actions { display: flex; gap: 1rem; justify-content: center; }

.age-actions button {
  padding: 11px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid var(--emerald);
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.age-yes {
  background: var(--emerald);
  color: var(--bg-dark);
}

.age-yes:hover { box-shadow: 0 4px 18px rgba(0,229,160,0.35); }

.age-no {
  background: transparent;
  color: var(--emerald);
}

.age-no:hover { background: rgba(0,229,160,0.08); }
