/* ============================================================
   LIKECASINO — STYLESHEET
   Mobile-first, system fonts only, no external assets
   ============================================================ */

/* ── Custom properties ────────────────────────────────────── */
:root {
  --base:    #241B4B;
  --deep:    #150F2E;
  --accent:  #F5D547;
  --accent2: #7B6CF6;
  --surface: #F5F4FA;
  --ink:     #181233;
  --muted:   #615A83;

  --radius:  14px;
  --container: 1040px;

  --font-head: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

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

/* ── Focus styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--base);
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  margin-top: 1.4rem;
  color: var(--accent2);
}

h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--surface);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--accent);
}

strong {
  font-weight: 700;
  color: var(--base);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--base);
  border-bottom: 2px solid var(--deep);
  box-shadow: 0 2px 12px rgba(21, 15, 46, 0.45);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 60px;
  padding-block: 0.55rem;
}

/* Logo wordmark */
.logo {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  color: var(--surface);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

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

.logo:hover {
  color: var(--surface);
  opacity: 0.88;
}

/* Nav */
.site-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.05rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245, 244, 250, 0.82);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(245, 213, 71, 0.15);
  color: var(--accent);
}

.site-nav a.active {
  background: var(--accent);
  color: var(--deep);
}

.site-nav a.active:hover {
  background: #e8c930;
  color: var(--deep);
}

/* ── BONUS BANNER ─────────────────────────────────────────── */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 55%, #2e2060 100%);
  color: var(--surface);
  text-align: center;
  padding: 2.5rem 1rem;
  border-bottom: 3px solid var(--accent);
}

.bonus-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bonus-banner .eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin: 0;
}

.bonus-banner .offer {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.bonus-banner > .container > p:not(.eyebrow):not(.fine) {
  color: rgba(245, 244, 250, 0.88);
  max-width: 540px;
  font-size: 1rem;
  margin: 0;
}

.bonus-banner .fine {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ── BUTTON ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 2.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.13s ease, box-shadow 0.18s ease;
  box-shadow: 0 3px 14px rgba(245, 213, 71, 0.38);
  letter-spacing: 0.01em;
}

.btn:hover {
  background: #e8c930;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(245, 213, 71, 0.48);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 213, 71, 0.28);
}

.btn:focus-visible {
  outline: 3px solid var(--surface);
  outline-offset: 3px;
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
main {
  padding-block: 2.5rem 3rem;
}

.intro-section {
  margin-bottom: 2rem;
}

.section {
  margin-bottom: 2.5rem;
}

article {
  max-width: 100%;
}

article h1 {
  margin-top: 0.5rem;
}

article h2:first-child {
  margin-top: 0.5rem;
}

/* ── TABLES ───────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  margin-block: 1.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 380px;
}

table thead tr {
  background: var(--base);
  color: var(--surface);
}

table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--surface);
  white-space: nowrap;
}

table tbody tr:nth-child(odd) {
  background: #fff;
}

table tbody tr:nth-child(even) {
  background: var(--surface);
}

table tbody tr:hover {
  background: rgba(123, 108, 246, 0.09);
}

table tbody td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(97, 90, 131, 0.2);
  color: var(--ink);
  vertical-align: top;
}

table tbody tr:last-child td {
  border-bottom: none;
}

/* ── CARDS ────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.card {
  background: #fff;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  transition: border-color 0.18s ease;
}

.card:hover {
  border-color: var(--accent2);
}

.card h3 {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ── FAQ ACCORDION (CSS-only, hidden checkbox) ────────────── */
.faq {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--muted);
}

.faq-item {
  border-bottom: 1px solid rgba(97, 90, 131, 0.3);
  background: #fff;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Hide the checkbox */
.faq-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Label acts as the accordion trigger */
.faq-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--base);
  user-select: none;
  gap: 1rem;
  transition: background 0.18s ease, color 0.18s ease;
  line-height: 1.4;
}

.faq-item label:hover {
  background: var(--surface);
  color: var(--accent2);
}

/* Plus/minus drawn with CSS pseudo-elements */
.faq-item label::after {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
  background:
    /* horizontal bar */
    linear-gradient(var(--accent2), var(--accent2)) center/14px 2px no-repeat,
    /* vertical bar (visible when closed = plus) */
    linear-gradient(var(--accent2), var(--accent2)) center/2px 14px no-repeat;
  border-radius: 50%;
  border: 2px solid var(--accent2);
  transition: background 0.2s ease, transform 0.2s ease;
}

/* When checked: remove vertical bar → minus */
.faq-item input[type="checkbox"]:checked ~ label::after {
  background:
    linear-gradient(var(--accent), var(--accent)) center/14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 0px no-repeat;
  border-color: var(--accent);
  transform: rotate(0deg);
}

.faq-item input[type="checkbox"]:checked ~ label {
  color: var(--accent2);
  background: var(--surface);
}

/* Body: hidden by default */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
  overflow: hidden;
}

.faq-item input[type="checkbox"]:checked ~ .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > * {
  overflow: hidden;
  padding: 0 1.25rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-body > * {
  padding: 0.75rem 1.25rem 1.1rem;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ── LISTS ────────────────────────────────────────────────── */
.check-list,
.num-list {
  margin-block: 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent2);
  font-weight: 700;
  font-size: 1rem;
}

.num-list {
  counter-reset: nl;
}

.num-list li {
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
  counter-increment: nl;
}

.num-list li::before {
  content: counter(nl) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent2);
  font-weight: 700;
}

/* Article generic lists */
article ul:not(.check-list):not(.site-nav),
article ol:not(.num-list) {
  margin-block: 0.75rem 1rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

article ul:not(.check-list):not(.site-nav) li,
article ol:not(.num-list) li {
  font-size: 0.95rem;
  color: var(--ink);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  color: rgba(245, 244, 250, 0.8);
  padding-block: 2.5rem 1.5rem;
  margin-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: var(--surface);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-logo span:first-child {
  color: var(--accent);
}

.age-badge {
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  background: var(--accent2);
  color: #fff;
  border-radius: 5px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.site-footer .footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer ul a {
  color: rgba(245, 244, 250, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.18s ease;
}

.site-footer ul a:hover {
  color: var(--accent);
}

.site-footer p {
  color: rgba(245, 244, 250, 0.7);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.warning-text {
  font-size: 0.8rem !important;
  color: rgba(97, 90, 131, 0.9) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(97, 90, 131, 0.4);
  padding-top: 1.25rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(245, 244, 250, 0.55);
  margin-bottom: 0;
}

/* ── 640px BREAKPOINT ─────────────────────────────────────── */
@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .bonus-banner {
    padding: 3rem 1.5rem;
  }

  .bonus-banner .offer {
    font-size: 2.1rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .site-header .container {
    min-height: 64px;
  }

  .site-nav a {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
  }

  table {
    min-width: auto;
  }
}

/* ── 1024px BREAKPOINT ────────────────────────────────────── */
@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .site-header .container {
    flex-wrap: nowrap;
    min-height: 68px;
    padding-block: 0.5rem;
  }

  .logo {
    font-size: 1.55rem;
  }

  .site-nav {
    gap: 0.15rem 0.1rem;
  }

  .site-nav a {
    font-size: 0.88rem;
    padding: 0.38rem 0.75rem;
  }

  .bonus-banner {
    padding: 3.5rem 2rem;
  }

  .bonus-banner .offer {
    font-size: 2.4rem;
  }

  main {
    padding-block: 3rem 4rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }

  .faq-item label {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .faq-body > * {
    padding: 0 1.5rem;
  }

  .faq-item input[type="checkbox"]:checked ~ .faq-body > * {
    padding: 0.85rem 1.5rem 1.25rem;
  }
}