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

body {
  background: linear-gradient(160deg, #dbeafe, #eff6ff);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #555;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
}

h1 { font-size: 3rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.btn {
  background: #1d4ed8;
  color: #fff;
  border-radius: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-block { width: 100%; padding: 12px; }
.btn-secondary { background: #94a3b8; }
.btn-primary { background: #1d4ed8; }
.btn-outline { background: transparent; color: #1d4ed8; border: 2px solid #1d4ed8; padding: 8px 22px; }
.btn-outline:hover { background: #1d4ed8; color: #fff; opacity: 1; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.game-modal {
  position: fixed; inset: 0; background: rgba(7, 12, 30, 0.92);
  z-index: 9999; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.game-modal.open { display: flex; }
.game-modal-inner {
  position: relative; width: min(100%, 480px); height: min(90vh, 860px);
  background: #0b1564; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.game-modal-inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.game-modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff; border: 0;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.game-modal-close:hover { background: rgba(0,0,0,0.8); }
@media (min-width: 720px) {
  .game-modal-inner { width: min(96vw, 520px); height: min(92vh, 900px); }
}

.disclaimer-banner {
  text-align: center;
  font-size: 13px;
  color: #444;
  padding: 10px 20px;
}

.cookie-banner {
  font-size: 14px;
  padding: 12px 0;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; }
.cookie-banner.hidden { display: none; }

.site-header { padding: 16px 0; background: transparent; }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  color: #0a0a0a;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  color: #0a0a0a;
}
.nav-links a:hover { color: #1d4ed8; text-decoration: none; }

.hero { padding: 64px 0; }
.hero-content { max-width: 60%; text-align: left; }

.section { padding: 64px 0; }
.section-sub { color: #999; margin-bottom: 24px; }

.about-wrap { max-width: 800px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.card-a { border-left: 4px solid #1d4ed8; }
.card-b { border-left: 4px solid #0ea5e9; }
.card-c { border-left: 4px solid #6366f1; }
.card-d { border-left: 4px solid #14b8a6; }

.contact-info { text-align: center; margin-bottom: 24px; }
.contact-info p { margin-bottom: 4px; }

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.contact-card h2 { margin-bottom: 6px; }

.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}
.form-row input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-row input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px #1d4ed820;
}
.form-consent { margin: 6px 0 14px; font-size: 13px; color: #555; }
.form-consent label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.4; }
.form-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.form-consent a { color: #1d4ed8; text-decoration: underline; }

.form-success {
  display: none;
  margin-top: 14px;
  padding: 10px;
  background: rgba(29,78,216,0.08);
  color: #1d4ed8;
  border-radius: 6px;
  text-align: center;
}
.form-success.show { display: block; }

.site-footer {
  text-align: center;
  color: #999;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer p { margin-bottom: 6px; }
.footer-links a { color: #1d4ed8; margin: 0 4px; }
.footer-muted { color: #999; margin-top: 10px; }

/* Legal pages */
.legal-page { padding: 48px 0 64px; }
.legal-page .content { max-width: 800px; }
.legal-page h2 { margin-top: 28px; }
.legal-page h3 { margin-top: 20px; }
.legal-page ul { margin: 10px 0 14px 22px; }
.legal-page li { margin-bottom: 6px; }

/* Age modal */
.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.age-modal.show { display: flex; }
.age-modal-inner {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.age-modal-inner h3 { margin-bottom: 10px; }
.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero-content { max-width: 100%; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .contact-card { padding: 24px; }
  .section, .hero { padding: 48px 0; }
  .cookie-inner { justify-content: flex-start; }
}
