@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ice: #7dd3fc;
  --ice-dark: #38bdf8;
  --ice-deep: #0c4a6e;
  --frost: #e0f2fe;
  --midnight: #0c1929;
  --surface: rgba(12, 74, 110, 0.35);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(125, 211, 252, 0.2);
  --text: #e0f2fe;
  --text-muted: #93c5e6;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(180deg, #0c1929 0%, #0e2540 50%, #0c1929 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--ice); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--ice-dark); }

/* Header */
.nav-bar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(12, 25, 41, 0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-bar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 62px;
}

.brand-name {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.3rem; color: var(--ice);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.brand-name svg { width: 30px; height: 30px; }

.links { display: flex; gap: 20px; list-style: none; }
.links a { color: var(--text-muted); font-weight: 500; font-size: 0.88rem; letter-spacing: 0.3px; }
.links a:hover { color: var(--ice); }

.toggle-btn {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; background: none; border: none;
}
.toggle-btn span {
  width: 24px; height: 2px; background: var(--ice);
  border-radius: 2px; transition: 0.3s; display: block;
}
.toggle-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.toggle-btn.active span:nth-child(2) { opacity: 0; }
.toggle-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Hero */
.hero-box {
  max-width: 900px; margin: 0 auto; padding: 130px 24px 80px; text-align: center;
}

.hero-box h1 {
  font-size: 3rem; font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 20px;
}
.hero-box h1 span { color: var(--ice); }

.hero-box p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 620px; margin-left: auto; margin-right: auto; }

.ice-btn {
  display: inline-block; padding: 14px 44px;
  background: var(--ice); color: var(--midnight); font-weight: 700;
  border-radius: 8px; font-size: 1rem; transition: 0.3s;
  border: none; cursor: pointer;
}
.ice-btn:hover { background: var(--ice-dark); box-shadow: 0 0 30px rgba(125, 211, 252, 0.3); transform: translateY(-2px); color: var(--midnight); }

/* Glass notice */
.glass-strip {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  padding: 24px; max-width: 900px; margin: 0 auto;
}

.glass-badge {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 40px; padding: 10px 22px; backdrop-filter: blur(8px);
  font-size: 0.88rem; font-weight: 600; color: var(--ice);
  display: flex; align-items: center; gap: 8px;
}
.glass-badge .gb-ic { font-size: 1.1rem; }

/* Sections */
.area { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }

.area-title { font-size: 2rem; font-weight: 700; text-align: center; color: var(--ice); margin-bottom: 10px; }
.area-sub { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; font-size: 0.98rem; }

/* Game */
.game-glass {
  max-width: 940px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border);
  box-shadow: 0 0 60px rgba(125, 211, 252, 0.1);
}
.game-glass iframe { width: 100%; height: 580px; border: none; display: block; }

/* Glassmorphism cards */
.glass-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.g-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 30px 24px; backdrop-filter: blur(12px);
  transition: transform 0.3s, box-shadow 0.3s; text-align: center;
}
.g-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(125, 211, 252, 0.15); }

.g-ic { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.g-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--ice); margin-bottom: 8px; }
.g-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Stats */
.stat-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px;
  padding: 60px 24px;
}

.stat-item { text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 700; color: var(--ice); display: block; }
.stat-txt { font-size: 0.83rem; color: var(--text-muted); margin-top: 4px; }

/* About */
.about-glass {
  max-width: 860px; margin: 0 auto; padding: 44px 36px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; text-align: center; backdrop-filter: blur(10px);
}
.about-glass h2 { font-size: 1.8rem; color: var(--ice); margin-bottom: 18px; }
.about-glass p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 14px; }

/* Footer */
.ftr {
  background: rgba(12, 25, 41, 0.95); padding: 48px 24px; text-align: center;
  border-top: 1px solid var(--glass-border); margin-top: 40px;
}
.ftr-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 20px; }
.ftr-links a { color: var(--text-muted); font-size: 0.86rem; }
.ftr-links a:hover { color: var(--ice); }

.ftr-resp { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-border); }
.ftr-resp p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.ftr-resp-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.ftr-resp-links a { color: var(--ice); font-size: 0.82rem; text-decoration: underline; }

.ftr-copy { margin-top: 20px; font-size: 0.73rem; color: rgba(147, 197, 230, 0.35); }

/* Age */
.age-frost {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.age-frost.hidden { display: none; }

.age-glass {
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 44px 36px; max-width: 400px; width: 100%;
  text-align: center; backdrop-filter: blur(20px);
}
.age-glass h2 { font-size: 1.4rem; color: var(--ice); margin-bottom: 12px; }
.age-glass p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.9rem; }

.age-options { display: flex; gap: 12px; justify-content: center; }
.age-options button {
  padding: 11px 30px; border-radius: 8px; font-weight: 700;
  font-size: 0.92rem; cursor: pointer; font-family: 'Space Grotesk', sans-serif; transition: 0.3s;
}
.age-ok { background: var(--ice); color: var(--midnight); border: 2px solid var(--ice); }
.age-ok:hover { background: var(--ice-dark); }
.age-nope { background: transparent; color: var(--ice); border: 2px solid var(--ice); }
.age-nope:hover { background: rgba(125, 211, 252, 0.1); }

/* Pages */
.pg-banner {
  padding: 110px 24px 50px; text-align: center;
}
.pg-banner h1 { font-size: 2.2rem; font-weight: 700; color: var(--ice); margin-bottom: 8px; }
.pg-banner p { color: var(--text-muted); font-size: 0.98rem; }

.pg-text { max-width: 840px; margin: 0 auto; padding: 60px 24px; }
.pg-text h2 { font-size: 1.35rem; font-weight: 600; color: var(--ice); margin: 30px 0 10px; }
.pg-text h2:first-child { margin-top: 0; }
.pg-text p, .pg-text ul, .pg-text li { color: var(--text-muted); margin-bottom: 12px; font-size: 0.94rem; }
.pg-text ul { padding-left: 22px; }

/* Play */
.play-area { padding: 100px 24px 60px; max-width: 1040px; margin: 0 auto; }
.play-area h1 { text-align: center; font-size: 2.1rem; color: var(--ice); margin-bottom: 10px; }
.play-note { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 0.9rem; }

@media (max-width: 900px) {
  .glass-grid { grid-template-columns: 1fr 1fr; }
  .hero-box h1 { font-size: 2.4rem; }
  .game-glass iframe { height: 440px; }
}

@media (max-width: 640px) {
  .toggle-btn { display: flex; }
  .links {
    display: none; position: absolute; top: 62px; left: 0; width: 100%;
    flex-direction: column; background: rgba(12, 25, 41, 0.98);
    padding: 20px 24px; gap: 12px; backdrop-filter: blur(16px);
  }
  .links.open { display: flex; }
  .hero-box h1 { font-size: 1.8rem; }
  .glass-grid { grid-template-columns: 1fr; }
  .game-glass iframe { height: 310px; }
  .area-title { font-size: 1.6rem; }
  .glass-strip { gap: 10px; }
  .glass-badge { font-size: 0.8rem; padding: 8px 14px; }
  .pg-banner h1 { font-size: 1.8rem; }
}
