@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;600;700&family=Nunito:wght@300;400;600;700;800&display=swap');

:root {
  --bg: #051418;
  --surface: #0b2830;
  --primary: #06b6d4;
  --accent: #67e8f9;
  --ice: #22d3ee;
  --gold: #fcd34d;
  --text: #e0f7fa;
  --border: rgba(6, 182, 212, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; }
h1, h2, h3 { font-family: 'Bitter', serif; }
a { color: var(--accent); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

.topnav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 20, 24, 0.95); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 2.5rem; border-bottom: 1px solid var(--border);
}
.topnav-brand { display: flex; align-items: center; gap: 0.6rem; }
.topnav-brand svg { width: 36px; height: 36px; }
.topnav-brand span { font-family: 'Bitter', serif; font-size: 1.4rem; font-weight: 700; color: var(--ice); }

.topnav-links { list-style: none; display: flex; gap: 1.6rem; }
.topnav-links a { color: var(--text); font-weight: 600; font-size: 0.92rem; }
.topnav-links a:hover { color: var(--ice); }

.menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-btn span { width: 26px; height: 2.5px; background: var(--ice); border-radius: 2px; transition: 0.3s; }
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero-center {
  min-height: 88vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}
.hero-center h1 { font-size: 3rem; color: var(--ice); margin-bottom: 1rem; }
.hero-center p { font-size: 1.1rem; max-width: 660px; margin-bottom: 2rem; opacity: 0.9; }

.ice-btn {
  display: inline-block; padding: 0.85rem 2.4rem;
  background: var(--primary); color: var(--bg);
  font-weight: 700; border-radius: 8px; font-size: 1rem; transition: 0.3s;
}
.ice-btn:hover { background: var(--accent); color: var(--bg); }

.notice-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ntc { padding: 2rem; text-align: center; border-right: 1px solid var(--border); }
.ntc:last-child { border-right: none; }
.ntc h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.3rem; }
.ntc p { font-size: 0.88rem; opacity: 0.8; }

.sect { max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem; }
.sect h2 { font-size: 1.9rem; color: var(--ice); margin-bottom: 1rem; }
.sect p { margin-bottom: 1rem; max-width: 850px; }

.game-wrap { max-width: 960px; margin: 2rem auto; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.game-wrap iframe { width: 100%; height: 600px; border: none; display: block; }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; max-width: 1200px; margin: 3rem auto; padding: 0 2.5rem; }
.g4 { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; }
.g4 h3 { color: var(--gold); margin-bottom: 0.5rem; }
.g4 p { font-size: 0.93rem; opacity: 0.85; }
.g4 ul { padding-left: 1.1rem; font-size: 0.93rem; }
.g4 li { margin-bottom: 0.3rem; }

.btm { background: var(--surface); border-top: 1px solid var(--border); text-align: center; padding: 2.5rem 2rem; margin-top: 4rem; }
.btm .rl a { color: var(--accent); margin: 0 0.8rem; font-size: 0.9rem; }
.btm .rl a:hover { color: var(--gold); }
.btm .sm { margin-top: 0.8rem; font-size: 0.78rem; opacity: 0.5; }

.age-cover { position: fixed; inset: 0; background: rgba(5, 20, 24, 0.97); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-box { background: var(--surface); border: 2px solid var(--primary); border-radius: 14px; padding: 2.5rem; text-align: center; max-width: 420px; width: 90%; }
.age-box h2 { color: var(--ice); margin-bottom: 0.8rem; }
.age-box p { margin-bottom: 1.5rem; }
.ab-btns { display: flex; gap: 1rem; justify-content: center; }
.ab-btns button { padding: 0.7rem 2rem; border: none; border-radius: 8px; font-family: 'Nunito', sans-serif; font-weight: 700; cursor: pointer; transition: 0.2s; }
.ab-btns button:hover { transform: scale(1.04); }
.ab-y { background: var(--primary); color: var(--bg); }
.ab-n { background: transparent; border: 2px solid var(--primary) !important; color: var(--accent); }
.age-cover.hidden { display: none; }

.law { max-width: 880px; margin: 0 auto; padding: 6rem 2.5rem 3rem; }
.law h1 { font-size: 2.2rem; color: var(--ice); margin-bottom: 1.5rem; }
.law h2 { font-size: 1.3rem; color: var(--gold); margin: 1.7rem 0 0.7rem; }
.law p { margin-bottom: 0.9rem; }

.pgame { text-align: center; padding: 6rem 2rem 2rem; }
.pgame h1 { font-size: 2.4rem; color: var(--ice); margin-bottom: 0.8rem; }
.pgame p { max-width: 640px; margin: 0 auto 1.5rem; }

.tipcard { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; max-width: 650px; margin: 2rem auto; font-size: 0.93rem; }

@media (max-width: 768px) {
  .menu-btn { display: flex; }
  .topnav-links { position: fixed; top: 0; right: -100%; width: 72%; max-width: 280px; height: 100vh; background: var(--surface); flex-direction: column; padding: 4.5rem 2rem; transition: right 0.35s; border-left: 1px solid var(--border); }
  .topnav-links.open { right: 0; }
  .hero-center h1 { font-size: 2.2rem; }
  .notice-trio { grid-template-columns: 1fr; }
  .game-wrap iframe { height: 350px; }
}
