/* ===========================
   BOABET CASINO – styles.css
   =========================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #EEEEEE;
  color: #0E2C3E;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #0E2C3E;
  --primary-light: #1B3C4F;
  --white: #FFFFFF;
  --bg: #EEEEEE;
  --bg-dark: #1B3C4F;
  --accent: #00BFFF;
  --accent2: #FFD700;
  --text: #0E2C3E;
  --text-light: #4a6070;
  --border: #ccd6dc;
  --shadow: 0 4px 16px rgba(14,44,62,0.13);
  --shadow-lg: 0 8px 32px rgba(14,44,62,0.20);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.22s ease;
  --container: 1200px;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.btn--primary {
  background: linear-gradient(135deg, #00BFFF 0%, #0E2C3E 100%);
  color: #FFFFFF;
  border-color: #00BFFF;
  box-shadow: 0 4px 16px rgba(0,191,255,0.35), 0 2px 4px rgba(14,44,62,0.2);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,191,255,0.45), 0 4px 8px rgba(14,44,62,0.25);
  background: linear-gradient(135deg, #33ccff 0%, #1B3C4F 100%);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0,191,255,0.25);
}

.btn--ghost {
  background: transparent;
  color: #0E2C3E;
  border-color: #0E2C3E;
  box-shadow: 0 2px 8px rgba(14,44,62,0.10);
}

.btn--ghost:hover {
  background: #0E2C3E;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14,44,62,0.20);
}

.btn--ghost:active {
  transform: translateY(0);
}

/* Ghost on dark bg */
.hero__content .btn--ghost,
.final-cta .btn--ghost,
.site-footer .btn--ghost {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.hero__content .btn--ghost:hover,
.final-cta .btn--ghost:hover {
  background: #FFFFFF;
  color: #0E2C3E;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(14,44,62,0.12);
  width: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  flex-wrap: nowrap;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.header__nav {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header__nav::-webkit-scrollbar { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav__link {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  background: var(--bg);
  color: var(--accent);
}

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

.header__btn-login {
  font-size: 0.9rem;
  min-height: 40px;
  padding: 8px 18px;
}

.header__btn-reg {
  font-size: 0.9rem;
  min-height: 40px;
  padding: 8px 18px;
  white-space: nowrap;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.burger:hover { background: var(--bg); }

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 12px 20px 20px;
  box-shadow: 0 8px 24px rgba(14,44,62,0.12);
}

.mobile-nav.open { display: block; }

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__link {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-nav__link:hover { background: var(--bg); }

.mobile-nav__cta {
  margin-top: 12px;
  width: 100%;
  text-align: center;
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--primary);
  overflow: hidden;
}

.hero__image-wrap {
  width: 100%;
  overflow: hidden;
  max-height: 520px;
  background: var(--primary-light);
}

.hero__img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__content {
  background: linear-gradient(135deg, #0E2C3E 0%, #1B3C4F 100%);
  padding: 48px 0 56px;
}

.hero__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__bonus-badge {
  display: inline-block;
  background: var(--accent2);
  color: #0E2C3E;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero__bonus-text {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__bonus-text span {
  color: var(--accent2);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  display: block;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__btn {
  min-width: 200px;
  font-size: 1.05rem;
}

/* ===========================
   SECTIONS – SHARED
   =========================== */
.section {
  padding: 72px 0;
}

.section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  overflow-wrap: anywhere;
}

.section__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  display: block;
}

/* Alternating section backgrounds */
.advantages { background: #EEEEEE; }
.bonuses { background: #FFFFFF; }
.howto { background: #EEEEEE; }
.sport { background: #FFFFFF; }
.casino { background: #EEEEEE; }
.mobile-section { background: #FFFFFF; }
.payments { background: #EEEEEE; }
.support { background: #FFFFFF; }
.faq { background: #EEEEEE; }
.final-cta { background: var(--bg-dark); }

/* ===========================
   ADVANTAGES
   =========================== */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.advantage__card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.advantage__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.advantage__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.advantage__card p {
  font-size: 0.95rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

/* ===========================
   BONUSES
   =========================== */
.bonuses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.bonus__card {
  background: #EEEEEE;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.bonus__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bonus__card--featured {
  background: linear-gradient(135deg, #0E2C3E 0%, #1B3C4F 100%);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(0,191,255,0.20);
}

.bonus__card--featured .bonus__title,
.bonus__card--featured .bonus__desc,
.bonus__card--featured .bonus__value span {
  color: #FFFFFF;
}

.bonus__tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.bonus__card--featured .bonus__tag { color: var(--accent2); }

.bonus__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.bonus__value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}

.bonus__card--featured .bonus__value { color: var(--accent2); }

.bonus__value span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}

.bonus__desc {
  font-size: 0.93rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
  flex: 1;
}

.bonus__btn { margin-top: auto; }

.bonuses__media {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}

/* ===========================
   HOW TO START
   =========================== */
.howto__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  counter-reset: none;
}

.howto__step {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  min-width: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.howto__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.howto__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BFFF, #0E2C3E);
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(0,191,255,0.30);
}

.howto__step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.howto__step p {
  font-size: 0.92rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.howto__cta {
  text-align: center;
}

/* ===========================
   SPORT
   =========================== */
.sport__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.sport__text p {
  margin-bottom: 16px;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.sport__list {
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sport__list li {
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--primary);
  overflow-wrap: anywhere;
  border-left: 3px solid var(--accent);
}

.sport__media {
  overflow: hidden;
  border-radius: var(--radius);
}

.sport__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sport__feat {
  background: #EEEEEE;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--border);
  min-width: 0;
  transition: transform var(--transition);
}

.sport__feat:hover { transform: translateY(-3px); }

.feat__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.sport__feat h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.sport__feat p {
  font-size: 0.88rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

/* ===========================
   CASINO
   =========================== */
.casino__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.casino__text p {
  margin-bottom: 16px;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.casino__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.casino__cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  text-align: center;
  font-size: 1.2rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  min-width: 0;
  gap: 6px;
}

.casino__cat:hover {
  border-color: var(--accent);
  background: #FFFFFF;
  transform: translateY(-2px);
}

.casino__cat strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.casino__cat small {
  font-size: 0.78rem;
  color: var(--text-light);
}

.casino__media {
  overflow: hidden;
  border-radius: var(--radius);
}

/* ===========================
   MOBILE SECTION
   =========================== */
.mobile-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.mobile-section__text p {
  margin-bottom: 16px;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.mobile-section__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 28px;
}

.mob-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 0;
}

.mob-feat > span {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.mob-feat strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.mob-feat p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  overflow-wrap: anywhere;
}

.mobile-section__media {
  overflow: hidden;
  border-radius: var(--radius);
}

/* ===========================
   PAYMENTS
   =========================== */
.payments__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.payment__card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-width: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.payment__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.payment__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.payment__card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.payment__card p {
  font-size: 0.88rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.payments__info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.payments__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.payments__info-item strong {
  font-size: 0.95rem;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.payments__info-item span {
  font-size: 0.83rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.payments__cta { text-align: center; }

/* ===========================
   SUPPORT
   =========================== */
.support__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.support__card {
  background: #EEEEEE;
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  min-width: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.support__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.support__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.support__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.support__card p {
  font-size: 0.9rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.support__trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 24px;
  background: #EEEEEE;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 100px;
  min-width: 0;
}

.trust__badge > span { font-size: 1.6rem; }

.trust__badge strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.trust__badge small {
  font-size: 0.75rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

/* ===========================
   FAQ
   =========================== */
.faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  transition: background var(--transition);
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.faq__question:hover { background: var(--bg); }

.faq__icon {
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s;
  line-height: 1;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
}

.faq__answer.open { display: block; }

.faq__answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
  background: linear-gradient(135deg, #0E2C3E 0%, #1B3C4F 100%);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.final-cta__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.final-cta__bonus {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.final-cta__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}

.final-cta__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.final-cta__btn { min-width: 180px; }

.final-cta__media {
  overflow: hidden;
  border-radius: var(--radius);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 56px;
  padding-bottom: 0;
}

.footer__inner { min-width: 0; }

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__logo-link { display: inline-block; }

.footer__logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  overflow-wrap: anywhere;
}

.footer__links h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }

.footer__trust h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__badge {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.footer__bottom {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__license p,
.footer__warning p,
.footer__copy p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.6;
}

.footer__warning p {
  color: rgba(255,255,255,0.65);
}

.footer__warning a {
  color: var(--accent);
  text-decoration: underline;
}

.footer__copy { text-align: center; }

/* ===========================
   CATFISH
   =========================== */
.catfish {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  background: linear-gradient(135deg, #0E2C3E 0%, #1B3C4F 100%);
  box-shadow: 0 -4px 20px rgba(14,44,62,0.25);
  border-top: 2px solid var(--accent);
}

.catfish__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  max-width: calc(100% - 0px);
  margin: 0 auto;
  flex-wrap: nowrap;
}

.catfish__text {
  flex: 1;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  color: #FFFFFF;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.catfish__btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  min-height: 40px;
  padding: 8px 18px;
  white-space: nowrap;
}

.catfish__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.catfish__close:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,0.12);
}

.catfish--hidden { display: none !important; }

/* ===========================
   EXIT POPUP
   =========================== */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.exit-popup.active { display: flex; }

.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,44,62,0.75);
  backdrop-filter: blur(3px);
}

.exit-popup__box {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 44px 36px 40px;
  max-width: 520px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 16px 48px rgba(14,44,62,0.35);
  overflow-wrap: anywhere;
}

.exit-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.exit-popup__close:hover {
  background: var(--bg);
  color: var(--primary);
}

.exit-popup__badge {
  display: inline-block;
  background: var(--accent2);
  color: #0E2C3E;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.exit-popup__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.exit-popup__bonus {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: #f0fbff;
  border: 2px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.exit-popup__sub {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.exit-popup__btn {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.exit-popup__btn2 {
  width: 100%;
  font-size: 0.95rem;
}

/* ===========================
   RESPONSIVE – TABLET (max 960px)
   =========================== */
@media (max-width: 960px) {
  .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonuses__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .howto__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sport__content { grid-template-columns: 1fr; gap: 32px; }
  .sport__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casino__content { grid-template-columns: 1fr; gap: 32px; }
  .casino__categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mobile-section__grid { grid-template-columns: 1fr; gap: 32px; }
  .payments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payments__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .final-cta__inner { grid-template-columns: 1fr; }
  .header__btn-login { display: none; }
}

/* ===========================
   RESPONSIVE – MOBILE (max 640px)
   =========================== */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section__subtitle { margin-bottom: 32px; }

  .advantages__grid { grid-template-columns: 1fr; }
  .howto__steps { grid-template-columns: 1fr; }
  .sport__features { grid-template-columns: 1fr; }
  .casino__categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payments__grid { grid-template-columns: 1fr; }
  .payments__info { grid-template-columns: 1fr 1fr; }
  .support__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }

  .hero__cta-group { flex-direction: column; align-items: stretch; }
  .hero__btn { width: 100%; }
  .final-cta__buttons { flex-direction: column; }
  .final-cta__btn { width: 100%; }

  .header__nav { display: none; }
  .header__btn-login { display: none; }
  .header__btn-reg { display: none; }
  .burger { display: flex; }

  .catfish__text { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

  .exit-popup__box { padding: 36px 20px 28px; }
  .exit-popup__title { font-size: 1.4rem; }
}

/* ===========================
   RESPONSIVE – SMALL MOBILE (max 420px)
   =========================== */
@media (max-width: 420px) {
  .container { padding: 0 12px; }
  .hero__bonus-text { font-size: 1.6rem; }
  .hero__bonus-text span { font-size: 2rem; }
  .casino__categories { grid-template-columns: 1fr 1fr; }
  .payments__info { grid-template-columns: 1fr; }
  .trust__badge { padding: 14px 16px; }
}

/* ===========================
   TABLET NAV SCROLL
   =========================== */
@media (min-width: 641px) and (max-width: 960px) {
  .header__nav { display: block; }
  .burger { display: none; }
}

@media (max-width: 960px) and (min-width: 641px) {
  .burger { display: none; }
}