@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;500;700&family=Quicksand:wght@300;400;600;700&display=swap');

:root {
  --indigo: #3730a3;
  --indigo-deep: #1e1b4b;
  --lime: #84cc16;
  --lime-bright: #a3e635;
  --bg: #0f0e26;
  --card-bg: #1a1847;
  --text: #d4d0f0;
  --text-dim: #9b95c9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

a { color: var(--lime); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--lime-bright); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: var(--indigo-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--lime);
  border-radius: 0 0 20px 20px;
}

.hb-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hb-logo svg { width: 32px; height: 32px; }

.hb-logo span {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--lime);
}

.hb-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.hb-menu a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  text-transform: uppercase;
}

.hb-menu a:hover { color: var(--lime); }

.hb-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hb-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.hb-burger.active span:first-child { transform: rotate(45deg) translate(4px, 6px); }
.hb-burger.active span:nth-child(2) { opacity: 0; }
.hb-burger.active span:last-child { transform: rotate(-45deg) translate(5px, -6px); }

.bubbly-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bubbly-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(132, 204, 22, 0.08);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.bubbly-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(55, 48, 163, 0.15);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}

.bubbly-hero h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 1rem;
  position: relative;
}

.bubbly-hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.bubble-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--lime);
  color: var(--bg);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

.bubble-btn:hover {
  background: var(--lime-bright);
  box-shadow: 0 6px 25px rgba(132, 204, 22, 0.4);
  color: var(--bg);
}

.pill-notices {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
}

.pn-item {
  background: var(--card-bg);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pn-item .pn-ico { font-size: 1.1rem; }

.game-bubble {
  padding: 4rem 2rem;
  text-align: center;
}

.game-bubble h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2rem;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.game-round {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--indigo);
  background: #000;
  box-shadow: 0 0 50px rgba(55, 48, 163, 0.3);
}

.game-round iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.round-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.rcard {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(132, 204, 22, 0.1);
}

.rcard:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
}

.rcard .rc-ico { font-size: 2.5rem; margin-bottom: 0.7rem; }

.rcard h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.rcard p { font-size: 0.92rem; color: var(--text-dim); }

.story-bubble {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.story-bubble h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.8rem;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.story-bubble p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.txt-body {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.txt-body h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.3rem;
  color: var(--lime);
  text-align: center;
  margin-bottom: 2.5rem;
}

.txt-body h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.25rem;
  color: var(--lime);
  margin: 2rem 0 0.7rem;
}

.txt-body p, .txt-body li {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.txt-body ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }

.play-bubble {
  padding: 3rem 2rem;
  text-align: center;
}

.play-bubble h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.3rem;
  color: var(--lime);
  margin-bottom: 1rem;
}

.play-bubble > p {
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.foot-zone {
  background: var(--indigo-deep);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 4rem;
  border-radius: 24px 24px 0 0;
}

.fz-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.fz-links a { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }
.fz-links a:hover { color: var(--lime); }

.fz-rg {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(132, 204, 22, 0.1);
}

.fz-rg p { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.4rem; }
.fz-rg a { margin: 0 0.5rem; font-size: 0.78rem; }

.fz-copy { margin-top: 1rem; font-size: 0.7rem; color: var(--text-dim); opacity: 0.5; }

.age-veil {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-bubble-box {
  background: var(--card-bg);
  border: 2px solid var(--lime);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 430px;
  width: 90%;
}

.age-bubble-box h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--lime);
  margin-bottom: 1rem;
}

.age-bubble-box p { color: var(--text-dim); margin-bottom: 1.5rem; }

.age-pair {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-pair button {
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid var(--lime);
  transition: 0.3s;
}

.ap-ok { background: var(--lime); color: var(--bg); }
.ap-ok:hover { background: var(--lime-bright); }
.ap-nope { background: transparent; color: var(--lime); }
.ap-nope:hover { background: rgba(132, 204, 22, 0.1); }

@media (max-width: 768px) {
  .hb-burger { display: block; }

  .hb-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--indigo-deep);
    flex-direction: column;
    padding: 1.2rem 2rem;
    gap: 0.8rem;
    border-radius: 0 0 20px 20px;
    border-bottom: 3px solid var(--lime);
  }

  .hb-menu.open { display: flex; }

  .bubbly-hero h1 { font-size: 2rem; }

  .round-cards { grid-template-columns: 1fr; }

  .game-round iframe { height: 380px; }

  .fz-links { flex-direction: column; gap: 0.4rem; }
}
