/* ─────────────────────────────────────────────
   NDB – No Deposit Bonus Casino
   Palette: Indigo Noir × Electric Magenta × Ice
   Fonts:  Syne (display) + Mulish (body)
───────────────────────────────────────────── */

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

/* ── TOKENS ── */
:root {
  --bg:        #07090f;
  --surface:   #0d1120;
  --card:      #111827;
  --card-hi:   #16203a;
  --border:    #1a2440;
  --border-hi: #2a3a62;

  --primary:     #4f6ef7;
  --primary-dim: #3a56d4;
  --primary-glow: rgba(79,110,247,.28);

  --magenta:     #e879f9;
  --magenta-dim: #c756dc;
  --magenta-glow: rgba(232,121,249,.22);

  --ice:    #a5f3fc;
  --ice-dim: #67d9ec;

  --text:   #e2e8f4;
  --muted:  #7a8db5;
  --white:  #f8fafc;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow: 0 4px 32px rgba(0,0,0,.6);
  --shadow-card: 0 2px 16px rgba(0,0,0,.45);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(79,110,247,.07) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 85% 75%, rgba(232,121,249,.06) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M60 0L0 0 0 60' fill='none' stroke='%231a2440' stroke-width='.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.page-wrap { position: relative; z-index: 1; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(7,9,15,.72);
  border-bottom: 1px solid var(--border);
}
.site-header .logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-spacer { flex: 1; }
.header-cta {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--bg);
  background: var(--primary);
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.header-cta:hover { background: var(--primary-dim); transform: translateY(-1px); }

/* ── WRAPPER ── */
.wrapper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

/* ── HERO SECTION ── */
.hero-section {
  width: 100%;
  background: linear-gradient(160deg, rgba(79,110,247,.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 40px 52px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(232,121,249,.1);
  border: 1px solid rgba(232,121,249,.25);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 18px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}
.meta-chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.hero-lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img,
.hero-image-wrap svg { width: 100%; height: auto; display: block; }

/* ── AUTHOR BAR ── */
.author-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 40px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.author-info small { color: var(--muted); font-size: 12.5px; }

/* ── HEADINGS ── */
h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 52px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.3em;
  background: linear-gradient(180deg, var(--primary), var(--magenta));
  border-radius: 2px;
  flex-shrink: 0;
}
h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ice);
  margin: 28px 0 8px;
}
p { margin-bottom: 16px; line-height: 1.8; }

/* ── CASINO TABLE ── */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.casino-table-wrap { overflow-x: visible; margin: 20px 0 32px; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--card); }
thead th {
  background: var(--surface);
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 11px 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(79,110,247,.05); }

.rank-num {
  width: 28px;
  height: 28px;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
tbody tr:nth-child(1) .rank-num { background: var(--primary-glow); border-color: var(--primary); color: var(--primary); }
tbody tr:nth-child(2) .rank-num { background: rgba(232,121,249,.12); border-color: var(--magenta); color: var(--magenta); }
tbody tr:nth-child(3) .rank-num { background: rgba(165,243,252,.1); border-color: var(--ice); color: var(--ice); }

.casino-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; color: var(--white); }
.bonus-val { color: var(--text); font-size: 13px; }
.nd-tag { font-size: 11px; font-weight: 700; color: var(--ice); }

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-curacao { background: rgba(79,110,247,.15); color: var(--primary); border: 1px solid rgba(79,110,247,.3); }
.badge-mga     { background: rgba(165,243,252,.1); color: var(--ice);    border: 1px solid rgba(165,243,252,.25); }

.claim-btn {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), var(--magenta-dim));
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 30px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.claim-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ── LISTS ── */
ul, ol { margin: 12px 0 18px 0; padding-left: 0; list-style: none; }
ul li, ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
ol { counter-reset: li; }
ol li { counter-increment: li; }
ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: 'Syne', sans-serif;
  top: .25em;
}

/* ── HOW-TO BOX ── */
.howto {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.howto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--magenta));
}
.howto-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.howto-steps { list-style: none !important; padding: 0 !important; counter-reset: none; }
.howto-steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-left: 0 !important;
}
.howto-steps li::before { display: none !important; }
.step-num {
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--magenta-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.step-body strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.step-body span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── INFO BOX ── */
.info-box {
  display: flex;
  gap: 14px;
  background: rgba(79,110,247,.07);
  border: 1px solid rgba(79,110,247,.22);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.65;
}
.info-box .ib-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-box strong { color: var(--primary); }

/* ── METHOD GRID ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color .2s, transform .2s;
}
.method-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.method-card .mc-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
.method-card strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.method-card span { font-size: 13px; color: var(--muted); }

/* ── EXAMPLE BOX ── */
.example {
  background: var(--surface);
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.65;
}
.example strong { color: var(--ice); }

/* ── RG WARNING ── */
.rg-warning {
  background: rgba(232,121,249,.06);
  border: 1px solid rgba(232,121,249,.28);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.rg-warning::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--primary));
}
.rg-head {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rg-warning p { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.rg-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rg-links a {
  background: rgba(232,121,249,.1);
  color: var(--magenta);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(232,121,249,.25);
  transition: background .2s;
}
.rg-links a:hover { background: rgba(232,121,249,.18); }

/* ── INLINE IMAGE BLOCKS ── */
.article-image {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-image img,
.article-image svg { width: 100%; height: auto; display: block; }
.article-image figcaption {
  background: var(--surface);
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ── BONUS TYPE CARDS ── */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.bonus-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.bonus-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
}
.bonus-card:nth-child(1)::after { background: var(--primary); }
.bonus-card:nth-child(2)::after { background: var(--magenta); }
.bonus-card:nth-child(3)::after { background: var(--ice); }
.bc-icon { font-size: 28px; margin-bottom: 10px; }
.bc-title {
  font-family: 'Syne', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.bc-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── LINKS ── */
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--ice); }

/* ── WIDE WRAPPER (hero inner + footer) ── */
.wrapper-wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
footer strong { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.age-badge {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ── RESPONSIVE ── */

/* ── HEADER NAV LINK (right corner, always visible) ── */
.header-nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--primary);
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.header-nav-link:hover {
  color: var(--white);
  background: rgba(79,110,247,.10);
  text-decoration: none;
}
.header-nav-link.active {
  color: var(--primary);
  background: var(--primary-glow);
}

/* ── HERO CTA ── */
.hero-cta {
  display: inline-block;
  margin-top: 22px;
}

/* ── SITE NAV ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
}
.site-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 20px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--white);
  background: rgba(79,110,247,.10);
  text-decoration: none;
}
.site-nav a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

@media (max-width: 900px) {
  .site-nav { display: none; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 18px 32px; }
  .hero-image-wrap { display: none; }
  .bonus-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }


  /* tables that aren't the main casino list get scroll on mobile */
  .casino-table-wrap {
    overflow-x: auto;
  }

  /* ── MOBILE CASINO CARDS ── */
  /* Only transform the first table (main casino list) */
  #casino-list .casino-table-wrap:first-of-type {
    border: none;
    background: none;
  }
  #casino-list .casino-table-wrap:first-of-type table,
  #casino-list .casino-table-wrap:first-of-type thead,
  #casino-list .casino-table-wrap:first-of-type tbody,
  #casino-list .casino-table-wrap:first-of-type tr,
  #casino-list .casino-table-wrap:first-of-type td {
    display: block;
    width: 100%;
  }
  #casino-list .casino-table-wrap:first-of-type thead {
    display: none;
  }
  #casino-list .casino-table-wrap:first-of-type tbody tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
  }
  #casino-list .casino-table-wrap:first-of-type tbody tr::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--magenta));
  }
  #casino-list .casino-table-wrap:first-of-type tbody tr:nth-child(2)::before {
    background: linear-gradient(90deg, var(--magenta), var(--ice));
  }
  #casino-list .casino-table-wrap:first-of-type tbody tr:nth-child(3)::before {
    background: linear-gradient(90deg, var(--ice), var(--primary));
  }

  /* Rank + Casino name — top row of card */
  #casino-list .casino-table-wrap:first-of-type td[data-label="#"] {
    display: inline-block;
    width: auto;
    padding: 0;
    border: none;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 10px;
  }
  #casino-list .casino-table-wrap:first-of-type td[data-label="Casino"] {
    display: inline-block;
    width: auto;
    padding: 0;
    border: none;
    vertical-align: middle;
    margin-bottom: 10px;
    font-size: 16px;
  }

  /* Welcome bonus — full row with label */
  #casino-list .casino-table-wrap:first-of-type td[data-label="Welcome Bonus"],
  #casino-list .casino-table-wrap:first-of-type td[data-label="No Deposit"],
  #casino-list .casino-table-wrap:first-of-type td[data-label="Licence"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
  }
  #casino-list .casino-table-wrap:first-of-type td[data-label="Welcome Bonus"]::before,
  #casino-list .casino-table-wrap:first-of-type td[data-label="No Deposit"]::before,
  #casino-list .casino-table-wrap:first-of-type td[data-label="Licence"]::before {
    content: attr(data-label);
    font-family: 'Syne', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
    margin-right: 12px;
  }

  /* Claim button — full width at bottom */
  #casino-list .casino-table-wrap:first-of-type td[data-label="Claim"] {
    padding: 12px 0 0;
    border: none;
  }
  #casino-list .casino-table-wrap:first-of-type td[data-label="Claim"] .claim-btn {
    display: block;
    text-align: center;
    padding: 11px;
    font-size: 14px;
    border-radius: var(--radius);
  }
}
@media (max-width: 480px) {
  .wrapper { padding: 0 14px 60px; }
  .method-grid { grid-template-columns: 1fr; }
}
