/* =====================================================
   SPORTIUM.GT — Bespoke stylesheet
   Palette: olive-lime #739a00 / #9ebe42  red #d81921  dark #2a2a2a
   ===================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e8e8e8;
  background: #2a2a2a;
  overflow-x: hidden;
}

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

a { color: #9ebe42; text-decoration: none; }
a:hover { color: #b8d85a; text-decoration: underline; }

/* ---- Variables ---- */
:root {
  --green-dark: #739a00;
  --green-light: #9ebe42;
  --red: #d81921;
  --dark: #2a2a2a;
  --dark2: #1e1e1e;
  --dark3: #333333;
  --dark4: #3e3e3e;
  --text: #e8e8e8;
  --text-muted: #aaa;
  --radius: 6px;
  --transition: 0.2s ease;
  --header-h: 64px;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark2);
  border-bottom: 3px solid var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Wordmark */
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.wordmark img {
  width: 140px;
  height: 31px;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 6px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
}

/* Header actions (desktop) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Lang switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-switch a {
  padding: 4px 7px;
  border-radius: 3px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.lang-switch a:hover { color: var(--text); }

.lang-switch a.active {
  background: var(--green-dark);
  color: #fff;
}

.lang-sep {
  color: var(--dark4);
}

/* CTA buttons */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-outline {
  border: 2px solid var(--green-light);
  color: var(--green-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-light);
  color: var(--dark2);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}

.btn-primary:hover {
  filter: brightness(1.15);
  text-decoration: none;
}

/* Burger button (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--green-dark);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
  padding: 12px 20px 20px;
  gap: 6px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark3);
  text-decoration: none;
}

.mobile-nav a:hover { color: var(--green-light); }

.mobile-nav .mobile-nav-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mobile-nav .mobile-lang {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--dark3);
  font-size: 13px;
  font-weight: 700;
}

.mobile-nav .mobile-lang a {
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 13px;
}

.mobile-nav .mobile-lang a.active {
  background: var(--green-dark);
  color: #fff;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark2) 0%, #1a2200 50%, #2a0006 100%);
}

.hero-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

/* Hero overlay band — green top, red diagonal accent */
.hero-band {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(115,154,0,0.18) 0%, transparent 40%),
    linear-gradient(to bottom right, transparent 60%, rgba(216,25,33,0.15) 100%);
}

/* Hero nav dots */
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.hero-dot.active { background: var(--green-light); }

/* Hero arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-prev { left: 10px; }
.hero-next { right: 10px; }

/* ---- SECTION HEADERS ---- */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title p {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title .title-bar {
  width: 4px;
  height: 28px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- QUICK LINKS / CHIPS ---- */
.quick-links {
  background: var(--dark3);
  border-bottom: 1px solid var(--dark4);
}

.quick-links .container {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.quick-links .container::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--dark4);
  border: 2px solid transparent;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}

.chip:hover {
  border-color: var(--green-dark);
  color: #fff;
  text-decoration: none;
}

.chip.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

/* ---- GAME GRID ---- */
.game-section {
  padding: 40px 0 48px;
}

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

.game-card {
  background: var(--dark3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 0 2px var(--green-dark);
}

.game-card img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  display: block;
}

.game-card .game-info {
  padding: 10px 12px 12px;
}

.game-card .game-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card .game-provider {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FEATURED game card (wider) */
.game-card.featured {
  grid-column: span 2;
}

.game-card.featured img {
  height: 200px;
}

/* Play overlay */
.game-card .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .play-overlay { opacity: 1; }

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,0.3);
}

.play-btn svg {
  fill: #fff;
  width: 20px;
  height: 20px;
  margin-left: 4px;
}

/* ---- SPORTS BOARD ---- */
.sports-section {
  padding: 40px 0 48px;
  background: var(--dark2);
}

.sports-board {
  background: var(--dark3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--dark4);
}

.sports-league-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #333;
  border-bottom: 1px solid var(--dark4);
}

.league-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.league-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dark4);
  transition: background var(--transition);
}

.match-row:last-child { border-bottom: none; }
.match-row:hover { background: var(--dark4); }

.match-teams {
  min-width: 0;
}

.match-team {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.match-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.odd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 14px;
  background: var(--dark4);
  border: 1px solid #444;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
  min-width: 60px;
}

.odd-btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  text-decoration: none;
}

.odd-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.odd-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.odd-btn:hover .odd-label,
.odd-btn:hover .odd-value { color: #fff; }

/* ---- PROMOTIONS / BONUS STRIP ---- */
.promos-section {
  padding: 40px 0;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.promo-card {
  background: var(--dark3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--dark4);
  position: relative;
  transition: box-shadow var(--transition);
}

.promo-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

.promo-body {
  padding: 16px;
}

.promo-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.promo-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.promo-accent {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--green-light);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

/* ---- PAYMENT LOGOS STRIP ---- */
.payments-section {
  padding: 32px 0;
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
}

.payments-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.pay-logo {
  height: 28px;
  width: auto;
  filter: brightness(0.7);
  transition: filter var(--transition);
}

.pay-logo:hover { filter: brightness(1); }

/* ---- 18+ TRUST STRIP ---- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px;
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.trust-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---- SEO ARTICLE BLOCK ---- */
.seo-section {
  padding: 56px 0;
  background: var(--dark2);
  border-top: 2px solid var(--dark4);
}

.seo-article {
  max-width: 820px;
  margin: 0 auto;
}

.seo-article h1 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.25;
}

.seo-article h2 {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--green-light);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dark4);
  line-height: 1.3;
}

.seo-article h3 {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: #ddd;
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.seo-article p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1.75;
}

.seo-article ul,
.seo-article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.seo-article li {
  font-size: 15px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 6px;
}

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

.seo-article a:hover { color: #b8d85a; }

.seo-article strong { color: #fff; }

.seo-article em { color: #bbb; font-style: italic; }

/* Tables */
.seo-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  table-layout: fixed;
}

.seo-article th {
  background: var(--dark3);
  color: var(--green-light);
  font-weight: 700;
  padding: 11px 12px;
  text-align: left;
  border: 1px solid var(--dark4);
  overflow-wrap: anywhere;
}

.seo-article td {
  padding: 10px 12px;
  border: 1px solid var(--dark4);
  color: #ccc;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.seo-article tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

/* FAQ accordion */
.seo-article h3.faq-q {
  position: relative;
  cursor: pointer;
  background: var(--dark3);
  padding: 14px 44px 14px 16px;
  border-radius: var(--radius);
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  color: #fff;
  border: 1px solid var(--dark4);
  transition: background var(--transition);
}

.seo-article h3.faq-q::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--green-light);
  line-height: 1;
}

.seo-article h3.faq-q.open::after { content: '−'; }

.seo-article h3.faq-q:hover { background: var(--dark4); }

.seo-article .faq-answer {
  display: none;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark4);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 8px;
}

.seo-article .faq-answer.open { display: block; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--green-light); }

.breadcrumb span { color: var(--text-muted); }

.bc-sep {
  margin: 0 6px;
  color: #555;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #181818;
  padding: 48px 0 0;
  border-top: 3px solid var(--green-dark);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand img {
  width: 130px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col p.col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-light);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--green-light); }

.footer-bottom {
  background: #111;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}

.footer-bottom p + p { margin-top: 4px; }

.footer-rg {
  color: var(--red);
  font-weight: 700;
}

/* ---- INNER PAGE (breadcrumb + article) ---- */
.inner-hero {
  background: linear-gradient(135deg, var(--dark2), #1a2200);
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--dark4);
}

.inner-page-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  color: #fff;
  margin-top: 6px;
}

.inner-page-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Mobile */
@media (max-width: 860px) {
  /* Header: wordmark + burger only */
  .main-nav { display: none; }
  .header-actions { display: none; }
  .burger { display: flex; }

  .header-inner { padding: 0 16px; }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .game-card img { height: 130px; }
  .game-card.featured { grid-column: span 1; }
  .game-card.featured img { height: 130px; }

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

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

  .hero-slide img { height: 200px; }

  .match-row {
    grid-template-columns: 1fr auto auto;
    gap: 6px;
  }

  /* hide 3rd odd on mobile */
  .odd-btn:last-of-type { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 14px; }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .game-card img { height: 120px; }

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

  .seo-article table {
    font-size: 12px;
  }

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

  .hero-slide img { height: 160px; }

  .trust-strip { gap: 14px; }
}

@media (max-width: 360px) {
  .wordmark img { width: 110px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .game-card img { height: 100px; }
}

/* ---- UTILITIES ---- */
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.green { color: var(--green-light); }
.red { color: var(--red); }
