:root {
  /* Colour system (CLAUDE.md) */
  --purple: #4A3F8F;
  --purple-light: #6B5EBF;
  --purple-pale: #F0EEFF;
  --purple-dark: #2D2660;
  --gold: #C9A84C;
  --gold-light: #F0D080;
  --teal: #0D7A5F;
  --teal-light: #12A882;
  --teal-pale: #E3F7F1;
  --amber: #D4841A;
  --amber-pale: #FEF3E2;
  --coral: #C4503A;
  --coral-pale: #FDEEED;
  --ink: #1A1730;
  --ink-mid: #3D3660;
  --ink-light: #7A7299;
  --surface: #FAFAFA;
  --surface-2: #F4F2FF;

  --radius: 12px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

button,
input[type='submit'],
input[type='button'] {
  font-family: inherit;
  cursor: pointer;
}

/* Top ticker */
.ticker {
  background: var(--purple-dark);
  color: #fff;
  font-size: 0.85rem;
  overflow: hidden;
}

.ticker__inner {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 18s linear infinite;
  padding: 0.5rem 0;
}

.ticker__inner span {
  display: inline-block;
  padding-left: 100%;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 23, 48, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  padding: 6px 0;
}

.site-logo-img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 768px) {
  .site-logo-img {
    height: 40px !important;
    max-width: 140px !important;
  }
}

.nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--ink-mid);
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(74, 63, 143, 0.1);
}

.nav-cta {
  background: var(--purple);
  color: #fff;
}

.nav-cta:hover {
  background: var(--purple-dark);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.5rem;
  margin-left: 0.5rem;
}

.nav-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  line-height: 1;
}
.nav-close:hover { background: rgba(26,23,48,0.06); }

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 1px;
}

.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 122, 95, 0.1);
  color: var(--teal);
  font-weight: 600;
  border: 1px solid rgba(13, 122, 95, 0.3);
}

.wallet-label {
  font-size: 0.85rem;
  color: var(--ink-mid);
}

/* Flash messages */
.flash {
  max-width: var(--max-width);
  margin: 1rem auto;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-weight: 500;
}

.flash--success {
  background: var(--teal-pale);
  border: 1px solid var(--teal);
  color: var(--teal);
}

.flash--error {
  background: var(--coral-pale);
  border: 1px solid var(--coral);
  color: var(--coral);
}

/* Main layout */
.site-main {
  padding: 2rem 0 4rem;
}

.hero {
  background: linear-gradient(135deg, rgba(74, 63, 143, 0.9), rgba(13, 122, 95, 0.8)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 4rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.hero p {
  max-width: 750px;
  margin: 1.5rem 0 2rem;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.carousel__slides {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel__slide {
  min-width: 100%;
  padding: 3rem 2rem;
  background: var(--purple);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.carousel__slide--alt {
  background: var(--teal);
}

.carousel__slide--highlight {
  background: var(--purple-dark);
}

.carousel__slide h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0;
}

.carousel__slide p {
  max-width: 600px;
  margin: 0;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none;
}

.carousel__arrow {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel__dot.is-active {
  background: #fff;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.hero-stat__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.newsletter-form input[type='email'] {
  width: 100%;
  max-width: 340px;
}

.newsletter-form button {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 25px rgba(26, 23, 48, 0.15);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface);
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 23, 48, 0.08);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.team-tabs {
  margin-top: 1.5rem;
}

.team-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.team-tab {
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 23, 48, 0.15);
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.team-tab:hover {
  background: var(--surface);
}

#team-tab-cricket:checked ~ .team-tabs-nav label[for="team-tab-cricket"],
#team-tab-football:checked ~ .team-tabs-nav label[for="team-tab-football"] {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 10px 20px rgba(26, 23, 48, 0.12);
}

.team-tab-content {
  display: none;
}

#team-tab-cricket:checked ~ .team-grid .team-tab-content--cricket,
#team-tab-football:checked ~ .team-grid .team-tab-content--football {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  #team-tab-cricket:checked ~ .team-grid .team-tab-content--cricket,
  #team-tab-football:checked ~ .team-grid .team-tab-content--football {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26, 23, 48, 0.08);
  box-shadow: var(--shadow-soft);
}

.team-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 63, 143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
  margin: 0 0 0.75rem;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.team-subtitle {
  font-size: 0.8rem;
  color: var(--ink-mid);
  margin: 0.25rem 0 0;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(74, 63, 143, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--purple);
  margin: 0 auto 1rem;
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin: 0.25rem 0.25rem 0 0;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--ink-mid);
  margin: 0.75rem 0;
}

.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(26, 23, 48, 0.08);
  background: var(--surface-2);
}

/* Match Card */
.match-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 23, 48, 0.08);
}

.match-card--free {
  border-color: var(--teal);
}

.match-card--live {
  border-color: var(--coral);
}

.match-card__team {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.match-card__team-name {
  font-weight: 700;
}

.match-card__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

/* Live & upcoming match strip */
.match-strip {
  overflow-x: auto;
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.match-strip::-webkit-scrollbar {
  height: 8px;
}

.match-strip::-webkit-scrollbar-thumb {
  background: rgba(26, 23, 48, 0.2);
  border-radius: 999px;
}

.match-strip-item {
  min-width: 280px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-chip--live {
  background: rgba(196, 80, 58, 0.12);
  color: var(--coral);
  border: 1px solid rgba(196, 80, 58, 0.3);
}

.status-chip--upcoming {
  background: rgba(74, 63, 143, 0.12);
  color: var(--purple);
  border: 1px solid rgba(74, 63, 143, 0.3);
}

.status-chip--free {
  background: rgba(13, 122, 95, 0.12);
  color: var(--teal);
  border: 1px solid rgba(13, 122, 95, 0.3);
}

.match-card__meta span {
  color: var(--ink-mid);
  font-size: 0.9rem;
}

.match-card__cta {
  margin-top: 0.75rem;
}

/* Grid utility */
.grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  grid-auto-rows: minmax(0, auto);
}

[x-cloak] {
  display: none !important;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .match-card {
    grid-template-columns: 1fr;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 4rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav.nav-open {
    transform: translateX(0);
  }
  .nav-toggle {
    display: block;
  }
  .nav-close {
    display: block;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 0.9rem 0;
  }
  .header-inner {
    gap: 1rem;
  }
}

/* Footer */
.site-footer {
  background: var(--purple-dark);
  color: #fff;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-tagline {
  margin: 0.75rem 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.payment-logo {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 0.5rem auto 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Profile Dropdown ─────────────────────────────────────────────────────── */

.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple-pale);
  border: 1px solid rgba(74, 63, 143, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple);
  transition: background 0.15s ease;
}

.profile-btn:hover {
  background: rgba(74, 63, 143, 0.15);
}

.profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.profile-chevron.rotated {
  transform: rotate(180deg);
}

.profile-dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 190px;
  background: #fff;
  border: 1px solid rgba(26, 23, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 200;
}

.profile-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: background 0.12s ease;
}

.profile-dropdown__item:hover {
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
}

.profile-dropdown__item svg {
  flex-shrink: 0;
  color: var(--ink-light);
}

.profile-dropdown__divider {
  height: 1px;
  background: rgba(26, 23, 48, 0.08);
  margin: 0.25rem 0;
}

.profile-dropdown__item--logout {
  color: var(--coral);
}

.profile-dropdown__item--logout:hover {
  background: var(--coral-pale);
  color: var(--coral);
}

.profile-dropdown__item--logout svg {
  color: var(--coral);
}

/* Alpine dropdown transitions */
.dropdown-enter      { transition: opacity 0.15s ease, transform 0.15s ease; }
.dropdown-enter-start { opacity: 0; transform: translateY(-6px); }
.dropdown-enter-end   { opacity: 1; transform: translateY(0); }
.dropdown-leave       { transition: opacity 0.12s ease, transform 0.12s ease; }
.dropdown-leave-start { opacity: 1; transform: translateY(0); }
.dropdown-leave-end   { opacity: 0; transform: translateY(-6px); }

/* ─── Auth Pages ────────────────────────────────────────────────────────────── */

.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  padding: 3rem 0 4rem;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 23, 48, 0.08);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-title {
  font-size: 1.75rem;
  color: var(--purple-dark);
  margin-bottom: 0.35rem;
}

.auth-subtitle {
  color: var(--ink-light);
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-mid);
}

.form-hint {
  font-weight: 400;
  color: var(--ink-light);
  font-size: 0.85rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(26, 23, 48, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(74, 63, 143, 0.12);
}

.form-input::placeholder {
  color: var(--ink-light);
}

.form-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.4rem;
}

.form-link {
  font-size: 0.875rem;
  color: var(--purple);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
}

.form-check input[type='checkbox'] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--purple);
  cursor: pointer;
}

.form-check label {
  cursor: pointer;
  line-height: 1.5;
}

.btn-block {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  border-radius: 10px;
}

.auth-switch {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-light);
}

.error-list {
  margin: 0;
  padding-left: 1.25rem;
}

.error-list li + li {
  margin-top: 0.3rem;
}

/* ─── Dashboard ─────────────────────────────────────────────────────────────── */

.dashboard {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
}

.dashboard-greeting {
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 0.25rem;
}

.dashboard-sub {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.wallet-balance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 140px;
  text-align: center;
}

.wbc-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wbc-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.dashboard-section {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 23, 48, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
}

.section-title {
  font-size: 1.2rem;
  color: var(--purple-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26, 23, 48, 0.08);
}

.orders-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.orders-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(26, 23, 48, 0.08);
  white-space: nowrap;
}

.orders-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(26, 23, 48, 0.05);
  color: var(--ink-mid);
  vertical-align: middle;
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover td {
  background: var(--surface-2);
}

.order-match-name a {
  font-weight: 600;
  color: var(--ink);
}

.order-match-name a:hover {
  color: var(--purple);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 999px;
  box-shadow: none;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
}

.empty-state__text {
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.account-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.account-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: 10px;
}

.aii-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aii-value {
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.referral-code {
  font-family: monospace;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--purple);
}

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 650px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  .auth-page {
    padding: 1.5rem 0 3rem;
  }

  .dashboard-welcome {
    flex-direction: column;
  }

  .wallet-balance-card {
    width: 100%;
  }

  .orders-table th:nth-child(2),
  .orders-table td:nth-child(2),
  .orders-table th:nth-child(3),
  .orders-table td:nth-child(3) {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MATCH PREDICTION PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.match-page {
  padding-bottom: 4rem;
}

.match-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.match-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.match-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */

.match-breadcrumb {
  margin: 1rem 0 1.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-light);
}

.breadcrumb-list li + li::before {
  content: '›';
  margin-right: 0.35rem;
  color: var(--ink-light);
}

.breadcrumb-list a {
  color: var(--ink-light);
}

.breadcrumb-list a:hover {
  color: var(--purple);
}

/* ─── Match Header Card ──────────────────────────────────────────────────── */

.match-header-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 23, 48, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.match-league-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.match-league-name {
  font-weight: 600;
  color: var(--ink-mid);
  font-size: 0.9rem;
}

.match-format-chip {
  background: var(--surface-2);
  color: var(--ink-light);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.team-initials-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Cinzel', serif;
  flex-shrink: 0;
}

.match-team-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.team-form {
  display: flex;
  gap: 0.3rem;
}

.form-badge {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.form-badge--win {
  background: rgba(13, 122, 95, 0.15);
  color: var(--teal);
  border: 1px solid rgba(13, 122, 95, 0.3);
}

.form-badge--loss {
  background: rgba(196, 80, 58, 0.12);
  color: var(--coral);
  border: 1px solid rgba(196, 80, 58, 0.3);
}

.form-badge--draw {
  background: rgba(212, 132, 26, 0.12);
  color: var(--amber);
  border: 1px solid rgba(212, 132, 26, 0.3);
}

.match-vs-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.match-vs-text {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-light);
}

.match-vs-date {
  font-size: 0.8rem;
  color: var(--ink-light);
  white-space: nowrap;
}

.match-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 23, 48, 0.07);
}

.match-meta-item {
  font-size: 0.875rem;
  color: var(--ink-mid);
}

/* Countdown */
.countdown-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--purple-pale);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
  flex-wrap: wrap;
}

.countdown-label {
  font-size: 0.85rem;
  color: var(--ink-mid);
  font-weight: 500;
}

.countdown-units {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.countdown-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

.countdown-sep {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
  padding-bottom: 1rem;
}

/* Result banner */
.match-result-banner {
  background: var(--teal-pale);
  border: 1px solid rgba(13, 122, 95, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--teal);
}

.result-label {
  font-weight: 700;
  margin-right: 0.4rem;
}

/* ─── Generic section wrapper ────────────────────────────────────────────── */

.match-section {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 23, 48, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
}

.section-heading {
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26, 23, 48, 0.07);
}

/* ─── Match Brief ────────────────────────────────────────────────────────── */

.match-brief-content {
  line-height: 1.75;
  color: var(--ink-mid);
  font-size: 0.95rem;
}

.brief-placeholder {
  color: var(--ink-light);
  font-style: italic;
  margin: 0;
}

/* ─── Fan Poll ───────────────────────────────────────────────────────────── */

.poll-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.poll-option-btn {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.poll-option-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.poll-option-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.poll-option-btn--home {
  background: var(--purple-pale);
  color: var(--purple);
  border-color: rgba(74, 63, 143, 0.3);
}

.poll-option-btn--home:hover:not(:disabled) {
  background: rgba(74, 63, 143, 0.15);
}

.poll-option-btn--draw {
  background: var(--amber-pale);
  color: var(--amber);
  border-color: rgba(212, 132, 26, 0.3);
}

.poll-option-btn--away {
  background: var(--teal-pale);
  color: var(--teal);
  border-color: rgba(13, 122, 95, 0.3);
}

.poll-option-btn--away:hover:not(:disabled) {
  background: rgba(13, 122, 95, 0.15);
}

.poll-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.poll-result-row {
  display: grid;
  grid-template-columns: 130px 1fr 42px;
  align-items: center;
  gap: 0.75rem;
}

.poll-result-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poll-bar-track {
  background: rgba(26, 23, 48, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

.poll-bar-fill--home { background: var(--purple); }
.poll-bar-fill--draw { background: var(--amber); }
.poll-bar-fill--away { background: var(--teal); }

.poll-result-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-mid);
  text-align: right;
}

.poll-total-votes {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin: 0.25rem 0 0;
}

.poll-dr-says {
  font-size: 0.875rem;
  color: var(--purple);
  font-style: italic;
  margin: 0.75rem 0 0;
}

/* ─── Prediction: Locked State ───────────────────────────────────────────── */

/* ── Prediction locked preview ─────────────────────────────── */
.prediction-preview {
  position: relative;
  margin-bottom: 0;
}

.preview-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-mid);
  max-height: calc(1.6em * 2); /* exactly 2 lines */
  overflow: hidden;
  margin: 0;
}

.prediction-blur-overlay {
  position: relative;
  margin-top: -60px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.95));
  pointer-events: none;
}

/* unlock-section: flows below the preview */
.unlock-section {
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* keep old classes in case referenced elsewhere */
.pred-locked { border-radius: 10px; }
.pred-preview-visible { display: none; }
.pred-preview-blur    { display: none; }
.pred-locked-overlay  { display: none; }

.pred-locked-inner {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pred-lock-icon {
  font-size: 2rem;
  line-height: 1;
}

.pred-locked-title {
  font-size: 1.1rem;
  color: var(--purple-dark);
  margin: 0;
}

.pred-buyer-count {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin: 0;
}

.pred-buy-btn {
  min-width: 200px;
}

.pred-wallet-link {
  font-size: 0.85rem;
  color: var(--teal);
}

.pred-payment-logos {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-light);
}

.pred-payment-logos span {
  background: var(--surface-2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ─── Prediction: Unlocked State ─────────────────────────────────────────── */

.pred-unlocked {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 4px solid var(--teal);
  padding-left: 1.25rem;
  margin-left: -1.25rem;
}

.pred-confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-start;
}

.conf-high        { background: rgba(13,122,95,0.12);   color: var(--teal);   border: 1px solid rgba(13,122,95,0.3); }
.conf-medium      { background: rgba(212,132,26,0.12);  color: var(--amber);  border: 1px solid rgba(212,132,26,0.3); }
.conf-speculative { background: rgba(26,23,48,0.06);    color: var(--ink-light); border: 1px solid rgba(26,23,48,0.15); }

.pred-content {
  line-height: 1.8;
  color: var(--ink);
  font-size: 0.975rem;
}

.pred-winner-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--purple-pale);
  border-left: 4px solid var(--purple);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
}

.pred-winner-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
}

.pred-winner-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-dark);
  font-family: 'Cinzel', serif;
}

.pred-key-player {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.pred-tip-box {
  background: var(--amber-pale);
  border: 1px solid rgba(212, 132, 26, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pred-tip-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.pred-tip-text {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
}

.pred-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pred-whatsapp-btn {
  background: #25D366;
  color: #fff;
  text-decoration: none;
}

.pred-whatsapp-btn:hover {
  background: #1ebe5d;
  color: #fff;
  text-decoration: none;
}

.pred-meta {
  font-size: 0.8rem;
  color: var(--ink-light);
}

/* ─── Prediction: Concluded State ────────────────────────────────────────── */

.pred-concluded {
  text-align: center;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pred-concluded-title {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}

.pred-ad-placeholder {
  width: 100%;
  max-width: 480px;
  height: 100px;
  background: rgba(26, 23, 48, 0.06);
  border: 2px dashed rgba(26, 23, 48, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pred-ad-label {
  color: var(--ink-light);
  font-size: 0.875rem;
}

.pred-concluded-or {
  color: var(--ink-light);
  font-size: 0.85rem;
}

/* ─── Prediction: Coming Soon State ──────────────────────────────────────── */

.pred-coming-soon {
  text-align: center;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pred-coming-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.pred-coming-soon h3 {
  color: var(--ink);
  margin: 0;
}

.pred-coming-soon p {
  color: var(--ink-light);
  max-width: 400px;
  margin: 0;
}

.notify-form {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 420px;
}

.notify-label {
  font-size: 0.875rem;
  color: var(--ink-mid);
  margin-bottom: 0.6rem;
}

.notify-input-row {
  display: flex;
  gap: 0.5rem;
}

.notify-input-row .form-input {
  border-radius: 10px;
}

/* ─── Upsell ─────────────────────────────────────────────────────────────── */


.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.upsell-card {
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid rgba(26, 23, 48, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upsell-teams {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.upsell-vs {
  font-weight: 400;
  color: var(--ink-light);
  font-size: 0.85rem;
  margin: 0 0.25rem;
}

.upsell-date {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.upsell-all-link {
  font-size: 0.875rem;
  margin: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid rgba(26, 23, 48, 0.07);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--purple);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-light);
  transition: transform 0.2s ease;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

/* ─── Sidebar boxes ──────────────────────────────────────────────────────── */

.sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 23, 48, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

/* Buy Box */
.buy-box {
  border: 2px solid var(--purple);
}

.buy-box-title {
  font-size: 1rem;
  color: var(--purple-dark);
  margin: 0 0 1rem;
}

/* multi-currency price row */
.prediction-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sidebar-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple);
  margin: 10px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sidebar-price-label {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}
.payment-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-badges .pay-badge {
  font-size: 10px;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 8px;
  background: #f9f9f9;
  font-weight: 400;
  letter-spacing: 0;
}
.price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple);
}
.price-alt {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}
.price-divider {
  color: #ccc;
  font-size: 12px;
}

/* free badge */
.free-badge {
  background: #059669;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

/* unlock price hint in main content */
.unlock-price-hint {
  font-size: 12px;
  color: #666;
  margin: 0;
  text-align: center;
}

/* legacy single-price row kept for compatibility */
.buy-price-row {
  margin-bottom: 1rem;
}

.buy-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
  font-family: 'Cinzel', serif;
  line-height: 1;
}

.buy-box-btn {
  width: 100%;
  border-radius: 10px;
  padding: 0.9rem;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.buy-wallet-link {
  display: block;
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 1rem;
  text-align: center;
}

.buyer-count {
  font-size: 0.82rem;
  color: var(--ink-light);
  text-align: center;
  margin: 0.5rem 0 1rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--ink-mid);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

/* Bio Card */
.bio-card {
  text-align: center;
}

.bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.bio-avatar--photo {
  object-fit: cover;
  object-position: center top;
  background: transparent;
  border: 2px solid var(--purple-pale);
}
.dr-photo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--purple-light);
}

.bio-name {
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.bio-role {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin: 0 0 1rem;
}

.bio-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bio-stat-chip {
  background: var(--purple-pale);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.bio-profile-link {
  font-size: 0.875rem;
}

/* Share Card */
.share-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-title {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}

.share-btn {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.875rem;
}

.share-btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.share-btn--whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  text-decoration: none;
}

.share-btn--copy {
  background: var(--surface-2);
  color: var(--ink-mid);
  border: 1px solid rgba(26,23,48,0.12);
}

.share-btn--calendar {
  background: var(--surface-2);
  color: var(--ink-mid);
  border: 1px solid rgba(26,23,48,0.12);
  text-decoration: none;
}

.share-btn--facebook {
  background: #1877F2;
  color: #fff;
  text-decoration: none;
}
.share-btn--facebook:hover { background: #1565D8; color: #fff; text-decoration: none; }

.share-btn--twitter {
  background: #000;
  color: #fff;
  text-decoration: none;
}
.share-btn--twitter:hover { background: #222; color: #fff; text-decoration: none; }

.share-btn--linkedin {
  background: #0A66C2;
  color: #fff;
  text-decoration: none;
}
.share-btn--linkedin:hover { background: #0958a8; color: #fff; text-decoration: none; }

.share-btn--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

/* ─── Match page responsive ──────────────────────────────────────────────── */

@media (max-width: 700px) {
  .match-layout {
    grid-template-columns: 1fr;
  }

  .match-sidebar {
    position: static;
    top: auto;
    order: 2;
  }

  .match-main {
    order: 1;
  }
}

@media (max-width: 600px) {
  .match-header-card {
    padding: 1.25rem;
  }

  .team-initials-circle {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .match-vs-text {
    font-size: 1.1rem;
  }

  .poll-result-row {
    grid-template-columns: 90px 1fr 36px;
  }

  .match-teams {
    gap: 0.75rem;
  }

  .pred-actions {
    flex-direction: column;
  }

  .notify-input-row {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAYMENT SUCCESS BANNER
   ═══════════════════════════════════════════════════════════════════════════ */

.payment-success-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 0.875rem 3rem 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.paysuccess-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .payment-success-banner {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.82rem;
  }
}
.paysuccess-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

.checkout-back {
  display: inline-block;
  color: var(--ink-light);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.checkout-back:hover { color: var(--purple); }

.checkout-card {
  background: #fff;
  border: 1px solid rgba(26,23,48,0.09);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(74,63,143,0.06);
}

.checkout-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--purple-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26,23,48,0.08);
}

/* Order summary rows */
.order-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.order-row-label {
  color: var(--ink-light);
  flex-shrink: 0;
}

.order-row-value {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.order-row--price .order-row-value {
  color: var(--purple);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Coupon */
.coupon-section {
  border-top: 1px dashed rgba(26,23,48,0.12);
  padding-top: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.coupon-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.coupon-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.coupon-input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.coupon-remove-btn {
  padding: 0.4rem 0.6rem;
  color: var(--ink-light);
}

.coupon-feedback {
  font-size: 0.8rem;
  margin: 0.4rem 0 0;
}

.coupon-feedback--success { color: var(--teal); }
.coupon-feedback--error   { color: var(--coral); }

/* Totals */
.order-totals {
  border-top: 1px solid rgba(26,23,48,0.1);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-row--total .order-row-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.order-total-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-dark);
}

/* Trust signals */
.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--purple-pale);
  border-radius: 10px;
}

.trust-signal-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--ink-mid);
}

.trust-signal-icon {
  color: var(--teal);
  font-size: 0.875rem;
}

/* ── Payment card ─────────────────────────────────────────────────────── */
.checkout-sidebar {
  position: sticky;
  top: 90px;
}

.payment-card { padding: 1.5rem; }

/* Tabs */
.pay-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pay-tab {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid rgba(74,63,143,0.25);
  background: transparent;
  color: var(--ink-mid);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pay-tab:hover { border-color: var(--purple); color: var(--purple); }
.pay-tab--active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* Panel */
.pay-panel {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pay-gateway-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  width: fit-content;
}

.pay-gateway-logo--payu {
  background: #00A4E0;
  color: #fff;
}

.pay-gateway-logo--cca {
  background: #ff6600;
  color: #fff;
}

.pay-gateway-logo--pp {
  background: #003087;
  color: #fff;
}

.pay-panel-desc {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.5;
}

.pay-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.pay-error-msg {
  font-size: 0.825rem;
  color: var(--coral);
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: var(--coral-pale);
  border-radius: 6px;
}

/* Wallet balance display */
.wallet-balance-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--purple-pale);
  border-radius: 10px;
}

.wbd-label { font-size: 0.8rem; color: var(--ink-light); }
.wbd-amount { font-size: 1.1rem; font-weight: 800; color: var(--gold); }

/* Alert variants */
.alert--amber {
  background: var(--amber-pale);
  border: 1px solid rgba(212,132,26,0.3);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-mid);
}

/* Checkout responsive */
@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 0 3rem;
  }

  .checkout-sidebar {
    position: static;
    order: -1;
  }
}

/* ── Nav dropdowns ──────────────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-link--has-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  opacity: 0.6;
  transition: transform 0.15s;
}
.nav-link--has-dropdown[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(74,63,143,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26,23,48,0.12);
  padding: 6px;
  z-index: 200;
}

.nav-dropdown__item {
  display: block;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.1s;
}
.nav-dropdown__item:hover {
  background: var(--purple-pale);
  color: var(--purple);
}
.nav-dropdown__item--all {
  font-weight: 600;
  color: var(--purple);
}

.nav-dropdown__divider {
  height: 1px;
  background: rgba(74,63,143,0.1);
  margin: 4px 6px;
}

@media (max-width: 768px) {
  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 0 12px;
  }
}

/* ══════════════════════════════════════════════
   HOMEPAGE V3 — Sport selector, tabs, match cards
══════════════════════════════════════════════ */

/* Hero carousel */
.hp-hero-section {
  background: #1A1445;
  padding: 0;
  overflow: hidden;
  margin-top: -2rem; /* offset .site-main padding-top */
}

.hp-hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1920 / 800;
  min-height: 360px;
  max-height: 600px;
  background: linear-gradient(135deg, #1A1445 0%, #2D1B69 50%, #1A2A50 100%);
}

.hp-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  position: relative;
  z-index: 2;
}

.hp-carousel-slide {
  min-width: 100%;
  min-height: 100%;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hp-carousel-slide--match {
  background: transparent;
  color: #fff;
}

.hp-carousel-slide--banner {
  background: linear-gradient(135deg, rgba(13,122,95,0.7) 0%, rgba(74,63,143,0.7) 100%);
  color: #fff;
}

.hp-carousel-slide--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 69, 0.55);
  z-index: 0;
}

/* Star field */
.hp-star-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hp-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: star-twinkle 2.5s ease-in-out infinite;
  opacity: 0.7;
}

.hp-star--lg {
  width: 4px;
  height: 4px;
  opacity: 0.9;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.6); }
}

/* Zodiac watermark */
.hp-zodiac-watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 768px) {
  .hp-zodiac-watermark { right: -120px; opacity: 0.3; }
}

.hp-banner-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hp-slide-badge-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hp-sport-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.hp-sport-badge--cricket { background: rgba(201, 168, 76, 0.25); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.4); }
.hp-sport-badge--football { background: rgba(13, 122, 95, 0.25); color: #4AE8BC; border: 1px solid rgba(13,122,95,0.4); }

.hp-live-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(212, 80, 48, 0.25);
  color: #FF8060;
  border: 1px solid rgba(212, 80, 48, 0.5);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hp-league-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.hp-slide-vs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hp-slide-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.hp-slide-team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.hp-slide-vs {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

.hp-slide-meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.hp-countdown {
  background: rgba(255,255,255,0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

.hp-slide-venue {
  color: rgba(255,255,255,0.65);
}

.hp-banner-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.hp-banner-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hp-banner-sub {
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.hp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s ease;
}

.hp-carousel-arrow:hover { background: rgba(255,255,255,0.3); }
.hp-carousel-arrow--left  { left: 1rem; }
.hp-carousel-arrow--right { right: 1rem; }

.hp-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.hp-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hp-carousel-dot--active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* HP Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.hp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); text-decoration: none; }
.hp-btn--purple { background: var(--purple); color: #fff; }
.hp-btn--teal   { background: var(--teal); color: #fff; }
.hp-btn--white  { background: #fff; color: var(--purple); }
.hp-btn--outline { background: transparent; color: var(--ink-mid); border: 1.5px solid rgba(26,23,48,0.2); }
.hp-btn--grey   { background: var(--surface-2); color: var(--ink-light); cursor: default; }
.hp-btn--grey:hover { transform: none; box-shadow: none; }
.hp-btn--notify {
  background: #FEF3E2;
  color: #D4841A;
  border: 1.5px solid #F0C97A;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.hp-btn--notify:hover { background: #C9A84C; color: #fff; border-color: #C9A84C; transform: translateY(-1px); }
.hp-btn--notify.notified { background: #C9A84C; color: #fff; border-color: #C9A84C; cursor: default; }
.hp-btn--notify.notified:hover { transform: none; }

/* Matches section */
.hp-matches-section {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  background: #F8F7FF;
}

/* Sport selector */
.hp-sport-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hp-sport-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(26,23,48,0.15);
  background: #fff;
  color: var(--ink-mid);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.hp-sport-btn:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.hp-sport-btn--active { background: var(--purple); color: #fff; border-color: var(--purple); }
.hp-sport-btn--active:hover { background: var(--purple-light); color: #fff; }

/* Status tabs */
.hp-tabs-bar {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid rgba(26,23,48,0.1);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hp-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.hp-tab:hover { color: var(--ink); text-decoration: none; }
.hp-tab--active { color: var(--purple); border-bottom-color: var(--purple); }
.hp-tab--empty { opacity: 0.5; }

.hp-tab-count {
  background: rgba(26,23,48,0.08);
  color: var(--ink-mid);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hp-tab--active .hp-tab-count {
  background: rgba(74,63,143,0.15);
  color: var(--purple);
}

/* Match grid */
.hp-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1rem;
}

/* Match card */
.hp-match-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.1rem 1.1rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26,23,48,0.08);
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--ink);
}

.hp-match-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }

.hp-match-border--live    { border-left-color: var(--coral); }
.hp-match-border--free    { border-left-color: var(--teal); }
.hp-match-border--purple  { border-left-color: var(--purple); }
.hp-match-border--grey    { border-left-color: rgba(26,23,48,0.15); }

.hp-mc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hp-mc-league {
  font-size: 0.78rem;
  color: var(--ink-light);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-live-chip      { background: rgba(212,80,48,0.12); color: var(--coral); border: 1px solid rgba(212,80,48,0.3); padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.hp-free-chip      { background: rgba(13,122,95,0.12); color: var(--teal); border: 1px solid rgba(13,122,95,0.3); padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.hp-pred-chip      { background: rgba(74,63,143,0.12); color: var(--purple); border: 1px solid rgba(74,63,143,0.3); padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.hp-concluded-chip { background: var(--surface-2); color: var(--ink-light); border: 1px solid rgba(26,23,48,0.12); padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.hp-soon-chip      { background: var(--amber-pale); color: var(--amber); border: 1px solid rgba(212,132,26,0.3); padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }

.hp-mc-teams {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hp-mc-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.hp-mc-team:last-child { flex-direction: row-reverse; text-align: right; }

.hp-mc-team-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-mc-vs {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-light);
  flex-shrink: 0;
}

.hp-live-dot {
  color: var(--coral);
  animation: live-pulse 1.5s ease-in-out infinite;
}

.hp-mc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--ink-light);
}

.hp-mc-live-label { color: var(--coral); font-weight: 600; }
.hp-mc-venue { color: var(--ink-light); }

.hp-mc-cta { margin-top: 0.25rem; }

/* Empty state */
.hp-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-light);
}

.hp-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* Section headers */
.hp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hp-section-title {
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin: 0;
}

.hp-see-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}

/* Teams section */
.hp-teams-section {
  padding: 2.5rem 0;
}

.hp-teams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hp-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26,23,48,0.08);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hp-team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }

.hp-team-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* Series section */
.hp-series-section {
  padding: 2.5rem 0;
}

.hp-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.hp-series-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26,23,48,0.08);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hp-series-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.hp-series-card--cricket  { border-top-color: var(--purple); }
.hp-series-card--football { border-top-color: var(--teal); }

.hp-series-sport { font-size: 0.75rem; font-weight: 700; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.05em; }
.hp-series-name  { font-size: 1rem; font-weight: 700; color: var(--ink); }
.hp-series-dates { font-size: 0.8rem; color: var(--ink-light); }
.hp-series-stats { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--ink-light); margin-top: 0.25rem; }

/* Stats bar */
.hp-stats-bar {
  background: var(--purple);
  padding: 2.5rem 0;
  margin: 2.5rem 0;
}

.hp-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hp-stat {
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 0.5rem 1rem;
}

.hp-stat-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hp-stat-lbl {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.hp-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: none;
}

@media (min-width: 640px) {
  .hp-stat-divider { display: block; }
}

/* Dr. Anitaa section */
.hp-dr-section {
  padding: 2.5rem 0;
}

.hp-dr-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.hp-dr-photo-wrap {
  position: relative;
}

.hp-dr-photo {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.hp-dr-placeholder {
  width: 100%;
  padding-top: 100%;
  background: var(--purple-pale);
  border-radius: var(--radius);
  position: relative;
  border: 2px dashed rgba(74,63,143,0.2);
}

.hp-dr-placeholder::after {
  content: 'AN';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(74,63,143,0.3);
  font-family: 'Cinzel', serif;
}

.hp-dr-accuracy-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--purple-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
}

.hp-dr-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 0.5rem;
}

.hp-dr-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--purple-dark);
  margin: 0 0 0.25rem;
}

.hp-dr-title {
  color: var(--ink-light);
  font-style: italic;
  margin: 0 0 1rem;
}

.hp-dr-bio {
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.hp-dr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hp-dr-tag {
  background: var(--purple-pale);
  color: var(--purple);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hp-dr-media {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

/* How it works */
.hp-how-section {
  background: var(--surface-2);
  padding: 3rem 0;
}

.hp-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-how-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26,23,48,0.06);
}

.hp-how-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Cinzel', serif;
}

.hp-how-card h3 {
  font-size: 1.05rem;
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
}

.hp-how-card p {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin: 0;
}

/* Blog section */
.hp-blog-section {
  padding: 2.5rem 0;
}

.hp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.hp-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26,23,48,0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hp-blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }

.hp-blog-img {
  height: 150px;
  background: var(--surface-2);
  background-size: cover;
  background-position: center;
}

.hp-blog-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.hp-blog-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.hp-blog-title {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

.hp-blog-excerpt {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 0.25rem;
}

/* Chips */
.hp-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.chip--purple { background: rgba(74,63,143,0.12); color: var(--purple); }
.chip--teal   { background: rgba(13,122,95,0.12); color: var(--teal); }
.chip--gold   { background: rgba(201,168,76,0.15); color: #8a6d10; }

/* Newsletter */
.hp-newsletter-section {
  background: var(--teal-pale);
  padding: 2.5rem 0;
}

.hp-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hp-newsletter-title {
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin: 0 0 0.25rem;
}

.hp-newsletter-sub {
  color: var(--ink-light);
  margin: 0;
  font-size: 0.9rem;
}

.hp-newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.hp-newsletter-input {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(26,23,48,0.15);
  font-size: 0.9rem;
  font-family: inherit;
  min-width: 240px;
  color: var(--ink);
  background: #fff;
}

.hp-newsletter-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(74,63,143,0.12);
}

/* Responsive */
@media (max-width: 900px) {
  .hp-hero-carousel { aspect-ratio: 16 / 9; max-height: 480px; }
  .hp-teams-grid { grid-template-columns: repeat(4, 1fr); }
  .hp-dr-grid    { grid-template-columns: 1fr 1.5fr; gap: 2rem; }
  .hp-blog-grid  { grid-template-columns: repeat(2, 1fr); }
  .hp-how-grid   { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
  .hp-hero-carousel  { aspect-ratio: auto; min-height: 300px; max-height: none; }
  .hp-carousel-slide { padding: 2.5rem 1rem 3rem; min-height: 300px; }
  .hp-slide-vs-row { gap: 1rem; }
  .hp-slide-team-name { font-size: 0.95rem; }
  .hp-match-grid { grid-template-columns: 1fr; }
  .hp-teams-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-dr-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .hp-blog-grid  { grid-template-columns: 1fr; }
  .hp-how-grid   { grid-template-columns: 1fr; }
  .hp-stats-inner { gap: 0.5rem; }
  .hp-stat { min-width: 120px; }
  .hp-sport-selector { width: 100%; }
  .hp-sport-btn { flex: 1; text-align: center; justify-content: center; }
  .hp-newsletter-inner { flex-direction: column; align-items: stretch; }
  .hp-newsletter-form { flex-direction: column; }
  .hp-newsletter-input { min-width: 0; width: 100%; }
  .hp-series-grid { grid-template-columns: 1fr; }
  .hp-zodiac-watermark { display: none; }
}

/* ─── Footer social icon buttons ──────────────────────────────── */
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ─── Payment badges ─────────────────────────────────────────── */
.footer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pay-badge--payu   { background: #1B3A6B; color: #fff; }
.pay-badge--cca    { background: #C0392B; color: #fff; }
.pay-badge--paypal { background: #003087; color: #009CDE; }
.pay-badge--visa   { background: #1A1F71; color: #fff; font-style: italic; letter-spacing: 0.08em; }
.pay-badge--mc     { background: #1A1A1A; padding: 0.3rem 0.5rem; }
.pay-badge--upi    { background: #097939; color: #fff; }
.pay-badge--logo   { background: transparent; padding: 0.25rem 0.5rem; }
.pay-badge--white  { background: #fff; padding: 0.3rem 0.6rem; border-radius: 6px; }

/* matches section full-width bg is handled via section > .container in HTML */

/* ── Bell notification button on match cards (top-right chip position) ───── */
.hp-bell-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #7A7299;
  display: inline-flex;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.hp-bell-btn:hover { color: #C9A84C; background: none; }
.hp-bell-btn.notified { color: #C9A84C; cursor: default; }

/* ── Match time block: local time + countdown ────────────────────────────── */
.match-time-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.match-local-time {
  font-size: 0.82rem;
  color: var(--ink-mid, #3D3660);
  font-weight: 500;
}
.match-countdown {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple, #4A3F8F);
  background: rgba(74,63,143,0.08);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.match-countdown.live {
  color: #059669;
  background: rgba(5,150,105,0.1);
}

/* ── Both-teams wrapper: cricket + football side by side (or stacked) ─────── */
.hp-both-teams-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  padding: 0.5rem 0;
}
/* Football teams: fixed 2-col grid (4 teams = 2×2) */
.hp-teams-grid--football {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .hp-both-teams-wrap {
    grid-template-columns: 1fr;
  }
  .hp-teams-grid--football {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Rewarded Ad Modal ───────────────────────────────────────────────────── */
.rewarded-modal {
  background: #1A1730;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.rewarded-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 0.9rem;
}
.rewarded-timer-badge {
  background: rgba(201,168,76,.15);
  color: #C9A84C;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: .02em;
}

/* Skip button */
.rwd-skip-btn {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.rwd-skip-btn:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Default branding content */
.rewarded-default-content {
  text-align: center;
  padding: 0.75rem 0.5rem 0.5rem;
}
.rwd-dr-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.18);
  margin: 0 auto 0.6rem;
  display: block;
}
.rwd-dr-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A3F8F, #6B5EBF);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.6rem;
}
.rwd-dr-name  { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.2rem; }
.rwd-dr-title { font-size: 0.78rem; color: rgba(255,255,255,.6); margin: 0 0 0.4rem; }
.rwd-dr-stat  { font-size: 0.82rem; font-weight: 700; color: #C9A84C; margin: 0 0 0.3rem; }
.rwd-dr-sub   { font-size: 0.75rem; color: rgba(255,255,255,.45); margin: 0; }

/* Custom HTML wrap */
.rewarded-html-wrap { margin-bottom: 0.5rem; }

/* Progress bar */
.rewarded-progress {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
}
.rewarded-progress-bar {
  height: 100%;
  background: #C9A84C;
  width: 100%;
  transform-origin: left;
  animation: rwd-countdown linear forwards;
  animation-duration: 15s; /* overridden inline per-match */
}
@keyframes rwd-countdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}


/* ══════════════════════════════════════════════
   MOBILE FIXES — comprehensive responsive fixes
   Applied 2026-03-25
══════════════════════════════════════════════ */

/* ── Profile dropdown: prevent overflow on small phones ─── */
@media (max-width: 480px) {
  .profile-dropdown__menu {
    right: -0.5rem;
    min-width: 160px;
    max-width: calc(100vw - 2rem);
  }
}

/* ── Poll result row: tighter columns on very small phones ── */
@media (max-width: 480px) {
  .poll-result-row {
    grid-template-columns: 70px 1fr 32px;
    font-size: 0.82rem;
  }
}

/* ── Match header h2: scale down font on mobile ─────────── */
@media (max-width: 600px) {
  .match-header-card h2,
  .prediction-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .match-teams h3 {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
}

/* ── Table wrappers: ensure horizontal scroll not overflow ── */
.orders-table-wrap,
.match-history-table,
.accuracy-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

table {
  min-width: 0;
}

/* ── Wallet / account pages: full width on mobile ─────────── */
@media (max-width: 650px) {
  .wallet-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }
  .wallet-balance-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ── Dashboard welcome banner: stack on mobile ─────────────── */
@media (max-width: 600px) {
  .dashboard-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .wallet-balance-card {
    width: 100%;
  }
}

/* ── Blog cards: full image height on 1-col mobile ───────── */
@media (max-width: 650px) {
  .hp-blog-img {
    height: 180px;
  }
  .hp-blog-card {
    border-radius: 10px;
  }
}

/* ── Stats bar: wrap and center on mobile ─────────────────── */
@media (max-width: 480px) {
  .hp-stats-bar {
    flex-wrap: wrap;
    gap: 0;
  }
  .hp-stat-divider {
    display: none;
  }
  .hp-stat {
    min-width: 45%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 0.5rem;
  }
}

/* ── Match page: buy box full width on mobile ─────────────── */
@media (max-width: 600px) {
  .buy-box,
  .pred-buy-box {
    padding: 1.25rem;
  }
  .pred-actions {
    flex-direction: column;
  }
  .pred-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Nav: prevent any nav overflow on narrow phones ──────── */
@media (max-width: 400px) {
  .container {
    padding: 0 0.75rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
}

/* ── Image safeguards: no image wider than parent ────────── */
img {
  max-width: 100%;
  height: auto;
}
