/* Kasinokoll — modern consumer guide theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #faf7f2;
  --paper: #ffffff;
  --paper-2: #f4efe6;
  --navy: #0f2942;
  --navy-2: #1a3a5c;
  --navy-3: #2a5580;
  --coral: #ff6b5b;
  --coral-dark: #e5493a;
  --sage: #7a9b76;
  --sage-dark: #5c7a58;
  --ink: #1a1a1a;
  --ink-2: #4a5060;
  --ink-3: #767c8a;
  --line: #e6e0d3;
  --line-2: #ede8db;
  --shadow: 0 1px 3px rgba(15,41,66,0.06), 0 4px 12px rgba(15,41,66,0.04);
  --shadow-hover: 0 4px 8px rgba(15,41,66,0.08), 0 12px 24px rgba(15,41,66,0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

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

nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
  padding: 6px 0;
  position: relative;
}

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

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: var(--ink-3);
  padding: 24px 0 12px;
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { margin: 0 8px; color: var(--ink-3); }

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

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

/* Meta strip */
.meta-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 4px;
  color: var(--ink-3);
  font-size: 14px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.badge.coral { background: rgba(255,107,91,0.08); border-color: rgba(255,107,91,0.25); color: var(--coral-dark); }
.badge.sage { background: rgba(122,155,118,0.1); border-color: rgba(122,155,118,0.3); color: var(--sage-dark); }

/* Headings */
h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 20px;
  letter-spacing: -1.2px;
}

h1 .accent { color: var(--coral); }

h2 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  margin: 52px 0 18px;
  letter-spacing: -0.5px;
  scroll-margin-top: 80px;
}

h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 32px 0 12px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 32px;
  font-weight: 400;
}

p { margin-bottom: 18px; }
p a { color: var(--coral-dark); text-decoration: underline; text-decoration-color: rgba(229,73,58,0.35); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
p a:hover { text-decoration-color: var(--coral-dark); }

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

ul, ol { margin: 20px 0 24px 0; padding-left: 24px; }
li { margin-bottom: 10px; }
li::marker { color: var(--coral); font-weight: 700; }

/* Hero */
.hero-figure {
  margin: 32px 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

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

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

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: var(--shadow);
}

.highlight-box .h-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.highlight-box h3 {
  margin-top: 0;
  font-size: 20px;
}

.highlight-box p:last-child { margin-bottom: 0; }

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

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow);
}

.stat-card .stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

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

/* TOC */
.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  box-shadow: var(--shadow);
}

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

.toc-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

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

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

.toc li::before {
  content: counter(toc);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc a {
  color: var(--navy);
  text-decoration: none;
}

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

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

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

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.faq details:hover { box-shadow: var(--shadow); }

.faq summary {
  cursor: pointer;
  padding: 20px 60px 20px 28px;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  position: relative;
  list-style: none;
}

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

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

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

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

.faq details p {
  padding: 18px 28px 22px;
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 48px 0 32px;
  box-shadow: var(--shadow);
}

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

.author-bio .author-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 800;
  margin-bottom: 4px;
}

.author-bio .author-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

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

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

/* Responsible gambling box */
.rg-box {
  background: var(--navy);
  color: white;
  padding: 24px 28px;
  margin: 40px 0;
  border-radius: var(--radius);
  border-left: 4px solid var(--coral);
}

.rg-box strong { color: var(--coral); }
.rg-box a { color: var(--coral); text-decoration: underline; }

/* Related */
.related { margin: 56px 0 40px; }
.related h2 { margin-bottom: 24px; }

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

.related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
  box-shadow: var(--shadow);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--coral);
}

.related-card .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.related-card .rc-title {
  font-size: 18px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

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

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

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

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

.form-row label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}

.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: white;
}

.contact-form button {
  background: var(--coral);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

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

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
  margin-top: 60px;
}

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

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

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.footer-heading {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 800;
  margin-bottom: 16px;
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.footer-bottom p { color: inherit; margin-bottom: 6px; font-size: 13px; }

/* Comparison table */
.compare-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow);
}

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

.compare-table th {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}

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

.compare-table td:first-child { font-weight: 600; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }

/* Responsive */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .site-header .container { flex-direction: column; gap: 14px; }
  nav { gap: 18px; font-size: 14px; }
  h1 { font-size: 34px; letter-spacing: -0.8px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .lead { font-size: 17px; }
  .toc ol { columns: 1; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .author-bio { flex-direction: column; text-align: left; align-items: flex-start; }
  .author-bio img { width: 72px; height: 72px; }
  .stat-grid { grid-template-columns: 1fr; }
  .highlight-box { padding: 20px; }
  .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; }
  .highlight-box, .compare-table, .stat-card { border: 1px solid #999; background: #f5f5f5; box-shadow: none; }
}
