:root {
  --primary: #0f766e;
  --primary-dark: #042f2e;
  --blue: #0e66d1;
  --green: #16a34a;
  --lime: #a3ff12;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dce6ea;
  --soft: #f3f8fb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f6fafb;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 100%); margin: auto; padding: 0 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 950;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--green));
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(15, 118, 110, .24);
}
.menu-toggle {
  display: none;
  padding: 10px 13px;
  color: #fff;
  font-weight: 900;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
  border-radius: 13px;
}
.nav-links a:hover { color: var(--primary); background: #ecfdf5; }
.nav-links .nav-cta {
  color: #06121f;
  background: linear-gradient(135deg, var(--green), var(--lime));
}
.topic-nav { background: var(--primary-dark); }
.topic-nav-inner {
  display: flex;
  gap: 9px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.topic-nav-inner::-webkit-scrollbar { display: none; }
.topic-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: #d1fae5;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
}

.hero,
.landing-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(163,255,18,.2), transparent 18rem),
    radial-gradient(circle at 0% 90%, rgba(20,184,166,.24), transparent 18rem),
    linear-gradient(135deg, var(--primary-dark), #075e54 48%, var(--primary));
}
.hero { padding: 78px 0 58px; }
.landing-hero { padding: 70px 0 54px; }
.hero::before,
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-grid,
.landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 30px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  padding: 9px 14px;
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 950;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.hero h1,
.landing-hero h1 {
  margin: 18px 0 12px;
  max-width: 820px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -2px;
  font-weight: 950;
}
.hero p,
.landing-hero p {
  max-width: 680px;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.7;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-row span {
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font-weight: 950;
  border: 0;
  border-radius: 16px;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #06121f;
  background: linear-gradient(135deg, var(--green), var(--lime));
  box-shadow: 0 16px 34px rgba(22, 163, 74, .25);
}
.btn-secondary { color: var(--primary-dark); background: #fff; }
.btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
}
.safe-note { margin-top: 14px; font-size: 12px !important; color: #bfdbfe !important; }

.hero-card,
.insight-card {
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2);
}
.insight-card strong { display: block; font-size: 26px; margin-bottom: 8px; }
.insight-card p { color: var(--muted); }
.insight-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.insight-card li { padding: 11px 12px; font-weight: 850; background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 14px; }
.slip-head,
.match-top,
.match-bottom,
.odds-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.slip-head { margin-bottom: 14px; }
.slip-head small { display: block; color: var(--primary); font-size: 11px; font-weight: 950; letter-spacing: .8px; }
.slip-head strong { display: block; margin-top: 2px; font-size: 20px; }
.live-badge {
  padding: 7px 10px;
  color: #15803d;
  font-size: 11px;
  font-weight: 950;
  background: #dcfce7;
  border-radius: 999px;
}
.ticket-list { display: grid; gap: 10px; }
.ticket-match {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}
.ticket-match h2 { margin: 9px 0; font-size: 15px; line-height: 1.35; }
.match-top span { color: var(--muted); font-size: 12px; font-weight: 900; }
.status {
  padding: 5px 9px;
  color: #334155;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  background: #e2e8f0;
  border-radius: 999px;
}
.status.won, .status.win { color: #15803d; background: #dcfce7; }
.status.lost, .status.loss { color: #b91c1c; background: #fee2e2; }
.status.pending { color: #a16207; background: #fef9c3; }
.match-bottom strong { font-size: 14px; }
.match-bottom span {
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  background: var(--primary-dark);
  border-radius: 999px;
}
.odds-row {
  margin-top: 12px;
  padding: 14px;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 18px;
}
.odds-row strong { color: var(--lime); font-size: 20px; }
.empty-slip {
  padding: 22px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}
.empty-slip h2 { margin: 0 0 8px; font-size: 18px; }
.empty-slip p { margin: 0; color: var(--muted); font-size: 14px; }
.slip-more-btn,
.aff-btn {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 16px;
  color: #06121f;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), var(--lime));
  border-radius: 16px;
}

.app-strip { position: relative; z-index: 2; margin-top: -26px; }
.app-strip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.app-strip-box strong { font-size: 18px; }
.app-strip-box p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.app-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.section { padding: 58px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 950;
  letter-spacing: -1px;
}
.section-sub { max-width: 720px; margin: 0 auto 28px; color: var(--muted); text-align: center; line-height: 1.6; }
.landing-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.landing-card,
.topic-card,
.content-card,
.aff-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
}
.landing-card,
.topic-card {
  min-height: 180px;
  padding: 22px;
  transition: .18s ease;
}
.landing-card:hover,
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.landing-card span,
.topic-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  background: #ccfbf1;
  border-radius: 999px;
}
.landing-card p { color: var(--muted); line-height: 1.55; }
.landing-card em,
.topic-card em {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-style: normal;
  font-weight: 950;
}
.topic-card strong { display: block; font-size: 18px; line-height: 1.35; }
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.content-card { padding: 24px; }
.content-card h2 { margin: 0 0 10px; font-size: 22px; }
.content-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.aff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aff-card { padding: 20px; text-align: center; }
.partner-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  background: var(--primary-dark);
  border-radius: 999px;
}
.aff-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
  padding: 11px;
  background: #eff6ff;
  border: 1px dashed var(--blue);
  border-radius: 14px;
}
.aff-promo button {
  padding: 7px 10px;
  color: #fff;
  font-weight: 900;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  cursor: pointer;
}
.aff-card img {
  width: 100%;
  height: 135px;
  object-fit: contain;
  margin: 5px 0 14px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.faq-wrap { max-width: 850px; }
.faq-item { margin-top: 12px; padding: 0 18px; }
.faq-item summary {
  padding: 18px 0;
  font-weight: 950;
  cursor: pointer;
}
.faq-item p { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }
.cta-band {
  width: min(1150px, calc(100% - 32px));
  margin: 20px auto 54px;
  padding: 42px 22px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(163,255,18,.2), transparent 15rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 40px); }
.cta-band p { margin: 0 auto 20px; max-width: 650px; color: #d1fae5; }

.footer {
  padding: 44px 0 22px;
  color: #cbd5e1;
  background: var(--primary-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}
.footer h3 { margin: 0 0 12px; color: #fff; }
.footer p,
.footer a {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  color: #94a3b8;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-bottom-cta { display: none; }
.copy-toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 99999;
  display: none;
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: var(--primary-dark);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.eb-chat-launcher { bottom: 32px !important; z-index: 999999999 !important; }
.eb-chat-widget { z-index: 999999999 !important; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-wrap { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }
  .nav-links.active { display: flex; }
  .nav-links a { background: #f8fafc; }
  .hero-grid,
  .landing-hero-grid,
  .content-grid,
  .aff-grid { grid-template-columns: 1fr; }
  .landing-grid,
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-strip-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  body { padding-bottom: 74px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero,
  .landing-hero { padding: 48px 0 42px; }
  .hero h1,
  .landing-hero h1 { font-size: 38px; letter-spacing: -1.3px; }
  .hero p,
  .landing-hero p { font-size: 15px; }
  .hero-actions,
  .app-strip-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .btn { width: 100%; }
  .landing-grid,
  .topic-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .match-top,
  .match-bottom { align-items: flex-start; flex-direction: column; }
  .match-bottom span { width: 100%; text-align: center; }
  .mobile-bottom-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 999999;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 9px;
    background: rgba(4,47,46,.94);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
  }
  .mobile-bottom-cta a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 950;
    background: rgba(255,255,255,.1);
    border-radius: 14px;
  }
  .mobile-bottom-cta a:nth-child(2) {
    color: #06121f;
    background: linear-gradient(135deg, var(--green), var(--lime));
  }
  .eb-chat-launcher { bottom: 84px !important; right: 15px !important; }
}

@media (max-width: 560px) {
    .eb-chat-launcher {
        right: 18px !important;
        bottom: 174px !important;
        width: 58px !important;
        height: 58px !important;
        z-index: 2147483647 !important;
    }

    .eb-chat-widget {
        z-index: 2147483647 !important;
    }

    #telegram-chat {
        right: 18px !important;
        bottom: 104px !important;
        width: 52px !important;
        height: 52px !important;
        z-index: 2147483000 !important;
    }

    .mobile-bottom-cta {
        z-index: 2147482000 !important;
    }
}

/* Fix Prediction Hub card text/CTA overlap */
.hub-grid {
    align-items: stretch;
}

.hub-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.hub-card h3 {
    margin: 14px 0 8px;
}

.hub-card p {
    margin: 0 0 18px;
    line-height: 1.6;
}

.hub-card em {
    position: static !important;
    margin-top: auto !important;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    color: #0f766e;
    font-style: normal;
    font-weight: 950;
}

.card-vip em {
    color: #ffffff;
}

@media (max-width: 1050px) {
    .hub-card {
        min-height: 250px;
    }
}

@media (max-width: 620px) {
    .hub-card {
        min-height: auto;
        padding: 20px;
    }

    .hub-card p {
        margin-bottom: 16px;
    }
}

