:root {
  --primary: #0c1630;
  --primary-mid: #152a52;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --bg: #eef4fb;
  --bg-card: #ffffff;
  --text: #0c1630;
  --text-muted: #475569;
  --border: rgba(12, 22, 48, 0.14);
  --border-strong: rgba(56, 189, 248, 0.55);
  --shadow: 0 10px 36px rgba(12, 22, 48, 0.09);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

body.has-mobile-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.update-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: var(--cyan);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.logo em {
  font-style: normal;
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn--header {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(12, 22, 48, 0.94) 0%, rgba(21, 42, 82, 0.88) 55%, rgba(34, 211, 238, 0.25) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 3rem 0 2.75rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

.hero__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(34, 211, 238, 0.18);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-bar__icon {
  font-size: 1rem;
}

.casinos {
  padding: 2.5rem 0 3rem;
}

.casinos__heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.bordered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.bordered-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.bordered-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bordered-card--top {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, var(--bg-card) 40%);
}

.bordered-card__ribbon {
  position: absolute;
  top: 12px;
  right: -32px;
  z-index: 2;
  padding: 0.25rem 2.5rem;
  background: linear-gradient(90deg, var(--gold), #f59e0b);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(35deg);
}

.bordered-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
}

.bordered-card__rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid var(--accent);
}

.bordered-card--top .bordered-card__rank {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-color: var(--gold);
}

.bordered-card__logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.bordered-card__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.bordered-card__meta {
  flex: 1;
  min-width: 0;
}

.bordered-card__meta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.bordered-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.bordered-card__stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.bordered-card__perks {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bordered-card__perks li {
  margin-bottom: 0.25rem;
}

.bordered-card__bonus {
  margin-top: auto;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 2px dashed var(--border);
  background: rgba(238, 244, 251, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bordered-card__bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.bordered-card__bonus-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.seo {
  padding: 2.5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.seo__text p:last-child {
  margin-bottom: 0;
}

.faq {
  padding: 2.5rem 0;
}

.faq h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.faq__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq__item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.faq__more {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.faq__more:hover {
  text-decoration: underline;
}

.responsible {
  padding: 2.5rem 0;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.responsible__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fca5a5;
}

.responsible h2 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
}

.responsible p {
  margin: 0 0 0.5rem;
  max-width: 560px;
  margin-inline: auto;
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.responsible__links a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
}

.footer {
  padding: 2rem 0 1.5rem;
  background: #081020;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.875rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__nav a:hover {
  color: var(--cyan);
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer__copy {
  margin: 0 0 0.75rem;
}

.footer__disclaimer {
  max-width: 640px;
  margin: 0 auto 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer__age {
  margin: 0;
  font-size: 0.8125rem;
}

.footer__age a {
  color: var(--cyan);
}

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(12, 22, 48, 0.97);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
}

.mobile-cta-bar .btn {
  width: 100%;
  font-size: 0.875rem;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
}

.page-content {
  padding: 2.5rem 0 3rem;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
}

.page-content ul {
  padding-left: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
  margin-top: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

@media (min-width: 640px) {
  .bordered-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bordered-card--top {
    grid-column: 1 / -1;
  }

  .bordered-card--top .bordered-card__head {
    flex-direction: row;
    align-items: center;
  }

  .bordered-card--top .bordered-card__bonus {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bordered-card--top .bordered-card__bonus .btn {
    flex-shrink: 0;
    min-width: 160px;
  }
}

@media (min-width: 768px) {
  .btn--header {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid var(--border);
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }

  .header {
    position: relative;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle:checked ~ .nav {
    display: block;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__list {
    flex-direction: column;
  }

  .btn--header {
    display: none;
  }
}

@media (min-width: 1024px) {
  .bordered-card:not(.bordered-card--top) .bordered-card__head {
    flex-wrap: wrap;
  }
}
