/* ============================================================
   MY Casino Guide — shared stylesheet
   ============================================================ */

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

:root {
  --bg: #0b1220;
  --bg-elev: #131b2e;
  --bg-card: #182140;
  --border: #263056;
  --text: #e6ecff;
  --muted: #9aa3c7;
  --gold: #f5b638;
  --gold-2: #ffd76a;
  --red: #ef4444;
  --green: #22c55e;
  --link: #7aa2ff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --container: 1160px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1b2650 0%, transparent 60%),
              radial-gradient(1000px 500px at 100% 10%, #23204d 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Age gate banner ---------- */
.age-banner {
  background: #7f1d1d;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.3px;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--text); text-decoration: none; border-color: var(--gold); }
.nav-links a.active { color: var(--text); border-color: var(--gold); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #201502;
  box-shadow: 0 6px 18px rgba(245, 182, 56, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(245, 182, 56, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-elev); }
.btn-danger {
  background: linear-gradient(180deg, #ff6b6b, var(--red));
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.hero .tag {
  display: inline-block;
  background: rgba(245, 182, 56, 0.14);
  color: var(--gold);
  border: 1px solid rgba(245, 182, 56, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 26px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 40px 0; }
.section-title {
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 8px;
}
.section-sub {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 16px;
  max-width: 720px;
}

/* ---------- Brand cards ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.brand-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .15s ease, border-color .15s ease;
}
.brand-card:hover { transform: translateY(-3px); border-color: rgba(245, 182, 56, 0.5); }
.brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #b7801d);
  color: #201502;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.brand-name { font-size: 22px; font-weight: 800; margin: 0; }
.brand-rating {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.brand-tagline { color: var(--muted); font-size: 15px; margin: 0; }
.brand-feats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  font-size: 14px;
}
.brand-feats li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  margin-right: 8px;
}
.brand-actions { display: flex; gap: 10px; margin-top: 4px; }
.brand-actions .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- Feature grid (why us) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(245, 182, 56, 0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 900;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 15px;
  min-width: 640px;
}
.compare th, .compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare th { background: var(--bg-elev); color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 700; }

/* ---------- Article / brand page body ---------- */
.article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.article h2 { font-size: 24px; margin: 32px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18px; margin: 22px 0 10px; }
.article p, .article li { color: #d3d9f2; }
.article ul { padding-left: 20px; }
.article ul li { margin: 6px 0; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}
.pros, .cons {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.pros h3 { color: var(--green); margin-top: 0; }
.cons h3 { color: var(--red); margin-top: 0; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li::before { content: "＋"; color: var(--green); font-weight: 900; margin-right: 8px; }
.cons li::before { content: "－"; color: var(--red); font-weight: 900; margin-right: 8px; }

.brand-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 26px;
}
.brand-meta .cell {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.brand-meta .k { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
.brand-meta .v { color: var(--text); font-weight: 700; font-size: 15px; margin-top: 2px; }

.cta-band {
  margin: 30px 0 0;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(245, 182, 56, 0.14), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(245, 182, 56, 0.35);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
}
.cta-band p { margin: 0; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq details[open] { border-color: rgba(245, 182, 56, 0.5); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--gold); font-weight: 900; font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 40px 0;
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin: 6px 0; }
.footer-grid a { color: #cfd6f4; font-size: 15px; }
.footer-note {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer-note strong { color: var(--gold); }

/* ---------- Disclaimer box ---------- */
.disclaimer {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #ffd5d5;
  font-size: 14px;
}
.disclaimer strong { color: #ffb4b4; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .cta-band { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-feats { grid-template-columns: 1fr; }
}
