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

:root {
  --ice-dark: #0c1929;
  --ice-mid: #152238;
  --frost: #64b5f6;
  --white-blue: #e3f2fd;
  --pure-white: #ffffff;
  --steel: #90a4ae;
  --cyan: #00bcd4;
  --glass: rgba(21,34,56,0.7);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--ice-dark);
  color: var(--white-blue);
  line-height: 1.75;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 2rem;
  background: rgba(12,25,41,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100,181,246,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hdr-logo svg { width: 32px; height: 32px; }

.hdr-logo span {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--frost);
}

.hdr-nav {
  display: flex;
  gap: 1.3rem;
  list-style: none;
}

.hdr-nav a {
  color: var(--steel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.hdr-nav a:hover { color: var(--frost); }

.hdr-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hdr-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--frost);
  margin: 5px 0;
}

.m-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--ice-mid);
  z-index: 999;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(100,181,246,0.15);
}

.m-nav.active { display: block; }

.m-nav a {
  display: block;
  padding: 0.6rem 0;
  color: var(--white-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(100,181,246,0.08);
}

.frozen-hero {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--ice-dark) 0%, #0d2137 50%, var(--ice-dark) 100%);
  position: relative;
  overflow: hidden;
}

.frozen-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,188,212,0.08), transparent 70%);
}

.frozen-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 1rem;
  position: relative;
}

.frozen-hero p {
  color: var(--steel);
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  position: relative;
}

.ice-chips {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
}

.ice-chip {
  background: var(--glass);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(100,181,246,0.2);
  color: var(--cyan);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.roulette-area {
  padding: 3rem 2rem;
  background: var(--ice-mid);
}

.roulette-area h2 {
  font-family: 'Syne', sans-serif;
  text-align: center;
  color: var(--frost);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.roulette-frame {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(100,181,246,0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,188,212,0.1);
}

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

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.frost-card {
  background: var(--glass);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(100,181,246,0.15);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.frost-card .fc-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.frost-card h3 {
  font-family: 'Syne', sans-serif;
  color: var(--frost);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.frost-card p {
  color: var(--steel);
  font-size: 0.83rem;
}

.metrics-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(100,181,246,0.1);
  border-bottom: 1px solid rgba(100,181,246,0.1);
}

.metric {
  text-align: center;
}

.metric .mv {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
}

.metric .ml {
  font-size: 0.72rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  color: var(--pure-white);
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.cta-section p {
  color: var(--steel);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.frost-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--frost), var(--cyan));
  color: var(--ice-dark);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.frost-btn:hover { transform: translateY(-2px); }

.article-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.article-page h1 {
  font-family: 'Syne', sans-serif;
  color: var(--pure-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.article-page h2 {
  font-family: 'Syne', sans-serif;
  color: var(--frost);
  font-size: 1.2rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.article-page p { color: var(--steel); margin-bottom: 0.8rem; }
.article-page ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.article-page li { color: var(--steel); margin-bottom: 0.3rem; }

.game-hint {
  max-width: 960px;
  margin: 1.2rem auto 0;
  background: var(--glass);
  border: 1px solid rgba(100,181,246,0.15);
  border-radius: 8px;
  padding: 1rem 1.4rem;
}

.game-hint p { color: var(--steel); font-size: 0.83rem; margin: 0; }

.bottom-bar {
  background: #080f1a;
  border-top: 1px solid rgba(100,181,246,0.1);
  padding: 2rem;
  text-align: center;
}

.bot-links {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.bot-links a {
  color: var(--frost);
  text-decoration: none;
  font-size: 0.8rem;
}

.bot-links a:hover { text-decoration: underline; }

.bottom-bar small { color: rgba(255,255,255,0.3); font-size: 0.7rem; }

.age-frost {
  position: fixed;
  inset: 0;
  background: rgba(12,25,41,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-ice-box {
  background: var(--ice-mid);
  border: 1px solid var(--frost);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-ice-box h2 {
  font-family: 'Syne', sans-serif;
  color: var(--pure-white);
  margin-bottom: 0.7rem;
}

.age-ice-box p {
  color: var(--steel);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

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

.age-frost-btns button {
  padding: 0.65rem 1.6rem;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  transition: transform 0.2s;
}

.age-frost-btns .ok {
  background: linear-gradient(135deg, var(--frost), var(--cyan));
  color: var(--ice-dark);
}

.age-frost-btns .nope {
  background: transparent;
  border: 1px solid var(--frost);
  color: var(--frost);
}

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

@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: block; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .roulette-frame iframe { height: 420px; }
  .frozen-hero { padding: 3rem 1.5rem; }
}

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