/* Kasinodata — minimalist tech-fintech theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --snow: #f6f7f9;
  --snow-2: #eef0f3;
  --black: #0d0d10;
  --ink: #1a1a20;
  --ink-2: #2a2a30;
  --ink-3: #6b6b74;
  --ink-4: #9a9aa4;
  --line: #e4e4e8;
  --line-2: #f0f0f2;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #d1fae5;
  --emerald-tint: #ecfdf5;
  --amber: #f59e0b;
  --red: #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--emerald);
  border-radius: 5px;
  display: inline-block;
  position: relative;
}

.brand span {
  color: var(--ink-3);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  transition: color 0.15s;
  position: relative;
  padding: 4px 0;
}

nav a:hover { color: var(--black); }
nav a.active {
  color: var(--emerald-dark);
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: 1px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  padding: 22px 0 0;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--emerald-dark); }
.breadcrumb span { margin: 0 8px; color: var(--ink-4); }

/* Main */
main { padding-bottom: 60px; }

.content { max-width: 780px; margin: 0 auto; }

/* Meta strip */
.meta-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
  align-items: center;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--white);
}

.meta-badge.emerald {
  background: var(--emerald-tint);
  color: var(--emerald-dark);
  border-color: var(--emerald-light);
}

.meta-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.meta-badge:not(.emerald)::before { background: var(--ink-4); }

/* Headings */
h1 {
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 20px;
  letter-spacing: -1.5px;
}

h1 .accent { color: var(--emerald-dark); }
h1 .mono {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--emerald-dark);
  letter-spacing: -1px;
}

h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--black);
  margin: 52px 0 18px;
  letter-spacing: -0.9px;
  scroll-margin-top: 90px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

h2 .num {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0;
  min-width: 30px;
}

h3 {
  font-size: 21px;
  color: var(--black);
  margin: 32px 0 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

p { margin-bottom: 18px; color: var(--ink); }
p a {
  color: var(--emerald-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--emerald-light);
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
p a:hover { color: var(--black); border-bottom-color: var(--emerald-dark); }

strong { color: var(--black); font-weight: 700; }
em { font-style: normal; color: var(--emerald-dark); font-weight: 600; }

ul, ol { margin: 18px 0 22px 0; padding-left: 22px; }
li { margin-bottom: 8px; color: var(--ink); }
li::marker { color: var(--emerald); }

/* Hero */
.hero-figure {
  margin: 30px 0 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--snow);
}

.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-figure figcaption {
  font-size: 13px;
  color: var(--ink-3);
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* Callout box */
.callout {
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-light);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 32px 0;
  position: relative;
}

.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--emerald);
  border-radius: 8px 0 0 8px;
}

.callout .c-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.callout h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--black);
}

.callout p { margin-bottom: 8px; font-size: 15px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--emerald-dark); }

/* Verdict */
.verdict {
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  padding: 32px 34px;
  margin: 36px 0;
}

.verdict .v-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 10px;
}

.verdict h3 {
  color: var(--white);
  margin-top: 0;
  font-size: 21px;
  letter-spacing: -0.5px;
}

.verdict p { color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.verdict p:last-child { margin-bottom: 0; }
.verdict a { color: var(--emerald); border-bottom-color: rgba(16,185,129,0.4); }
.verdict a:hover { color: var(--white); }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald);
}

.stat-card .s-value {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.stat-card .s-label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1.4;
}

/* TOC */
.toc {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 30px;
  margin: 36px 0;
}

.toc-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald-dark);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-title::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--emerald);
}

.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  break-inside: avoid;
  margin-bottom: 9px;
  padding-left: 34px;
  position: relative;
  counter-increment: toc;
  font-size: 14px;
  line-height: 1.4;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  color: var(--emerald);
  font-weight: 700;
  font-size: 12px;
}

.toc a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}

.toc a:hover { color: var(--emerald-dark); }

/* Compare table */
.compare-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 32px 0;
  background: var(--white);
}

.compare-table table { width: 100%; border-collapse: collapse; }

.compare-table th {
  background: var(--snow);
  color: var(--ink-2);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink);
}

.compare-table td:first-child { font-weight: 600; color: var(--black); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td .mono {
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--emerald-dark);
  font-weight: 600;
}

/* Pill row */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* FAQ */
.faq { margin: 52px 0; }

.faq h2 { margin-bottom: 22px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.faq details:hover { border-color: var(--emerald); }

.faq summary {
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  color: var(--black);
  font-size: 16px;
  position: relative;
  list-style: none;
  letter-spacing: -0.2px;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line-2);
}

.faq details p {
  padding: 16px 22px 20px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
  margin: 44px 0 32px;
}

.author-bio img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.author-bio .author-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.author-bio .author-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 3px;
  letter-spacing: -0.4px;
}

.author-bio .author-title {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 8px;
}

.author-bio p { font-size: 14px; margin: 0; color: var(--ink-2); line-height: 1.55; }

/* Responsible gambling box */
.rg-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 40px 0;
  border-left: 3px solid var(--amber);
  font-size: 14px;
  color: var(--ink-2);
}

.rg-box strong { color: var(--black); }
.rg-box a { color: var(--emerald-dark); border-bottom: 1px solid var(--emerald-light); text-decoration: none; }

/* Related */
.related { margin: 52px 0 32px; }
.related h2 { margin-bottom: 22px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.related-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.related-card .label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.related-card .rc-title {
  font-size: 17px;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.related-card p { font-size: 13px; margin: 0; color: var(--ink-3); }

/* Simple page */
.simple-page { max-width: 720px; margin: 0 auto; padding: 20px 0; }

.contact-form {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  margin: 32px 0;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row input, .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-light);
}

.contact-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-form button:hover { background: var(--emerald-dark); }

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 28px;
  margin-top: 60px;
}

.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--emerald); }

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

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--emerald);
  border-radius: 5px;
}

.footer-heading {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer p { font-size: 14px; margin: 0; color: rgba(255,255,255,0.55); line-height: 1.55; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom p { color: inherit; margin-bottom: 5px; font-size: 12px; }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-header .container { flex-direction: column; gap: 14px; align-items: flex-start; padding: 14px 20px; }
  nav { gap: 18px; font-size: 13px; }
  h1 { font-size: 32px; letter-spacing: -1px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .lead { font-size: 17px; }
  .toc ol { columns: 1; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .author-bio { flex-direction: column; text-align: left; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* Print */
@media print {
  .site-header, .site-footer, nav, .related { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  h1, h2, h3 { color: black; page-break-after: avoid; }
  .container { max-width: 100%; }
  a { color: black; text-decoration: underline; border: none; }
  .verdict, .callout { border: 1px solid #999; background: white; color: black; }
  .verdict *, .callout * { color: black !important; }
}
