/* Betwiga SEO Pages – Shared Stylesheet
   Lightweight, no external dependencies, no JavaScript required.
   Designed for fast loading and SSR rendering by a Go backend.
   ---------------------------------------------------------------- */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: #080e1a;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #f8fafc;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.4rem; }
h3 { font-size: clamp(1rem, 2.5vw, 1.15rem); margin-bottom: 0.3rem; }

p  { color: #cbd5e1; margin-bottom: 0.75rem; }
a  { color: #60a5fa; text-decoration: none; }
a:hover { color: #93c5fd; text-decoration: underline; }

ul, ol { padding-left: 1.25rem; color: #cbd5e1; margin-bottom: 0.75rem; }
li     { margin-bottom: 0.35rem; }

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

main { flex: 1; padding-block: 2.5rem 4rem; }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  background-color: #0d1526;
  border-bottom: 1px solid #1e2d4a;
  padding-block: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span { color: #3b82f6; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #3b82f6;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.back-btn:hover { background-color: #2563eb; color: #fff; text-decoration: none; }

/* ── Page hero ────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d1526 0%, #0f2040 100%);
  border-bottom: 1px solid #1e2d4a;
  padding-block: 2.5rem;
  margin-bottom: 2rem;
}

.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p  { color: #94a3b8; font-size: 1rem; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #94a3b8; }
.breadcrumb-sep { color: #334155; }

/* ── Cards / sections ─────────────────────────────────────────── */
.card {
  background-color: #0d1526;
  border: 1px solid #1e2d4a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h2, .card h3 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e2d4a;
  margin-bottom: 0.75rem;
  color: #f0f6ff;
}

.info-box {
  background-color: #0c1f3d;
  border: 1px solid #1e3a5f;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  margin-top: 0.75rem;
  color: #93c5fd;
  font-size: 0.875rem;
}

.info-box.yellow { background-color: #1a1500; border-color: #78350f; color: #fcd34d; }
.info-box.red    { background-color: #1a0505; border-color: #7f1d1d; color: #fca5a5; }
.info-box.green  { background-color: #051a0c; border-color: #14532d; color: #86efac; }

/* ── Data table (key-value rows) ──────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; margin-block: 0.75rem; }
.data-table td { padding: 0.55rem 0.5rem; border-bottom: 1px solid #1e2d4a; font-size: 0.875rem; }
.data-table td:first-child { color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; width: 40%; }
.data-table td:last-child  { color: #e2e8f0; }
.data-table tr:last-child td { border-bottom: none; }

/* ── Contact cards ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.contact-card {
  background-color: #0d1526;
  border: 1px solid #1e2d4a;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.15s;
}

.contact-card:hover { border-color: #3b82f6; }
.contact-card .dept { font-size: 0.7rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.contact-card a { font-size: 0.875rem; color: #60a5fa; font-weight: 500; }

/* ── Responsible gaming tools grid ───────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tool-card {
  background-color: #0d1526;
  border: 1px solid #1e2d4a;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}

.tool-card h3 { font-size: 0.875rem; margin-bottom: 0.25rem; color: #60a5fa; border: none; padding: 0; }
.tool-card p  { font-size: 0.8rem; color: #94a3b8; margin: 0; }

/* ── Highlight text ───────────────────────────────────────────── */
.hl { color: #60a5fa; font-weight: 600; }

/* ── Internal nav links ───────────────────────────────────────── */
.nav-section {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.nav-section a {
  font-size: 0.8rem;
  color: #94a3b8;
  padding: 0.3rem 0.7rem;
  border: 1px solid #1e2d4a;
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s;
}

.nav-section a:hover { border-color: #3b82f6; color: #60a5fa; text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background-color: #0d1526;
  border-top: 1px solid #1e2d4a;
  padding-block: 2rem;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.footer-brand .logo { font-size: 1.2rem; display: inline-block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.8rem; color: #475569; margin: 0; max-width: 280px; }

.footer-nav h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; margin-bottom: 0.75rem; }
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a  { font-size: 0.8rem; color: #64748b; }
.footer-nav a:hover { color: #94a3b8; }

.footer-bottom {
  border-top: 1px solid #1e2d4a;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom p  { font-size: 0.75rem; color: #334155; margin: 0; }
.footer-bottom a  { color: #475569; }
.footer-bottom a:hover { color: #64748b; }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid #7f1d1d;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fca5a5;
  flex-shrink: 0;
}

/* ── Utility ──────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: #64748b; font-size: 0.8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header .container { flex-wrap: wrap; }
  .footer-grid { gap: 1.25rem; }
  .data-table td:first-child { width: 45%; }
  .contact-grid { grid-template-columns: 1fr; }
  .tools-grid   { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
