/* =====================================
   GLOBAL STYLES — Reset & Typography
   ===================================== */

:root {
  /* --- Brand Palette: Bet365 inspired --- */
  --site-bg-darkest: #00291f;    /* тёмный фон (например, хедер или кнопки) */
  --site-bg-dark: #003b2f;       /* основной фон шапки */
  --site-bg-light: #f5f5f5;      /* фон контентных секций */
  --site-border: #d3d9de;        /* нейтральная граница */
  --site-text: #1b1b1b;          /* основной текст (почти чёрный) */

  /* --- Accent colors --- */
  --site-accent: #00b67a;        /* основной зелёный акцент */
  --site-accent-light: #33d08a;  /* hover или подсветка */
  --site-accent-hover: #00cc84;  /* при наведении */
  --site-highlight: #ffcc00;     /* дополнительный акцент (жёлтый) */

  /* --- Layout & Typography --- */
  --site-radius: 8px;
  --site-font: 'Inter', 'Segoe UI', Roboto, sans-serif;
  --site-line-height: 1.65;
  --site-transition: 0.25s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- HTML / Body --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--site-bg-light);
  color: var(--site-text);
  font-family: var(--site-font);
  font-size: 1rem;
  line-height: var(--site-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 88px; /* компенсация под фиксированный хедер */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: #0e3524; /* глубокий зелёный оттенок */
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

p, li, td, th {
  color: #1f2a21;
  font-weight: 400;
}

a {
  color: var(--site-accent);
  text-decoration: none;
  transition: color var(--site-transition), opacity var(--site-transition);
}

a:hover {
  color: var(--site-accent-hover);
  opacity: 0.9;
}

/* =====================================
   LAYOUT & CONTAINERS
   ===================================== */

.container {
  width: 100%;
  margin-inline: auto;
}

.section {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--site-border);
  padding: 60px 0;
}

/* =====================================
   MEDIA QUERIES
   ===================================== */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
    padding-top: 70px;
  }

  h1 {
    font-size: 1.75rem;
  }
}

/* =====================================
   HEADER — Premium, unified, adaptive
   ===================================== */

body {
  padding-top: 70px; /* компенсация под фиксированный хедер */
  transition: background 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

/* --- Основной контейнер --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0b0e12 90%, #0a0c10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.header.is-hidden {
  transform: translateY(-100%);
}

/* --- Внутренний блок --- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 28px;
  min-height: 68px;
}

/* --- Логотип --- */
.header-logo {
  flex-shrink: 0;
}
.header-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 145, 255, 0.25));
  transition: filter 0.3s ease;
}
.header-logo img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 145, 255, 0.45));
}

/* =====================================
   BUTTONS — Bet365 clean & confident
   ===================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

/* --- Primary (Registrarse) --- */
.btn-primary {
  background: var(--site-highlight, #ffd633);
  color: #0b291f;
}
.btn-primary:hover {
  background: #ffdb4d;
}
.btn-primary:active {
  background: #ffcc00;
}

/* --- Ghost (Ingresar) --- */
.btn-ghost {
  background: #004c3a;
  color: #ffffff;
  border: 1px solid #007d5c;
}
.btn-ghost:hover {
  background: #006a52;
  border-color: #00926d;
}
.btn-ghost:active {
  background: #005845;
}

/* =====================================
   BURGER — Simple, clean, modern
   ===================================== */

.burger {
  position: relative;
  z-index: 2001;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #004834;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.burger:hover {
  background: #006247;
  border-color: rgba(255, 255, 255, 0.25);
}

.burger:focus-visible {
  outline: 2px solid var(--site-highlight, #ffd633);
  outline-offset: 2px;
}

.burger-box {
  position: relative;
  width: 20px;
  height: 16px;
}

.burger-line,
.burger-line::before,
.burger-line::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  content: "";
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-line {
  top: 50%;
  transform: translateY(-50%);
}
.burger-line::before {
  top: -6px;
}
.burger-line::after {
  top: 6px;
}

/* --- Открытое состояние (крестик) --- */
.burger[aria-expanded="true"] {
  background: var(--site-accent, #00c16a);
  border-color: var(--site-accent, #00c16a);
  transform: rotate(90deg);
}
.burger[aria-expanded="true"] .burger-line {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger-line::before {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger-line::after {
  transform: rotate(-90deg);
}
.burger[aria-expanded="true"] .burger-line,
.burger[aria-expanded="true"] .burger-line::before,
.burger[aria-expanded="true"] .burger-line::after {
  background: #fff;
}
/* =====================================
   MOBILE / UNIVERSAL MENU — Unified style
   ===================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 100vh;
  background: #003b2f;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  z-index: 999;
  padding-top: 80px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* открытое состояние */
.mobile-menu.is-open {
  transform: translateY(0);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* затемнение фона при открытии */
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
}

/* --- логотип в меню --- */
.mobile-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0 10px;
  background: #003b2f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

/* --- список ссылок --- */
.mobile-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding: 22px 18px 120px;
}

.mobile-link {
  display: block;
  background: #004c3a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.mobile-link:hover {
  background: var(--site-accent, #00c16a);
  border-color: var(--site-accent, #00c16a);
  color: #fff;
  transform: translateY(-2px);
}

/* --- нижние кнопки (login/register) --- */
.mobile-actions {
  padding: 18px;
  display: grid;
  gap: 12px;
  background: #00291f;
  position: sticky;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.mobile-actions .btn {
  border-radius: 5px;
  font-size: 0.9rem;
}

/* =====================================
   ANIMATION & RESPONSIVE BEHAVIOR
   ===================================== */

/* Анимация появления меню */
.mobile-menu.is-open .mobile-link {
  animation: fadeInUp 0.3s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- адаптив для больших экранов --- */
@media (min-width: 1080px) {
  .mobile-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
  }
  .mobile-link {
    font-size: 16px;
    padding: 16px;
  }
  .mobile-actions {
    gap: 14px;
  }
}

/* --- адаптив для мобильных --- */
@media (max-width: 480px) {
  .mobile-list {
    grid-template-columns: 1fr;
  }
  .mobile-link {
    font-size: 15px;
    padding: 14px;
  }
  .mobile-actions .btn {
    font-size: 0.85rem;
  }
}

/* --- плавное исчезновение фона при закрытии меню --- */
body:not(.menu-open)::before {
  opacity: 0;
  pointer-events: none;
}

/* =====================================
   SMOOTH TRANSITIONS
   ===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

/* =====================================
   HERO SECTION — Bet365 enriched style
   ===================================== */

.page-hero-simple {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; /* ближе текст и кнопка */
  padding: 28px 10%;
  background: linear-gradient(
    90deg,
    #f7faf8 0%,
    #f1f5f2 40%,
    #eaf2ec 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* --- soft color glow --- */
.page-hero-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0, 182, 122, 0.1) 0%, transparent 70%),
              radial-gradient(circle at 10% 80%, rgba(255, 204, 0, 0.08) 0%, transparent 75%);
  opacity: 0.9;
  pointer-events: none;
}

/* --- left content (text + breadcrumbs) --- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  z-index: 1;
}

/* --- breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: #4d5a52;
}

.breadcrumbs a {
  color: #007a5e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.breadcrumbs a:hover {
  color: #009e73;
}

.breadcrumbs span {
  color: #6a756d;
  font-weight: 500;
}

.breadcrumbs .current {
  color: #1b2b25;
  font-weight: 700;
}

/* --- Title --- */
.page-hero-simple span {
  color: #7bac9c;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

/* --- CTA Button --- */
.hero-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #00b57a 0%, #00945f 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 28px;
  border-radius: 6px;
  border: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 149, 89, 0.25);
}

.hero-btn:hover {
  background: linear-gradient(180deg, #00a36a 0%, #00c382 100%);
  box-shadow: 0 6px 14px rgba(0, 149, 89, 0.35);
  color: #fff;
}

.hero-btn:active {
  background: #00945f;
  transform: scale(0.97);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .page-hero-simple {
    flex-direction: column;
    gap: 10px;
    padding: 24px 20px;
  }

  .hero-left {
    align-items: flex-start;
    gap: 6px;
  }

  .breadcrumbs {
    font-size: 0.78rem;
  }

  .hero-btn {
    align-self: center;
    padding: 8px 26px;
    font-size: 0.85rem;
  }
}

/* =====================================
   ARTICLE BODY — Bet365 clean & readable
   ===================================== */

.article-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  color: #0f231b;
  font-size: 1.06rem;
  line-height: 1.8;
  letter-spacing: 0.1px;
  background-color: transparent;
  font-family: var(--site-font);
}

/* --- Headings --- */
.article-body h1,
.article-body h2,
.article-body h3 {
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 22px;
  font-weight: 700;
  color: #0b291f; /* фирменный глубокий зелёный */
  text-wrap: balance;
}

/* --- Главный заголовок --- */
.article-body h1 {
  font-size: clamp(2rem, 4.8vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  color: #063720;
  letter-spacing: 0.2px;
  line-height: 1.25;
  border-bottom: 2px solid rgba(255, 204, 0, 0.3); /* жёлтый акцент */
  padding-bottom: 14px;
}

/* --- Второй уровень --- */
.article-body h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: #0b3a2b;
  padding-left: 14px;
  border-left: 3px solid rgba(0, 153, 102, 0.6);
  background: linear-gradient(90deg, rgba(0, 153, 102, 0.05), transparent);
  border-radius: 2px;
}

/* --- Третий уровень --- */
.article-body h3 {
  position: relative;
  font-size: 1.15rem;
  font-weight: 600;
  color: #155e44;
  margin-top: 44px;
  padding-top: 10px;
  letter-spacing: 0.3px;
}
.article-body h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: #ffcc00; /* жёлтая линия — Bet365-стиль */
  border-radius: 2px;
}

/* --- Paragraphs --- */
.article-body p {
  margin-bottom: 20px;
  color: #1e322b;
}

.article-body strong {
  color: #063720;
  font-weight: 700;
}

/* --- Links --- */
.article-body a {
  color: #00854b;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 133, 75, 0.2);
  transition: all 0.25s ease;
}
.article-body a:hover {
  color: #00a85f;
  border-color: rgba(0, 168, 95, 0.5);
}

/* --- Images --- */
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 26px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Lists --- */
.article-body ul,
.article-body ol {
  margin: 24px 0 32px 28px;
  padding: 0;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
  color: #203830;
}

.article-body ul li::marker {
  color: #009966; /* зелёный */
}

.article-body ol li::marker {
  color: #ffcc00; /* жёлтый */
}

/* --- Tables (если есть) --- */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.95rem;
}

.article-body th,
.article-body td {
  border: 1px solid #d9e3dc;
  padding: 10px 14px;
  text-align: left;
}

.article-body th {
  background: #f3f7f4;
  color: #0a291f;
  font-weight: 700;
}

.article-body tr:nth-child(even) {
  background: #fafcfb;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-body {
    font-size: 1rem;
    padding: 36px 18px 60px;
  }

  .article-body h1 {
    font-size: 1.8rem;
    padding-bottom: 10px;
  }

  .article-body h2 {
    font-size: 1.35rem;
    padding-left: 10px;
  }

  .article-body h3 {
    font-size: 1rem;
  }

  .article-body table {
    font-size: 0.9rem;
  }
}

/* =====================================
   ARTICLE BODY — Bet365 tables & elements
   ===================================== */

/* --- Tables --- */
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 36px 0;
  font-size: 0.95rem;
  background: #f7f9f8;
  border: 1px solid #d0ded7;
  border-radius: var(--site-radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* --- Table Head --- */
.article-body thead {
  background: linear-gradient(180deg, #eaf2ed 0%, #dde9e3 100%);
}

.article-body th {
  padding: 14px 18px;
  text-align: left;
  color: #0b291f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #c9d9d1;
  white-space: nowrap;
}

/* --- Table Body --- */
.article-body td {
  padding: 12px 18px;
  color: #142c22;
  border-bottom: 1px solid #e4ebe7;
  transition: background 0.25s ease;
}

/* --- Alternating Rows --- */
.article-body tr:nth-child(even) {
  background: #f1f5f3;
}

/* --- Hover Row --- */
.article-body tr:hover td {
  background: rgba(0, 153, 102, 0.05); /* мягкий зелёный hover */
}

/* --- Rounded corners --- */
.article-body table tr:first-child th:first-child {
  border-top-left-radius: var(--site-radius);
}
.article-body table tr:first-child th:last-child {
  border-top-right-radius: var(--site-radius);
}
.article-body table tr:last-child td:first-child {
  border-bottom-left-radius: var(--site-radius);
}
.article-body table tr:last-child td:last-child {
  border-bottom-right-radius: var(--site-radius);
}

/* --- Responsive Tables --- */
@media (max-width: 768px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 8px;
  }

  .article-body th,
  .article-body td {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* =====================================
   QUOTES — calm, readable, informative
   ===================================== */

.article-body blockquote {
  background: #f4f8f5;
  border-left: 4px solid #00a85f; /* зелёный Bet365 акцент */
  margin: 28px 0;
  padding: 18px 22px;
  font-style: italic;
  color: #1d352d;
  border-radius: var(--site-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* =====================================
   IMAGES & FIGURES — clean and subtle
   ===================================== */

.article-body img {
  display: block;
  margin: 32px auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  background: #fff;
  max-height: 300px;
}

.article-body figure {
  text-align: center;
  margin: 36px 0;
}

.article-body figcaption {
  color: #5f7265;
  font-size: 0.9rem;
  margin-top: 8px;
  font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-body {
    font-size: 1rem;
    padding: 5px 16px 60px;
  }

  .article-body h1 {
    font-size: 1.8rem;
  }

  .article-body h2 {
    font-size: 1.4rem;
    padding-left: 10px;
  }

  .article-body h3 {
    font-size: 1rem;
  }
}

/* =====================================
   FAQ SECTION — Bet365 clean & calm Q&A
   ===================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto 90px;
  padding: 0 20px;
}

/* --- Заголовок блока --- */
.faq-list h2 {
  text-align: center;
  color: #0b291f;
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, #009966, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Item --- */
.faq-item {
  background: #f8faf9;
  border-radius: var(--site-radius);
  margin-bottom: 12px;
  border: 1px solid #dce5df;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 153, 102, 0.4);
  background: #f4f8f5;
}

/* --- Summary --- */
.faq-item summary {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  color: #0f2c21;
  padding: 18px 48px 18px 20px;
  background: #ffffff;
  border-radius: var(--site-radius);
  transition: background 0.3s ease, color 0.3s ease;
  list-style: none;
  user-select: none;
}

.faq-item summary:hover {
  background: #f2f7f4;
  color: #00854b;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* --- Icon (+ / -) --- */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #009966;
  font-weight: 800;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
  opacity: 0.9;
}

.faq-item[open] summary::after {
  content: "–";
  color: #ffcc00;
  transform: translateY(-50%) rotate(180deg);
}

/* --- Content --- */
.faq-content {
  padding: 0 20px 18px;
  font-size: 15.5px;
  color: #1a352b;
  line-height: 1.65;
  border-top: 1px solid #e2eae6;
  background: #fcfefd;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .faq-item summary {
    padding: 14px 40px 14px 16px;
    font-size: 15px;
  }
  .faq-content {
    font-size: 15px;
  }
}

/* =====================================
   AUTHOR CARD — Bet365 clean professional
   ===================================== */

.author-card {
  max-width: 860px;
  margin: 80px auto 100px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #f8faf9; /* светлый фон */
  border: 1px solid #d9e4dd; /* мягкий контур */
  border-radius: var(--site-radius);
  color: #0b291f;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.author-card:hover {
  border-color: #00a85f; /* зелёный акцент */
  background: #f4f8f5;
}

/* --- Фото --- */
.author-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffcc00; /* жёлтая рамка — фирменный акцент */
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* --- Текст --- */
.author-info {
  flex: 1;
}

.author-name {
  color: #0b291f;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.author-bio {
  font-size: 15px;
  line-height: 1.65;
  color: #1e3c31;
  margin-bottom: 10px;
}

/* --- Ссылка --- */
.author-info a {
  color: #00854b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 133, 75, 0.2);
  transition: all 0.25s ease;
}
.author-info a:hover {
  color: #00a85f;
  border-color: rgba(0, 168, 95, 0.4);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .author-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 22px;
  }

  .author-photo {
    width: 78px;
    height: 78px;
  }

  .author-name {
    font-size: 1.05rem;
  }

  .author-bio {
    font-size: 14px;
  }
}

/* =====================================
   FOOTER — Bet365 clean & structured
   ===================================== */

.footer {
  background: #f4f8f5; /* светлый фон */
  padding: 60px 20px;
  color: #1e3c31;
  border-top: 1px solid #d2ddd6;
  position: relative;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* --- Заголовки колонок --- */
.footer h5 {
  color: #0b291f;
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #ffcc00; /* фирменный акцент */
  display: inline-block;
  padding-bottom: 4px;
}

/* --- Списки ссылок --- */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #145c44;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: #00854b;
  border-color: rgba(0, 133, 75, 0.2);
}

/* --- Текст подвала --- */
.footer p {
  margin-top: 12px;
  font-size: 14px;
  color: #3d564c;
  line-height: 1.5;
}

/* --- Низ подвала --- */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #d8e3dc;
  font-size: 13.5px;
  color: #50685d;
}

.footer-bottom a {
  color: #009966;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #00b374;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer h5 {
    font-size: 1rem;
  }

  .footer p {
    font-size: 13.5px;
  }
}

/* =====================================
   FLOATING CTA — Bet365 fixed referral button
   ===================================== */

.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #009966 0%, #007a52 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 26px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 128, 64, 0.3);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* --- Hover / Active states --- */
.floating-cta:hover {
  background: linear-gradient(180deg, #00b374 0%, #009e64 100%);
  box-shadow: 0 8px 22px rgba(0, 153, 102, 0.4);
  color: #ffffff; /* ✅ текст остаётся ярким */
}

.floating-cta:active {
  background: linear-gradient(180deg, #008e5f 0%, #00774e 100%);
  box-shadow: 0 4px 10px rgba(0, 128, 64, 0.25);
  color: #ffffff;
}

/* --- Subtle fade-in animation --- */
@keyframes fadeInCta {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.floating-cta {
  animation: fadeInCta 0.6s ease 0.2s both;
}

/* --- Responsive (Mobile / Tablet) --- */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 18px;
    padding: 8px 28px;
    font-size: 0.78rem;
    border-radius: 34px;
    box-shadow: 0 5px 14px rgba(0, 153, 102, 0.3);
  }
}

/* =====================================
   BASE FORM STYLES — Bet365 contact / feedback
   ===================================== */

form {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  background: #f8faf9;
  border: 1px solid #d8e3dc;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #0b291f;
  font-size: 15px;
}

/* --- Labels --- */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f3227;
  line-height: 1.3;
}

/* --- Input fields --- */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8d6cf;
  border-radius: 8px;
  background: #ffffff;
  color: #0b291f;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00a85f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 168, 95, 0.25);
}

/* --- Textarea --- */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Checkbox --- */
input[type="checkbox"] {
  accent-color: #00a85f;
  margin-right: 6px;
}

/* --- Row / Field structure --- */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

/* --- Submit button --- */
.form-actions {
  margin-top: 22px;
  text-align: center;
}

.form-actions .button {
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 8px;
  background: #009966;
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form-actions .button:hover {
  background: #00b374;
  box-shadow: 0 3px 10px rgba(0, 153, 102, 0.35);
}

.form-actions .button:active {
  background: #008e5f;
  box-shadow: 0 2px 6px rgba(0, 153, 102, 0.25);
}

/* --- Small text --- */
.text-muted {
  margin-top: 10px;
  font-size: 13px;
  color: #5a6b61;
  line-height: 1.4;
}

label a {
  color: #009966;
  text-decoration: underline;
}
label a:hover {
  color: #00b374;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  form {
    padding: 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .form-field {
    margin-bottom: 12px;
  }
}

/* =====================================
   TOC — Bet365 style table of contents
   ===================================== */

#toc {
  background: #f6faf8;
  border: 1px solid #d6e3db;
  border-radius: 10px;
  padding: 22px 26px;
  margin: 40px auto;
  max-width: 760px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 26px;
}

#toc li {
  margin-bottom: 10px;
}

/* --- Ссылки --- */
#toc a {
  color: #145c44;
  text-decoration: none;
  position: relative;
  padding-left: 14px;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* --- Зелёная стрелка слева --- */
#toc a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #00a85f;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* --- Hover --- */
#toc a:hover {
  color: #00854b;
  transform: translateX(3px);
}

#toc a:hover::before {
  color: #00b374;
  transform: translateX(5px);
}

/* --- Заголовок блока (если есть) --- */
#toc h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #0b291f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  #toc {
    padding: 16px 18px;
  }

  #toc ul {
    columns: 1;
  }

  #toc a {
    display: inline-block;
    font-size: 15px;
  }
}

/* =====================================
   SCROLLBAR & SELECTION — Bet365 style
   ===================================== */

/* --- Выделение текста --- */
::selection {
  background: #00a85f;  /* фирменный зелёный */
  color: #ffffff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f3;  /* светлый фон */
}

::-webkit-scrollbar-thumb {
  background: #9ecfb7;  /* мягкий зелёный */
  border-radius: 6px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #00a85f;  /* активный зелёный */
}

/* =====================================
   SOFT PAGE ANIMATION — clean fade-in
   ===================================== */

.main-content,
.header,
.footer {
  animation: fadePage 0.6s ease;
}

@keyframes fadePage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================
   UNIVERSAL TRANSITIONS
   ===================================== */

a,
button,
summary {
  transition: all 0.25s ease;
}

/* =======================================
   CASINO CARDS — Neon Rainbow v4 (premium)
   ======================================= */

.casino-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- CARD ---------- */
.casino-card {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(120% 120% at 70% 20%, rgba(0,255,180,0.08), transparent 60%) ,
              linear-gradient(145deg, #090d12 0%, #00280c 40%, #101820 100%);
  border: 1px solid rgba(0,255,200,0.18);
  box-shadow: 0 0 30px rgba(0,255,200,0.1), inset 0 0 25px rgba(0,0,0,0.5);
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

/* ✨ Радужная обводка */
.casino-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(115deg,
    #00ffcc,
    #00ccff,
    #ff00ff,
    #ffcc00,
    #00ffcc);
  background-size: 400% 400%;
  animation: borderGlow 7s linear infinite;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.casino-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0,255,200,0.3),
              0 0 70px rgba(0,150,255,0.15);
}

/* ---------- STRUCTURE ---------- */
.casino-card-inner {
  display: grid;
  grid-template-columns: 200px 1fr 250px;
  align-items: center;
  gap: 32px;
  padding: 26px 38px;
  position: relative;
  z-index: 2;
}

/* ---------- LEFT ---------- */
.casino-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.casino-logo {
  width: 130px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0,255,160,0.25);
  background: linear-gradient(180deg, #0a3d39, #031e1c);
  padding: 4px 6px;
  transition: transform 0.25s ease;
}
.casino-card:hover .casino-logo {
  transform: scale(1.03);
}

.casino-rating {
  text-align: center;
  font-size: 13px;
  color: #999;
}
.casino-rating span {
  color: #ffe45c;
  font-size: 18px;
  margin-bottom: 2px;
  display: block;
  text-shadow: 0 0 8px rgba(255, 220, 0, 0.4);
}
.casino-rating p { color: #666; }

/* ---------- CENTER ---------- */
.casino-center {
  color: #eaffef;
  font-size: 15px;
  line-height: 1.6;
}
.casino-desc {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.casino-center ul {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.casino-center li {
  margin-bottom: 4px;
  color: #caffd6;
  position: relative;
  padding-left: 12px;
}
.casino-center li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #00ffa2;
  font-size: 10px;
  top: 3px;
}
.casino-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0.95;
}
.casino-payments img {
  height: 22px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.casino-payments img:hover {
  transform: scale(1.08);
  opacity: 1;
}

/* ---------- RIGHT ---------- */
.casino-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bonus-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,255,180,0.15), rgba(0,180,255,0.25));
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.08),
              0 0 12px rgba(0,255,200,0.12);
}
.bonus-amount {
  color: #ffcc00;
  font-weight: 700;
  font-size: 17px;
  text-shadow: 0 0 10px rgba(255,220,0,0.4);
}
.bonus-fs {
  color: #00ffe0;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.btn-play {
  background: linear-gradient(90deg, #00ff80, #00b3ff);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 36px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 0 20px rgba(0,255,160,0.25);
  transition: all 0.3s ease;
}
.casino-card:hover .btn-play {
  background: linear-gradient(90deg, #00ffa2, #00d9ff);
  box-shadow: 0 0 30px rgba(0,255,180,0.55);
  transform: translateY(-1px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .casino-card-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .bonus-box,
  .btn-play {
    max-width: 280px;
    width: 100%;
  }
}

/* ---- sitemap page ---- */
.sitemap-page {
  text-align: center;
} 

.sitemap-list {
  background: #707070;
  padding: 10px 0px;
}

.sitemap-list ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 20px;
}

.sitemap-list a {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 16px;
  color: #00ffa2;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sitemap-list a:hover {
  background: rgba(0, 255, 180, 0.08);
  border-color: rgba(0, 255, 180, 0.3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 255, 160, 0.15);
}