/* cryovoryvexa.xyz - Frost White & Ice Blue - Clean Minimal Layout */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=DM+Serif+Display&display=swap');

:root {
  --ice: #e3f2fd;
  --frost: #90caf9;
  --deep-blue: #0d47a1;
  --dark-bg: #0a1929;
  --card: #132f4c;
  --text-main: #b2d7ef;
  --highlight: #64b5f6;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  color: var(--ice);
}

a { color: var(--frost); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

.header {
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(144, 202, 249, 0.15);
}

.header-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 62px;
}

.brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--frost);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name svg { width: 32px; height: 32px; }

.navigation { display: flex; list-style: none; gap: 1.6rem; }

.navigation a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: 0.3s;
}

.navigation a:hover, .navigation a.sel { opacity: 1; color: var(--frost); }

.ham-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.ham-btn span {
  width: 24px;
  height: 2px;
  background: var(--frost);
  border-radius: 2px;
}

/* HERO */
.intro-banner {
  background: linear-gradient(to bottom, var(--dark-bg), #0d2a4a);
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.intro-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.intro-banner h1 span { color: var(--frost); }

.intro-banner p {
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.8;
  font-size: 1.05rem;
}

.start-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--frost), var(--deep-blue));
  color: #fff;
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s;
}

.start-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(100,181,246,0.25); color: #fff; }

/* BADGE BAR */
.badge-bar {
  background: var(--deep-blue);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 0.9rem 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ice);
}

/* SECTION */
.sec {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.sec-bg {
  background: var(--card);
  padding: 4rem 2rem;
}

.sec-bg .sec-inner { max-width: 1300px; margin: 0 auto; }

.sec h2, .sec-bg h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.flex-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.fcard {
  background: var(--dark-bg);
  border: 1px solid rgba(144,202,249,0.12);
  border-radius: 16px;
  padding: 2rem;
  flex: 1 1 280px;
  max-width: 380px;
  transition: 0.3s;
}

.fcard:hover { border-color: var(--frost); transform: translateY(-3px); }
.fcard h3 { font-size: 1.2rem; margin-bottom: 0.7rem; color: var(--frost); }
.fcard p { font-size: 0.93rem; opacity: 0.78; }

/* GAME */
.game-box {
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--frost);
  box-shadow: 0 0 50px rgba(100,181,246,0.08);
}

.game-box iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* NUMBERS */
.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.num-item {
  text-align: center;
  background: var(--dark-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(144,202,249,0.08);
}

.num-item .big {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--frost);
}

.num-item .sm { font-size: 0.82rem; opacity: 0.5; margin-top: 0.3rem; }

/* FOOTER */
.ft {
  background: var(--dark-bg);
  border-top: 1px solid rgba(144,202,249,0.1);
  padding: 2.5rem 2rem;
  text-align: center;
}

.ft-row { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ft-row a { color: var(--text-main); opacity: 0.5; font-size: 0.85rem; }
.ft-row a:hover { opacity: 1; color: var(--frost); }
.ft-small { font-size: 0.72rem; opacity: 0.3; margin-top: 1rem; }

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

.age-popup {
  background: var(--card);
  border: 2px solid var(--frost);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-popup h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.age-popup p { margin-bottom: 2rem; opacity: 0.8; font-size: 0.95rem; }
.age-popup .btns { display: flex; gap: 1rem; justify-content: center; }

.age-popup button {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
}

.age-popup button:hover { transform: scale(1.05); }
.age-popup .y { background: var(--frost); color: var(--dark-bg); }
.age-popup .n { background: transparent; border: 2px solid var(--frost) !important; color: var(--frost); }

/* PAGE */
.pg { max-width: 860px; margin: 0 auto; padding: 4rem 2rem; }
.pg h1 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.pg h2 { font-size: 1.4rem; color: var(--frost); margin-top: 2.5rem; margin-bottom: 1rem; text-align: left; }
.pg p { margin-bottom: 1.1rem; opacity: 0.88; }
.pg ul { margin: 1rem 0 1.5rem 1.5rem; }
.pg li { margin-bottom: 0.5rem; opacity: 0.82; }

@media (max-width: 768px) {
  .ham-btn { display: flex; }
  .navigation {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--frost);
  }
  .navigation.vis { display: flex; }
  .intro-banner h1 { font-size: 2rem; }
  .flex-cards { flex-direction: column; align-items: center; }
  .fcard { max-width: 100%; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .game-box iframe { height: 380px; }
}
