/* Oceanways — theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg: #0b1120;
  --bg-alt: #101a30;
  --card: #141f38;
  --card-alt: #182444;
  --border: rgba(148, 197, 189, 0.14);
  --accent: #2dd6b8;
  --accent-2: #5eead4;
  --accent-soft: rgba(45, 214, 184, 0.12);
  --text: #f1f5f9;
  --text-muted: #93a1bf;
  --text-dim: #6f7d9e;
  --danger: #f97066;
  --good: #4ade80;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 800px;
  --maxw-wide: 1080px;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.4em; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); margin-top: 1.8em; color: var(--accent-2); }
h4 { font-size: 1.05rem; color: var(--text); }

p { margin: 0 0 1.1em; color: var(--text); }
.lede { color: var(--text-muted); font-size: 1.08rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.site-nav .cta-btn { font-size: 0.9rem; padding: 0.55rem 1.1rem; }

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #062b26;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(45, 214, 184, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(45, 214, 184, 0.35); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background: radial-gradient(60% 60% at 30% 20%, rgba(45,214,184,0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero img { border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }

/* Toplist section */
.toplist-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}
.toplist-section h2 { margin-top: 0; }
.toplist-section .sub { color: var(--text-muted); margin-bottom: 1.25rem; }

/* Article */
main { padding-bottom: 3rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.author-chip { display: flex; align-items: center; gap: 0.5rem; }
.author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  color: #06281f; font-weight: 800; font-size: 0.85rem;
  flex-shrink: 0;
}
.dot { opacity: 0.5; }

ul.bullets, ol.steps { padding-left: 1.3rem; margin: 0 0 1.2em; }
ul.bullets li, ol.steps li { margin-bottom: 0.6em; color: var(--text); }
ul.bullets li strong, ol.steps li strong { color: #fff; }

blockquote {
  margin: 1.5em 0;
  padding: 1.1rem 1.4rem;
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.section-img {
  margin: 1.6rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.section-img img { border-radius: 0; }
.section-img figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--card);
}

/* Responsive tables (stack on mobile) */
.table-wrap { margin: 1.4em 0; overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
table.data th, table.data td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
table.data th {
  background: var(--card-alt);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.data tr:last-child td { border-bottom: none; }

@media (max-width: 640px) {
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr {
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
  }
  table.data tr:last-child { border-bottom: none; }
  table.data td {
    border: none;
    padding: 0.3rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  table.data td::before {
    content: attr(data-label);
    color: var(--text-dim);
    font-weight: 600;
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}

/* Comparison box (ADM vs non-AAMS) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.6em 0;
}
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.compare .col { background: var(--card); padding: 1.3rem; }
.compare .col.bad h4 { color: var(--danger); }
.compare .col.good h4 { color: var(--good); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.compare li:last-child { border-bottom: none; }

/* Flow diagram (bonus non-sticky) */
.flow {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.6em 0;
}
.flow-title {
  text-align: center;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}
.flow-step {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  text-align: center;
  font-size: 0.92rem;
  margin: 0 auto;
  max-width: 420px;
}
.flow-arrow { text-align: center; color: var(--text-dim); margin: 0.4rem 0; font-size: 1.1rem; }
.flow-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.6rem 0;
}
@media (max-width: 560px) { .flow-branch { grid-template-columns: 1fr; } }
.flow-branch .flow-step.win { border-color: rgba(74,222,128,0.4); }
.flow-branch .flow-step.lose { border-color: rgba(249,112,102,0.4); }

/* Casino review card */
.review-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 1.6rem 0 2.2rem;
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.review-head h3 { margin: 0; color: #fff; }
.badge {
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.2rem 0;
}
@media (max-width: 560px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons .box {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.pros-cons .box h4 { margin: 0 0 0.6rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pros-cons .box.pros h4 { color: var(--good); }
.pros-cons .box.cons h4 { color: var(--danger); }
.pros-cons ul { list-style: none; margin: 0; padding: 0; }
.pros-cons li { font-size: 0.9rem; color: var(--text-muted); padding: 0.3rem 0; }
.review-card .cta-btn { margin-top: 0.6rem; }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent-2);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 0.8rem; color: var(--text-muted); }

/* Disclaimer / responsible gaming */
.disclaimer {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 2.5rem 0;
}
.disclaimer strong { color: var(--text-muted); }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Author box */
.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin: 2rem 0;
}
.author-box .author-avatar { width: 56px; height: 56px; font-size: 1.3rem; }
.author-box h4 { margin: 0 0 0.2rem; }
.author-box .role { color: var(--accent-2); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.author-box p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer.site .wrap-wide { display: flex; flex-direction: column; gap: 1rem; }
footer.site nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer.site nav a { color: var(--text-muted); }
footer.site .lang-switch a { color: var(--accent-2); }

.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0 2rem;
}
.toc h2 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-2); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.5rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 0.4rem; font-size: 0.92rem; }
