@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Cabin:wght@400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --charcoal: #2c2c30;
  --charcoal-light: #3a3a40;
  --charcoal-dark: #1e1e22;
  --cyan: #00bcd4;
  --cyan-light: #4dd0e1;
  --cyan-pale: #b2ebf2;
  --bg: #1a1a1e;
  --text-white: #eef2f4;
  --text-gray: #9ca8b0;
  --text-dim: #6a7680;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Cabin', sans-serif; color: var(--text-white); background: var(--bg); line-height: 1.75; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; }

/* HEADER */
.main-header { background: var(--charcoal); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.3); }
.header-flex { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 2rem; }
.xlogo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.xlogo-x { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--cyan); }
.xlogo-name { font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--text-white); }
.menu { display: flex; gap: 1.5rem; list-style: none; }
.menu a { color: var(--text-gray); text-decoration: none; font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.menu a:hover, .menu a.sel { color: var(--cyan); }
.mob-menu { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mob-menu span { width: 26px; height: 2.5px; background: var(--cyan); border-radius: 2px; }

/* HERO - OFFSET TEXT LEFT */
.opener { display: flex; align-items: center; min-height: 75vh; padding: 4rem 2rem; background: linear-gradient(120deg, var(--charcoal-dark) 0%, var(--charcoal) 50%, rgba(0,188,212,0.08) 100%); }
.opener-inner { max-width: 1400px; margin: 0 auto; width: 100%; }
.opener h1 { font-size: 3.2rem; color: var(--cyan-pale); margin-bottom: 1rem; max-width: 700px; }
.opener p { font-size: 1.1rem; color: var(--text-gray); max-width: 600px; margin-bottom: 2rem; }
.opener-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.obadge { background: rgba(0,188,212,0.1); border: 1px solid rgba(0,188,212,0.35); color: var(--cyan-light); padding: 0.45rem 1.1rem; font-weight: 600; font-size: 0.82rem; border-radius: 50px; font-family: 'Quicksand', sans-serif; }

/* SECTIONS */
.area { padding: 4.5rem 2rem; }
.area-wrap { max-width: 1400px; margin: 0 auto; }
.area h2 { font-size: 2rem; color: var(--cyan-pale); margin-bottom: 0.5rem; }
.area .desc { color: var(--text-dim); margin-bottom: 2.5rem; }
.area-dark { background: var(--charcoal-dark); }

/* ICON LIST */
.icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.icon-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.icon-item .ii { flex-shrink: 0; width: 48px; height: 48px; background: rgba(0,188,212,0.1); border: 1px solid rgba(0,188,212,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.icon-item h3 { font-size: 1.05rem; color: var(--cyan-light); margin-bottom: 0.3rem; }
.icon-item p { color: var(--text-gray); font-size: 0.9rem; }

/* GAME */
.game-block { padding: 4rem 2rem; background: var(--charcoal); text-align: center; }
.game-block h2 { color: var(--cyan-pale); font-size: 2rem; margin-bottom: 0.5rem; }
.game-block .gd { color: var(--text-dim); margin-bottom: 2rem; }
.game-frame { max-width: 920px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 2px solid var(--cyan); box-shadow: 0 0 40px rgba(0,188,212,0.15); }
.game-frame iframe { width: 100%; height: 600px; border: none; display: block; }

/* CTA BAND */
.cta-band { background: linear-gradient(90deg, var(--cyan), #0097a7); padding: 2.5rem 2rem; text-align: center; }
.cta-band h2 { color: var(--charcoal-dark); font-size: 1.6rem; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(0,0,0,0.6); max-width: 500px; margin: 0 auto; }

/* CONTENT */
.txt-page { padding: 3rem 2rem; min-height: 60vh; }
.txt-inner { max-width: 860px; margin: 0 auto; }
.txt-page h1 { font-size: 2.5rem; color: var(--cyan-pale); margin-bottom: 1.5rem; padding-top: 1rem; }
.txt-page h2 { font-size: 1.3rem; color: var(--cyan); margin: 2rem 0 0.8rem; }
.txt-page p, .txt-page li { color: var(--text-gray); margin-bottom: 1rem; }
.txt-page ul { padding-left: 1.5rem; }

/* PLAY */
.play-top { text-align: center; padding: 3rem 2rem 1rem; }
.play-top h1 { font-size: 2.5rem; color: var(--cyan-pale); }
.play-top p { color: var(--text-dim); max-width: 620px; margin: 1rem auto 0; }

/* FOOTER */
.ftr { background: var(--charcoal-dark); padding: 2rem; border-top: 1px solid rgba(0,188,212,0.15); }
.ftr-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.ftr-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ftr-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.ftr-links a:hover { color: var(--cyan-light); }
.ftr-copy { color: var(--text-dim); font-size: 0.8rem; }

/* AGE */
.age-lock { position: fixed; inset: 0; background: rgba(26,26,30,0.97); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-lock.hidden { display: none; }
.age-content { background: var(--charcoal); border: 2px solid var(--cyan); border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 420px; width: 90%; }
.age-content h2 { color: var(--cyan-pale); margin-bottom: 0.8rem; font-size: 1.7rem; }
.age-content p { color: var(--text-gray); margin-bottom: 1.8rem; }
.age-pair { display: flex; gap: 1rem; justify-content: center; }
.age-b { padding: 0.7rem 2rem; border-radius: 50px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: 0.3s; }
.age-b.enter { background: var(--cyan); color: var(--charcoal-dark); }
.age-b.enter:hover { background: var(--cyan-light); }
.age-b.leave { background: transparent; border: 2px solid var(--cyan); color: var(--cyan); }
.age-b.leave:hover { background: rgba(0,188,212,0.1); }

@media (max-width: 768px) {
  .mob-menu { display: flex; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--charcoal); flex-direction: column; padding: 1.5rem 2rem; gap: 0.8rem; }
  .menu.open { display: flex; }
  .opener h1 { font-size: 2.2rem; }
  .opener { min-height: auto; padding: 3rem 1.5rem; }
  .icon-list { grid-template-columns: 1fr; }
  .game-frame iframe { height: 400px; }
}
