@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600;700&display=swap');

:root {
  --midnight: #0a0a1a;
  --indigo: #1e1040;
  --violet: #6c3ea0;
  --lavender: #b48ee0;
  --rose: #e84393;
  --text-bright: #ece4f8;
  --text-soft: #8878a0;
  --surface: rgba(30,16,64,0.9);
  --border-v: rgba(108,62,160,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--midnight);
  color: var(--text-bright);
  line-height: 1.8;
}

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,26,0.96);
  backdrop-filter: blur(10px);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 2px solid var(--rose);
}

.logo {
  font-weight: 700; font-size: 1.4rem;
  color: var(--lavender);
  text-decoration: none;
}

.logo svg { width: 28px; height: 28px; vertical-align: middle; margin-right: 8px; }

nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { color: var(--text-soft); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--rose); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1100; }
.hamburger span { width: 26px; height: 3px; background: var(--rose); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

main { margin-top: 62px; }

.masthead {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--indigo) 0%, var(--midnight) 100%);
  position: relative;
}

.masthead::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--rose), var(--violet));
}

.masthead h1 {
  font-size: 2.8rem; font-weight: 700;
  color: #fff; margin-bottom: 1rem;
}

.masthead p {
  font-size: 1.1rem; color: var(--text-soft);
  max-width: 640px; margin: 0 auto 2rem; font-weight: 300;
}

.glow-btn {
  display: inline-block;
  padding: 12px 42px;
  background: var(--rose);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.glow-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(232,67,147,0.4); }

.badges {
  display: flex; justify-content: center; gap: 2rem;
  padding: 3rem 2rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border-v);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  width: 280px;
}

.badge .ico { font-size: 2rem; margin-bottom: 0.5rem; }
.badge h3 { font-size: 1rem; color: var(--lavender); margin-bottom: 0.4rem; font-weight: 700; }
.badge p { font-size: 0.85rem; color: var(--text-soft); font-weight: 300; }

.game-spotlight {
  padding: 4rem 2rem; text-align: center;
}

.game-spotlight h2 {
  font-size: 1.8rem; color: var(--rose); margin-bottom: 1.5rem; font-weight: 700;
}

.game-box {
  max-width: 920px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  border: 2px solid var(--violet);
  box-shadow: 0 10px 40px rgba(108,62,160,0.2);
}

.game-box iframe { width: 100%; height: 580px; border: none; display: block; }

.grid-4 {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-top: 1px solid var(--border-v);
  border-bottom: 1px solid var(--border-v);
}

.grid-4 .cell {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--border-v);
  text-align: center;
}

.grid-4 .cell:last-child { border-right: none; }
.grid-4 .cell h3 { font-size: 0.95rem; color: var(--lavender); margin-bottom: 0.4rem; font-weight: 700; }
.grid-4 .cell p { font-size: 0.85rem; color: var(--text-soft); font-weight: 300; }

.text-area {
  max-width: 1100px; margin: 0 auto; padding: 4rem 3rem;
}

.text-area h1 {
  font-size: 2.2rem; color: #fff; margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--rose); padding-bottom: 0.8rem; font-weight: 700;
}

.text-area h2 { font-size: 1.15rem; color: var(--lavender); margin: 2rem 0 0.6rem; font-weight: 700; }
.text-area p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.8rem; font-weight: 300; }

.play-tip {
  background: var(--surface); border: 1px solid var(--border-v);
  border-radius: 12px; padding: 1.5rem 2rem;
  margin-bottom: 2rem; max-width: 920px;
  margin-left: auto; margin-right: auto;
}

.play-tip h3 { color: var(--rose); margin-bottom: 0.4rem; font-weight: 700; }
.play-tip p { color: var(--text-soft); font-size: 0.88rem; font-weight: 300; }

footer {
  background: var(--indigo); border-top: 2px solid var(--rose);
  padding: 2.5rem 2rem 1.5rem; text-align: center;
}

footer .rg-links h4 { font-size: 0.85rem; color: var(--lavender); margin-bottom: 0.7rem; font-weight: 700; }
footer .rg-links a { color: var(--text-soft); text-decoration: none; margin: 0 1rem; font-size: 0.82rem; transition: color 0.3s; }
footer .rg-links a:hover { color: var(--rose); }
footer .fine-print { margin-top: 1rem; font-size: 0.72rem; color: var(--text-soft); opacity: 0.6; }

.age-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-modal.hidden { display: none; }

.age-card {
  background: var(--indigo); border: 2px solid var(--violet);
  border-radius: 16px; padding: 2.5rem; text-align: center;
  max-width: 420px; width: 90%;
}

.age-card h2 { color: var(--rose); font-size: 1.4rem; margin-bottom: 0.8rem; font-weight: 700; }
.age-card p { color: var(--text-soft); margin-bottom: 1.5rem; font-size: 0.9rem; font-weight: 300; }

.age-actions { display: flex; gap: 1rem; justify-content: center; }
.age-actions button { padding: 10px 30px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.9rem; border: none; border-radius: 25px; cursor: pointer; transition: transform 0.2s; }
.age-actions .a-yes { background: var(--rose); color: #fff; }
.age-actions .a-no { background: transparent; color: var(--text-soft); border: 1px solid var(--border-v); }
.age-actions button:hover { transform: scale(1.05); }
.a-block { color: #e04040; margin-top: 0.8rem; font-size: 0.88rem; display: none; font-weight: 600; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { position: fixed; top: 0; right: -100%; width: 250px; height: 100vh; background: rgba(10,10,26,0.98); padding: 75px 2rem 2rem; transition: right 0.3s; z-index: 1050; border-left: 2px solid var(--rose); }
  nav.open { right: 0; }
  nav ul { flex-direction: column; gap: 1.2rem; }
  .masthead { padding: 4rem 1.5rem 3rem; }
  .masthead h1 { font-size: 1.9rem; }
  .badges { flex-direction: column; align-items: center; }
  .badge { width: 100%; max-width: 400px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 .cell:nth-child(2) { border-right: none; }
  .game-box iframe { height: 380px; }
  .text-area { padding: 2rem 1.5rem; }
}
