/* ==========
   Base (clean, editorial dark — no weird blobs)
========== */
:root{
  --bg: #0e1117;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.12);

  --shadow: 0 10px 30px rgba(0,0,0,.32);
  --radius: 16px;
  --radius2: 22px;

  --accent: #7c5cff;
  --accent2: #33d6c5;

  --max: 1100px;
}



*{ box-sizing: border-box; }
html,body{ height: 100%; }
/* ===============================
   TABLE OF CONTENTS (TOC)
   =============================== */

.toc{
  margin: 32px 0 40px;
}

.toc-details{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  overflow: hidden;
}

.toc-summary{
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  font-size: 1.1rem;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.toc-summary::-webkit-details-marker{
  display: none;
}

/* Plus / Close icon */
.toc-summary::after{
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  opacity: .85;
}

/* When open, change + to × */
.toc-details[open] .toc-summary::after{
  content: "×";
}

.toc-list{
  display: grid;
  gap: 12px;
  padding: 0 20px 20px;
}

.toc-list a{
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(255,255,255,.9);
}

.toc-list a:hover{
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 520px){
  .toc-summary{
    padding: 16px 18px;
    font-size: 1.05rem;
  }

  .toc-list{
    padding: 0 18px 18px;
  }
}

/* ===== Casino comparison table ===== */
.table-wrap{
  margin-top: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow: auto; /* makes it mobile-friendly */
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow);
}

.casino-table{
  width: 100%;
  min-width: 860px; /* forces horizontal scroll on small screens */
  border-collapse: separate;
  border-spacing: 0;
}

.casino-table th,
.casino-table td{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  vertical-align: middle;
  text-align: left;
}

.casino-table th{
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .02em;
  background: rgba(255,255,255,.03);
  position: sticky;
  top: 0;
  z-index: 1;
}

.casino-table tbody tr:hover{
  background: rgba(255,255,255,.03);
}

.casino-cell{
  display: flex;
  gap: 12px;
  align-items: center;
}

.table-logo{
  width: 120px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}

.casino-meta{ display: grid; gap: 2px; }
.casino-name{ font-weight: 900; }
.casino-note{ font-size: 13px; color: var(--muted2); }

.cta-col{ width: 140px; }

.logo img{
  display: block;
  max-height: 44px;
  width: auto;
}

.play-btn{
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 12px;
}

/* On small screens: reduce padding a bit */
@media (max-width: 520px){
  .casino-table th,
  .casino-table td{ padding: 12px 12px; }
  .cta-col{ width: 130px; }
}


body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position: fixed; left: 16px; top: 16px;
  width:auto; height:auto;
  padding: 10px 12px;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 9999;
}

/* ==========
   Header / Nav
========== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(14,17,23,.78);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: .2px;
}
.logo-mark{
  width: 28px; height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.85);
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(124,92,255,.18);
}

.header-meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.updated-pill{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-nav{
  grid-column: 1 / -1;
  display: none;
  gap: 8px;
  padding: 8px 0 4px;
}
.site-nav.open{ display: flex; flex-wrap: wrap; }

.nav-link{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.nav-link:hover{
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.nav-link.active{
  background: rgba(124,92,255,.16);
  border-color: rgba(124,92,255,.35);
  color: var(--text);
}

.nav-toggle{
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.burger{
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}
.burger::before,.burger::after{
  content:"";
  position:absolute; left:0;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.burger::before{ top: -6px; }
.burger::after{ top: 6px; }

.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;
}

@media (min-width: 860px){
  .header-inner{ grid-template-columns: 1fr auto auto; }
  .site-nav{ grid-column: auto; display: flex; justify-content: flex-end; padding: 0; }
  .nav-toggle{ display: none; }
}

/* ==========
   Layout / Content
========== */
.content{ padding: 22px 0 38px; }

.page-hero{ padding: 10px 0 4px; }

h1{
  margin: 10px 0 6px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lead{
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 72ch;
}

.prose{
  padding: 10px 0 6px;
  max-width: 80ch;
}
.prose p{ margin: 10px 0; }

.section{
  margin: 22px 0;
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.section > h2{
  margin: 0 0 10px;
  font-size: clamp(18px, 2.0vw, 26px);
  letter-spacing: -0.01em;
}
.section h3{
  margin: 0 0 8px;
  font-size: 18px;
}

.muted{ color: var(--muted); }
.small{ font-size: 13px; color: var(--muted2); }

/* ==========
   Author box
========== */
.author-row{ padding-top: 8px; }

.author-box{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  width: fit-content;
}

.avatar{
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(51,214,197,.14));
  border: 1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
}
.avatar svg{
  fill: rgba(255,255,255,.82);
  stroke: rgba(255,255,255,.82);
  stroke-width: 2;
  opacity: .9;
}

.author-name{ font-weight: 780; font-size: 14px; }
.author-dates{
  display:flex; align-items:center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.dot-sep{ color: rgba(255,255,255,.35); }


/* ==========
   Reviews grid + highlight box
========== */
.reviews-grid{
  display: grid;
  gap: 14px;
}
@media (min-width: 860px){
  .reviews-grid{ grid-template-columns: 1fr 1fr; }
}

.review-card{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.review-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124,92,255,.35);
  background: rgba(124,92,255,.14);
  color: rgba(255,255,255,.9);
  font-weight: 780;
}

.highlight-box{
  margin-top: 10px;
  border-radius: 16px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(51,214,197,.30);
  background: rgba(255,255,255,.03);
}

.highlight-box ul{
  margin: 0;
  padding-left: 18px;
}
.highlight-box li{
  margin: 6px 0;
  color: rgba(255,255,255,.88);
}

/* ==========
   Pros/Cons
========== */
.two-col{
  display:grid;
  gap: 14px;
}
@media (min-width: 860px){
  .two-col{ grid-template-columns: 1fr 1fr; }
}

.panel{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.panel-title{
  margin: 0 0 10px;
  font-size: 16px;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

/* ==========
   Payments chips
========== */
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* ==========
   Callout
========== */
.callout{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

/* ==========
   Buttons + forms
========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 780;
  cursor: pointer;
}
.btn.primary{
  border-color: rgba(124,92,255,.42);
  background: rgba(124,92,255,.16);
}
.btn:hover{ text-decoration:none; filter: brightness(1.06); }

.form{
  display:grid;
  gap: 12px;
  max-width: 560px;
}

label span{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.14);
}

/* ==========
   FAQ
========== */
.faq details{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 10px 12px;
  margin: 10px 0;
  box-shadow: var(--shadow);
}

.faq summary{
  cursor: pointer;
  font-weight: 780;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker{ display:none; }

.faq-body{
  color: var(--muted);
  padding: 10px 2px 2px;
}

/* ==========
   Footer
========== */
.site-footer{
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links{
  display:inline-flex;
  gap: 12px;
}
.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); text-decoration: none; }

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}

/* ==========================================================
   Mobile table remake (no horizontal scroll, card layout)
   - Desktop keeps classic table
   - Mobile turns each row into a clean stacked card with a full-width CTA
========================================================== */
@media (max-width: 820px){

  /* Remove forced desktop width that causes side-scroll */
  .casino-table{
    min-width: 0;
  }

  /* Stop wrapper from creating sideways scrolling */
  .table-wrap{
    overflow: visible;
  }

  /* Hide table header on mobile */
  .casino-table thead{
    display: none;
  }

  /* Turn table into blocks */
  .casino-table,
  .casino-table tbody,
  .casino-table tr,
  .casino-table td{
    display: block;
    width: 100%;
  }

  /* Each row becomes a card */
  .casino-table tr{
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px 14px 12px;
    margin: 14px 0;
  }

  /* Remove table borders inside cards */
  .casino-table td{
    border: 0;
    padding: 10px 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Slightly tighter casino cell */
  .casino-cell{
    gap: 10px;
    align-items: center;
  }

  .table-logo{
    width: 84px;
    height: 44px;
    padding: 6px 8px;
    border-radius: 12px;
  }

  /* Labels for each item */
  .casino-table td::before{
    display: block;
    font-size: 12px;
    color: var(--muted2);
    letter-spacing: .02em;
    margin-bottom: 6px;
  }

  /* Column order: Casino | Welcome bonus | Key terms | Play */
  .casino-table td:nth-child(1)::before{ content: "Casino"; }
  .casino-table td:nth-child(2)::before{ content: "Welcome bonus"; }
  .casino-table td:nth-child(3)::before{ content: "Key terms"; }
  .casino-table td:nth-child(4)::before{ content: "Play"; }

  /* CTA block */
  .casino-table td.cta-col{
    width: 100%;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.10);
    text-align: left;
  }

  /* Full-width button, without breaking layout */
  .casino-table td.cta-col .play-btn{
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}

/* Extra-small phones: hide "Key terms" to keep it tidy */
@media (max-width: 420px){
  .casino-table td:nth-child(3){
    display: none;
  }
}
