/* ===================================
   RESET & BASE STYLES
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;

  /* 🖼 фон-баннер */
  background-image: url("/img/fon site.webp");
  background-size: cover;        /* всегда заполняет экран, без чёрного низа */
  background-position: right top;/* фокус справа, как ты просил */
  background-repeat: no-repeat;
  background-attachment: fixed;  /* красиво на ПК */

  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* 📱 мобильные: тот же вид, без лагов */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;  /* фикс выключаем, но вид не меняем */
    background-size: cover;         /* ВАЖНО: не contain */
    background-position: right top; /* такой же фокус, как на ПК */
    background-repeat: no-repeat;
    background-color: #000000;      /* запас если прокрутка ниже */
  }
}

/* фикс для iOS/Safari, чтобы не чудило */
@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll !important;
  }
}

.glass {
  background: rgba(0, 0, 0, 0.45); /* прозрачное стекло, без цвета */
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 15px;
  padding: 20px;
  margin: 15px auto;
  max-width: 800px;
  width: 90%;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
}


/* ===================================
   GLOBAL ELEMENTS
=================================== */
img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}
.top-casinos {
  padding: 40px 20px;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(232, 232, 232, 0.4);
  color: #fff;
}

.top-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffb805;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.casino-card {
  background-color: #6b6b6b;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 4px 8px rgba(255,184,5,0.3);
  transition: transform 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(255,184,5,0.4);
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.casino-header img {
  width: 80px;
  height: auto;
}

.casino-rating {
  background: #ffb805;
  color: #000;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.1rem;
}

.casino-bonus {
  margin: 12px 0;
  font-size: 1rem;
  color: #fff;
}

.casino-features {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.casino-features li {
  margin-bottom: 6px;
}

.casino-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.casino-details {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

.casino-payments img {
  height: 22px;
  margin: 4px;
  opacity: 0.9;
}
.payments {
  display: flex;               /* включает флексбокс */
  justify-content: center;     /* выравнивание по центру */
  align-items: center;         /* выравнивание по вертикали */
  gap: 10px;                   /* расстояние между иконками */
  flex-wrap: wrap;             /* чтобы не ломалось на мобильных */
  margin-top: 8px;             /* немного отступа сверху */
}

.payments img {
  width: 40px;                 /* размер иконок */
  height: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.payments img:hover {
  opacity: 1;
  transform: scale(1.1);       /* лёгкое увеличение при наведении */
}

 .ofertas-section {
    background: #0a0a0a;
    padding: 3rem 1.5rem;
    color: #f5f5f5;
    text-align: center;
  }

  .ofertas-section h2 {
    font-size: 1.9rem;
    color: #ffb805;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .ofertas-intro {
    max-width: 750px;
    margin: 0 auto 2rem;
    color: #ccc;
    font-size: 1rem;
  }

  .ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
  }

  .oferta-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid #222;
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  .oferta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(224, 172, 0, 0.3);
  }

  .oferta-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .oferta-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffb805;
    padding: 4px;
  }

  .oferta-card h3 {
    font-size: 1.1rem;
    color: #ffb805;
  }

  .oferta-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .oferta-lista {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }

  .oferta-lista li {
    background: #141414;
    border-left: 3px solid #ffb805;
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .btn-oferta {
    display: inline-block;
    background: #ffb805;
    color: #000;
    font-weight: bold;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .btn-oferta:hover {
    background: #ffb805;
    transform: scale(1.05);
  }

  .eventos-section {
    background: #0a0a0a;
    color: #f5f5f5;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .eventos-section h2 {
    color: #ffb805;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .eventos-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #ffffff;
    line-height: 1.6;
  }

  .eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .evento-card {
    background: linear-gradient(145deg, #111, #191919);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #1c1c1c;
    box-shadow: 0 4px 10px rgba(224, 183, 0, 0.1);
  }

  .evento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(224, 190, 0, 0.25);
    border-color: #ffb805;
  }

  .evento-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .evento-card h3 {
    color: #ffb805;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .evento-card p {
    color: #ffffff;
    font-size: 0.95rem;
  }

  @media (min-width: 768px) {
    .eventos-grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  .metodos-pago {
    background: #0b0b0b;
    color: #f1f1f1;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .metodos-pago h2 {
    font-size: 2rem;
    color: #00e0a8;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  .pago-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
  }

  .pago-card {
    background: linear-gradient(145deg, #121212, #181818);
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(224, 190, 0, 0.1);
  }

  .pago-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    filter: brightness(0.9);
  }

  .pago-card span {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .pago-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(224, 172, 0, 0.3);
    border-color: #ffb805;
  }

  @media (max-width: 768px) {
    .pago-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .pago-card img {
      width: 50px;
      height: 50px;
    }
  }
.opinion-experta {
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
  }

  .opinion-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1590080875830-57d5e6b6c1c1?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem 1.5rem;
  }

  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
  }

  .opinion-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
    text-align: left;
    gap: 2rem;
  }

  .author-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffb805;
    box-shadow: 0 0 15px rgba(224, 183, 0, 0.4);
  }

  .author-text h2 {
    color: #ffb805;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f1f1f1;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ffb805;
    padding: 1.5rem;
    border-radius: 8px;
  }

  .author-footer {
    font-size: 0.95rem;
    color: #bbb;
    text-align: right;
    margin-top: 1rem;
  }

  @media (min-width: 768px) {
    .opinion-content {
      flex-direction: row;
      align-items: flex-start;
      text-align: left;
    }

    .author-text {
      max-width: 700px;
    }
  }

  .opiniones-section {
    font-family: 'Inter', sans-serif;
    padding: 3rem 1.5rem;
    background: #222222;
  }

  .opiniones-section h2 {
    color: #ffb805;
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .opiniones-section .intro {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .opiniones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .opinion-card {
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 5px solid #ffb805;
  }

  .opinion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }

  .opinion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .stars {
    color: #ffc107;
    font-size: 1.1rem;
  }

  .opinion-card p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  @media (max-width: 600px) {
    .opinion-card {
      padding: 1rem;
    }
    .opinion-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.3rem;
    }
  }
/* ===================================
   CONTAINERS
=================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.img-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 30px auto;
  max-width: 900px;
  mix-blend-mode: normal;
  filter: none;
}
.img-container img {
  display: block;
  border-radius: 12px;

  /* твой исходный золотой свет */
  box-shadow:
    0 0 12px rgba(255, 221, 0, 0.7),
    0 0 24px rgba(255, 221, 0, 0.5);

  /* добавляем дыхание */
  animation: neonBreath 3s ease-in-out infinite;
}

@keyframes neonBreath {
  0% {
    box-shadow:
      0 0 12px rgba(255, 221, 0, 0.7),
      0 0 24px rgba(255, 221, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 221, 0, 1),
      0 0 44px rgba(255, 221, 0, 0.75),
      0 0 65px rgba(255, 221, 0, 0.45);
  }
  100% {
    box-shadow:
      0 0 12px rgba(255, 221, 0, 0.7),
      0 0 24px rgba(255, 221, 0, 0.5);
  }
}

/* ===================================
   HEADER
=================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background-image: url("/img/header.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  background-color: #0b1b47;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 221, 0, 0.5);

  min-height: 110px;
  transition: all 0.25s ease; /* плавный "игровой" скролл */
}

/* если вдруг осталось старое притемнение — отключаем */
.header::before {
  content: none !important;
}

.header__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;

  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.header__auth {
  display: flex;
  gap: 12px;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(255, 221, 0, 0.5));
}

/*────────── СОСТОЯНИЕ ПРИ СКРОЛЛЕ (компактный) ──────────*/

.header.header--compact {
  min-height: 70px;
  background-position: center top; /* можно сменить на right top при желании */
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(0, 0, 0, 0.9);
}

.header.header--compact .header__container {
  padding: 6px 18px;
}

.header.header--compact .logo img {
  transform: scale(0.85);
}

.header.header--compact .header__auth .btn {
  padding: 6px 14px;
  font-size: 0.8rem;
}

/*────────── МОБИЛЬНАЯ АДАПТАЦИЯ ──────────*/
@media (max-width: 768px) {
  .header {
    min-height: 80px;
    background-position: center right;
  }

  .header__container {
    padding: 8px 12px;
    max-width: 100%;
  }

  .logo img {
    width: 90px;
    height: auto;
    transition: transform 0.25s ease;
  }

  .header__auth {
    position: absolute;
    bottom: 8px;
    right: 10px;
    gap: 8px;
  }

  .header__auth .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* компакт на мобилке – мягче, чтобы не ломать верстку */
  .header.header--compact {
    min-height: 100px;
  }

  .header.header--compact .header__auth .btn {
    padding: 5px 9px;
    font-size: 0.75rem;
  }
}

/* Контент поверх картинки + оверлея */
.header__container {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;

  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

/* Блок авторизации без изменений */
.header__auth {
  display: flex;
  gap: 12px;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(255, 221, 0, 0.5));
}

/* Общий стиль не меняем */
.header__auth .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.2s ease-in-out;
  letter-spacing: 0.6px;
}

/* 🇮🇹 ENTRARE — зелёная кнопка */
.header__auth .btn--login {
  background: linear-gradient(135deg, #009846 0%, #00b954 50%, #00d865 100%);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow:
    0 0 6px rgba(0, 200, 90, 0.9),
    0 0 14px rgba(0, 200, 90, 0.6),
    0 0 22px rgba(255, 255, 255, 0.3);
}

.header__auth .btn--login:hover {
  background: linear-gradient(135deg, #00d865 0%, #00b954 100%);
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 12px rgba(0, 255, 110, 1),
    0 0 26px rgba(255, 255, 255, 0.9),
    inset 0 0 8px rgba(255, 255, 255, 0.6);
}

/* 🇮🇹 REGISTRAZIONE — красная кнопка */
.header__auth .btn--register {
  background: linear-gradient(135deg, #ff3d3d 0%, #ff2929 40%, #e60000 100%);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow:
    0 0 6px rgba(255, 60, 60, 0.9),
    0 0 14px rgba(255, 60, 60, 0.6),
    0 0 22px rgba(255, 255, 255, 0.3);
}

.header__auth .btn--register:hover {
  background: linear-gradient(135deg, #ff5858 0%, #ff2626 100%);
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 12px rgba(255, 100, 100, 1),
    0 0 26px rgba(255, 255, 255, 0.9),
    inset 0 0 8px rgba(255, 255, 255, 0.6);
}


/* ===================================
   LOGO
=================================== */
.logo img {
  display: block;
  max-width: 180px;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: none;
  margin: 0;
}

.logo img:hover {
  transform: scale(1.05);
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo img.age {
    width: 50px;
    height: auto;
    opacity: 0.8;
}

.footer__logo img.logo {
    width: 100px;
    height: auto;
}
.logo-glow img {
  display: block;
  animation: brandGlow 4s linear infinite;
  filter: drop-shadow(0 0 12px #ffd500);
}

@keyframes brandGlow {
  0%   { filter: drop-shadow(0 0 12px #ffd500); }  /* золото */
  25%  { filter: drop-shadow(0 0 12px #00b7ff); }  /* лазурный неон */
  50%  { filter: drop-shadow(0 0 12px #354bbd); }  /* синий PIROTS */
  75%  { filter: drop-shadow(0 0 12px #7a3aff); }  /* фиолетовый неон */
  100% { filter: drop-shadow(0 0 12px #ffd500); }  /* золото */
}
/* ===================================
   NAVIGATION
=================================== */
.nav {
  display: none;
  flex-direction: column;
  gap: 14px;

  /* фон — итальянский флаг + тёмный оттенок под гейм-стиль */
  background: linear-gradient(
    145deg,
    rgba(0, 152, 70, 0.96) 0%,   /* зелёный */
    rgba(255, 255, 255, 0.94) 45%, /* белый */
    rgba(206, 43, 55, 0.96) 100%   /* красный */
  );

  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;

  padding: 70px 20px 25px 20px;
  box-sizing: border-box;

  /* тень, чуть как неоновая подсветка, но без синего космоса */
  box-shadow:
    -2px 0 22px rgba(0, 0, 0, 0.7),
    -2px 0 26px rgba(0, 0, 0, 0.9);

  z-index: 1000;
  overflow-y: auto;

  /* лёгкий стеклянный эффект сверху, чтобы текст читался */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: right 0.35s ease-in-out;
}

/* Активное состояние — сдвигаем панель внутрь экрана */
.nav.nav--open {
  right: 0;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2100;
  position: relative;
}

/* 🇮🇹 Палочки флага: зелёная-белая-красная */
.nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 2px;
  transition: 0.25s ease;
}

/* Верх — зелёный */
.nav__toggle span:nth-child(1) {
  background-color: #009846;
}

/* Средняя — белая (чуть видимая) */
.nav__toggle span:nth-child(2) {
  background-color: #ffffff;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
}

/* Низ — красная */
.nav__toggle span:nth-child(3) {
  background-color: #e60000;
}

/*────────── АНИМАЦИЯ В КРЕСТИК ──────────*/
.nav--open ~ .nav__toggle span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #ffffff;      /* крестик становится белым */
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}

.nav--open ~ .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav--open ~ .nav__toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #ffffff;      /* крестик тоже белый */
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}

/*────────── МОБИЛЬНЫЙ РЕЖИМ ──────────*/
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
}

/* ===================================
   BUTTONS
=================================== */
.btn {
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn--primary {
  background-color: #376daa;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #0059ff;
}

.btn--secondary {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.6);
  color: #000;
  text-shadow: 0 0 4px rgba(255,255,255,0.8);

  /* Начальный градиент */
  background: linear-gradient(
    90deg,
    #00a54f,
    #ffffff,
    #d62d2d
  );
  background-size: 300% 300%;

  /* Светящиеся тени */
  box-shadow:
    0 0 6px rgba(0, 163, 70, 0.8),
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(200, 30, 30, 0.7);

  animation: italyRGB 3.8s linear infinite;
  transition: transform 0.2s ease-in-out;
}

/* 🎞 Анимация перелива */
@keyframes italyRGB {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🖱 Hover — увеличение + яркость */
.btn--secondary:hover {
  transform: translateX(3px) scale(1.05);
  box-shadow:
    0 0 12px rgba(0, 255, 110, 1),
    0 0 20px rgba(255, 255, 255, 1),
    0 0 26px rgba(255, 90, 90, 1);
}

/* ===================================
   TABLE OF CONTENTS (TOC)
=================================== */
.toc-section {
  background-color: #376daa;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 8px rgba(255, 184, 5, 0.2);
  border-radius: 4px;
}

.toc-toggle {
  background-color: #0077d9;
  color: #fff;
  border: 2px solid #ffbf00;
  border-radius: 10px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: block;
  width: fit-content;
  margin: 10px auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(55, 109, 170, 0.4);
}

.toc-toggle:hover {
  background-color: #ffb805;
  color: #000;
  border-color: #ffb805;
  box-shadow: 0 4px 12px rgba(3, 67, 110, 0.4);
  transform: translateY(-2px);
}

.toc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 10px;
}

.toc.open {
  max-height: 1000px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin: 6px 0;
  border-bottom: 1px dashed rgba(255, 184, 5, 0.3);
  padding-bottom: 4px;
}

.toc a {
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* ===================================
   SECTIONS
=================================== */
.main-content {
  padding: 110px 0 50px 0;
  margin-top: 0;
}

.section {
  margin-bottom: 60px;
  background-color: #e0e0e0;
  padding: 40px 20px;
  border-radius: 16px;
  margin-left: 10px;
  margin-right: 10px;
  border: 1px solid rgba(255, 184, 5, 0.1);
}

/* ===================================
   CASINO CARDS SECTION
=================================== */
.casino-section {
  background: #bebdbd;
  padding: 30px 20px;
  margin: 20px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 5, 0.2);
  box-shadow: 0 8px 32px rgba(171, 171, 171, 0.3);
}


.casino-section h2 {
  text-align: center;
  margin-bottom: 20px;
}
.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.casino-card {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 184, 5, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffb805, #ffd700, #ffb805);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 184, 5, 0.2);
  border-color: #ffb805;
}

.casino-card:hover::before {
  opacity: 1;
}

.casino-header {
  padding: 25px 25px 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255, 184, 5, 0.05), transparent);
}

.casino-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  transition: transform 0.3s ease;
}

.casino-card:hover .casino-logo {
  transform: scale(1.1);
}

.casino-info h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.casino-rating {
  background: linear-gradient(135deg, #ffb805, #ffd700);
  color: #000;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 1.1rem;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 184, 5, 0.3);
}

.casino-bonus {
  padding: 20px 25px;
  background: rgba(255, 184, 5, 0.1);
  border-left: 4px solid #ffb805;
  margin: 0;
}

.casino-bonus strong {
  color: #ffb805;
  font-size: 1.1rem;
}

.casino-features {
  padding: 20px 25px;
  list-style: none;
  margin: 0;
}

.casino-features li {
  padding: 8px 0;
  color: #e0e0e0;
  position: relative;
  padding-left: 25px;
}

.casino-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffb805;
  font-weight: bold;
  font-size: 1.2rem;
}

.casino-actions {
  padding: 20px 25px 10px 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.casino-bottom-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.casino-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 5px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.casino-actions .btn--primary {
  background: linear-gradient(135deg, #ffb805, #ffd700);
  color: #000;
  border: none;
}

.casino-actions .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 184, 5, 0.4);
}

.casino-actions .btn--secondary {
  background: transparent;
  color: #ffb805;
  border: 2px solid #ffb805;
}

.casino-actions .btn--secondary:hover {
  background: #ffb805;
  color: #000;
  transform: translateY(-2px);
}

.casino-extra {
  padding: 20px 25px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 184, 5, 0.2);
}

.casino-extra p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0 0 15px 0;
}

.casino-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.casino-payments img {
  width: 35px;
  height: 25px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.casino-payments img:hover {
  transform: scale(1.1);
}

.casino-section-footer {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 184, 5, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 184, 5, 0.2);
}

.casino-section-footer p {
  color: #828282;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  max-width: 800px;
}

.section--dark {
  /* 🍕 тёплый мультяшный градиент под Италию */
  background: linear-gradient(
    135deg,
    rgba(215, 142, 74, 0.95) 0%,     /* тёплый кирпичный */
    rgba(246, 182, 77, 0.93) 45%,    /* мягкий жёлтый */
    rgba(255, 223, 91, 0.92) 100%    /* золотистый */
  );
  color: #000000;

  /* ✨ мягкое свечение от монет (жёлтый + оранжевый) */
  box-shadow:
    0 0 25px rgba(244, 182, 50, 0.45),
    inset 0 0 20px rgba(255, 223, 91, 0.30);

  /* тонкие "маркерные" границы как в мультяшном стиле */
  border-top: 2px solid rgba(255, 223, 91, 0.55);
  border-bottom: 2px solid rgba(215, 142, 74, 0.55);

  padding: 40px 20px;
  position: relative;
  overflow: hidden;

  /* стеклянность не нужна — мультяшный цвет */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* 🌞 мультяшная подсветка текста */
  text-shadow: 0 0 7px rgba(0, 0, 0, 0.35);
}

/* Кнопочный блок оставляем */
.section__actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ===================================
   TYPOGRAPHY
=================================== */
h1,
h2,
h3 {
  margin-bottom: 15px;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
  color: #000000;
  text-align: center;
}

h2 {
  font-size: 1.75rem;
  color: #000000;
}

h3 {
  font-size: 1.25rem;
  color: #030303;
}

h4 {
  font-size: 1.25rem;
  color: #000000;
}

/* ===================================
   TABLES
=================================== */
.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  background-color: #000;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  max-width: 100%;
}

/* базовые таблицы */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #000;
}

table td,
table th {
  padding: 12px 15px;
  border: 1px solid #ffdd00;
  text-align: left;
}

table th {
  background-color: #ffffff;
  color: #000;
  font-weight: 600;
}

/* твоя неоновая таблица */
.table-glow {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;

  border: 1px solid rgba(255, 221, 0, 0.6);
  border-radius: 10px;
  overflow: hidden;

  table-layout: fixed;            /* важно для равномерной ширины колонок */
  animation: tableBreathDual 3.8s ease-in-out infinite;
}

@keyframes tableBreathDual {
  0% {
    box-shadow:
      0 0 10px rgba(255, 221, 0, 0.45),
      0 0 22px rgba(255, 221, 0, 0.25),
      0 0 0 rgba(53, 75, 189, 0);
  }
  50% {
    box-shadow:
      0 0 20px rgba(255, 221, 0, 0.9),
      0 0 45px rgba(255, 221, 0, 0.65),
      0 0 70px rgba(53, 75, 189, 0.7);
  }
  100% {
    box-shadow:
      0 0 10px rgba(255, 221, 0, 0.45),
      0 0 22px rgba(255, 221, 0, 0.25),
      0 0 0 rgba(53, 75, 189, 0);
  }
}

.table-glow th {
  background: rgba(255, 221, 0, 0.2);
  padding: 12px 15px;
  font-weight: 700;
  color: #ffd500;
  text-shadow: 0 0 6px rgba(255, 221, 0, 0.35);
  border-bottom: 1px solid rgba(255, 221, 0, 0.4);
}

.table-glow td {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 221, 0, 0.25);
}

.table-glow tr:last-child td {
  border-bottom: none;
}

.table-glow tr:hover td {
  background: rgba(255, 221, 0, 0.1);
  transition: 0.25s ease;
}

/* чтобы содержимое не ломало сетку */
.table-glow th,
.table-glow td {
  word-wrap: break-word;
  word-break: break-word;
}

/* адаптация под мобилки, без ломки таблиц */
@media (max-width: 768px) {
  .table-wrapper {
    margin: 15px 0;
  }

  .table-glow {
    font-size: 14px;
  }

  .table-glow th,
  .table-glow td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .table-glow {
    font-size: 12px;
  }

  .table-glow th,
  .table-glow td {
    padding: 6px 8px;
  }
}
/* ===================================
   FAQ
=================================== */
.faq-block {
  background: linear-gradient(
    135deg,
    rgba(255, 191, 0, 0.88) 0%,      /* тёмный фон под текст */
    rgba(215, 142, 74, 0.90) 45%,  /* тёплый кирпичный, как дома */
    rgba(246, 182, 77, 0.92) 100%  /* жёлто-оранжевый как монеты */
  );
  padding: 30px;
  border-radius: 12px;

  border: 1px solid rgba(255, 223, 91, 0.65); /* золото монет */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #fffbea;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);

  /* дыхание — но уже тёплое, не синее */
  animation: faqBreath 4s ease-in-out infinite;
}

/* 💛 Тёплое “дыхание” золота и огня, без синего неона */
@keyframes faqBreath {
  0% {
    box-shadow:
      0 0 12px rgba(244, 182, 50, 0.45),    /* мягкое золото */
      inset 0 0 10px rgba(215, 142, 74, 0.35);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 223, 91, 0.9),     /* яркий всплеск монет */
      inset 0 0 20px rgba(215, 142, 74, 0.55),
      0 0 36px rgba(255, 180, 70, 0.55);    /* внешний ореол */
  }
  100% {
    box-shadow:
      0 0 12px rgba(244, 182, 50, 0.45),
      inset 0 0 10px rgba(215, 142, 74, 0.35);
  }
}
/* ===================================
   FOOTER
=================================== */
.footer {
  background-image: url("/img/fon site.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;

  padding: 35px 0;
  color: #ffffff;

  box-shadow:
    0 -4px 12px rgba(0,0,0,0.6),
    inset 0 4px 14px rgba(0,0,0,0.35);

  border-top: 2px solid rgba(255, 223, 91, 0.45);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #fffce9;
  text-shadow: 0 0 6px rgba(0,0,0,0.65);
}

.footer__logo img {
  max-width: 100px;
  margin-right: 15px;
  filter: drop-shadow(0 0 8px rgba(255, 221, 0, 0.4));
}
.footer__nav .footer__link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;

  /* белый текст как глаз курицы */
  color: #010101;

  /* флаг, но мягкий, мультяшный */
  background: linear-gradient(
    90deg,
    rgba(0, 146, 70, 0.85) 0%,      /* зелёный */
    rgba(255, 255, 255, 0.85) 50%,  /* белый */
    rgba(206, 43, 55, 0.85) 100%    /* красный */
  );

  border: 2px solid rgba(255, 223, 91, 0.7); /* золото монет */

  /* свечение монет и флага */
  box-shadow:
    0 0 6px rgba(255, 223, 91, 0.6),
    0 0 10px rgba(0, 146, 70, 0.4),
    0 0 10px rgba(206, 43, 55, 0.4);

  transition: 0.25s ease-in-out;
}

/* 💥 Наведение — яркая монета + контур Италии */
.footer__nav .footer__link:hover {
  transform: translateY(-2px) scale(1.05);

  background: linear-gradient(
    90deg,
    #00e87c 0%,      /* ярко-зелёный как знак дороги */
    #ffffff 50%,     /* чисто белый */
    #ff4949 100%     /* сочный красный как пицца */
  );

  border-color: #ffd500;

  box-shadow:
    0 0 14px rgba(255, 223, 91, 1),
    0 0 26px rgba(0, 255, 110, 0.8),
    0 0 26px rgba(255, 90, 90, 0.8);
}

@media (max-width: 768px) {
  .footer {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 28px 0;
  }
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
}

/* 📌 УЗКИЕ ЭКРАНЫ (iPhone SE, старые Android) */
@media (max-width: 480px) {
  .footer {
    background-position: center top !important; /* смещаем вверх, чтобы часть не пропадала */
    padding: 22px 0;
  }
}

/* 📌 IPHONE FIX (Safari) */
@supports (-webkit-touch-callout: none) {
  .footer {
    background-image: url("/img/fon site.webp");
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
}
/* ===================================
   ADAPTIVE STYLES
=================================== */
@media (max-width: 992px) {
  .header__container {
    padding: 6px 15px;
    width: 100%;
    max-width: 100%;
  }

  .header__auth {
    display: none;
  }

  .logo img {
    max-width: 140px;
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 2100;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    max-width: 80vw;
    transition: right 0.4s ease;
  }

  .nav--open {
    right: 0;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6em 1.2em;
  }

  .faq-block {
    padding: 20px;
  }

  h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .header__container {
    padding: 5px 12px;
    width: 100%;
    max-width: 100%;
  }

  .logo img {
    max-width: 135px;
  }

  .main-content {
    padding: 75px 0 40px 0;
  }

  .section {
    padding: 20px 10px;
  }

  .casino-section {
    padding: 40px 15px;
    margin: 20px 10px;
  }

  .casino-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .casino-card {
    border-radius: 15px;
  }

  .casino-header {
    padding: 20px 20px 15px 20px;
    gap: 15px;
  }

  .casino-logo {
    width: 60px;
    height: 60px;
  }

  .casino-info h2 {
    font-size: 1.5rem;
  }

  .casino-rating {
    padding: 6px 12px;
    font-size: 1rem;
  }

  .casino-bonus {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .casino-features {
    padding: 15px 20px;
  }

  .casino-features li {
    padding: 6px 0 6px 20px;
    font-size: 0.9rem;
  }

  .casino-actions {
    padding: 15px 20px 8px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .casino-actions .btn {
    min-width: auto;
    padding: 10px 15px;
  }

  .casino-extra {
    padding: 15px 20px;
  }

  .casino-payments img {
    width: 30px;
    height: 20px;
  }

  .casino-section-footer {
    margin-top: 30px;
    padding: 20px;
  }

  .casino-section-footer p {
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .footer__container {
    flex-direction: column;
    gap: 20px;
  }

  .footer__nav {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .header__container {
    padding: 4px 10px;
    width: 100%;
    max-width: 100%;
  }

  .logo img {
    max-width: 135px;
  }

  .casino-section {
    padding: 30px 10px;
  }

  .casino-header {
    padding: 15px 15px 10px 15px;
    gap: 12px;
  }

  .casino-logo {
    width: 50px;
    height: 50px;
  }

  .casino-info h2 {
    font-size: 1.3rem;
  }

  .casino-rating {
    padding: 5px 10px;
    font-size: 0.9rem;
  }

  .casino-bonus {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .casino-features {
    padding: 12px 15px;
  }

  .casino-features li {
    padding: 5px 0 5px 18px;
    font-size: 0.85rem;
  }

  .casino-actions {
    padding: 12px 15px 6px 15px;
  }

  .casino-actions .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .casino-extra {
    padding: 12px 15px;
  }

  .casino-payments img {
    width: 25px;
    height: 18px;
  }

  .casino-section-footer {
    margin-top: 25px;
    padding: 15px;
  }

  .casino-section-footer p {
    font-size: 0.95rem;
  }

  .main-content {
    padding: 75px 0 30px 0;
  }

  .btn {
    width: 100%;
    padding: 0.8em 1.5em;
    font-size: 1rem;
  }

  .faq-block {
    padding: 16px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }

  .footer__container {
    padding: 20px 0;
  }

  .nav {
    width: 90%;
    max-width: 90vw;
    padding: 50px 15px 15px 15px;
  }
}

@media (max-width: 360px) {
  .logo img {
    max-width: 120px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}

.faq-answer {
  display: none;
  padding: 10px 0;
}

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

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}
