/* ============================================================
   Lindaboyden - Power Up Roulette
   Mobile-first, light pastel iGaming theme
   ============================================================ */

:root {
  --red: #d6635f;          /* muted pastel red (primary accent) */
  --red-dark: #b94c48;     /* hover */
  --cta: #e8743e;          /* bright eye-catching CTA */
  --cta-dark: #cf5f2c;
  --cream: #faf6f1;        /* page background */
  --panel: #ffffff;        /* block background */
  --panel-alt: #f4ece3;    /* alternate block background */
  --ink: #2b2b2b;          /* headings */
  --text: #41434a;         /* body text */
  --line: #e3d8cc;         /* soft borders */
  --dark: #2c2a2f;         /* dark backing for logos */
  --maxw: 1180px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }

html {
  background: var(--cream);
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: 1.7rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; color: #3b3b3b; }

p { margin: 0 0 1rem; }

a { color: var(--red); }

img { max-width: 100%; display: block; }

ul { margin: 0 0 1rem; padding-left: 0; list-style: none; }

/* left-right breathing room + centered container */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* ---------- aspect ratio image helpers ---------- */
.ar-square { aspect-ratio: 1 / 1; object-fit: cover; }
.ar-wide   { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ar-card   { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 0;
}

.btn-cta {
  background: var(--cta);
  color: #fff;
  padding: 12px 26px;
  font-size: 1rem;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.btn-cta:hover { background: var(--cta-dark); }

.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- header ---------- */
.site-header {
  background: var(--panel);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo { width: 44px; height: 44px; }
.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .5px;
}
.header-cta { font-size: .85rem; padding: 10px 18px; }

/* ---------- header bottom ---------- */
.header-bottom {
  background: var(--panel-alt);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.hb-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hb-media img { width: 100%; }
.hb-content h1 { color: var(--ink); }

/* ---------- blocks ---------- */
.block { padding: 34px 0; background: var(--panel); }
.block.alt { background: var(--panel-alt); }
.lead { font-size: 1.05rem; color: #555; }

/* lists with icon ticks (single consistent style) */
.ticks li {
  position: relative;
  padding: 6px 0 6px 30px;
  border-bottom: 1px solid var(--line);
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 12px;
  height: 12px;
  background: var(--red);
  clip-path: polygon(14% 44%, 0 58%, 40% 100%, 100% 16%, 86% 0, 40% 72%);
}

/* ---------- cards grid (Live / Types) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  display: flex;
  flex-direction: column;
}
.block.alt .card { background: #fff; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; font-size: .92rem; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; margin: 0 auto 1.2rem; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--line);
}
th, td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
tr:nth-child(even) td { background: #faf4ee; }

/* ---------- marquee (payments / providers) ---------- */
.marquee {
  overflow: hidden;
  margin-top: 22px;
  padding: 18px 0;
  width: 100%;
}
.marquee-dark { background: var(--dark); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: scroll-left 28s linear infinite;
}
.marquee-track img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.faq-col { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 44px 16px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red);
}
.faq-q[aria-expanded="true"]::after { content: "\2212"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 16px;
}
.faq-a p { margin: 0; padding: 4px 0 16px; font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  color: #e7e2db;
  padding: 26px 0;
  margin-top: 8px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-copy p { margin: 0 0 6px; }
.footer-note { font-size: .82rem; color: #b9b3ab; }
.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-badges .badge { height: 46px; width: auto; background: #fff; padding: 6px; }
.footer-brand .brand-name { color: #fff; }

/* unused decorative helper (kept for layout uniqueness) */
.spacer-x { display: inline-block; width: 8px; }

/* ============================================================
   Tablet
   ============================================================ */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-badges .badge { height: 52px; }
}

/* ============================================================
   Desktop
   ============================================================ */
@media (min-width: 900px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.25rem; }

  .block { padding: 52px 0; }
  .header-bottom { padding: 46px 0; }

  .hb-grid {
    flex-direction: row;
    align-items: center;
  }
  .hb-media, .hb-content { flex: 1 1 50%; }

  .card-grid { grid-template-columns: repeat(4, 1fr); }

  .faq-grid { flex-direction: row; }
  .faq-col { flex: 1 1 50%; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-copy { flex: 1; }

  .marquee-track img { height: 46px; }
}
