/* CryptoCasinoCA — shared stylesheet
   Editorial/magazine aesthetic · Canadian crypto casino guide
   Used by long-tail / guide pages. Design tokens match CLAUDE.md. */

:root {
  --bg: #f5f4f0; --bg2: #eceae4; --bg3: #ffffff; --border: #e0ddd6;
  --text: #1a1a1a; --muted: #6b6b6b; --light-muted: #999;
  --red: #e63946; --red-dark: #c1121f; --navy: #1a1a2e; --navy2: #121220;
  --tag-bg: #f0ede7; --gold: #c9a84c; --silver: #8a9198; --bronze: #a0704a; --green: #22c55e;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 800; line-height: 1.2; }
a { color: inherit; text-decoration: none; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(26,26,46,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 800; color: #fff; white-space: nowrap; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); padding: 6px 10px; border-radius: 6px; transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-cta { background: var(--red); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 7px; white-space: nowrap; transition: background 0.15s; }
.nav-cta:hover { background: var(--red-dark); }

/* HERO */
.hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 44px 24px 0; }
.hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; }
.hero-single { max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 12px; color: var(--light-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hero-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--red); display: inline-block; }
.quick-answer { background: #fff; border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; line-height: 1.65; color: var(--muted); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quick-answer strong.qa-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.quick-answer strong { color: var(--text); }
.hero h1 { font-size: clamp(26px, 3.5vw, 36px); color: var(--navy); margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero-meta { font-size: 12px; color: var(--light-muted); margin-bottom: 18px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.pill.highlight { background: #fef8ec; border-color: #e0a31c; color: #92620a; font-weight: 600; }

/* TOP PICKS SIDEBAR (hero) */
.top-picks { background: var(--navy); border-radius: 12px 12px 0 0; padding: 18px; color: #fff; }
.top-picks-title { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.pick-row:last-child { border-bottom: none; }
.pick-num { font-size: 11px; font-weight: 700; min-width: 20px; text-align: center; color: rgba(255,255,255,0.3); }
.pick-num.p1 { color: var(--gold); } .pick-num.p2 { color: var(--silver); } .pick-num.p3 { color: var(--bronze); }
.pick-info { flex: 1; }
.pick-name { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.pick-bonus { font-size: 11px; color: rgba(255,255,255,0.45); }
.pick-btn { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
.pick-btn.red { background: var(--red); border-color: var(--red); color: #fff; }

/* MAIN LAYOUT */
.main-wrap { max-width: 1080px; margin: 0 auto; padding: 40px 24px 60px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.main-single { max-width: 820px; margin: 0 auto; padding: 40px 24px 60px; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.content-section { margin-bottom: 44px; }
.content-section h2 { font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.content-section h3 { font-size: 17px; color: var(--navy); margin: 24px 0 12px; }
.section-intro { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; max-width: 640px; }
p.body-text { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
p.body-text strong { color: var(--text); font-weight: 600; }
ul.body-list { list-style: none; margin-bottom: 20px; }
ul.body-list li { font-size: 14px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
ul.body-list li:last-child { border-bottom: none; }
ul.body-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
ul.body-list.cons li::before { content: '✗'; color: var(--red); }

/* CASINO CARDS */
.casino-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 12px; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; position: relative; transition: border-color 0.15s, box-shadow 0.15s; }
.casino-card:hover { border-color: #c8c4bc; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.casino-card.card-top { border-color: var(--gold); border-width: 1.5px; }
.featured-badge { position: absolute; top: -1px; left: 20px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 0 0 6px 6px; }
.rank-badge { width: 48px; height: 48px; border-radius: 10px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; color: var(--light-muted); flex-shrink: 0; }
.rank-badge.rank-1 { background: #fef9e7; color: var(--gold); } .rank-badge.rank-2 { background: #f4f4f5; color: var(--silver); } .rank-badge.rank-3 { background: #fdf3ee; color: var(--bronze); }
.card-top-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.card-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.tag { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--tag-bg); color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.tag-red { background: #fdecea; color: var(--red-dark); } .tag-blue { background: #eff4fe; color: #2563eb; } .tag-amber { background: #fef8ec; color: #92620a; } .tag-green { background: #edfaf2; color: #1a7a3c; }
.card-bonus { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.card-bonus strong { color: var(--text); }
.card-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-item { font-size: 12px; color: var(--light-muted); display: flex; align-items: center; gap: 4px; }
.card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 90px; }
.score-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1; }
.score-max { font-size: 12px; color: var(--light-muted); }
.btn-visit { background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 7px; white-space: nowrap; transition: background 0.15s; text-align: center; }
.btn-visit:hover { background: var(--navy2); }
.btn-visit.red-btn { background: var(--red); } .btn-visit.red-btn:hover { background: var(--red-dark); }

/* INFO BOXES */
.info-box { background: var(--bg2); border-radius: 8px; padding: 16px 18px; font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; border-left: 3px solid var(--border); }
.info-box strong { color: var(--text); font-weight: 600; }
.info-box.amber { border-left-color: #e0a31c; background: #fdf8ee; }
.info-box.blue { border-left-color: #2563eb; background: #eff4fe; }
.info-box.red { border-left-color: var(--red); background: #fdf1f1; }
.info-box.green { border-left-color: #22c55e; background: #edfaf2; }

/* TABLES */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { background: var(--navy); color: rgba(255,255,255,0.8); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; padding: 10px 14px; text-align: left; }
.compare-table th:first-child { border-radius: 8px 0 0 0; } .compare-table th:last-child { border-radius: 0 8px 0 0; }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #fafaf8; }
.compare-table td:first-child { font-weight: 600; color: var(--navy); }
.table-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 28px; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.step-content h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; margin-top: 0; }
.step-content p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-tip { font-size: 12px; color: var(--light-muted); margin-top: 6px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left; font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--navy); }
.faq-q:hover { color: var(--red); }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s, border-color 0.15s; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--red); color: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-a-inner { padding-bottom: 16px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.sidebar-card-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-cta { background: var(--navy); color: #fff; border-radius: 10px; padding: 20px; text-align: center; }
.sidebar-cta-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.sidebar-cta h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 16px; line-height: 1.5; }
.btn-cta-full { display: block; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; padding: 11px; border-radius: 7px; text-align: center; transition: background 0.15s; }
.btn-cta-full:hover { background: var(--red-dark); }
a.sidebar-rank-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; border-radius: 6px; margin: 0 -6px; }
a.sidebar-rank-row:last-child { border-bottom: none; }
a.sidebar-rank-row:hover { background: var(--bg2); }
a.sidebar-rank-row:hover .sr-name { color: var(--red); }
.sr-num { font-size: 12px; font-weight: 700; min-width: 18px; color: var(--light-muted); }
.sr-num.s1 { color: var(--gold); } .sr-num.s2 { color: var(--silver); } .sr-num.s3 { color: var(--bronze); }
.sr-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--navy); }
.sr-score { font-size: 12px; font-weight: 700; color: var(--muted); }
.related-link { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); transition: color 0.15s; }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--red); }
.related-link::after { content: '→'; font-size: 12px; color: var(--light-muted); }
.related-link.active { color: var(--red); }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 48px 24px 24px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--red); }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 11px; line-height: 1.7; max-width: 700px; color: rgba(255,255,255,0.3); }
.footer-disclaimer a { color: rgba(255,255,255,0.4); }
.age-badge { background: var(--red); color: #fff; font-size: 13px; font-weight: 800; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* SR-ONLY (AEO) */
.sr-only { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 768px) {
  .hero-inner, .main-wrap { grid-template-columns: 1fr; }
  .top-picks { display: none; }
  .nav-links { display: none; }
  .casino-card { grid-template-columns: 40px 1fr; }
  .card-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
