/* ===== FONBET SITE - GLOBAL STYLES ===== */
:root {
  --color-dark: #17263D;
  --color-white: #FFFFFF;
  --color-red-dark: #37050C;
  --color-btn-red: #D42B27;
  --color-btn-blue: #334055;
  --color-bg: #0f1c2e;
  --color-card: #1a2f47;
  --color-border: #243650;
  --color-text-muted: #8fa3ba;
  --color-accent: #D42B27;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.header-nav a.live-link {
  color: #ff4d4d;
  font-weight: 700;
}

.header-nav a.live-link::before {
  content: '● ';
  font-size: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 12px 28px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-btn-red);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(212, 43, 39, 0.4);
}

.btn-primary:hover {
  background: #e8302c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 43, 39, 0.5);
}

.btn-secondary {
  background: var(--color-btn-blue);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #3d5068;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 10px;
}

.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-red-dark) 60%, #1a0307 100%);
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,43,39,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 span { color: var(--color-btn-red); }

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--color-btn-red);
  margin-bottom: 4px;
}

.hero-stat span { font-size: 12px; color: var(--color-text-muted); }

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  width: 100%;
}

/* ===== SPORTS BAR ===== */
.sports-bar {
  background: var(--color-dark);
  padding: 12px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.sports-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sports-bar-inner::-webkit-scrollbar { display: none; }

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-white);
}

.sport-pill:hover {
  background: var(--color-btn-red);
  border-color: var(--color-btn-red);
}

.sport-pill.live {
  background: rgba(212,43,39,0.2);
  border-color: var(--color-btn-red);
  color: #ff6b6b;
}

.sport-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
}

/* ===== SECTIONS ===== */
.section {
  padding: 72px 20px;
}

.section-dark { background: var(--color-bg); }
.section-darker { background: #0a1525; }
.section-card { background: var(--color-dark); }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-header h2 span { color: var(--color-btn-red); }
.section-header p { color: var(--color-text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== CARDS ===== */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-btn-red);
  box-shadow: 0 8px 30px rgba(212,43,39,0.2);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.card-body { padding: 20px; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card-text { color: var(--color-text-muted); font-size: 14px; line-height: 1.6; }

/* ===== SPORT CARDS (GRID) ===== */
.sport-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sport-card:hover {
  background: var(--color-btn-red);
  border-color: var(--color-btn-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212,43,39,0.35);
}

.sport-icon {
  font-size: 36px;
  line-height: 1;
}

.sport-name { font-size: 15px; font-weight: 700; }
.sport-count { font-size: 12px; color: var(--color-text-muted); }

.sport-card:hover .sport-count { color: rgba(255,255,255,0.8); }

/* ===== MATCH CARDS ===== */
.match-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.match-card:hover {
  border-color: rgba(212,43,39,0.5);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.match-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.match-league-badge {
  background: var(--color-btn-red);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}

.match-team.home { justify-content: flex-start; }
.match-team.away { justify-content: flex-end; text-align: right; }

.match-time {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.match-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.odd-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.odd-btn:hover {
  background: var(--color-btn-red);
  border-color: var(--color-btn-red);
}

.odd-label { display: block; font-size: 11px; color: var(--color-text-muted); margin-bottom: 2px; }
.odd-value { display: block; font-size: 15px; font-weight: 700; color: #4ade80; }
.odd-btn:hover .odd-value { color: white; }

/* ===== PROMO BANNERS ===== */
.promo-banner {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

.promo-banner:hover { transform: scale(1.01); }

.promo-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* ===== BONUS CARDS ===== */
.bonus-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.bonus-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.bonus-card-body { padding: 24px; }
.bonus-card-title { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.bonus-card-amount { font-size: 32px; font-weight: 900; color: var(--color-btn-red); margin-bottom: 12px; }
.bonus-card-desc { font-size: 14px; color: var(--color-text-muted); margin-bottom: 20px; line-height: 1.7; }

/* ===== VIP BLOCK ===== */
.vip-block img {
  width: 100%;
  border-radius: 16px;
}

/* ===== PARTNERS ===== */
.partners-section {
  background: var(--color-dark);
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.partners-inner img {
  width: 100%;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.2s;
}

.partners-inner img:hover { filter: grayscale(0) opacity(1); }

/* ===== APP DOWNLOAD ===== */
.app-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-red-dark) 100%);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.app-content { flex: 1; }
.app-content h2 { font-size: 32px; font-weight: 900; margin-bottom: 16px; }
.app-content p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 28px; line-height: 1.7; }

.app-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  text-decoration: none;
}

.app-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.app-btn-icon { font-size: 28px; }
.app-btn-text small { display: block; font-size: 11px; opacity: 0.7; }
.app-btn-text strong { display: block; font-size: 16px; font-weight: 700; }

.app-image { width: 250px; flex-shrink: 0; }
.app-image img { border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

/* ===== CRYPTO SECTION ===== */
.crypto-card {
  background: linear-gradient(135deg, #1a2f47 0%, #0d1f33 100%);
  border: 1px solid rgba(212,43,39,0.3);
  border-radius: 16px;
  padding: 32px;
}

.crypto-icon { font-size: 48px; margin-bottom: 16px; }
.crypto-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.crypto-card p { color: var(--color-text-muted); line-height: 1.7; }

.crypto-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.crypto-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== SEO TEXT BLOCK ===== */
.seo-text {
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
  padding: 56px 20px;
}

.seo-text-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.seo-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-white);
}

.seo-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--color-white);
}

.seo-text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.seo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--color-btn-red);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: var(--color-dark);
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs span { color: var(--color-white); }
.breadcrumb-sep { opacity: 0.4; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-red-dark) 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 32px;
}

/* ===== ADVANTAGES ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-icon { font-size: 40px; }
.adv-card h3 { font-size: 18px; font-weight: 700; }
.adv-card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.7; }

/* ===== STEPS ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: step-counter;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  counter-increment: step-counter;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-btn-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  content: counter(step-counter);
}

.step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--color-text-muted); font-size: 14px; line-height: 1.7; }

/* ===== TABLE ===== */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.payment-table th {
  background: var(--color-dark);
  color: var(--color-text-muted);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

.payment-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(36, 54, 80, 0.5);
  color: var(--color-white);
}

.payment-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a1525;
  border-top: 1px solid var(--color-border);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.footer-brand {}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--color-text-muted); font-size: 14px; line-height: 1.8; max-width: 320px; }

.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--color-white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--color-text-muted); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal { color: var(--color-text-muted); font-size: 12px; line-height: 1.8; max-width: 700px; }

.footer-badges { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.badge-18 {
  width: 40px;
  height: 40px;
  background: var(--color-btn-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
  padding: 20px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  color: var(--color-text-muted);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: block;
}

.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.mobile-nav .btn { margin-top: 8px; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .app-section { flex-direction: column; }
  .app-image { display: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav.open { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 60px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stat strong { font-size: 22px; }
  .section { padding: 48px 20px; }
  .seo-columns { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .app-section { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .header-actions .btn-secondary { display: none; }
}

/* ===== UTILITY ===== */
.text-red { color: var(--color-btn-red); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none; }

/* ===== ANIMATE ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* live dot pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.live-dot { animation: pulse 1.5s ease infinite; }

/* ===== ADDITIONAL COMPONENTS ===== */

/* Jackpot meters */
.jackpot-meters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jackpot-meter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1a2f47, #1e3a5f);
  border: 1px solid #D42B27;
  border-radius: 10px;
}
.jackpot-label { font-size: 0.9rem; color: var(--color-text-muted); }
.jackpot-value { font-size: 1.2rem; font-weight: 700; color: #f9c932; }

/* Providers grid */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.provider-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.provider-card:hover { border-color: var(--color-btn-red); }
.provider-name { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; color: #fff; }
.provider-card p { font-size: 0.78rem; color: var(--color-text-muted); }

/* Crypto benefits */
.crypto-benefits { display: flex; flex-direction: column; gap: 16px; }
.crypto-benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.crypto-icon { font-size: 1.8rem; flex-shrink: 0; width: 44px; text-align: center; }
.crypto-benefit-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.crypto-benefit-item p { font-size: 0.82rem; color: var(--color-text-muted); }

/* Crypto cards */
.crypto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.crypto-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.crypto-symbol { font-size: 1.6rem; }
.crypto-name { font-size: 0.8rem; font-weight: 600; }
.crypto-time { font-size: 0.72rem; color: #4caf50; }

/* Bonus cards */
.bonus-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.bonus-card:hover { transform: translateY(-4px); border-color: var(--color-btn-red); }
.bonus-icon { font-size: 2.5rem; margin-bottom: 12px; }
.bonus-card h3 { margin-bottom: 12px; }
.bonus-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 20px; }

/* Download steps */
.download-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.dl-step { display: flex; gap: 14px; align-items: flex-start; }
.dl-num {
  background: var(--color-btn-red);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.dl-step p { font-size: 0.9rem; color: var(--color-text-muted); padding-top: 3px; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--color-btn-red); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Changelog */
.changelog { display: flex; flex-direction: column; gap: 14px; }
.changelog-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: var(--color-card); border-radius: 8px; }
.changelog-version {
  background: var(--color-btn-red);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.changelog-item strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.changelog-item p { font-size: 0.82rem; color: var(--color-text-muted); }

/* Stats grid 2x2 */
.stats-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.stat-card strong { display: block; font-size: 1.6rem; color: var(--color-btn-red); margin-bottom: 6px; }
.stat-card p { font-size: 0.8rem; color: var(--color-text-muted); }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #17263D 0%, #37050C 100%) !important;
  text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }

@media (max-width: 768px) {
  .crypto-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-2 { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 1.4rem; }
}

/* ===== FONBET IMAGE FRAMES ===== */

/* Base wrapper — добавляем к любому img через JS */
.fb-img-wrap {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  /* Фирменная рамка: красная линия снизу + тонкий border */
  border: 1.5px solid rgba(212,43,39,0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 4px 24px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  background: var(--color-card);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

/* Красная полоска — фирменный акцент FONBET снизу */
.fb-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D42B27 40%, #ff4d4d 60%, transparent 100%);
  opacity: 0.85;
  transition: opacity 0.28s ease, height 0.28s ease;
  pointer-events: none;
}

/* Верхний уголковый акцент */
.fb-img-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  background:
    linear-gradient(135deg, rgba(212,43,39,0.55) 0%, transparent 55%);
  border-radius: 14px 0 0 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.28s;
}

.fb-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.28s ease;
  border-radius: 13px;
}

/* Hover — лёгкий зум + усиление рамки */
.fb-img-wrap:hover {
  border-color: rgba(212,43,39,0.75);
  box-shadow:
    0 0 0 1px rgba(212,43,39,0.2),
    0 8px 36px rgba(0,0,0,0.55),
    0 0 20px rgba(212,43,39,0.18);
  transform: translateY(-2px);
}

.fb-img-wrap:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.fb-img-wrap:hover::after {
  height: 4px;
  opacity: 1;
}

/* Курсор zoom для кликабельных */
.fb-img-wrap.zoomable-wrap {
  cursor: zoom-in;
}

/* Значок лупы при hover */
.fb-img-wrap.zoomable-wrap::after {
  /* Переопределяем: иконка + полоска вместе через box-shadow overlay */
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D42B27 40%, #ff4d4d 60%, transparent 100%);
}

.fb-img-wrap .fb-zoom-icon {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(212,43,39,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.fb-img-wrap:hover .fb-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ===== ВАРИАЦИИ РАМОК ===== */

/* Hero-баннер — более крупная тень */
.fb-img-wrap.fb-frame-hero {
  border-radius: 16px;
  border-color: rgba(212,43,39,0.45);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 12px 48px rgba(0,0,0,0.6),
    0 0 40px rgba(212,43,39,0.12);
}

.fb-img-wrap.fb-frame-hero img { border-radius: 15px; }

/* Карточка (маленькая) — компактная */
.fb-img-wrap.fb-frame-card {
  border-radius: 10px;
  border-color: rgba(212,43,39,0.28);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.fb-img-wrap.fb-frame-card img { border-radius: 9px; }
.fb-img-wrap.fb-frame-card::before { width: 28px; height: 28px; }

/* Баннер (wide) */
.fb-img-wrap.fb-frame-banner {
  border-radius: 12px;
}

/* Тёмная рамка для тёмных секций */
.fb-img-wrap.fb-frame-dark {
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(212,43,39,0.15),
    0 8px 32px rgba(0,0,0,0.7);
}

.fb-img-wrap.fb-frame-dark:hover {
  border-color: rgba(212,43,39,0.6);
}

/* ===== LIGHTBOX УЛУЧШЕННЫЙ ===== */
#fb-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
}

#fb-lightbox.active { display: flex !important; }

#fb-lightbox-img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 14px;
  /* Рамка в lightbox */
  border: 1.5px solid rgba(212,43,39,0.5);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 80px rgba(0,0,0,0.85),
    0 0 60px rgba(212,43,39,0.15);
  object-fit: contain;
  transform: scale(0.88);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
    opacity 0.25s ease;
}

#fb-lightbox.active #fb-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

#fb-lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(212,43,39,0.85);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

#fb-lightbox-close:hover {
  background: #ff2e2e;
  transform: scale(1.1) rotate(90deg);
}

#fb-lightbox-caption {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  background: rgba(15,28,46,0.85);
  border: 1px solid rgba(212,43,39,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  max-width: 80vw;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Старый .zoomable — оставляем как fallback */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zoomable:hover {
  transform: scale(1.025);
  box-shadow: 0 6px 24px rgba(212,43,39,0.3);
}

/* ===== RESPONSIVE FRAMES ===== */
@media (max-width: 768px) {
  .fb-img-wrap { border-radius: 10px; }
  .fb-img-wrap img { border-radius: 9px; }
  .fb-img-wrap.fb-frame-hero { border-radius: 12px; }
  .fb-img-wrap .fb-zoom-icon { opacity: 0.7; transform: scale(1); bottom: 8px; right: 8px; }
}
