/* betmatchplaybridge.com - Shared stylesheet */
:root {
  --bg-0: #0b0a23;
  --bg-1: #13123a;
  --bg-2: #1b1a4d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef0ff;
  --muted: #a9acdb;
  --brand: #ffd166;
  --brand-2: #ef476f;
  --brand-3: #19c6d9;
  --brand-4: #7b5cff;
  --link: #7fd0ff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(123, 92, 255, 0.35), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(25, 198, 217, 0.22), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0));
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 10, 35, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--brand); }

.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}
.nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 540px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #1a1130;
  box-shadow: 0 10px 30px rgba(239, 71, 111, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

/* Split-path visual */
.split-path {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.path-card {
  border-radius: 16px;
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.path-card .tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.path-card h3 { margin: 8px 0 6px; font-size: 20px; }
.path-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.85); }
.path-a { background: linear-gradient(135deg, #2b1d8f, #19c6d9); }
.path-b { background: linear-gradient(135deg, #ef476f, #ffd166); color: #2a1130; }
.path-b p { color: rgba(42,17,48,0.8); }
.bridge-knot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 0 0 6px rgba(255,209,102,0.12);
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--muted); margin: 0; }

.kicker { color: var(--brand-3); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

/* Genre bridge */
.bridge-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.genre-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.genre-node:hover { transform: translateY(-4px); border-color: var(--brand); }
.genre-node .icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(123,92,255,0.35), rgba(25,198,217,0.25));
}
.genre-node h3 { margin: 0 0 6px; font-size: 17px; }
.genre-node p { margin: 0; color: var(--muted); font-size: 14px; }
.bridge-rail::after {
  content: "";
  display: none;
}

/* Daily crossings */
.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.day-card .day {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--brand-3);
}
.day-card h3 { margin: 6px 0 10px; font-size: 19px; }
.day-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.day-card ul li { margin: 4px 0; }

/* Recommendations */
.reco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reco-card .player {
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-4), var(--brand-3));
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
.reco-card .player b { font-size: 14px; }
.reco-card .player small { color: var(--muted); display: block; }
.reco-card blockquote {
  margin: 0;
  color: var(--text);
  font-style: italic;
  border-left: 3px solid var(--brand);
  padding-left: 12px;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Placeholder image */
.ph {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 24px),
    linear-gradient(135deg, rgba(123,92,255,0.25), rgba(25,198,217,0.15));
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
}

/* Beginner guide */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px; left: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1a1130;
  display: grid; place-items: center;
  font-weight: 800;
}
.step h3 { margin: 8px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { color: var(--muted); margin: 12px 0 0; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 12px 0 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.stat b { font-size: 26px; display: block; color: var(--brand); }
.stat span { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 10, 35, 0.6);
  padding: 48px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-grid h4 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Legal pages */
.legal {
  padding: 56px 0;
}
.legal-article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.legal-article h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}
.legal-article .updated { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.legal-article h2 { font-size: 22px; margin: 28px 0 10px; color: var(--brand); }
.legal-article p, .legal-article li { color: var(--muted); }
.legal-article ul { padding-left: 20px; }
.legal-article a { color: var(--link); }
.toc {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 26px;
}
.toc b { display: block; margin-bottom: 8px; color: var(--text); }
.toc a { color: var(--link); display: block; padding: 3px 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bridge-rail { grid-template-columns: repeat(2, 1fr); }
  .daily-grid, .reco-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bridge-rail { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .legal-article { padding: 24px; }
}
