/* =========================================
   Mostbet HU — Design System
   ========================================= */
:root {
  /* Backgrounds & Surfaces */
  --bg: #ffffff;
  --bg-header: #000000;
  --bg-footer: #000000;
  --bg-card: #f8f9fa;
  --bg-surf: #eaf3fe;
  --bg-surf2: #e9ecef;

  /* Accents — Mostbet brand colors */
  --accent: #1478D7;
  --accent2: #FE8B05;

  /* Auxiliary */
  --accent-red: #dc3545;
  --neon: #ffd700;
  --success: #28a745;

  /* Text */
  --text: #000000;
  --text-light: #ffffff;
  --text2: #6c757d;

  /* Decor */
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

  /* Layout */
  --container: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg-header);
  color: var(--text-light);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 22px; width: auto; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.nav-main a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-main a:hover { color: var(--accent2); text-decoration: none; border-color: var(--accent2); }

.play-btn {
  background: var(--accent2);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(254,139,5,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
  white-space: nowrap;
}
.play-btn:hover {
  background: #ff9820;
  transform: translateY(-1px);
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(254,139,5,0.55);
}
.play-btn-mobile { display: none; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding-top: 78px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a2447 0%, var(--accent) 60%, #0a4b8a 100%);
  color: var(--text-light);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(254,139,5,0.25), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent2); }
.hero p.lead {
  font-size: 18px;
  margin-bottom: 26px;
  opacity: 0.95;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-badges span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  backdrop-filter: blur(4px);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent2);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 15px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(254,139,5,0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none !important; box-shadow: 0 10px 28px rgba(254,139,5,0.6); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none !important; }
.hero-stats {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-stats h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--accent2);
}
.hero-stats ul { list-style: none; }
.hero-stats li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  font-size: 15px;
}
.hero-stats li:last-child { border: 0; }
.hero-stats li strong { color: var(--accent2); font-weight: 700; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0 8px;
  font-size: 14px;
  color: var(--text2);
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

/* Content */
.content { padding: 20px 0 60px; }
.content-inner { max-width: 900px; margin: 0 auto; }
.content h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 800;
}
.content h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 40px 0 16px;
  color: var(--text);
  font-weight: 700;
  padding-left: 14px;
  border-left: 4px solid var(--accent2);
}
.content h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 30px 0 12px;
  color: var(--accent);
  font-weight: 700;
}
.content p { margin-bottom: 16px; }
.content ul, .content ol { margin: 12px 0 20px 24px; }
.content ul li, .content ol li { margin-bottom: 8px; }
.content strong { color: var(--text); }

.content-banner {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-banner img { width: 100%; display: block; }

/* Tables — scrollable on mobile */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  min-width: 500px;
}
th {
  background: var(--accent);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
tr:nth-child(even) td { background: var(--bg-card); }

/* Info boxes */
.info-box {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 22px 0;
}
.info-box.warn { background: #fff4e6; border-left-color: var(--accent2); }
.info-box.success { background: #e8f7ed; border-left-color: var(--success); }

/* CTA */
.cta-block {
  background: linear-gradient(120deg, var(--accent) 0%, #0a4b8a 100%);
  color: #fff;
  padding: 36px 30px;
  border-radius: var(--radius);
  text-align: center;
  margin: 34px 0;
}
.cta-block h3 { color: #fff; margin: 0 0 12px; font-size: 22px; }
.cta-block p { margin-bottom: 20px; opacity: 0.95; }

/* Feature grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-card h4 { color: var(--accent); font-size: 17px; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text2); margin: 0; }

/* FAQ */
.faq { margin: 40px 0 20px; }
.faq h2 { margin-bottom: 20px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  user-select: none;
}
.faq-q:hover { background: var(--bg-surf2); }
.faq-q::after {
  content: "+";
  font-size: 24px;
  color: var(--accent2);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  color: var(--text2);
}
.faq-item.open .faq-a {
  padding: 4px 20px 18px;
  max-height: 600px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-name { font-weight: 700; color: var(--text); }
.review-date { font-size: 13px; color: var(--text2); }
.stars { color: var(--neon); font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.6; }

/* Author block */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0 10px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-block img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent2);
  flex-shrink: 0;
}
.author-block .a-name { font-weight: 700; font-size: 17px; color: var(--accent); margin-bottom: 4px; }
.author-block .a-role { font-size: 13px; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.author-block .a-bio { font-size: 14px; color: var(--text); line-height: 1.55; }

/* Footer */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-light);
  padding: 46px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--accent2);
  font-size: 16px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent2); text-decoration: none; }
.footer-about p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; }
.footer-about img { height: 40px; margin-bottom: 14px; }
.disclaimer {
  padding: 24px 0 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  text-align: center;
}
.age-18 {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 12px;
}
.copyright {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .author-block { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav-main {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--bg-header);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-main.open {
    max-height: 500px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-main a {
    padding: 14px 20px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .header-inner { gap: 12px; }
  .play-btn { display: none; }
  .play-btn-mobile {
    display: inline-block;
    background: var(--accent2);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .burger { display: block; }

  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .content h1 { font-size: 26px; }
  .content h2 { font-size: 22px; }
  .content h3 { font-size: 18px; }

  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .hero-cta { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 24px; }
}
