/* ============================================================
   NETBET.GT — Bespoke stylesheet
   Palette: Navy #121c35 / Deep #030b22 / Red #eb2743 / Mint #2fd181
   ============================================================ */

/* ---------- 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.65;
  background: #030b22;
  color: #c8d6f0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #2fd181; text-decoration: none; }
a:hover { color: #56e89a; text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }

/* ---------- CSS Variables ---------- */
:root {
  --navy:  #121c35;
  --deep:  #030b22;
  --red:   #eb2743;
  --red-d: #c41f38;
  --mint:  #2fd181;
  --text:  #c8d6f0;
  --muted: #7a8db0;
  --card:  #0c1628;
  --border:#1e2d4f;
  --header-h: 64px;
  --radius: 8px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(3,11,34,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wordmark span.nb-red { color: var(--red); }
.wordmark span.nb-mint { color: var(--mint); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.desktop-nav a {
  color: #8fa7cc;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 3px;
}
.lang-switch a {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}
.lang-switch a.active,
.lang-switch a:hover {
  background: var(--border);
  color: #fff;
}

.btn-login {
  font-size: 13px;
  font-weight: 600;
  color: #c8d6f0;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-login:hover { border-color: var(--mint); color: var(--mint); text-decoration: none; }

.btn-register {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-register:hover { background: var(--red-d); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* ---------- BURGER ---------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .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 ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #0b1630;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #c8d6f0;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--mint); }
.mobile-nav .mobile-lang {
  display: flex;
  gap: 8px;
  padding: 12px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.mobile-nav .mobile-lang a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.mobile-nav .mobile-lang a.active { color: #fff; border-color: var(--mint); }
.mobile-nav .mobile-cta {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  flex-wrap: wrap;
}
.mobile-nav .mobile-cta .btn-login,
.mobile-nav .mobile-cta .btn-register { flex: 1; text-align: center; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #030b22 0%, #0e1f45 45%, #1a0a14 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(235,39,67,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47,209,129,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy {}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--mint);
}
.hero-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 420px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btns .btn-register { font-size: 15px; padding: 13px 28px; }
.hero-btns .btn-login {
  font-size: 15px;
  padding: 13px 24px;
  color: #8fa7cc;
  border-color: #1e2d4f;
}
.hero-btns .btn-login:hover { color: var(--mint); border-color: var(--mint); text-decoration: none; }

.hero-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  color: #8fa7cc;
  background: rgba(18,28,53,0.8);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.chip.active { color: var(--mint); border-color: var(--mint); background: rgba(47,209,129,0.08); }

/* Hero Games Panel */
.hero-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
}
.hero-games::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(235,39,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-game-tile {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.hero-game-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(235,39,67,0.2); }
.hero-game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-game-tile:nth-child(1) { grid-column: 1; grid-row: 1; }
.hero-game-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.hero-game-tile:nth-child(3) { grid-column: 3; grid-row: 1; }
.hero-game-tile:nth-child(4) { grid-column: 1; grid-row: 2; }
.hero-game-tile:nth-child(5) { grid-column: 2; grid-row: 2; }
.hero-game-tile:nth-child(6) { grid-column: 3; grid-row: 2; }
.hero-game-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.stat-num em { font-style: normal; color: var(--mint); }
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 64px 0;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
}

/* ---------- GAME GRID ---------- */
.games-section { background: #06101f; }
.category-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cat-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .3px;
}
.cat-btn:hover { color: #fff; border-color: #3a4f7a; }
.cat-btn.active { color: var(--mint); border-color: var(--mint); background: rgba(47,209,129,0.08); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border-color: rgba(235,39,67,0.4);
}
.game-card img { width: 100%; display: block; }
.game-card-info {
  padding: 8px 10px;
}
.game-card-name {
  font-size: 11px;
  font-weight: 600;
  color: #8fa7cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(235,39,67,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  border-radius: var(--radius);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay-btn {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  padding: 8px 18px;
  border-radius: 6px;
}

/* ---------- FEATURES SECTION ---------- */
.features-section { background: var(--deep); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(47,209,129,0.3); }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
  border-radius: 2px 0 0 2px;
}
.feature-card:nth-child(2)::before { background: var(--mint); }
.feature-card:nth-child(4)::before { background: var(--mint); }
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.feature-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- PAYMENTS SECTION ---------- */
.payments-section { background: var(--navy); }
.payment-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.payment-icon {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 52px;
}
.payment-icon img { width: 46px; height: 28px; object-fit: contain; }
.payment-icon svg { width: 46px; height: 28px; }

/* ---------- PROMO BANNER ---------- */
.promo-banner {
  background: linear-gradient(120deg, #1a0715 0%, #12042a 40%, #0e1f45 100%);
  border-top: 1px solid rgba(235,39,67,0.2);
  border-bottom: 1px solid rgba(235,39,67,0.2);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(235,39,67,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.promo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.promo-copy {}
.promo-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.promo-title {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.promo-title span { color: var(--mint); }
.promo-sub { font-size: 14px; color: var(--muted); }
.promo-cta .btn-register { font-size: 15px; padding: 13px 32px; }
.promo-terms {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  opacity: 0.7;
}

/* ---------- SEO ARTICLE ---------- */
.seo-section {
  background: var(--deep);
  padding: 72px 0 64px;
}
.seo-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span { color: var(--border); }

/* Article typography */
.seo-article h1 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 28px;
}
.seo-article h2 {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  color: #dde8ff;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  line-height: 1.3;
}
.seo-article h3 {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  color: #c8d6f0;
  margin: 28px 0 12px;
}
.seo-article p {
  color: var(--text);
  margin-bottom: 18px;
  font-size: 15px;
}
.seo-article ul,
.seo-article ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.seo-article li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
}
.seo-article strong { color: #dde8ff; font-weight: 700; }
.seo-article em { color: var(--mint); font-style: italic; }
.seo-article a { color: var(--mint); }
.seo-article a:hover { color: #56e89a; }

/* FAQ accordion */
.seo-article .faq-block {
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.seo-article .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--card);
  cursor: pointer;
  font-weight: 700;
  color: #dde8ff;
  font-size: 15px;
  user-select: none;
}
.seo-article .faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--mint);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform .2s;
}
.seo-article .faq-q.open::after { transform: rotate(45deg); }
.seo-article .faq-a {
  display: none;
  padding: 16px 20px;
  background: rgba(12,22,40,0.5);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.seo-article .faq-a.open { display: block; }

/* Tables */
.seo-article table {
  table-layout: fixed;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  font-size: 14px;
}
.seo-article th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--red);
}
.seo-article td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.seo-article tr:nth-child(even) td { background: rgba(18,28,53,0.3); }
.seo-article tr:last-child td { border-bottom: none; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #020918;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand .wordmark { font-size: 20px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-rg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
}
.footer-rg::before {
  content: '18+';
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 3px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-disclaimer {
  font-size: 11px;
  color: #3d5080;
  line-height: 1.5;
  max-width: 600px;
  text-align: right;
}

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

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

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-games { display: none; }
  .hero { padding: 48px 0 40px; }

  .stats-inner { gap: 24px; }
  .stat-num { font-size: 20px; }

  .promo-inner { flex-direction: column; text-align: center; }
  .promo-cta { width: 100%; text-align: center; }
  .promo-cta .btn-register { width: 100%; display: block; text-align: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; max-width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  /* Responsive tables */
  .seo-article table { font-size: 11px; }
  .seo-article th, .seo-article td { padding: 8px 8px; }

  .hero-title { font-size: 28px; }
  .section-inner { padding: 0 16px; }
  .seo-inner { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }
}

@media (max-width: 360px) {
  body { font-size: 15px; }
  .wordmark { font-size: 19px; }
}

/* -------- Utility -------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.tabular { font-variant-numeric: tabular-nums; }
