/* Base */
/* Local fonts for CasinoHubGuide */

@font-face {
  font-family: 'CasinoSans';
  src: url('../fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CasinoSans';
  src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CasinoDisplay';
  src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

/* Общие стили для всего сайта */
body {
  font-family:
    'CasinoSans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;

  color: #111827;
  line-height: 1.7;

  /* запасной цвет, если картинка не загрузится */
  background-color: #f5f5f7;

  /* важно: чтобы псевдоэлемент не создавал горизонтальный скролл */
  margin: 0;
}

/* Фон через псевдоэлемент вместо background-attachment: fixed */
body::before {
  content: '';
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  z-index: -1;

  background-image: url('../images/site-bg.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  /* иногда помогает держать слой стабильным */
  transform: translateZ(0);
}

/* iOS Safari fix больше не нужен, т.к. fixed не через background-attachment */
/*
@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }
}
*/

h1,
h2,
h3 {
  font-family:
    'CasinoDisplay',
    'CasinoSans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  letter-spacing: 0.03em;
}
a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #dc2626;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* Containers */

.page-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .page-container {
    padding: 0 24px;
  }
}

@media (min-width: 1200px) {
  .page-container {
    padding: 0 32px;
  }
}

/* Top warning bar */

.top-warning {
  background: #b91c1c;
  color: #f9fafb;
  font-size: 13px;
}

.top-warning__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.top-warning__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fef3c7;
  color: #991b1b;
  font-weight: 700;
  font-size: 14px;
}

.top-warning__text {
  margin: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .top-warning__text {
    text-align: center;
    font-size: 14px;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.site-logo {
  margin-left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-logo__img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: none;
  gap: 16px;
}

.site-nav__link {
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  background: #dc2626;
}

@media (min-width: 768px) {
  .site-nav {
    display: inline-flex;
  }
}

/* Hero */

.hero {
  padding: 24px 0 16px;
}

.hero__inner {
  text-align: center;
}

.hero__title {
  margin: 0 0 10px;
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__highlight {
  color: #dc2626;
}

.hero__description {
  margin: 0;
  font-size: 18px;
  color: #4b5563;
}

@media (min-width: 768px) {
  .hero {
    padding: 40px 0 24px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__description {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 38px;
  }
}

/* Sections */

.section-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.section-subtitle {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.section-text {
  margin: 0 0 8px;
  font-size: 18px;
  color: #4b5563;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .section-text {
    font-size: 18px;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    transform 0.08s ease;
}

.btn--primary {
  background: #facc15;
  border-color: #facc15;
  color: #111827;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #fbbf24;
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn--ghost {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: #9ca3af;
  background: #f9fafb;
}

/* Casino list */

.casino-list {
  padding: 16px 0 32px;
}

.casino-list__intro {
  text-align: center;
  margin-bottom: 16px;
}

.casino-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card */

.casino-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 4px 8px rgba(15, 23, 42, 0.04);
  padding: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: center;
}

.casino-card__logo {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card__logo img {
  max-width: 120px;
  max-height: 40px;
  width: 100%;
  object-fit: contain;
}

.casino-card__offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.casino-card__bonus {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.casino-card__terms {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
}

.casino-card__rating {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.casino-card__votes {
  margin: 0;
  font-size: 12px;
  color: #4b5563;
}

.casino-card__stars {
  display: inline-flex;
  gap: 2px;
}

.casino-card__stars img {
  width: 16px;
  height: 16px;
}

.casino-card__score {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  color: #111827;
}

.casino-card__cta {
  margin-top: 8px;
  grid-column: 1 / -1;
}

/* Tablet / desktop layout for cards */

@media (min-width: 768px) {
  .casino-card {
    padding: 18px 22px;
    grid-template-columns: 180px minmax(0, 2.4fr) minmax(0, 1.4fr) 90px minmax(0, 1.2fr);
    grid-template-rows: auto;
    align-items: center;
  }

  .casino-card__logo {
    grid-row: auto;
  }

  .casino-card__offer {
    padding-right: 10px;
  }

  .casino-card__rating {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  .casino-card__votes {
    font-size: 13px;
  }

  .casino-card__score {
    font-size: 28px;
    text-align: center;
  }

  .casino-card__cta {
    grid-column: auto;
    margin-top: 0;
    justify-self: flex-end;
  }
}

/* Review method */

.review-method {
  padding: 16px 0 32px;
}

.review-method__inner {
  display: grid;
  gap: 14px;
}

.review-method__block {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 16px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 4px 8px rgba(15, 23, 42, 0.04);
}

.review-method__block--accent {
  background: #fefce8;
  border-color: #facc15;
}

.bullet-list {
  padding-left: 18px;
  margin: 6px 0 0;
  font-size: 16px;
}

.bullet-list li {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .review-method__inner {
    grid-template-columns: 3fr 2fr;
    gap: 18px;
  }

  .review-method__block {
    padding: 18px 20px;
  }
}

/* Responsible gambling section */

.responsible-section {
  padding: 16px 0 40px;
}

.responsible-section__inner {
  display: grid;
  gap: 14px;
}

.responsible-section__content,
.responsible-section__card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 16px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 4px 8px rgba(15, 23, 42, 0.04);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.link-list li {
  margin-bottom: 4px;
}

.link-list a {
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 768px) {
  .responsible-section__inner {
    grid-template-columns: 3fr 2fr;
  }

  .responsible-section__content,
  .responsible-section__card {
    padding: 18px 20px;
  }
}

/* Footer */

.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 24px 0 28px;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.footer-logos__img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-age__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font-weight: 800;
  font-size: 15px;
}

.footer-age__text {
  font-size: 13px;
}

.footer-text {
  font-size: 13px;
  color: #e5e7eb;
}

.footer-text p {
  margin: 0 0 8px;
}

.footer-links {
  margin: 14px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.footer-links__item {
  font-size: 13px;
  color: #f9fafb;
}

.footer-links__item:hover {
  color: #facc15;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 12px;
  text-align: center;
  color: #9ca3af;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  background: transparent;
  padding: 0 8px 8px;
}

.cookie-banner--visible {
  display: block;
}

.cookie-banner__inner {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.2);
  padding: 14px 16px 16px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.cookie-banner__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-banner__btn {
  flex: 1 1 140px;
}

.cookie-banner__link {
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .cookie-banner {
    padding: 0 16px 16px;
  }

  .cookie-banner__inner {
    border-radius: 18px;
  }
}

/* Small screens tweaks */

@media (max-width: 380px) {
  .hero__title {
    font-size: 20px;
  }

  .casino-card__bonus {
    font-size: 14px;
  }

  .casino-card__terms {
    font-size: 11px;
  }
}
/* Header layout from 380px and up */
@media (min-width: 350px) {
  .site-header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  /* убираем фиксированный отступ, чтобы логотип не прилипал к левому краю */
  .site-logo {
    margin-left: 20px;
  }

  /* показываем меню уже с 380px */
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 4px;
    margin-right: 20px;
  }

  .site-nav__link {
    font-size: 13px;
  }
}

/* для планшетов и выше можно оставить твой старый брейкпоинт */
@media (min-width: 768px) {
  .site-nav {
    display: inline-flex;
  }
}
/* Privacy Policy page */

.policy {
  padding: 40px 0 72px;
}

.policy__inner {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 24px 20px 28px;
  max-width: 920px;
  margin: 0 auto;
}

/* Первый h1 на странице — крупный и заметный */

.policy__inner > .section-title:first-of-type {
  font-size: 26px;
  margin-bottom: 16px;
}

/* Отступы между блоками на странице политики */

.policy .section-text {
  margin-bottom: 10px;
}

.policy .section-title {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 20px;
}

.policy .section-subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 17px;
}

.policy .bullet-list {
  margin-top: 4px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.policy .bullet-list li {
  margin-bottom: 4px;
}

/* Немного подсвечиваем ссылки внутри текста */

.policy a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy a:hover,
.policy a:focus-visible {
  color: #1d4ed8;
}

/* Адаптивность */

@media (min-width: 768px) {
  .policy {
    padding: 56px 0 80px;
  }

  .policy__inner {
    padding: 32px 32px 40px;
    border-radius: 28px;
  }
}

@media (min-width: 1024px) {
  .policy__inner > .section-title:first-of-type {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .policy {
    padding: 64px 0 56px;
  }

  .policy__inner {
    padding: 20px 16px 24px;
    border-radius: 20px;
  }

  .policy__inner > .section-title:first-of-type {
    font-size: 22px;
  }
}
/* Terms & Conditions page */

.terms {
  padding: 80px 0 72px;
}

.terms__inner {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 24px 20px 28px;
  max-width: 920px;
  margin: 0 auto;
}

/* Первый h1 на странице — крупный и выделяющийся */

.terms__inner > .section-title:first-of-type {
  font-size: 26px;
  margin-bottom: 16px;
}

/* Отступы и иерархия текста */

.terms .section-text {
  margin-bottom: 10px;
  line-height: 1.7;
}

.terms .section-title {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.terms .section-subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
}

.terms .bullet-list {
  margin-top: 4px;
  margin-bottom: 10px;
  padding-left: 20px;
  list-style-type: disc;
}

.terms .bullet-list li {
  margin-bottom: 4px;
}

/* Ссылки внутри текста */

.terms a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease-in-out;
}

.terms a:hover,
.terms a:focus-visible {
  color: #1d4ed8;
}

/* Горизонтальная линия между разделами */

.terms hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Адаптивность */

@media (min-width: 768px) {
  .terms {
    padding: 96px 0 80px;
  }

  .terms__inner {
    padding: 32px 32px 40px;
    border-radius: 28px;
  }
}

@media (min-width: 1024px) {
  .terms__inner > .section-title:first-of-type {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .terms {
    padding: 64px 0 56px;
  }

  .terms__inner {
    padding: 20px 16px 24px;
    border-radius: 20px;
  }

  .terms__inner > .section-title:first-of-type {
    font-size: 22px;
  }
}
/* Terms & Conditions page */

.site-main {
  padding: 80px 0 72px;
}

.site-content--page {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 24px 20px 28px;
  max-width: 920px;
  margin: 0 auto;
}

/* Первый h1 на странице — крупный и заметный */
.site-content__wrap > h1:first-of-type {
  font-size: 26px;
  margin-bottom: 16px;
}

/* Отступы между блоками текста */
.site-content__text {
  margin-bottom: 10px;
  font-size: 15px;
  color: #374151;
}

/* Заголовки внутри страницы */
.site-content__title {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.site-content__subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
}

/* Списки */
.site-content__list {
  margin-top: 4px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.site-content__list li {
  margin-bottom: 4px;
}

/* Подсветка ссылок внутри текста */
.site-content__text a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-content__text a:hover,
.site-content__text a:focus-visible {
  color: #1d4ed8;
}

/* Адаптивность */

@media (min-width: 768px) {
  .site-main {
    padding: 96px 0 80px;
  }

  .site-content--page {
    padding: 32px 32px 40px;
    border-radius: 28px;
  }

  .site-content__wrap > h1:first-of-type {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .site-content__wrap > h1:first-of-type {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .site-main {
    padding: 64px 0 56px;
  }

  .site-content--page {
    padding: 20px 16px 24px;
    border-radius: 20px;
  }

  .site-content__wrap > h1:first-of-type {
    font-size: 22px;
  }
}
.out10 {
  font-size: 20px;
}
/* Карточки казино: рамка + тень + ховер */

.casino-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #787b7e;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.casino-card:hover,
.casino-card:focus-within {
  border-color: #fbbf24;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}
/* Hero section */

.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Заголовок на тёмно-зелёном фоне */

.hero__title {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f9fafb; /* почти белый — хорошо читается */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Выделенная часть заголовка */

.hero__highlight {
  color: #f43f5e; /* ярко-красный акцент */
}

/* Описание под заголовком */

.hero__description {
  max-width: 820px;
  margin: 18px auto 0;
  font-size: 20px;
  line-height: 1.75;
  color: #e5e7eb; /* светло-серый для комфортного чтения */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Адаптивность */

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__description {
    font-size: 15px;
    padding: 0 12px;
  }
}
/* Casino list section */

.casino-list {
  padding: 56px 0 80px;
}

.casino-list__intro {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
}

.casino-list .section-title {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f9fafb; /* почти белый заголовок */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.casino-list .section-text {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.7;
  color: #e5e7eb; /* светлый текст на тёмном фоне */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Cards */

.casino-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casino-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1.6fr) 150px 80px 130px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

/* hover + focus */

.casino-card:hover,
.casino-card:focus-within {
  transform: translateY(-3px);
  border-color: #facc15; /* жёлтый акцент под звёзды */
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  background-color: #ffffff;
}

/* Logo */

.casino-card__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.casino-card__logo img {
  max-width: 120px;
  height: auto;
}

/* Offer text */

.casino-card__bonus {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  margin-bottom: 6px;
}

.casino-card__terms {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}

/* Rating */

.casino-card__rating {
  text-align: center;
}

.casino-card__votes {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.casino-card__stars img {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Score */

.casino-card__score {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  text-align: center;
}

.casino-card__score .out10 {
  font-size: 13px;
  color: #6b7280;
  margin-left: 2px;
}

/* CTA */

.casino-card__cta {
  display: flex;
  justify-content: flex-end;
}

/* Адаптивность */

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      'logo offer'
      'logo offer'
      'rating score'
      'cta cta';
    row-gap: 12px;
  }

  .casino-card__logo {
    grid-area: logo;
    justify-content: flex-start;
  }

  .casino-card__offer {
    grid-area: offer;
  }

  .casino-card__rating {
    grid-area: rating;
    text-align: left;
  }

  .casino-card__score {
    grid-area: score;
    text-align: right;
  }

  .casino-card__cta {
    grid-area: cta;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .casino-card {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    text-align: left;
  }

  .casino-card__logo {
    justify-content: flex-start;
  }

  .casino-card__rating,
  .casino-card__score {
    text-align: left;
  }

  .casino-card__cta {
    justify-content: stretch;
  }

  .casino-card__cta .btn {
    width: 100%;
  }
}
.casino-list .section-text {
  font-size: 18px;
}
/* Casino list */

.casino-list {
  padding: 56px 0 80px;
}

.casino-list__intro {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
}

.casino-list .section-title {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f9fafb;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.casino-list .section-text {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.7;
  color: #e5e7eb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Сетка карточек */

.casino-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Карточка казино — тёмная, с золотым бордером и одинаковой высотой */

.casino-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.7fr) 150px 80px 140px;
  align-items: center;
  gap: 20px;

  padding: 20px 24px;
  min-height: 130px; /* одинаковая высота */

  background:
    radial-gradient(circle at top left, rgba(250, 250, 250, 0.08), transparent 55%), #050816; /* почти чёрный, как на примере */
  border-radius: 18px;
  border: 1px solid #facc15; /* золотистый бордер */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);

  color: #f9fafb;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.casino-card:hover,
.casino-card:focus-within {
  transform: translateY(-3px);
  border-color: #fef08a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  background:
    radial-gradient(circle at top left, rgba(250, 250, 250, 0.13), transparent 55%), #020617;
}

/* Лого слева */

.casino-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card__logo img {
  max-width: 120px;
  height: auto;
}

/* Оффер */

.casino-card__bonus {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #f9fafb;
  margin-bottom: 6px;
}

.casino-card__terms {
  font-size: 15px;
  line-height: 1.6;
  color: #d1d5db;
}

/* Рейтинг и звёзды */

.casino-card__rating {
  text-align: center;
}

.casino-card__votes {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.casino-card__stars img {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Оценка */

.casino-card__score {
  font-size: 24px;
  font-weight: 800;
  color: #f9fafb;
  text-align: center;
}

.casino-card__score .out10 {
  font-size: 13px;
  color: #9ca3af;
  margin-left: 2px;
}

/* CTA-кнопка — ярко-зелёная, как на примере */

.casino-card__cta {
  display: flex;
  justify-content: flex-end;
}

.casino-card__cta .btn.btn--primary {
  background: #22c55e;
  color: #052e16;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #bbf7d0;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.55);
}

.casino-card__cta .btn.btn--primary:hover,
.casino-card__cta .btn.btn--primary:focus-visible {
  background: #4ade80;
  border-color: #dcfce7;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.75);
}

/* Адаптивность */

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 140px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      'logo offer'
      'logo offer'
      'rating score'
      'cta cta';
    row-gap: 12px;
  }

  .casino-card__logo {
    grid-area: logo;
    justify-content: flex-start;
  }

  .casino-card__offer {
    grid-area: offer;
  }

  .casino-card__rating {
    grid-area: rating;
    text-align: left;
  }

  .casino-card__score {
    grid-area: score;
    text-align: right;
  }

  .casino-card__cta {
    grid-area: cta;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .casino-card {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    text-align: left;
  }

  .casino-card__logo {
    justify-content: flex-start;
  }

  .casino-card__rating,
  .casino-card__score {
    text-align: left;
  }

  .casino-card__cta {
    justify-content: stretch;
  }

  .casino-card__cta .btn.btn--primary {
    width: 100%;
    text-align: center;
  }
}
/* Review Method section */

.review-method {
  padding: 56px 0 64px;
}

.review-method__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: stretch;
}

.review-method__block {
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.06), transparent 55%),
    rgba(3, 7, 18, 0.96);
  border-radius: 18px;
  border: 1px solid #facc15;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  padding: 22px 24px 24px;
  color: #e5e7eb;
}

.review-method__block--accent {
  border-color: #22c55e;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
  background:
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.2), transparent 55%),
    rgba(3, 7, 18, 0.98);
}

/* Заголовки и текст в блоке */

.review-method .section-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: #f9fafb;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.review-method .section-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fef9c3;
}

.review-method .section-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.review-method .bullet-list {
  margin-top: 4px;
  padding-left: 20px;
}

.review-method .bullet-list li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 14px;
  color: #e5e7eb;
}

/* Hover-эффект на карточках */

.review-method__block:hover,
.review-method__block:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border-color: #fef08a;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* Responsible Gambling section */

.responsible-section {
  padding: 56px 0 72px;
}

.responsible-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

/* Левый текстовый блок */

.responsible-section__content {
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.06), transparent 55%),
    rgba(3, 7, 18, 0.96);
  border-radius: 18px;
  border: 1px solid #facc15;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  padding: 22px 24px 24px;
}

.responsible-section .section-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: #f9fafb;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.responsible-section .section-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #e5e7eb;
}

/* Список ссылок на сервисы помощи */

.link-list {
  margin-top: 10px;
  padding-left: 18px;
}

.link-list li {
  list-style: disc;
  margin-bottom: 6px;
}

.link-list a {
  color: #bbf7d0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.link-list a:hover,
.link-list a:focus-visible {
  color: #4ade80;
}

/* Правая карточка с советами */

.responsible-section__card {
  background:
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.2), transparent 55%),
    rgba(3, 7, 18, 0.98);
  border-radius: 18px;
  border: 1px solid #22c55e;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.35);
  padding: 22px 24px 24px;
  color: #e5e7eb;
}

.responsible-section .section-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fef9c3;
}

.responsible-section .bullet-list {
  margin-top: 4px;
  padding-left: 20px;
}

.responsible-section .bullet-list li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Hover-эффект на правой карточке */

.responsible-section__card:hover,
.responsible-section__card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  border-color: #bbf7d0;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* Адаптивность для двух секций */

@media (max-width: 900px) {
  .review-method__inner,
  .responsible-section__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-method__block,
  .responsible-section__content,
  .responsible-section__card {
    padding: 18px 18px 20px;
  }
}

@media (max-width: 480px) {
  .review-method,
  .responsible-section {
    padding: 40px 0 48px;
  }

  .review-method .section-title,
  .responsible-section .section-title {
    font-size: 20px;
  }
}
/* === Casino cards: mobile fix (prevents overlap) === */
/* IMPORTANT: place this at the very end of style.css to override earlier rules */

@media (max-width: 600px) {
  .casino-card {
    /* keep grid, but define areas explicitly (no "none") */
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      'logo logo'
      'offer offer'
      'rating score'
      'cta cta';

    gap: 12px;
    padding: 16px 16px;
    min-height: auto;
  }

  .casino-card__logo {
    grid-area: logo;
    justify-content: flex-start;
  }

  .casino-card__logo img {
    max-width: 140px;
  }

  .casino-card__offer {
    grid-area: offer;
  }

  .casino-card__rating {
    grid-area: rating;
    text-align: left;
    margin: 0;
  }

  .casino-card__score {
    grid-area: score;
    justify-self: end;
    text-align: right;
    font-size: 22px;
  }

  .casino-card__cta {
    grid-area: cta;
    justify-content: stretch;
  }

  .casino-card__cta .btn.btn--primary {
    width: 100%;
    text-align: center;
  }
}

/* extra-small phones */
@media (max-width: 420px) {
  .casino-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      'logo'
      'offer'
      'rating'
      'score'
      'cta';
  }

  .casino-card__score {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .casino-card {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .casino-card__bonus {
    font-size: 14px;
  }

  .casino-card__terms {
    font-size: 13px;
  }

  .casino-card__stars img {
    width: 14px;
    height: 14px;
  }
}
