/* ===== MOSTBET KZ — GLOBAL STYLES ===== */
:root {
  --bg: #002347;
  --header: #074990;
  --btn-orange: #FA5D00;
  --btn-blue: #4994E3;
  --white: #FFFFFF;
  --text-light: #b0c4de;
  --text-muted: #7a9bbf;
  --card-bg: #052d5a;
  --border: #0a3d74;
  --gold: #f5c518;
  --green: #28a745;
}

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

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

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--btn-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--btn-orange); }

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

/* ===== HEADER ===== */
.site-header {
  background-color: var(--header);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: transparent;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

/* ===== NAV ===== */
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-main a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  border-radius: 0;
  text-align: center;
  line-height: 1.2;
}
.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.btn-orange {
  background-color: var(--btn-orange);
  color: var(--white);
}
.btn-blue {
  background-color: var(--btn-blue);
  color: var(--white);
}
.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}
.btn-xl {
  padding: 18px 48px;
  font-size: 1.15rem;
  letter-spacing: 1px;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--btn-orange);
  color: var(--btn-orange);
}
.btn-outline:hover {
  background: var(--btn-orange);
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #063a7a 0%, #002347 60%, #041829 100%);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,148,227,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: var(--btn-orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 span {
  color: var(--btn-orange);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-img {
  margin: 30px auto 0;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: #041e3d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 20px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 10px 20px;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--btn-orange);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION ===== */
.section {
  padding: 70px 20px;
}
.section-alt {
  background: #041e3d;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.25;
}
.section-title span {
  color: var(--btn-orange);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--btn-orange);
  margin: 14px 0 30px;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 26px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-color: var(--btn-orange);
}
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 16px;
}
.card-img[src$=".png"] {
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 20px 10px;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--btn-orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(250,93,0,0.3);
  border-color: var(--btn-orange);
}
.game-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.3s;
}
.game-card:hover img {
  transform: scale(1.05);
}
.game-card-body {
  padding: 12px;
}
.game-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.game-card-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== BONUS CARDS ===== */
.bonus-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bonus-card:hover {
  border-color: var(--btn-orange);
  box-shadow: 0 8px 28px rgba(250,93,0,0.2);
}
.bonus-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.bonus-card-body {
  padding: 20px;
}
.bonus-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold);
}
.bonus-card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ===== STEPS ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}
.step-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px;
}
.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--btn-orange);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.step-content p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== CRYPTO ===== */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.crypto-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px 14px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.crypto-item:hover {
  border-color: var(--btn-orange);
  transform: translateY(-3px);
}
.crypto-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
.crypto-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.crypto-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== TABLE ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.info-table th {
  background: #063a7a;
  padding: 14px 16px;
  font-size: 0.88rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.info-table td {
  padding: 14px 16px;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-light);
  vertical-align: top;
}
.info-table tr:nth-child(even) td {
  background: #041e3d;
}
.info-table td strong {
  color: var(--white);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, #063a7a, #0a2d5a);
  border: 1px solid var(--border);
  padding: 50px 40px;
  text-align: center;
  margin: 50px 0;
}
.promo-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--white);
}
.promo-banner p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.promo-amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--btn-orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

/* ===== ADVANTAGES ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.adv-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--btn-orange);
  padding: 24px;
}
.adv-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.adv-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.adv-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  user-select: none;
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(250,93,0,0.08);
}
.faq-question .arrow {
  font-size: 1.1rem;
  color: var(--btn-orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer {
  display: block;
}

/* ===== REVIEW CARDS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.review-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--white);
}
.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== TEXT CONTENT ===== */
.text-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--white);
  line-height: 1.3;
}
.text-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-light);
  line-height: 1.4;
}
.text-content p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.text-content ul, .text-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-content li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
}
.text-content strong {
  color: var(--white);
  font-weight: 700;
}

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.two-col-img img {
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.two-col-img img[src$=".png"] {
  border: none;
  box-shadow: none;
  background: transparent;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, #063a7a, #041e3d);
  border-left: 5px solid var(--btn-orange);
  padding: 26px 28px;
  margin: 30px 0;
}
.highlight-box p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}
.highlight-box strong {
  color: var(--white);
}

/* ===== WARNING BOX ===== */
.warning-box {
  background: rgba(250,93,0,0.08);
  border: 1px solid rgba(250,93,0,0.35);
  padding: 18px 22px;
  margin: 24px 0;
  border-left: 4px solid var(--btn-orange);
}
.warning-box p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.65;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 20px;
  background: rgba(4,30,61,0.7);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  font-size: 0.84rem;
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.84rem;
}
.breadcrumb span {
  color: var(--text-light);
  font-size: 0.84rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #063a7a 0%, #002347 100%);
  padding: 50px 20px 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  max-width: 800px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.02rem;
  color: var(--text-light);
  max-width: 650px;
  line-height: 1.7;
}
.page-hero span {
  color: var(--btn-orange);
}

/* ===== MOBILE NAV TOGGLE ===== */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #020f1f;
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--btn-orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: #4a6680;
  line-height: 1.5;
  max-width: 500px;
  text-align: right;
}

/* ===== RATING WIDGET ===== */
.rating-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.rating-stars {
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 3px;
}
.rating-score {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== INLINE INFO LIST ===== */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  color: var(--btn-orange);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== TAG PILLS ===== */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag {
  background: rgba(73,148,227,0.12);
  border: 1px solid rgba(73,148,227,0.3);
  color: var(--btn-blue);
  font-size: 0.8rem;
  padding: 5px 12px;
  font-weight: 600;
}

/* ===== NOTICE ===== */
.notice {
  background: rgba(40,167,69,0.08);
  border: 1px solid rgba(40,167,69,0.3);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin: 20px 0;
}
.notice p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 60px; }
  .logo img { height: 34px; }
  .logo-text { display: none; }
  .nav-main { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--header); padding: 16px; gap: 4px; box-shadow: 0 8px 20px rgba(0,0,0,0.4); z-index: 999; }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 12px 16px; border-radius: 0; }
  .burger { display: flex; }
  .header-btns .btn { padding: 8px 14px; font-size: 0.82rem; }
  .hero { padding: 50px 16px 40px; }
  .section { padding: 50px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; max-width: 100%; }
  .stats-inner { gap: 4px; }
  .stat-item { padding: 8px 12px; }
  .stat-num { font-size: 1.4rem; }
  .promo-banner { padding: 34px 20px; }
  .info-table { font-size: 0.85rem; }
  .info-table th, .info-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-xl { padding: 14px 28px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ===== LAZY LOADING ===== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--btn-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  font-size: 1.2rem;
  z-index: 500;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
