/* Open Casino in Spain — static site styles */

:root {
  --red: #c60b1e;
  --red-dark: #98081a;
  --gold: #ffc400;
  --gold-dark: #e0a800;
  --ink: #1a1512;
  --ink-soft: #4a4038;
  --paper: #fffdf8;
  --paper-alt: #fbf3e3;
  --border: #ece1cc;
  --card-shadow: 0 2px 10px rgba(26, 21, 18, 0.06);
  --card-shadow-hover: 0 10px 24px rgba(26, 21, 18, 0.12);
  --radius: 10px;
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 1rem; color: var(--red-dark); }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink);
  padding: 8px 14px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--paper);
  border-bottom: 3px solid var(--gold);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand img { height: 40px; }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-bottom-color: var(--red); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .2s ease;
  }
  .site-nav.open { max-height: 400px; }
  .site-nav a { width: 100%; padding: 12px 20px; border-bottom: 1px solid var(--border); }
}

/* Hero */
.hero { background-size: cover; background-position: center; color: #fff; padding: 64px 0 56px; }
.hero-inner { max-width: 820px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #f3e9d8; max-width: 700px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 700;
  font-size: .98rem; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(198,11,30,.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--gold); color: var(--ink); }
.btn-secondary:hover { background: var(--gold-dark); }

/* Sections */
.section { padding: 52px 0; }
.section.alt { background: var(--paper-alt); }
.page-header { padding-bottom: 24px; }
.page-header .lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 760px; }
.callout {
  border-left: 4px solid var(--red); background: #fff5ee; padding: 14px 18px; border-radius: 6px;
  font-weight: 600; color: var(--red-dark);
}
.note { color: var(--ink-soft); font-size: .93rem; }
.tip-box {
  background: #fff8e1; border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 16px 20px; margin: 18px 0;
}
.tip-box strong { color: var(--red-dark); }

/* Lists */
.checklist { padding-left: 1.4rem; }
.checklist li, .fact-list li, .timeline li { margin-bottom: .7rem; }
.fact-list { list-style: none; padding: 0; }
.fact-list li { padding-left: 1.6rem; position: relative; }
.fact-list li::before { content: '\2022'; color: var(--red); position: absolute; left: .3rem; font-weight: 900; }
.timeline { padding-left: 1.4rem; counter-reset: step; }
.two-col-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.two-col-list li { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; }
@media (max-width: 640px) { .two-col-list { grid-template-columns: 1fr; } }

/* Tables */
.table-scroll { overflow-x: auto; margin: 1rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .95rem; }
thead th { background: var(--red); color: #fff; font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fffaf0; }
.key-facts table th { background: var(--paper-alt); color: var(--ink); width: 240px; font-weight: 700; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 1.2rem; }
.card {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--card-shadow); color: var(--ink);
}
.card:hover { box-shadow: var(--card-shadow-hover); text-decoration: none; transform: translateY(-2px); }
.card h3 { color: var(--red-dark); }
.card .tagline { color: var(--ink-soft); font-size: .93rem; }
.card .notable { font-size: .88rem; color: var(--ink-soft); }
.card .category {
  display: inline-block; background: var(--gold); color: var(--ink); font-size: .72rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px;
  border-radius: 999px; margin-bottom: 8px;
}
.card .meta { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.post-thumb { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }

/* Horizontal platform cards: logo, then name+tagline, then facts+notable */
.card-list { display: flex; flex-direction: column; gap: 14px; margin-top: 1.2rem; }
.platform-card {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: 22px 26px;
}
.platform-card .card-main { flex: 1 1 220px; min-width: 180px; }
.platform-card .card-side { flex: 1 1 320px; min-width: 240px; }
.platform-logo {
  width: 108px; height: 58px; object-fit: contain; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px; flex-shrink: 0;
}
@media (max-width: 640px) {
  .platform-card { flex-direction: column; align-items: flex-start; }
}
.mini-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .85rem; margin: 0 0 8px; }
.mini-facts dt { color: var(--ink-soft); font-weight: 600; }
.mini-facts dd { margin: 0; }

/* Article */
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.article-header { max-width: 760px; margin-bottom: 12px; }
.article-meta { color: var(--ink-soft); font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.toc {
  background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; position: sticky; top: 90px;
}
.toc h2 { font-size: 1rem; margin-bottom: .6rem; }
.toc ol { padding-left: 1.1rem; margin: 0; font-size: .88rem; }
.toc li { margin-bottom: .45rem; }
.article-body { max-width: 720px; }
.article-body h2 { margin-top: 2rem; scroll-margin-top: 90px; }
.article-body h3 { margin-top: 1.4rem; }
.article-body table { margin: 1rem 0; }
.article-body .table-scroll { margin: 1rem 0; }
.article-body details {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px;
  background: #fff;
}
.article-body summary { font-weight: 700; cursor: pointer; }
.article-body summary::marker { color: var(--red); }
.article-cta { margin: 2rem 0; }
.related { margin-top: 3rem; }

/* Reviews */
.review-hero { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.review-hero .platform-logo-lg { width: 160px; height: 90px; }
.overview { max-width: 760px; }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin: 1.5rem 0; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.strengths li::before { content: '\2713'; color: #1a7a3c; }
.considerations li::before { content: '\26A0'; color: var(--red); }

/* FAQ */
.faq-list details {
  border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; background: #fff;
}
.faq-list summary { font-weight: 700; cursor: pointer; }
.faq-list summary::marker { color: var(--red); }
.faq-list p { margin-top: .6rem; color: var(--ink-soft); }

.cta-section { text-align: center; }
.cta-section .cta-row { justify-content: center; }

/* Banner images */
.image-break { padding: 8px 0; }
.banner-image {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #fff;
}
.banner-image img { width: 100%; height: 320px; object-fit: cover; display: block; }
.banner-image.short img { height: 180px; }
.banner-image figcaption {
  padding: 10px 16px; font-size: .82rem; color: var(--ink-soft); background: var(--paper-alt);
}

.platforms-intro { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.platforms-intro > div:first-child { flex: 1 1 480px; }
.bull-accent { width: 130px; height: auto; flex-shrink: 0; mix-blend-mode: multiply; opacity: .9; }

.contact-box {
  background: var(--paper-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 30px; max-width: 620px;
}

/* Footer */
.site-footer { background: var(--ink); color: #d8cfc2; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-mark { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.footer-brand p { font-size: .88rem; color: #b8ac9c; }
.footer-col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.footer-col a { display: block; color: #d8cfc2; font-size: .9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.disclosure-banner {
  font-size: .82rem; color: #b8ac9c; border-top: 1px solid #3a322b; padding-top: 18px; margin-top: 10px;
}
.disclosure-banner a { color: var(--gold); }
.copyright { font-size: .8rem; color: #7d7264; margin-top: 14px; }
