/* ===========================================================
   Casino Royale — stylesheet
   Brand palette: royal burgundy + champagne gold + near-black
   =========================================================== */

:root {
  --burgundy-deep: #4E0710;
  --burgundy: #7A0C1A;
  --burgundy-bright: #A11526;
  --gold: #D4AF37;
  --gold-light: #F1D78C;
  --gold-soft: #E8C97A;
  --ink: #120A0C;
  --ink-soft: #1E1416;
  --ink-card: #241719;
  --ivory: #F6EFE2;
  --ivory-dim: #D8CDB8;
  --line: rgba(212, 175, 55, 0.28);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --maxw: 1180px;
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ivory);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(122, 12, 26, 0.55), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(78, 7, 16, 0.6), transparent 55%),
    var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--ivory); }

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 0.4px;
}
h1 .brand { color: var(--gold); display: block; }

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  margin: 0 0 16px;
}
h2::before {
  content: "♛";
  color: var(--gold);
  margin-right: 10px;
  font-size: 0.8em;
  vertical-align: middle;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 10px;
}

p { margin: 0 0 16px; color: var(--ivory-dim); }
p strong { color: var(--ivory); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-soft));
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(212, 175, 55, 0.5); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(212, 175, 55, 0.12); }

/* ---------- Top bonus banner (above everything) ---------- */
.topbanner {
  background: linear-gradient(120deg, var(--burgundy-deep), var(--burgundy) 55%, var(--burgundy-bright));
  border-bottom: 2px solid var(--gold);
}
.topbanner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding: 18px 20px;
  text-align: center;
}
.topbanner .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
}
.topbanner .offer {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--ivory);
  margin: 0;
}
.topbanner .offer b { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(18, 10, 12, 0.85);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { display: block; height: 46px; width: auto; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-text .l1 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--gold); letter-spacing: 1px; }
.logo .logo-text .l2 { font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; color: var(--ivory-dim); }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ivory-dim); font-weight: 600; font-size: 0.92rem; }
.nav a:hover { color: var(--gold-light); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 38px; align-items: center; }
.hero p.lead { font-size: 1.08rem; color: var(--ivory); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.rating-card {
  background: linear-gradient(160deg, var(--ink-card), var(--ink-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.rating-card .score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
}
.rating-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 1.2rem; margin: 6px 0 14px; }
.rating-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 0.92rem; }
.rating-row span:last-child { color: var(--gold-light); font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 40px 0; }
.section-intro { max-width: 760px; margin-bottom: 26px; }

/* ---------- Card grids (max 2–3 per row, compact) ---------- */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(165deg, var(--ink-card), var(--ink-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.card .ico svg { width: 28px; height: 28px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Table (responsive horizontal scroll on mobile) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--ink-soft);
}
caption { caption-side: top; text-align: left; padding: 14px 18px; color: var(--ivory-dim); font-size: 0.9rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(212, 175, 55, 0.16); font-size: 0.93rem; }
thead th {
  background: linear-gradient(120deg, var(--burgundy), var(--burgundy-bright));
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.4px;
}
tbody tr:nth-child(even) { background: rgba(212, 175, 55, 0.04); }
td:first-child { color: var(--gold-light); font-weight: 700; }

/* ---------- Strip bonus banner ---------- */
.strip {
  background: linear-gradient(120deg, var(--burgundy-deep), var(--burgundy-bright));
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; padding: 28px 20px;
}
.strip .strip-text h3 { color: var(--gold-light); margin-bottom: 4px; }
.strip .strip-text p { margin: 0; color: var(--ivory); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px 18px 18px 60px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-family: var(--font-display);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.93rem; }

/* ---------- Pros / Cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-box { background: var(--ink-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pc-box.pros { border-top: 4px solid #4caf50; }
.pc-box.cons { border-top: 4px solid var(--burgundy-bright); }
.pc-box ul { list-style: none; padding: 0; margin: 0; }
.pc-box li { padding: 8px 0 8px 30px; position: relative; color: var(--ivory-dim); border-bottom: 1px dashed var(--line); }
.pc-box li:last-child { border-bottom: none; }
.pros li::before { content: "✔"; color: #5cc46a; position: absolute; left: 0; font-weight: 800; }
.cons li::before { content: "✕"; color: #e06472; position: absolute; left: 0; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.faq-item h3 { margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.faq-item h3::before { content: "Q"; color: var(--gold); font-weight: 800; }
.faq-item p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--gold);
  background: var(--ink-soft);
  padding: 40px 0 24px;
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-family: var(--font-display); color: var(--gold-light); margin: 0 0 12px; font-size: 1.05rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; color: var(--ivory-dim); font-size: 0.9rem; }
.age-badge {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-weight: 800; font-family: var(--font-display); margin-bottom: 12px;
}
.footer-note {
  border-top: 1px solid var(--line);
  margin-top: 28px; padding-top: 18px;
  font-size: 0.82rem; color: var(--ivory-dim);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .cards.three, .cards.two { grid-template-columns: 1fr; }
  .steps, .pc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; text-align: center; }
  h2::before { display: inline; }
  .hero { padding: 36px 0 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
