/* suncycle.nl — casino zonder cruks | crypto, Bitcoin & USDT
   Lightweight, mobile-first, no JS, system fonts only.
   Palette: deep teal-navy + copper + warm cream. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { max-width: 100%; height: auto; display: block; }

:root {
  --bg: #F5EFE6;
  --surface: #FFFFFF;
  --surface-alt: #EDE5D5;
  --text: #1F2937;
  --muted: #56636E;
  --primary: #0A3A48;
  --secondary: #3E5E6D;
  --accent: #B87333;
  --border: #D4CBB9;
  --row-alt: #F0E9DB;
  --success: #4F7A5C;
  --danger: #A64C3F;
  --radius: 8px;
  --maxw: 760px;
  --wide: 980px;
  color-scheme: light;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, article, section { max-width: 100%; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
main { padding: 28px 0 56px; }
section { margin: 36px 0; }
article { margin: 0; }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container-wide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.005em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-text { line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.95rem; }
.site-nav a { color: var(--secondary); text-decoration: none; padding: 4px 0; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- HERO ---------- */
.hero { background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%); padding: 34px 0 14px; border-bottom: 1px solid var(--border); }
.hero .container { max-width: var(--wide); }

/* ---------- TYPOGRAPHY ---------- */
h1 { font-size: 1.85rem; line-height: 1.22; color: var(--primary); margin: 0 0 12px; letter-spacing: -0.018em; font-weight: 800; }
h1 .h1-tail { color: var(--accent); font-weight: 600; }
h2 { font-size: 1.4rem; line-height: 1.28; color: var(--primary); margin: 44px 0 14px; padding-top: 8px; font-weight: 700; letter-spacing: -0.005em; }
h3 { font-size: 1.1rem; line-height: 1.4; color: var(--primary); margin: 24px 0 10px; font-weight: 700; }
h4 { font-size: 1rem; margin: 16px 0 6px; color: var(--secondary); font-weight: 700; }
p { margin: 0 0 14px; }
p strong, li strong { color: var(--primary); font-weight: 700; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); text-decoration-thickness: 2px; }

/* Byline */
.byline { color: var(--muted); font-size: 0.9rem; margin: 4px 0 20px; }
.byline strong { color: var(--secondary); font-weight: 700; }

/* Intro */
.intro { font-size: 1.06rem; color: var(--text); }
.intro p:first-child { font-weight: 500; }

/* ---------- LISTS ---------- */
ul, ol { padding-left: 24px; margin: 8px 0 16px; }
li { margin: 6px 0; }
li::marker { color: var(--accent); }
ul.checks, ul.crosses { list-style: none; padding-left: 0; }
ul.checks li, ul.crosses li { padding-left: 28px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 1.05em; }
ul.crosses li::before { content: "✗"; position: absolute; left: 0; color: var(--danger); font-weight: 700; font-size: 1.05em; }

/* ---------- TABLE OF CONTENTS ---------- */
.toc {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px 18px;
  margin: 22px 0 32px;
}
.toc-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.toc ol { margin: 0; padding-left: 24px; }
.toc li { margin: 4px 0; font-size: 0.95rem; }
.toc a { color: var(--secondary); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) {
  .toc ol { columns: 2; column-gap: 32px; }
  .toc li { break-inside: avoid; }
}

/* ---------- IN-CONTENT IMAGES ---------- */
.content-img { width: 100%; aspect-ratio: 3 / 2; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin: 24px 0; background: var(--surface-alt); }
figure.content-figure { margin: 24px 0; }
figure.content-figure img { margin: 0; }
figure.content-figure figcaption { font-size: 0.88rem; color: var(--muted); text-align: center; margin-top: 10px; font-style: italic; }

/* ---------- TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 18px 0 24px;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.table-wrap table { border: 0; border-radius: 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  table-layout: auto;
}
th, td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
  hyphens: auto;
}
thead th { background: var(--primary); color: #F5EFE6; font-weight: 700; white-space: nowrap; letter-spacing: 0.01em; }
tbody tr:nth-child(even) { background: var(--row-alt); }
tbody tr:last-child td { border-bottom: 0; }
td.tick { color: var(--success); font-weight: 700; }
td.cross { color: var(--danger); font-weight: 700; }
td.center { text-align: center; white-space: nowrap; }
@media (max-width: 520px) {
  th, td { padding: 9px 11px; font-size: 0.88rem; }
}

/* ---------- FAQ (details/summary) ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 20px;
  margin: 10px 0;
  transition: border-color 0.15s ease;
}
.faq details[open] {
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(10, 58, 72, 0.06);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  list-style: none;
  position: relative;
  padding-right: 34px;
  font-size: 1.08rem;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.faq details > *:not(summary) { margin-top: 10px; color: var(--text); font-size: 0.98rem; }
.faq p { margin-bottom: 6px; }
.faq p:last-child { margin-bottom: 0; }
@media (min-width: 700px) { .faq summary { font-size: 1.15rem; } }

/* ---------- INFO BLOCKS ---------- */
.callout { background: var(--surface-alt); border-left: 4px solid var(--accent); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.97rem; }
.callout.warning { border-left-color: var(--danger); background: #F7E5DE; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- AUTHOR BOX ---------- */
.author-box { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px; display: flex; gap: 18px; align-items: flex-start; }
.author-box img { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; background: var(--surface-alt); }
.author-box h4 { margin: 0 0 4px; color: var(--primary); font-size: 1rem; }
.author-box p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.author-box .author-role { color: var(--accent); font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--primary); color: #C8D5DC; padding: 34px 0 26px; margin-top: 56px; font-size: 0.92rem; }
.site-footer .container-wide { display: grid; gap: 22px; grid-template-columns: 1fr; }
.site-footer h4 { color: #F5EFE6; margin: 0 0 12px; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.site-footer p { color: #A2B0B8; margin: 0 0 10px; line-height: 1.6; }
.site-footer .footer-nav ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-nav li { margin: 6px 0; }
.site-footer .footer-nav a { color: #C8D5DC; text-decoration: none; }
.site-footer .footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .footer-bottom { border-top: 1px solid #1F4B58; padding-top: 18px; margin-top: 10px; color: #7A8A93; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 0.85rem; margin-right: 10px; vertical-align: middle; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 700px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
  main { padding: 36px 0 68px; }
  .hero { padding: 46px 0 18px; }
  .site-footer .container-wide { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}
@media (min-width: 980px) { h1 { font-size: 2.5rem; } }

/* ---------- PRINT ---------- */
@media print {
  .site-header, .site-footer { display: none; }
  body { background: #FFF; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}
