/* ==========================================================================
   Vipin Singh Prediction — main stylesheet
   ========================================================================== */

:root {
  --red: #e81f3e;
  --red-dark: #aa1617;
  --blue: #377dff;
  --dark: #1e2022;
  --dark-2: #252525;
  --navy: #21325b;
  --gray: #677788;
  --gray-2: #8c98a4;
  --line: #e7eaf3;
  --bg: #f7faff;
  --white: #fff;
  --green: #00c9a7;
  --wa: #25d366;
  --gold: #ffd54a;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(33, 50, 91, .08);
  --shadow-lg: 0 12px 40px rgba(33, 50, 91, .14);
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 52px; /* space for sticky bottom bar */
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }

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

ul { margin: 0 0 1em; padding-left: 20px; }
li { margin-bottom: .4em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section--gray { background: var(--bg); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 24px;
  background: var(--red);
  border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 0;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(232, 31, 62, .3); }
.btn--red:hover { background: var(--red-dark); color: #fff; }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(55, 125, 255, .3); }
.btn--blue:hover { background: #1f66e8; color: #fff; }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--ghost { background: transparent; color: var(--dark); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn--wide { width: 100%; }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  padding: 7px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar__social { display: flex; gap: 8px; }

.topbar__social a {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.topbar__social a:hover { background: var(--red); color: #fff; }

.topbar__stats { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__stats b { color: #fff; }
.topbar__stats .hit { color: var(--green); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(33, 50, 91, .05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo__mark {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 31, 62, .3);
}

.logo__text { line-height: 1.05; }
.logo__kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gray-2);
  font-weight: 700;
}
.logo__name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .5px;
}
.logo__name span { color: var(--red); }

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li { position: relative; margin: 0; }

.nav__list > li > a {
  display: block;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 6px;
}

.nav__list > li > a:hover,
.nav__list > li.is-active > a { color: var(--red); background: rgba(232, 31, 62, .06); }

.nav__list .caret { font-size: 9px; opacity: .55; margin-left: 3px; }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 212px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 6px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}

.nav__list > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--gray);
}
.submenu a:hover { background: var(--bg); color: var(--red); }

.header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--dark);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--dark);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, #0c1a3c 0%, #16307a 45%, #c4163a 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .16), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.hero__badge {
  display: inline-block;
  background: var(--gold);
  color: #16307a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .3);
}

.hero h1 em { font-style: normal; color: var(--gold); }

.hero__sub {
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__chip {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 22px;
}

.hero__card h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.hero__stat { background: rgba(0, 0, 0, .22); border-radius: 10px; padding: 12px 6px; }
.hero__stat b { display: block; font-size: 24px; color: var(--gold); line-height: 1.1; }
.hero__stat > span { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .75); }

/* ---------- Category strip ---------- */
.catstrip { background: var(--dark); }

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

.catstrip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s ease;
}

.catstrip__item:last-child { border-right: 0; }
.catstrip__item:hover { background: var(--red); color: #fff; }

.catstrip__num {
  font-size: 26px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.catstrip__item:hover .catstrip__num { color: #fff; }
.catstrip__label { font-size: 16px; font-weight: 600; }

/* ---------- Match cards ---------- */
.match-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.match-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.match-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
}

.match-card__format {
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.countdown {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: #fff;
  text-align: center;
  padding: 9px 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  font-variant-numeric: tabular-nums;
}

.countdown small { font-size: 10px; font-weight: 600; opacity: .85; }
.countdown.is-live { background: linear-gradient(90deg, #00a37d, var(--green)); }

.match-card__body { padding: 18px 14px; text-align: center; flex: 1; }

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.team__badge {
  width: 46px; height: 46px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #37508c, var(--navy));
  box-shadow: 0 3px 10px rgba(33, 50, 91, .25);
}

.team:nth-child(3) .team__badge { background: linear-gradient(135deg, #e8524c, var(--red-dark)); }

.team__name { font-size: 14px; font-weight: 700; color: var(--dark); }

.vs {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: grid; place-items: center;
}

.match-card__info {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.55;
  min-height: 54px;
}

.match-card__info b { color: var(--dark); display: block; }

.match-card__foot { padding: 0 14px 16px; }

.score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.score__val { font-size: 15px; font-weight: 800; color: var(--dark); }
.score__ov { font-size: 11px; color: var(--gray-2); }

.result-banner {
  background: rgba(0, 201, 167, .12);
  color: #00876f;
  border: 1px dashed rgba(0, 201, 167, .5);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  margin: 0 14px 12px;
}

.view-all { text-align: center; margin-top: 26px; }

/* ---------- Ad slot ---------- */
.adslot {
  border: 1px dashed var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  min-height: 90px;
  display: grid;
  place-items: center;
  color: var(--gray-2);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 26px 0;
}

/* ---------- Content / SEO blocks ---------- */
.prose { max-width: 100%; }
.prose h2 { margin-top: 34px; font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; font-size: 18px; }
.prose ul { padding-left: 18px; }

.factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.factor {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.factor h4 { margin-bottom: 6px; }
.factor p { margin: 0; font-size: 14px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 50px;
  margin: 0;
  border-left: 2px dashed var(--line);
  margin-left: 16px;
}

.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -17px; top: -2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(232, 31, 62, .3);
}

.steps h4 { margin-bottom: 4px; }
.steps p { margin: 0; font-size: 14px; }

.callout {
  background: rgba(255, 193, 7, .1);
  border: 1px solid rgba(255, 193, 7, .4);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #7a5b00;
  margin: 20px 0;
}

/* ---------- Packages ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pkg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pkg--featured { border: 2px solid var(--red); }

.pkg__tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.pkg h3 { margin-bottom: 4px; }
.pkg__period { font-size: 13px; color: var(--gray-2); }

.pkg__price {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  margin: 12px 0 2px;
  line-height: 1;
}
.pkg__price span { font-size: 18px; color: var(--gray-2); font-weight: 700; }

.pkg__list { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.pkg__list li { padding-left: 24px; position: relative; font-size: 14px; }
.pkg__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}
.pkg__list li.off { color: var(--gray-2); }
.pkg__list li.off::before { content: "✕"; color: #d9dde5; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}

.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  padding: 15px 48px 15px 18px;
  cursor: pointer;
  position: relative;
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
}

.faq__item.is-open .faq__q::after { content: "−"; }
.faq__item.is-open .faq__q { color: var(--red); }

.faq__a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14.5px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq__item.is-open .faq__a { display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: 13px; font-weight: 700; color: var(--dark); }

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--dark);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(55, 125, 255, .14);
}

.field textarea { min-height: 120px; resize: vertical; }

.form-note { font-size: 12.5px; color: var(--gray-2); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 26px;
}

/* ---------- Page banner ---------- */
.pagehead {
  background: linear-gradient(115deg, #0c1a3c, #16307a 60%, #a3142f);
  color: #fff;
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}

.pagehead::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 12px);
}

.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: 6px; font-size: 32px; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .8); }
.crumbs a { color: var(--gold); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.data th {
  background: var(--dark);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
table.data td { padding: 12px 14px; border-top: 1px solid var(--line); }
table.data tbody tr:nth-child(even) { background: var(--bg); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.pill--pass { background: rgba(0, 201, 167, .15); color: #00876f; }
.pill--fail { background: rgba(232, 31, 62, .12); color: var(--red-dark); }

/* ---------- Disclaimer strip ---------- */
.legal-strip {
  background: var(--dark-2);
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  padding: 18px 0;
  text-align: center;
}
.legal-strip p { margin: 0 0 4px; }
.legal-strip p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .68); padding: 44px 0 0; font-size: 14px; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: var(--red); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-bottom: 32px;
}

.footer__links { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer__links li { margin-bottom: 8px; }

.footer__contact { list-style: none; padding: 0; margin: 14px 0 0; }
.footer__contact li { display: flex; gap: 9px; margin-bottom: 8px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- Floating + sticky bar ---------- */
.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 66px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  z-index: 80;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }

.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: #fff;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
}

.stickybar b { color: var(--gold); }
.stickybar .btn { padding: 6px 16px; font-size: 12px; }
.stickybar__close {
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .3);
  border: 0; color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .match-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--red);
  }
  .nav__drawer-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .nav__close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8f9fc;
    font-size: 22px;
    line-height: 1;
    color: var(--dark);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .15s ease;
  }
  .nav__close-btn:hover,
  .nav__close-btn:active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    padding: 20px 18px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
    margin: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; margin: 0 0 0 10px;
    display: none; padding: 4px 0;
    background: #f9fafb;
    border-left: 2px solid var(--red);
    border-radius: 0 0 6px 6px;
  }
  .nav__list > li.is-expanded .submenu { display: block; }
  .submenu a { padding: 10px 14px; font-size: 14px; }
  .header__cta { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 998;
    opacity: 0; visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 32px; }
  .catstrip__grid { grid-template-columns: repeat(2, 1fr); }
  .catstrip__item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .match-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__stats { gap: 12px; font-size: 12px; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 27px; }
  .section { padding: 34px 0; }
}

/* ==========================================================================
   Dynamic-site additions (accounts, match page, checkout)
   ========================================================================== */
.nav__mobile-only { display: none; }
@media (max-width: 880px) { .nav__mobile-only { display: block; } }

a.match-card__body { display: block; color: inherit; }
.catstrip__item.is-current { background: var(--red); }
.catstrip__item.is-current .catstrip__num { color: #fff; }
.empty { text-align: center; padding: 30px; color: var(--gray-2); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5b; color: #fff; }
.btn--green { background: #00a37d; color: #fff; }
.btn--green:hover { background: #008a69; color: #fff; }
.btn--danger { background: #fff; color: var(--red-dark); border: 1px solid rgba(232, 31, 62, .4); }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.pill--blue { background: rgba(55, 125, 255, .12); color: #1f5fd6; }

/* flash + alerts */
.flash { padding: 12px 0; font-weight: 600; font-size: 14px; }
.flash--success { background: #e6f9f4; color: #00745e; border-bottom: 1px solid #b6eee0; }
.flash--error { background: #fdecef; color: var(--red-dark); border-bottom: 1px solid #f7c3cc; }
.flash--info { background: #eaf1ff; color: #1f5fd6; border-bottom: 1px solid #c8dafc; }

.alert { border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.alert--success { background: #e6f9f4; color: #00745e; border: 1px solid #b6eee0; }
.alert--error { background: #fdecef; color: var(--red-dark); border: 1px solid #f7c3cc; }
.alert--info { background: #eaf1ff; color: #1f5fd6; border: 1px solid #c8dafc; }

.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.status--pending { background: #fff4d6; color: #8a6100; }
.status--submitted { background: #eaf1ff; color: #1f5fd6; }
.status--approved, .status--completed { background: #e6f9f4; color: #00745e; }
.status--rejected, .status--abandoned { background: #fdecef; color: var(--red-dark); }
.status--upcoming { background: var(--bg); color: var(--gray); }
.status--live { background: var(--red); color: #fff; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; margin: 4px 0 16px; cursor: pointer; }
.check input { margin-top: 4px; }

/* auth / checkout cards */
.auth-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding-left: 16px; padding-right: 16px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card--wide { max-width: 640px; }
.auth-links { text-align: center; font-size: 14px; margin: 16px 0 0; }
.error-code { font-size: 64px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }

/* tournaments */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tour-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--gray); transition: transform .2s ease; }
.tour-card:hover { transform: translateY(-3px); color: var(--gray); }
.tour-card h3 { margin: 8px 0 4px; font-size: 17px; }
.tour-card p { margin: 0; font-size: 13px; }
.tour-card__format { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--blue); }
.tour-card__count { margin-top: 8px !important; }
.tour-intro { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.tour-intro__meta { display: flex; gap: 10px; align-items: center; font-weight: 600; }
@media (max-width: 880px) { .tour-intro { grid-template-columns: 1fr; } }

/* match page */
.match-hero { text-align: center; }
.match-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.match-hero__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto 18px; }
.match-hero__teams .team__name { font-size: 16px; }
.team__badge--lg { width: 72px; height: 72px; font-size: 18px; }
.team__badge--b { background: linear-gradient(135deg, #e8524c, var(--red-dark)); }
.vs--lg { width: 44px; height: 44px; font-size: 14px; }
.countdown--lg { font-size: 20px; padding: 14px; border-radius: 8px; max-width: 520px; margin: 0 auto; }
.result-banner--lg { font-size: 16px; max-width: 520px; margin: 0 auto; padding: 10px; }

.match-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .match-layout { grid-template-columns: 1fr; } }

.premium { border-radius: 12px; padding: 22px; margin-bottom: 26px; position: relative; overflow: hidden; }
.premium--open { background: linear-gradient(135deg, #fff9e6, #fff); border: 2px solid var(--gold); }
.premium--locked { background: #fff; border: 2px dashed rgba(232, 31, 62, .35); }
.premium__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.premium__head h2 { margin: 0; font-size: 21px; }
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.tip--wide { margin-bottom: 14px; }
.tip__label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 4px; }
.tip__val { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.5; }
.tip-grid--blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
.premium--locked .tip-grid--blur .tip--wide { grid-column: 1 / -1; }
.premium__lock { text-align: center; padding: 8px 0 0; }
.premium__lock h3 { margin-bottom: 6px; }
.premium__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 14px 0 10px; }
@media (max-width: 560px) { .tip-grid { grid-template-columns: 1fr; } }

.analysis { margin-bottom: 22px; }
.analysis h3 { padding-left: 12px; border-left: 4px solid var(--red); }

.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th { text-align: left; color: var(--gray-2); font-weight: 600; padding: 7px 10px 7px 0; width: 38%; vertical-align: top; }
.info-table td { padding: 7px 0; color: var(--dark); border-bottom: 1px solid var(--line); }
.info-table tr:last-child td { border-bottom: 0; }

/* results */
.record-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 10px 0; }
.record-strip > div { background: var(--dark); color: #fff; border-radius: 10px; padding: 16px; text-align: center; }
.record-strip b { display: block; font-size: 28px; color: var(--gold); line-height: 1.1; }
.record-strip span { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .7); }
.pager { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 20px; font-size: 14px; }

/* account */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.account-main { display: grid; gap: 20px; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; margin: 0 auto 10px; }
.table-wrap--flat { border-radius: 8px; margin-bottom: 14px; }
table.data--compact { min-width: 480px; }
table.data--compact td, table.data--compact th { padding: 9px 12px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 880px) { .account-layout { grid-template-columns: 1fr; } }

/* checkout + payment */
.order-summary { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.order-summary__price { font-size: 30px; font-weight: 800; color: var(--dark); white-space: nowrap; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.pay-box { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 10px 0 18px; }
.pay-box__qr { text-align: center; }
.pay-box__qr img { margin: 0 auto 6px; border-radius: 8px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.pay-amount { margin-bottom: 14px; }
.pay-amount span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-2); font-weight: 700; }
.pay-amount b { font-size: 34px; color: var(--dark); line-height: 1.1; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-weight: 700; }
.pay-steps { font-size: 14px; padding-left: 20px; margin-bottom: 18px; }
@media (max-width: 600px) {
  .pay-box { grid-template-columns: 1fr; }
  .order-summary { flex-direction: column; }
}

form.header__cta { margin: 0; }
.header__cta + form.header__cta { margin-left: -8px; }
.nav__logout { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; font: 600 14px var(--font); color: var(--red); cursor: pointer; }
.nav__list > li > a { white-space: nowrap; padding: 10px 10px; }
.header__inner { gap: 14px; }
@media (min-width: 881px) and (max-width: 1150px) {
  .nav__list > li > a { padding: 8px 7px; font-size: 13px; }
  .logo__name { font-size: 18px; }
}

/* ==========================================================================
   Reviews / testimonials + images
   ========================================================================== */
.logo__img { max-height: 52px; max-width: 240px; width: auto; height: auto; object-fit: contain; }

.hero--image { background-size: cover; background-position: center right; }
.pagehead--image { background-size: cover; background-position: center; }

.team__badge--logo { background: #fff !important; padding: 0; overflow: hidden; border: 2px solid var(--line); }
.team__badge--logo img { width: 100%; height: 100%; object-fit: cover; }

.tour-card--img { padding-top: 0; overflow: hidden; }
.tour-card__img { width: calc(100% + 40px); max-width: none; height: 110px; object-fit: cover; margin: 0 -18px 12px -22px; }

/* stars */
.stars { color: #d9dde5; letter-spacing: 1px; font-size: 16px; line-height: 1; }
.star.is-on { color: #f5a623; }

/* summary block */
.reviews-summary {
  display: grid; grid-template-columns: 200px 1fr 260px; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 22px 26px; margin-bottom: 24px;
}
.reviews-summary__score { text-align: center; }
.reviews-summary__score b { display: block; font-size: 46px; line-height: 1; color: var(--dark); margin-bottom: 6px; }
.reviews-summary__score .stars { font-size: 20px; }
.reviews-summary__score span:last-child { display: block; font-size: 13px; margin-top: 6px; }
.bar-row { display: grid; grid-template-columns: 34px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; margin: 4px 0; }
.bar-row span:last-child { text-align: right; color: var(--gray-2); }
.bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #f5a623, #ffc94a); border-radius: 99px; }
.reviews-summary__cta { text-align: center; }
.reviews-summary__cta p { font-size: 14px; margin-bottom: 10px; }
@media (max-width: 900px) { .reviews-summary { grid-template-columns: 1fr; text-align: center; } }

/* cards */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }
.review {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 20px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review__quote { position: absolute; top: 6px; right: 16px; font-size: 64px; line-height: 1; color: rgba(232, 31, 62, .12); font-family: Georgia, serif; }
.review__text { font-size: 14.5px; color: var(--dark); margin: 12px 0 16px; flex: 1; }
.review__author { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.review__author b { display: block; color: var(--dark); font-size: 14px; }
.review__author small { display: block; font-size: 12px; color: var(--gray-2); }
.review__photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review__photo--initial { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #1f4fb8); color: #fff; font-weight: 800; font-size: 18px; }
.review__verified { display: inline-block; font-size: 11px; font-weight: 700; color: #00876f; }

/* star picker (reverse order trick so hover fills to the left) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; color: #d9dde5; cursor: pointer; line-height: 1; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: #f5a623; }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }

/* ==========================================================================
   Token wallet + per-tip buying + confirm step
   ========================================================================== */
.token-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px;
  background: #fff7dd; border: 1px solid #f3d77a; color: #7a5b00; font-weight: 800; font-size: 14px; white-space: nowrap;
}
.token-chip:hover { background: #ffefb8; color: #7a5b00; }
.tok-plus { color: #00876f; font-weight: 700; }
.tok-minus { color: var(--red-dark); font-weight: 700; }

/* match page tips */
.tip { position: relative; }
.tip--locked { background: #fafbfe; border-style: dashed; }
.tip--open { border-color: #f3d77a; background: #fff; }
.tip__blur { filter: blur(5px); user-select: none; opacity: .65; }
.tip__buy { margin-top: 12px; }
.tip__closed { display: block; margin-top: 10px; }
.premium--locked .tip--wide { margin-bottom: 16px; }
.premium__foot { text-align: center; font-size: 14px; margin: 14px 0 0; }

.fullpack {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(110deg, #0c1a3c, #16307a 60%, #a3142f); color: #fff;
  border-radius: 12px; padding: 18px 20px;
}
.fullpack h3 { color: #fff; margin: 4px 0; font-size: 20px; }
.fullpack p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.fullpack__tag { display: inline-block; background: var(--gold); color: #16307a; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.fullpack__price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fullpack__price b { font-size: 26px; color: var(--gold); line-height: 1.1; }
.fullpack__price s { font-size: 14px; color: rgba(255, 255, 255, .6); }
.fullpack__price small { font-size: 12px; color: #9ff0dc; }
@media (max-width: 600px) { .fullpack__price { align-items: stretch; width: 100%; text-align: center; } }

/* confirm */
.confirm__step { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.order-summary__price small { display: block; font-size: 12px; color: var(--gray-2); text-align: right; font-weight: 600; }
.confirm__math { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.confirm__math th { text-align: left; font-weight: 600; color: var(--gray); padding: 8px 0; }
.confirm__math td { text-align: right; font-weight: 700; color: var(--dark); padding: 8px 0; }
.confirm__math tr + tr th, .confirm__math tr + tr td { border-top: 1px solid var(--line); }
.confirm__total th, .confirm__total td { font-size: 17px; color: var(--dark); border-top: 2px solid var(--dark) !important; }
.confirm__total.is-short td { color: var(--red-dark); }
.confirm__check { background: #fff9e6; border: 1px solid #f3d77a; border-radius: 8px; padding: 12px; }

/* wallet */
.wallet-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .wallet-layout { grid-template-columns: 1fr; } }
.wallet-card {
  background: linear-gradient(135deg, #1e2022, #3a2c05); color: #fff; border-radius: 14px; padding: 24px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.wallet-card::after { content: "🪙"; position: absolute; right: -10px; bottom: -24px; font-size: 120px; opacity: .15; }
.wallet-card span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255, 255, 255, .7); font-weight: 700; }
.wallet-card b { display: block; font-size: 40px; color: var(--gold); line-height: 1.15; margin: 6px 0 2px; }
.wallet-card small { color: rgba(255, 255, 255, .65); }
.wallet-mini { display: block; text-align: center; background: #fff7dd; border: 1px solid #f3d77a; border-radius: 10px; padding: 12px; margin: 6px 0 12px; color: #7a5b00; }
.wallet-mini:hover { color: #7a5b00; background: #ffefb8; }
.wallet-mini span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.wallet-mini b { display: block; font-size: 24px; color: var(--dark); }
.wallet-mini small { font-weight: 700; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 14px; }
.preset input { position: absolute; opacity: 0; }
.preset span { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; color: var(--dark); cursor: pointer; background: #fff; }
.preset input:checked + span { border-color: var(--red); background: rgba(232, 31, 62, .06); color: var(--red); }
.preset input:focus-visible + span { outline: 2px solid var(--blue); }

.pkg-grid--match { margin-bottom: 8px; }
.header__cta.token-chip { margin-right: -6px; }

/* compact header actions when logged in */
.btn--icon { padding: 9px 12px; font-size: 17px; line-height: 1; }
.header .btn.header__cta { padding: 10px 16px; }
@media (min-width: 881px) and (max-width: 1320px) {
  .nav__list > li > a { padding: 8px 7px; font-size: 13.5px; }
  .header__inner { gap: 10px; }
  .token-chip { padding: 7px 10px; font-size: 13px; }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .nav__list > li > a { font-size: 12.5px; padding: 8px 5px; }
  .logo__kicker { display: none; }
}

/* on-page confirm box */
.vmodal { position: fixed; inset: 0; z-index: 200; background: rgba(15, 20, 35, .55); display: grid; place-items: center; padding: 16px; }
.vmodal__box { background: #fff; border-radius: 12px; padding: 22px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.vmodal__msg { font-size: 15.5px; font-weight: 600; color: var(--dark); margin: 0 0 16px; }
.vmodal__input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; margin-bottom: 16px; }
.vmodal__actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn--danger-solid { background: var(--red-dark); color: #fff; }
.btn--danger-solid:hover { background: #8a1010; color: #fff; }

/* second QR option on the payment page */
.alt-qr { border: 1px dashed var(--line); border-radius: 10px; padding: 12px 16px; margin: -6px 0 18px; background: #fff; }
.alt-qr summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: 14px; }
.alt-qr img { display: block; max-width: 280px; width: 100%; margin: 12px auto 0; border-radius: 10px; }
.vmodal__msg { white-space: pre-line; }

/* structured tips */
.tip__pick { font-size: 18px; color: var(--dark); }
.tip__result { margin-left: 6px; vertical-align: middle; }
.sess-view { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.sess-view th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--gray-2); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.sess-view td { padding: 8px; border-bottom: 1px solid var(--line); color: var(--dark); }
.sess-view tr:last-child td { border-bottom: 0; }
.sess-view__range { font-weight: 800; }

/* live score box */
.live-strip { background: linear-gradient(90deg, #0c1a3c, #16307a); color: #fff; padding: 8px 12px; text-align: center; }
.live-strip__top { font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.live-dot { color: #ff5c6c; animation: livepulse 1.4s infinite; }
@keyframes livepulse { 50% { opacity: .35; } }
.live-strip__scores { display: flex; justify-content: center; gap: 14px; font-size: 14px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.live-strip__scores b { color: var(--gold); }
.live-strip__text { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .8); min-height: 1em; }
.live-strip--big { border-radius: 10px; padding: 14px; max-width: 560px; margin: 0 auto; }
.live-strip--big .live-strip__scores { font-size: 20px; gap: 26px; }
.live-strip--big .live-strip__text { font-size: 14px; margin-top: 4px; }
.live-strip.is-over .live-dot { animation: none; color: #9ff0dc; }
.live-note { text-align: center; font-weight: 700; color: var(--dark); margin: 10px 0 0; }

/* Home & Global User Notifications */
.home-notif-section {
  background: #fffdf5;
  border-bottom: 2px solid #f59e0b;
  padding: 16px 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
  animation: notifFadeIn 0.3s ease-out;
}
@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.notif-box {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.notif-box__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 100%);
  border-bottom: 1px solid #fde68a;
}
.notif-box__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #92400e;
}
.bell-ring {
  display: inline-block;
  animation: bellShake 2s infinite ease-in-out;
}
@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-14deg); }
  50% { transform: rotate(0); }
}
.notif-box__dismiss-all {
  background: none;
  border: none;
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.notif-box__dismiss-all:hover { color: #78350f; }
.notif-box__list {
  display: flex;
  flex-direction: column;
}
.notif-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #fef3c7;
}
.notif-item:last-child { border-bottom: none; }
.notif-item__content { flex: 1; min-width: 0; }
.notif-item__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}
.notif-item__msg {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.4;
}
.notif-item__time {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}
.notif-item__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.notif-item__close {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.notif-item__close:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.header__notif-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  animation: notifGlow 2.5s infinite;
}
@keyframes notifGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 8px 3px rgba(245, 158, 11, 0.35); }
}
.header__notif-chip .notif-count {
  background: #dc2626;
  color: #ffffff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 11px;
}

/* Mobile Header Bar & Responsive Layout */
.header__mobile-only-btn {
  display: none;
}
@media (max-width: 880px) {
  .header__inner {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }
  .header__inner > .header__notif-chip,
  .header__inner > .token-chip {
    margin-left: auto;
  }
  .header__inner > .header__notif-chip + .token-chip {
    margin-left: 0;
  }
  .header__inner > .header__mobile-only-btn {
    display: inline-flex;
    margin-left: auto;
  }
  .token-chip {
    padding: 6px 10px;
    font-size: 13px;
  }
  .nav-toggle {
    margin-left: 0;
  }
  .logo__name {
    font-size: 16px;
  }
  .logo__mark {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 640px) {
  .home-notif-section {
    padding: 10px 0;
  }
  .notif-box {
    border-radius: 10px;
    margin: 0 4px;
  }
  .notif-box__header {
    padding: 8px 12px;
  }
  .notif-item {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 6px;
  }
  .notif-item__content {
    padding-right: 32px;
  }
  .notif-item__title {
    font-size: 14px;
  }
  .notif-item__msg {
    font-size: 12.5px;
  }
  .notif-item__actions {
    width: 100%;
    margin-top: 6px;
    display: flex;
  }
  .notif-item__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
  }
  .notif-item__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
  }
  .sess-view {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sess-view th, .sess-view td {
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .match-hero__teams {
    gap: 8px;
  }
  .team__badge--lg {
    width: 54px;
    height: 54px;
    font-size: 15px;
  }
  .match-hero__teams .team__name {
    font-size: 13.5px;
    word-break: break-word;
  }
  .match-hero__meta {
    font-size: 11.5px;
    gap: 6px 12px;
  }
  .match-card__foot .btn {
    font-size: 13px;
    padding: 10px 8px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero h1 {
    font-size: 24px;
    line-height: 1.15;
  }
  .hero__sub {
    font-size: 13.5px;
  }
  .hero__card {
    padding: 16px;
  }
  .hero__stat b {
    font-size: 22px;
  }
  .hero__stat span {
    font-size: 11px;
  }
  .logo__kicker {
    display: none;
  }
}

/* ==========================================================================
   Responsive Account & Wallet Enhancements (Mobile First)
   ========================================================================== */
.link-list--responsive {
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-list--responsive li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.link-list--responsive li:last-child {
  border-bottom: none;
}
.link-list__title {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
}
.link-list__title a {
  color: var(--dark);
  text-decoration: none;
}
.link-list__title a:hover {
  color: var(--red);
}
.link-list__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 13px;
}

@media (max-width: 640px) {
  .link-list--responsive li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 0;
  }
  .link-list__meta {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
  }
  .table-wrap--mobile-cards {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }
  .table-wrap--mobile-cards table.data--compact,
  .table-wrap--mobile-cards table.data {
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .table-wrap--mobile-cards thead {
    display: none !important;
  }
  .table-wrap--mobile-cards tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .table-wrap--mobile-cards tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  }
  .table-wrap--mobile-cards td {
    padding: 4px 0 !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    text-align: right !important;
    width: 100% !important;
  }
  .table-wrap--mobile-cards td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    margin-right: 8px;
  }
  .table-wrap--mobile-cards td.cell-primary {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 6px;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--line) !important;
    text-align: left !important;
    display: block !important;
    order: -1;
  }
  .table-wrap--mobile-cards td.cell-primary::before {
    display: none !important;
  }
  .table-wrap--mobile-cards td[data-label="Action"] {
    order: 99;
    margin-top: 6px;
    padding-top: 8px !important;
    border-top: 1px dashed var(--line) !important;
    justify-content: flex-end !important;
  }
  .table-wrap--mobile-cards td[data-label="Action"]::before {
    display: none !important;
  }
  .table-wrap--mobile-cards td[data-label="Action"] .btn {
    width: 100% !important;
    text-align: center !important;
  }
  .card {
    padding: 18px 14px !important;
  }
  .account-layout,
  .wallet-layout {
    gap: 16px !important;
  }
  .pagehead {
    padding: 24px 0 !important;
  }
  .pagehead h1 {
    font-size: 24px !important;
  }
  .preset-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .preset span {
    padding: 9px 4px !important;
    font-size: 13px !important;
  }
  .wallet-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .wallet-card b {
    font-size: 30px !important;
    word-break: break-word;
  }
  .wallet-card::after {
    font-size: 70px !important;
    right: -5px !important;
    bottom: -15px !important;
  }
  .account-avatar {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }
  .wallet-mini {
    padding: 10px !important;
  }
  .wallet-mini b {
    font-size: 20px !important;
  }
  .account-side .btn {
    padding: 9px 12px !important;
    font-size: 13.5px !important;
  }
  .pay-box {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }
  .pay-box__qr img {
    max-width: 180px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .copy-row {
    display: flex !important;
    gap: 6px !important;
  }
  .copy-row input {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 13px !important;
  }
  .pay-amount b {
    font-size: 26px !important;
  }
  .order-head h2 {
    font-size: 20px !important;
  }
}

/* Home banner slider (big leagues) */
.hero-slider { position: relative; min-width: 0; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: heroFade .5s ease; }
@keyframes heroFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 8px; margin-top: 18px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .35); transition: width .2s, background .2s; }
.hero-dot.is-active { width: 24px; border-radius: 5px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active { animation: none; } }

.hero-vs { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hero-vs__league { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; margin-right: 6px; }
.hero-vs__team { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.hero-vs .hero-vs__badge { width: 64px; height: 64px; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.hero-vs__vs { color: var(--gold); font-size: 18px; }
@media (max-width: 600px) { .hero-vs .hero-vs__badge { width: 52px; height: 52px; } .hero-vs__league { width: 38px; height: 38px; } }

/* Live matches section */
.section--live { background: linear-gradient(180deg, #fff5f6 0%, #fff 100%); border-top: 3px solid var(--red); }
.section--live .section-head h2 .live-dot, .nav .live-dot { color: var(--red); animation: livePulse 1.2s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .35; } }

/* mobile: Live / Upcoming / Finished tabs under the header */
.mtabs { display: none; }
@media (max-width: 880px) {
  .mtabs { display: flex; background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
  .mtabs a { flex: 1; text-align: center; padding: 10px 4px; font-weight: 700; font-size: 14px; color: #374151; text-decoration: none; border-bottom: 3px solid transparent; }
  .mtabs a.is-active { color: #dc2626; border-bottom-color: #dc2626; }
}
