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

:root {
  --bg-deep: #0a0e1a;
  --bg-card: #111827;
  --neon-cyan: #00f5d4;
  --neon-purple: #b537f2;
  --coral-pink: #ff6b6b;
  --glow-green: #39ff14;
  --text-primary: #e8eaed;
  --text-secondary: #9ca3af;
  --border: #1e293b;
  --bg-card-hover: #1a2332;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 20px rgba(0, 245, 212, 0.15);
  --shadow-glow-hover: 0 0 30px rgba(0, 245, 212, 0.3);
  --shadow-purple: 0 0 20px rgba(181, 55, 242, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--neon-purple); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Top Banner --- */
.top-banner {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  color: var(--bg-deep);
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
}

/* --- Header --- */
.site-header {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo .reef-icon {
  width: 32px;
  height: 32px;
}

.logo span.accent { color: var(--neon-cyan); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active { color: var(--neon-cyan); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0, 245, 212, 0.08), transparent),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(181, 55, 242, 0.08), transparent),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(255, 107, 107, 0.05), transparent);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero h1 .glow {
  color: var(--neon-cyan);
  text-shadow: 0 0 30px rgba(0, 245, 212, 0.4);
}

.hero p.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), #00c4a7);
  color: var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
  color: var(--bg-deep);
  box-shadow: 0 0 35px rgba(0, 245, 212, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 245, 212, 0.1);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--neon-purple), #9025d0);
  color: #fff;
  box-shadow: 0 0 20px rgba(181, 55, 242, 0.3);
}

.btn-purple:hover {
  color: #fff;
  box-shadow: 0 0 35px rgba(181, 55, 242, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* --- Sections --- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(17, 24, 39, 0.5);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* --- Game Cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.game-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-6px);
}

.game-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.game-card-thumb.reef-spin { background: linear-gradient(135deg, #0d1b3e, #132a5e); }
.game-card-thumb.deep-sea-wheel { background: linear-gradient(135deg, #1a0a2e, #2d1152); }
.game-card-thumb.coral-cards { background: linear-gradient(135deg, #1a0e0e, #3a1c1c); }
.game-card-thumb.pearl-dive { background: linear-gradient(135deg, #0a1a1a, #0d2d2d); }
.game-card-thumb.tide-rush { background: linear-gradient(135deg, #0a1a0e, #0d2d15); }

.game-card-body {
  padding: 1.25rem;
}

.game-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.game-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-tag.slots { background: rgba(0, 245, 212, 0.15); color: var(--neon-cyan); }
.game-tag.wheel { background: rgba(181, 55, 242, 0.15); color: var(--neon-purple); }
.game-tag.cards { background: rgba(255, 107, 107, 0.15); color: var(--coral-pink); }
.game-tag.scratch { background: rgba(57, 255, 20, 0.15); color: var(--glow-green); }
.game-tag.arcade { background: rgba(0, 245, 212, 0.15); color: var(--neon-cyan); }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1.25rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: var(--bg-deep);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(181, 55, 242, 0.3);
  box-shadow: var(--shadow-purple);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* --- Categories --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.category-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  box-shadow: var(--shadow-glow);
}

.category-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* --- Trust Section --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 140px;
  transition: all var(--transition);
}

.trust-badge:hover { border-color: rgba(0, 245, 212, 0.3); }
.trust-badge .badge-icon { font-size: 1.8rem; }
.trust-badge span { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); text-align: center; }

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: rgba(0, 245, 212, 0.2); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  background: var(--bg-card);
}

.faq-item.open .faq-answer { display: block; }

/* --- Content Page --- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.6) 0%, transparent 100%);
}

.page-hero h1 { margin-bottom: 0.75rem; }

.page-hero p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.content-page {
  padding: 3rem 0 4rem;
}

.content-page .container {
  max-width: 820px;
}

.content-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
  font-size: 1.5rem;
}

.content-page h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.content-page p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.content-page ul, .content-page ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.content-page li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-page strong { color: var(--text-primary); }

.content-page a { border-bottom: 1px solid rgba(0, 245, 212, 0.3); }
.content-page a:hover { border-bottom-color: var(--neon-cyan); }

.last-updated {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* --- Contact Form --- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* --- Help Resources Box --- */
.help-box {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(181, 55, 242, 0.08));
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}

.help-box h3 {
  color: var(--coral-pink);
  margin-bottom: 1rem;
}

.help-box p, .help-box li {
  color: var(--text-secondary);
}

/* --- Self Assessment --- */
.assessment-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
}

.assessment-question {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.assessment-question:last-child { border-bottom: none; }

.assessment-question p {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: var(--neon-cyan);
}

/* --- Game Page --- */
.game-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
  text-align: center;
}

.game-notice {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--coral-pink);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.game-score {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.game-area {
  position: relative;
  margin: 1.5rem auto;
  max-width: 500px;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a, .footer-col p {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.footer-col a:hover { color: var(--neon-cyan); }

.footer-help {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.footer-help h4 {
  color: var(--coral-pink);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-help p, .footer-help a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-cyan { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }
.text-pink { color: var(--coral-pink); }
.text-green { color: var(--glow-green); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Wave decoration --- */
.wave-divider {
  height: 60px;
  overflow: hidden;
  position: relative;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* --- Responsive adjustments --- */
@media (max-width: 640px) {
  .section { padding: 2.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-badges { flex-direction: column; align-items: center; }
  .game-container { padding: 1.25rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Neon glow animations --- */
@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }

/* --- Game-specific reusable styles --- */
.reel-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.reel {
  width: 90px;
  height: 90px;
  background: var(--bg-deep);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.3s;
}

.reel.highlight {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

.wheel-canvas {
  max-width: 320px;
  margin: 0 auto;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 400px;
  margin: 1rem auto;
}

.memory-card {
  aspect-ratio: 1;
  background: var(--bg-deep);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}

.memory-card:hover { border-color: var(--neon-purple); }
.memory-card.flipped { background: rgba(0, 245, 212, 0.1); border-color: var(--neon-cyan); }
.memory-card.matched { background: rgba(57, 255, 20, 0.1); border-color: var(--glow-green); }

.scratch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 360px;
  margin: 1rem auto;
}

.scratch-cell {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  color: transparent;
  font-weight: 700;
  user-select: none;
}

.scratch-cell.revealed {
  background: var(--bg-deep);
  border: 2px solid var(--border);
  color: var(--text-primary);
}

.arcade-area {
  width: 100%;
  max-width: 400px;
  height: 450px;
  background: var(--bg-deep);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
  touch-action: none;
}

.arcade-catcher {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 8px 8px 0 0;
  position: absolute;
  bottom: 10px;
  transition: left 0.05s linear;
}

.arcade-item {
  position: absolute;
  font-size: 1.5rem;
  transition: none;
}

/* --- Notification bar (entertainment only) --- */
.entertainment-strip {
  background: rgba(17, 24, 39, 0.8);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.entertainment-strip strong { color: var(--coral-pink); }

/* --- Print --- */
@media print {
  .site-header, .top-banner, .entertainment-strip, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 1rem 0; }
}
