@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Фирменная светлая палитра Mostbet */
  --blue: #0052b4;
  --blue-dk: #00367a;
  --blue-light: #ebf3fa;
  --orange: #ff7300;
  --orange-dk: #e56700;
  --white: #ffffff;
  --bg-main: #f4f7f9;
  --border: #dce5ed;
  --text-dark: #1a2233;
  --text-muted: #5a6b82;
  --green: #27ae60;
  --red: #eb5757;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 82, 180, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 82, 180, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Nav */
header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  height: 40px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
}

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

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem; 
  white-space: nowrap;
  transition: 0.3s;
}

.header-nav a:hover {
  color: var(--orange);
}

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

.header-actions .button {
  padding: 10px 16px; 
  font-size: 0.8rem; 
  white-space: nowrap; 
}

/* Универсальные стили для кнопок */
.button {
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Оранжевые трекинг-кнопки */
.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 115, 0, 0.3);
}
.btn-orange:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
}

/* Синие трекинг-кнопки (Логин) */
.btn-blue {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-blue:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px;
}

/* H1 Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #002855 100%);
  border-radius: var(--radius);
  padding: 50px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.hero-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-banner p {
  font-size: 1.1rem;
  color: #dce5ed;
  margin-bottom: 24px;
}

/* Карточка акции 2026 */
.promo-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-dark);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.promo-card::before {
  content: "AKCE 2026";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.promo-card h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.promo-card p.amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin: 0;
}
.promo-card p.fs {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  margin: 10px 0 20px;
}
.promo-card .code {
  display: inline-block;
  background: var(--bg-main);
  border: 2px dashed var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 800;
  color: var(--blue-dk);
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.promo-card span.note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 15px;
}

/* Důvěryhodný proužek (Trust Strip) */
.trust-strip {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  margin-top: 20px;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: var(--shadow);
}
.trust-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
}
.trust-strip span strong {
  color: var(--orange);
  font-weight: 700;
}

/* TOC - Rychlá navigace */
.toc-container {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 25px 30px;
  margin-top: 10px;
  box-shadow: var(--shadow);
}
.toc-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.toc-links a {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
}
.toc-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* Podtitulky (Eyebrow) před H2 */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

/* H2 & Typography */
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--blue-dk);
  position: relative;
}
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin-top: 10px;
  border-radius: 2px;
}
.section > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Lists */
ul,
ol {
  margin: 20px 0;
  padding-left: 20px;
  color: var(--text-muted);
}
ul li,
ol li {
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li::marker {
  color: var(--orange);
}
ol li::marker {
  color: var(--blue);
  font-weight: 700;
}

/* Tiles */
ul.tiles-grid {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
ul.tiles-grid li {
  background: var(--white);
  padding: 25px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
ul.tiles-grid li:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
}
.tile-icon {
  font-size: 2.2rem;
  display: block;
}
.tile-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--blue-dk);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
td,
th {
  padding: 18px 20px;
  text-align: left;
}
th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
td {
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}
tr:last-child td {
  border-bottom: none;
}
tr:nth-child(even) {
  background: var(--bg-main);
}
td:first-child {
  font-weight: 700;
  color: var(--blue-dk);
}

/* Pros Cons Block */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}
.pros-cons > div {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid;
}
.pros-cons > div:first-child {
  border-top-color: var(--green);
}
.pros-cons > div:last-child {
  border-top-color: var(--red);
}
.pros-cons h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--blue-dk);
}
.pros-cons ul {
  list-style: none;
  padding: 0;
}
.pros-cons li {
  margin-bottom: 15px;
  padding-left: 28px;
  position: relative;
  font-weight: 500;
  font-size: 1rem;
}
.pros-cons > div:first-child li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.2rem;
}
.pros-cons > div:last-child li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 1.2rem;
}

/* Expert Note */
.expert-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  padding: 30px;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.expert-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.expert-avatar {
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.expert-title strong {
  display: block;
  color: var(--blue-dk);
  font-size: 1.1rem;
}
.expert-title span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.expert-note p {
  margin: 0 0 10px 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* FAQ */
.faq-container {
  margin-top: 20px;
}
.faq-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.faq-question {
  margin: 0;
  padding: 20px 60px 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dk);
  transition: 0.3s;
}
.faq-answer {
  max-height: 0;
  margin: 0;
  padding: 0 24px;
  opacity: 0;
  transition: all 0.4s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.toggle:hover + .faq-question {
  color: var(--orange);
}
.toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
  opacity: 1;
}
.icon {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 20px;
  height: 20px;
}
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background-color: var(--blue);
  transition: 0.3s;
}
.icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}
.icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}
.toggle:checked ~ .icon::after {
  transform: rotate(90deg);
}

/* Footer */
footer {
  background: var(--blue-dk);
  color: var(--white);
  padding: 60px 20px 20px;
  margin-top: 40px;
  position: relative;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-inner h4 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 1rem;
}
.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-inner ul li {
  margin-bottom: 8px;
}
.footer-inner ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}
.footer-inner ul a:hover {
  color: var(--orange);
}
.warning-18 {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  margin-top: 20px;
}
.warning-18 strong {
  background: var(--orange);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 1.2rem;
}
.footer-brand {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-brand p strong {
  color: var(--white);
  font-size: 1.1rem;
}

/* Scroll to top button (Now inside footer) */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--orange);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 115, 0, 0.4);
  transition: 0.3s;
  z-index: 99;
}
.scroll-top:hover {
  background: var(--orange-dk);
  transform: translateY(-5px);
}

/* =========================================
   АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================= */
@media (max-width: 900px) {
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .pros-cons {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .header-nav { 
    display: none; /* Прячем меню */
  }
  .header-inner { 
    flex-direction: column; 
    align-items: flex-start; /* Выравниваем лого и кнопки по левому краю */
    gap: 15px; 
    padding: 15px 20px;
  }
  .header-actions { 
    width: 100%; 
    display: flex;
    justify-content: space-between; /* Кнопки занимают всю ширину */
    gap: 10px; 
  }
  .header-actions .button {
    flex: 1; /* Кнопки делят ширину экрана пополам */
    padding: 12px 5px;
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  ul.tiles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  ul.tiles-grid li {
    padding: 15px 10px;
    font-size: 0.95rem;
  }
  ul.tiles-grid li span {
    font-size: 1.8rem;
  }
  .section {
    padding: 20px 15px;
  }
  .hero-banner h1 {
    font-size: 1.8rem;
  }
  .promo-card {
    padding: 25px 15px;
  }
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .toc-container {
    padding: 20px 15px;
  }
}

p.eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}


/* TOC Обертка (синий фон) */
.table_of_contents_wrapper {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 25px 30px;
  margin: 10px 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Сами ссылки-пилюли */
.table_of_contents_wrapper .table_link {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
  cursor: pointer;
  display: inline-block;
}

/* Эффект при наведении */
.table_of_contents_wrapper .table_link:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.general-image {
  display: block;       
  margin: 30px auto;    
  max-width: 100%;  
  height: auto;        
  border-radius: var(--radius); 
  box-shadow: var(--shadow);
}