@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Poppins:wght@300;400;600&display=swap');

:root {
  --bg1: #0a1628;
  --bg2: #0f2035;
  --cyan: #00d4ff;
  --cyan-dim: #007a99;
  --pink: #ff2d78;
  --white: #f0f4f8;
  --muted: #8a9bb5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg1);
  color: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }

.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  height: 68px;
  border-bottom: 1px solid rgba(0,212,255,0.15);
}

.site-brand { display: flex; align-items: center; gap: 10px; }
.site-brand svg { width: 36px; height: 36px; }
.site-brand span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cyan);
}

.topnav-menu { display: flex; gap: 1.8rem; list-style: none; }
.topnav-menu a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.topnav-menu a:hover { color: var(--cyan); }

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 26px; height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:first-child { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:last-child { transform: rotate(-45deg) translate(6px,-6px); }

@media(max-width:768px) {
  .menu-toggle { display: flex; }
  .topnav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg2);
    flex-direction: column;
    padding: 80px 2rem;
    transition: right 0.3s;
    box-shadow: -5px 0 30px rgba(0,0,0,0.6);
  }
  .topnav-menu.visible { right: 0; }
}

.splash {
  margin-top: 68px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5%;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg1) 100%);
  position: relative;
}
.splash::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: 20%; left: 50%;
  transform: translateX(-50%);
}
.splash-inner { position: relative; z-index: 1; max-width: 720px; }
.splash h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.splash h1 em { color: var(--cyan); font-style: normal; }
.splash p { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }

.action-btn {
  display: inline-block;
  padding: 13px 40px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--bg1);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none; border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,212,255,0.35);
  color: var(--bg1);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 5rem 5%; }

.strip { padding: 5rem 5%; }
.strip-alt { background: var(--bg2); }

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media(max-width:768px) { .trio { grid-template-columns: 1fr; } }

.trio-item {
  padding: 2rem;
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 10px;
  text-align: center;
  background: rgba(0,212,255,0.03);
  transition: border-color 0.3s;
}
.trio-item:hover { border-color: var(--cyan); }
.trio-item .emoji { font-size: 2.5rem; margin-bottom: 0.8rem; }
.trio-item h3 { margin-bottom: 0.5rem; color: var(--cyan); }
.trio-item p { color: var(--muted); font-size: 0.95rem; }

.game-container {
  max-width: 800px;
  margin: 2rem auto;
  aspect-ratio: 750/600;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0,212,255,0.15);
}
.game-container iframe { width: 100%; height: 100%; border: none; }

.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media(max-width:900px) { .quad-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .quad-grid { grid-template-columns: 1fr; } }

.quad-cell {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(255,45,120,0.05));
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.quad-cell .qicon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.quad-cell h4 { color: var(--cyan); margin-bottom: 0.4rem; }
.quad-cell p { color: var(--muted); font-size: 0.88rem; }

.callout {
  margin-top: 3rem;
  background: rgba(255,45,120,0.06);
  border: 1px solid rgba(255,45,120,0.2);
  border-radius: 10px;
  padding: 2rem;
}
.callout h3 { color: var(--pink); margin-bottom: 0.8rem; }

.pg-header {
  margin-top: 68px;
  padding: 4.5rem 5% 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg2), var(--bg1));
}
.pg-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--cyan); }
.pg-header p { color: var(--muted); margin-top: 0.5rem; }

.article { max-width: 880px; margin: 0 auto; padding: 3rem 5% 5rem; }
.article h2 { color: var(--cyan); margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.article p { color: var(--muted); margin-bottom: 1rem; }
.article ul { margin: 0.5rem 0 1rem 1.5rem; color: var(--muted); }
.article li { margin-bottom: 0.4rem; }

.bottom-bar {
  background: var(--bg2);
  text-align: center;
  padding: 2.5rem 5%;
  border-top: 1px solid rgba(0,212,255,0.1);
}
.bottom-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.bottom-links a { color: var(--muted); font-size: 0.9rem; }
.bottom-links a:hover { color: var(--cyan); }
.bottom-copy { color: var(--muted); font-size: 0.8rem; opacity: 0.5; margin-top: 0.8rem; }

.age-screen {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10,22,40,0.96);
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
}
.age-card {
  background: var(--bg2);
  border: 2px solid var(--cyan);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  max-width: 430px; width: 90%;
}
.age-card h2 { color: var(--cyan); margin-bottom: 1rem; }
.age-card p { color: var(--muted); margin-bottom: 2rem; }
.age-row { display: flex; gap: 1rem; justify-content: center; }
.age-row button {
  padding: 10px 30px; border: none; border-radius: 6px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.age-confirm { background: var(--cyan); color: var(--bg1); }
.age-deny { background: #333; color: #999; }

.game-tip {
  max-width: 800px; margin: 1.5rem auto; padding: 1rem 1.5rem;
  background: rgba(0,212,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(0,212,255,0.1);
  color: var(--muted); font-size: 0.92rem;
}
