/* ============================================================
   BETCRIS GT — BESPOKE STYLESHEET
   Palette: Royal Blue #0079b8 / Navy #173358 / Red #dc3545 / Green #198754
   ============================================================ */

/* --- RESET & BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #173358;
  --blue:   #0079b8;
  --red:    #dc3545;
  --green:  #198754;
  --white:  #ffffff;
  --off:    #f4f7fa;
  --text:   #1a2332;
  --muted:  #6c7a8d;
  --border: #d0dae6;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(23,51,88,.12);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  min-width: 320px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }

/* --- UTILITY --------------------------------------------- */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.btn {
  display: inline-block;
  padding: .55em 1.3em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.btn-primary  { background: var(--red);  color: var(--white); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-blue     { background: var(--blue); color: var(--white); }
.btn-sm       { padding: .35em .9em; font-size: .82rem; }

/* --- HEADER ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}

/* Wordmark */
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.01em;
  text-decoration: none !important;
  flex-shrink: 0;
}
.wordmark img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.wordmark span { line-height: 1; }
.wordmark .bc-bet { color: #ffffff; }
.wordmark .bc-cris { color: #f8c02a; }

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  flex: 1;
}

.desktop-nav a {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
}
.desktop-nav a.live-badge { color: #5ee87c; }

/* Header CTA area */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 3px 6px;
}
.lang-switch a {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.lang-switch a.active,
.lang-switch a:hover {
  background: rgba(255,255,255,.22);
  color: var(--white);
  text-decoration: none;
}

/* Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  line-height: 0;
}
.burger-btn img { width: 28px; height: 28px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 12px 0 16px;
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: background .12s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.08); }
.mobile-nav a.live-badge { color: #5ee87c; }

.mobile-nav .mob-lang {
  display: flex;
  gap: 8px;
  padding: 14px 20px 6px;
}
.mobile-nav .mob-lang a {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.mobile-nav .mob-lang a.active { background: rgba(255,255,255,.15); color: #fff; }

.mobile-nav .mob-cta {
  display: flex;
  gap: 10px;
  padding: 12px 20px 0;
}
.mobile-nav .mob-cta .btn { flex: 1; text-align: center; }

/* --- HERO ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2040 50%, #0a1929 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,121,184,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(220,53,69,.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: center;
  min-height: 480px;
  padding: 56px 20px 56px;
  max-width: 1160px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #5ee87c;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: #5ee87c;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-title .ht-accent { color: #f8c02a; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
}
.trust-item span {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Odds board */
.odds-board {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.odds-header {
  background: rgba(0,0,0,.3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.odds-header-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  color: #5ee87c;
}
.live-dot::before {
  content: '';
  width: 7px; height: 7px;
  background: #5ee87c;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.odds-match {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.odds-match:last-child { border-bottom: none; }

.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.match-league {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.match-time {
  font-size: .72rem;
  color: #f8c02a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.match-teams {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.odds-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  padding: 7px 4px;
  text-align: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.odds-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  text-decoration: none;
}
.odds-btn span {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.odds-btn strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* --- SPORTS STRIP ---------------------------------------- */
.sports-strip {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  padding: 14px 0;
  overflow: hidden;
}
.sports-strip-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: 20px;
  max-width: 1160px;
  margin-inline: auto;
}
.sports-strip-inner::-webkit-scrollbar { display: none; }

.sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.sport-chip:hover,
.sport-chip.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  text-decoration: none;
}
.sport-chip .icon { font-size: 1rem; }

/* --- FEATURES / PILLARS ---------------------------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--off); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-dark .section-label { color: #5ee87c; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.section-dark .section-title { color: var(--white); }

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}
.section-dark .section-desc { color: rgba(255,255,255,.65); }

/* Pillars grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(23,51,88,.15); }

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.pillar-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Dark card variant */
.section-dark .pillar-card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}
.section-dark .pillar-name { color: var(--white); }
.section-dark .pillar-text { color: rgba(255,255,255,.6); }

/* --- PAYMENTS STRIP -------------------------------------- */
.payments-section { padding: 48px 0; }

.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.payment-item {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}

/* --- SEO ARTICLE ----------------------------------------- */
.seo-section { padding: 64px 0; }

.seo-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.seo-article h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.seo-article h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2em 0 .6em;
  padding-top: .5em;
  border-top: 2px solid var(--off);
  letter-spacing: -.01em;
}

.seo-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.4em 0 .5em;
}

.seo-article p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1em;
}

.seo-article ul,
.seo-article ol {
  margin-bottom: 1.2em;
}

.seo-article li {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: .4em;
}

.seo-article a { color: var(--blue); }
.seo-article a:hover { text-decoration: underline; }

.seo-article strong { font-weight: 700; color: var(--navy); }

/* Responsive tables in SEO */
.seo-article table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: .88rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.seo-article th {
  background: var(--navy);
  color: var(--white);
  padding: 11px 12px;
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
}
.seo-article td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.seo-article tr:nth-child(even) td { background: var(--off); }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] > .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 0 14px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* SEO Sidebar */
.seo-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card .sc-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.sidebar-card .sc-list {
  list-style: none;
  padding: 0;
}
.sidebar-card .sc-list li {
  margin-bottom: 0;
}
.sidebar-card .sc-list a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: color .12s;
}
.sidebar-card .sc-list a:hover { color: #fff; text-decoration: none; }
.sidebar-card .sc-list li:last-child a { border-bottom: none; }

.sidebar-rating {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.rating-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.rating-label {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}
.rating-stars { color: #f8c02a; font-size: 1.2rem; margin: 8px 0; }

/* --- BREADCRUMB ------------------------------------------ */
.breadcrumb-bar {
  background: var(--off);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: '/'; color: var(--border); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- FOOTER ---------------------------------------------- */
.site-footer {
  background: #0d1f35;
  color: rgba(255,255,255,.65);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .wordmark { margin-bottom: 14px; }
.footer-brand p {
  font-size: .83rem;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  max-width: 280px;
}

.footer-col-title {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 0; }
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .12s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

.footer-resp {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.age-badge {
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 4px;
}

/* --- RESPONSIVE ------------------------------------------ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .odds-board { display: none; }
  .hero-inner { min-height: auto; padding: 48px 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .seo-inner { grid-template-columns: 1fr; }
  .seo-sidebar { position: static; }
}

@media (max-width: 860px) {
  /* MOBILE HEADER: wordmark + burger ONLY */
  .desktop-nav { display: none; }
  .header-cta  { display: none; }
  .burger-btn  { display: flex; }

  .header-inner { height: 56px; }

  .hero-title { font-size: 1.8rem; }
  .hero-inner { padding: 36px 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .seo-article table { font-size: .78rem; }
  .seo-article th, .seo-article td { padding: 7px 8px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .wordmark { font-size: 1.2rem; }
  .wordmark img { width: 28px; height: 28px; }
  .section { padding: 48px 0; }
  .hero-title { font-size: 1.5rem; }
}
