@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600;700&family=Poppins:wght@300;400;600;800&display=swap');

:root {
  --ice-blue: #a8d8ff;
  --frost: #d0f0ff;
  --deep-blue: #0b1e3d;
  --dark-navy: #061428;
  --sky: #3498db;
  --mint: #1dd1a1;
  --text-snow: #eaf4ff;
  --text-pale: #8aafc8;
  --border-ice: rgba(168, 216, 255, 0.15);
}

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

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--dark-navy);
  color: var(--text-snow);
  line-height: 1.75;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; }

a { color: var(--ice-blue); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--mint); }

.frozen-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 66px;
  background: linear-gradient(180deg, rgba(6, 20, 40, 0.97), rgba(6, 20, 40, 0.9));
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  border-bottom: 1px solid var(--border-ice);
}

.frost-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ice-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.ice-nav a {
  color: var(--text-pale);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ice-nav a:hover, .ice-nav a.sel { color: var(--ice-blue); }

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

.frost-toggle span {
  width: 26px; height: 3px;
  background: var(--ice-blue);
  border-radius: 2px;
  transition: 0.3s;
}

.frost-toggle.open span:first-child { transform: rotate(45deg) translate(5px, 6px); }
.frost-toggle.open span:nth-child(2) { opacity: 0; }
.frost-toggle.open span:last-child { transform: rotate(-45deg) translate(5px, -6px); }

/* Centered hero with frosted card */
.glacier-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 4%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(168, 216, 255, 0.06), transparent 60%),
    linear-gradient(180deg, var(--deep-blue), var(--dark-navy));
}

.hero-frost-card {
  background: rgba(168, 216, 255, 0.04);
  border: 1px solid var(--border-ice);
  border-radius: 24px;
  padding: 4rem 3rem;
  max-width: 720px;
  width: 100%;
  backdrop-filter: blur(4px);
}

.hero-frost-card h1 {
  font-size: 2.8rem;
  color: var(--frost);
  margin-bottom: 1rem;
}

.hero-frost-card p {
  color: var(--text-pale);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.ice-btn {
  display: inline-block;
  padding: 14px 44px;
  background: linear-gradient(135deg, var(--sky), var(--ice-blue));
  color: var(--dark-navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}

.ice-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168, 216, 255, 0.2);
  color: var(--dark-navy);
}

.info-bar {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem 4%;
  background: rgba(168, 216, 255, 0.03);
  border-top: 1px solid var(--border-ice);
  border-bottom: 1px solid var(--border-ice);
  flex-wrap: wrap;
  gap: 1rem;
}

.info-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mint);
}

.info-tag .it { font-size: 1.2rem; }

.game-zone {
  padding: 4rem 4%;
  text-align: center;
}

.game-zone h2 {
  font-size: 2rem;
  color: var(--frost);
  margin-bottom: 1.5rem;
}

.game-box {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-ice);
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
}

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

/* Horizontal scroll cards */
.scroll-row {
  display: flex;
  gap: 1.5rem;
  padding: 4rem 4%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.scroll-card {
  flex: 0 0 320px;
  background: rgba(168, 216, 255, 0.04);
  border: 1px solid var(--border-ice);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  scroll-snap-align: start;
}

.scroll-card .sc-em { font-size: 2.2rem; margin-bottom: 1rem; display: block; }

.scroll-card h3 {
  font-size: 1.1rem;
  color: var(--ice-blue);
  margin-bottom: 0.8rem;
}

.scroll-card p { color: var(--text-pale); font-size: 0.92rem; }

.content-area {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 4%;
}

.content-area h2 {
  font-size: 1.8rem;
  color: var(--frost);
  text-align: center;
  margin-bottom: 1.5rem;
}

.content-area p { color: var(--text-pale); margin-bottom: 1rem; }

/* Pages */
.pg-banner {
  padding: 6rem 4% 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--deep-blue), var(--dark-navy));
}

.pg-banner h1 { font-size: 2.5rem; color: var(--frost); }

.pg-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 4%;
}

.pg-content h2 {
  font-size: 1.35rem;
  color: var(--ice-blue);
  margin: 2rem 0 0.8rem;
}

.pg-content p, .pg-content li {
  color: var(--text-pale);
  margin-bottom: 0.7rem;
}

.pg-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Footer */
.ice-footer {
  background: #040e1e;
  border-top: 1px solid var(--border-ice);
  padding: 3rem 4% 1.5rem;
  text-align: center;
}

.ice-foot-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.ice-foot-nav a { color: var(--text-pale); font-size: 0.88rem; }
.ice-foot-nav a:hover { color: var(--ice-blue); }

.ice-resp {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 216, 255, 0.08);
}

.ice-resp p { font-size: 0.78rem; color: var(--text-pale); margin-bottom: 0.5rem; }
.ice-resp a { margin: 0 0.5rem; }

/* Age overlay */
.age-frost {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 14, 30, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-frost-box {
  background: var(--deep-blue);
  border: 1px solid var(--ice-blue);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-frost-box h2 { font-size: 1.4rem; color: var(--frost); margin-bottom: 1rem; }
.age-frost-box p { color: var(--text-pale); margin-bottom: 2rem; }

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

.age-frost-btns button {
  padding: 11px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.afb-yes {
  background: linear-gradient(135deg, var(--sky), var(--ice-blue));
  color: var(--dark-navy);
}

.afb-no {
  background: transparent;
  border: 1px solid var(--text-pale) !important;
  color: var(--text-pale);
}

.age-frost-btns button:hover { transform: scale(1.05); }

.frost-denied {
  color: #e74c3c;
  font-weight: 700;
  margin-top: 1rem;
  display: none;
}

@media (max-width: 768px) {
  .frost-toggle { display: flex; }
  .ice-nav {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(6, 20, 40, 0.98);
    padding: 1.5rem 4%;
    gap: 1rem;
    border-bottom: 1px solid var(--border-ice);
  }
  .ice-nav.revealed { display: flex; }
  .hero-frost-card h1 { font-size: 2rem; }
  .game-box iframe { height: 400px; }
  .info-bar { flex-direction: column; align-items: center; }
  .scroll-card { flex: 0 0 85vw; }
}
