:root {
  --lb-space-1: 8px;
  --lb-space-2: 12px;
  --lb-space-3: 16px;
  --lb-space-4: 24px;
  --lb-space-5: 32px;
  --lb-space-6: 48px;
  --lb-w-page: 1200px;
  --lb-w-main: 1100px;
  --lb-w-narrow: 980px;
  --lb-w-text: 900px;
  --lb-gutter: 24px;
}

@media (max-width: 720px) {
  :root { --lb-gutter: 16px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--lb-font-body);
  color: var(--lb-text);
  background: var(--lb-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--lb-bg) url("../assets/bg/hero-bg.jpg") center / cover no-repeat;
  pointer-events: none;
  transform: translateZ(0);
  contain: strict;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.82));
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__main { flex: 1; }

.section { padding: var(--lb-space-6) 0; }
.section--games { padding: 16px 0 40px; }

/* Header 02 */
.lb-header-pill {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px var(--lb-gutter);
  box-sizing: border-box;
}

.lb-header-pill__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: var(--lb-c-09091C);
  box-shadow: 0 8px 28px rgba(9, 9, 28, 0.18);
}

.lb-header-pill__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lb-header-pill__img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.lb-header-pill__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lb-header-pill__link {
  font-family: var(--lb-font-body);
  font-size: 13px;
  color: var(--lb-c-FFFFFF);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.lb-header-pill__link:hover { color: var(--lb-c-2589FF); }

.lb-header-pill__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--lb-c-2589FF);
  color: var(--lb-c-FFFFFF);
  font-family: var(--lb-font-body);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.lb-header-pill__btn:hover { opacity: 0.92; }

@media (max-width: 700px) {
  .lb-header-pill__nav { display: none; }
}

/* Hero 03 welcome */
.lb-hero-welcome {
  width: 100%;
  max-width: var(--lb-w-text);
  margin: 0 auto;
  padding: 48px var(--lb-gutter) 32px;
  text-align: center;
  position: relative;
}

.lb-hero-welcome__glow {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: min(520px, 90%);
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(37, 137, 255, 0.22) 0%, rgba(37, 137, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.lb-hero-welcome__logo {
  position: relative;
  z-index: 1;
  width: min(200px, 46%);
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 14px 30px rgba(37, 137, 255, 0.25));
}

.lb-hero-welcome__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: var(--lb-font-display);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lb-hero-welcome__title-dark {
  display: block;
  color: var(--lb-text);
}

.lb-hero-welcome__title-blue {
  display: block;
  color: var(--lb-accent);
}

.lb-hero-welcome__text {
  position: relative;
  z-index: 1;
  margin: 0 auto 28px;
  max-width: 560px;
  font-family: var(--lb-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lb-c-25475C, #25475C);
}

.lb-hero-welcome__buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.lb-hero-welcome__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--lb-font-body);
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lb-hero-welcome__btn:hover { transform: translateY(-1px); }

.lb-hero-welcome__btn--fill {
  background: var(--lb-accent);
  color: #FFFFFF;
  border: 2px solid var(--lb-accent);
  box-shadow: 0 8px 22px rgba(37, 137, 255, 0.3);
}

.lb-hero-welcome__btn--outline {
  background: #FFFFFF;
  color: var(--lb-text);
  border: 2px solid var(--lb-muted, #262D36);
}

/* Slider 04 brand */
.lb-slider-brand {
  --lb-brand-game: clamp(100px, 12vw, 140px);
  --lb-brand-money: clamp(190px, 24vw, 280px);
  --lb-brand-gap: 18px;
  --lb-brand-speed: 22s;
  position: relative;
  width: 100%;
  min-height: calc(var(--lb-brand-money) + 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lb-slider-brand__side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.lb-slider-brand__side--left {
  left: 0;
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}

.lb-slider-brand__side--right {
  right: 0;
  mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
}

.lb-slider-brand__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: lb-brand-scroll-left var(--lb-brand-speed) linear infinite;
  will-change: transform;
}

.lb-slider-brand__group {
  display: flex;
  align-items: center;
  gap: var(--lb-brand-gap);
  padding: 0 calc(var(--lb-brand-gap) / 2);
  flex-shrink: 0;
}

.lb-slider-brand__money {
  width: calc(var(--lb-brand-game) * 1.35);
  height: var(--lb-brand-money);
  object-fit: contain;
  flex-shrink: 0;
}

.lb-slider-brand__game {
  width: var(--lb-brand-game);
  height: var(--lb-brand-game);
  border-radius: 20px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 17, 23, 0.14);
}

.lb-slider-brand__game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb-slider-brand__logo {
  position: relative;
  z-index: 3;
  width: clamp(160px, 22vw, 240px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 14px 30px rgba(37, 137, 255, 0.25));
}

@keyframes lb-brand-scroll-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lb-slider-brand__track { animation-duration: 180s; }
}

@media (max-width: 700px) {
  .lb-slider-brand { min-height: 200px; }
}

/* Advantages 05 cta-plus */
.lb-adv-cta {
  width: 100%;
  max-width: var(--lb-w-main);
  margin: 0 auto;
  padding: 0 var(--lb-gutter);
}

.lb-adv-cta__top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.lb-adv-cta__card {
  background: var(--lb-accent);
  border-radius: 28px;
  padding: 22px 22px 26px;
  min-height: 190px;
  box-shadow: 0 12px 32px rgba(37, 137, 255, 0.22);
}

.lb-adv-cta__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lb-adv-cta__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  flex-shrink: 0;
}

.lb-adv-cta__icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  background-color: var(--lb-accent);
  -webkit-mask: var(--icon) center / 26px 26px no-repeat;
          mask: var(--icon) center / 26px 26px no-repeat;
}

.lb-adv-cta__icon--shield {
  --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3Zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4-6.3 6.3Z'/></svg>");
}

.lb-adv-cta__icon--check {
  --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4Zm-1.3 15.3L6.5 12l1.4-1.4 2.8 2.8 5.4-5.4 1.4 1.4-6.8 6.9Z'/></svg>");
}

.lb-adv-cta__icon--bolt {
  --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M13 2 3 14h7l-1 8 10-12h-7l1-8Z'/></svg>");
}

.lb-adv-cta__icon--chat {
  --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3C6.5 3 2 6.6 2 11c0 2.3 1.2 4.4 3.2 5.9L4 21l4.6-2.1c1.1.3 2.2.5 3.4.5 5.5 0 10-3.6 10-8s-4.5-8.4-10-8.4Zm-4 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z'/></svg>");
}

.lb-adv-cta__card-title {
  margin: 0;
  font-family: var(--lb-font-title);
  font-size: clamp(20px, 2.2vw, 28px);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lb-adv-cta__card-text {
  margin: 0;
  font-family: var(--lb-font-body);
  font-size: 14px;
  line-height: 1.45;
  color: #FFFFFF;
}

.lb-adv-cta__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  gap: 14px;
  padding: 8px 12px 8px 0;
}

.lb-adv-cta__title {
  margin: 0;
  font-family: var(--lb-font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--lb-accent);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lb-adv-cta__subtitle {
  margin: 0;
  font-family: var(--lb-font-body);
  font-size: 16px;
  color: var(--lb-text);
}

.lb-adv-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
  justify-content: flex-end;
}

.lb-adv-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--lb-font-body);
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lb-adv-cta__btn:hover { transform: translateY(-1px); }

.lb-adv-cta__btn--fill {
  background: var(--lb-accent);
  color: #FFFFFF;
  border: 2px solid var(--lb-accent);
  box-shadow: 0 8px 22px rgba(37, 137, 255, 0.3);
}

.lb-adv-cta__btn--outline {
  background: #FFFFFF;
  color: var(--lb-text);
  border: 2px solid var(--lb-accent);
}

.lb-adv-cta__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .lb-adv-cta__top { grid-template-columns: 1fr; }
  .lb-adv-cta__aside {
    align-items: center;
    text-align: center;
    padding: 8px 0 0;
  }
  .lb-adv-cta__buttons { justify-content: center; }
  .lb-adv-cta__row { grid-template-columns: 1fr; }
}

/* Bonus 02 light timeline */
.lb-bonus-light {
  width: 100%;
  max-width: var(--lb-w-narrow);
  margin: 0 auto;
  padding: 0 var(--lb-gutter);
  text-align: center;
}

.lb-bonus-light__title {
  margin: 0 0 28px;
  font-family: var(--lb-font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.lb-bonus-light__title-dark { color: var(--lb-text); }
.lb-bonus-light__title-blue { color: var(--lb-grad, #2A7AD9); }

.lb-bonus-light__card {
  border-radius: 40px;
  padding: 36px 40px 32px;
  background: #DCE6EF;
  text-align: right;
  box-shadow: 0 12px 32px rgba(17, 17, 23, 0.12);
}

.lb-bonus-light__card-title {
  margin: 0 0 8px;
  font-family: var(--lb-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lb-text);
}

.lb-bonus-light__card-sub {
  margin: 0 0 36px;
  font-family: var(--lb-font-body);
  font-size: 16px;
  color: var(--lb-text);
}

.lb-bonus-light__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  margin-bottom: 32px;
}

.lb-bonus-light__steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 68px;
  height: 2px;
  background: var(--lb-text);
  z-index: 0;
}

.lb-bonus-light__steps::after {
  content: "";
  position: absolute;
  left: 12%;
  width: 12.5%;
  top: 68px;
  height: 2px;
  background: var(--lb-grad, #2A7AD9);
  z-index: 1;
}

.lb-bonus-light__step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.lb-bonus-light__step-top,
.lb-bonus-light__step-bottom {
  margin: 0;
  font-family: var(--lb-font-body);
  font-size: 14px;
  color: var(--lb-text);
  white-space: nowrap;
}

.lb-bonus-light__step-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  /* остальные сундуки — чёрные */
  filter: brightness(0);
}

.lb-bonus-light__step--active .lb-bonus-light__step-icon {
  /* первый (активный) сундук — голубой */
  filter: brightness(0) saturate(100%) invert(58%) sepia(72%) saturate(1800%) hue-rotate(176deg) brightness(1.05);
}

.lb-bonus-light__step--active .lb-bonus-light__step-top,
.lb-bonus-light__step--active .lb-bonus-light__step-bottom {
  color: var(--lb-grad, #2A7AD9);
  font-weight: 700;
}

.lb-bonus-light__btn-wrap {
  display: flex;
  justify-content: flex-end;
}

.lb-bonus-light__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--lb-grad, #2A7AD9);
  color: #FFFFFF;
  font-family: var(--lb-font-body);
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px rgba(37, 137, 255, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lb-bonus-light__btn:hover {
  transform: translateY(-1px);
  background: var(--lb-accent);
}

@media (max-width: 720px) {
  .lb-bonus-light__card {
    padding: 28px 20px 24px;
    text-align: center;
  }
  .lb-bonus-light__btn-wrap { justify-content: center; }
  .lb-bonus-light__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .lb-bonus-light__steps::before,
  .lb-bonus-light__steps::after { display: none; }
  .lb-bonus-light__step-top,
  .lb-bonus-light__step-bottom { white-space: normal; }
}

/* Footer 01 */
.lb-footer-center {
  width: 100%;
  text-align: center;
  padding: 48px var(--lb-gutter) 32px;
}

.lb-footer-center__logo {
  height: 52px;
  width: auto;
  display: block;
  margin: 0 auto 18px;
  object-fit: contain;
}

.lb-footer-center__disclaimer,
.lb-footer-center__copy {
  margin: 0 0 8px;
  font-family: var(--lb-font-body);
  font-size: 14px;
  color: var(--lb-c-25475C, #25475C);
}

.lb-footer-center__copy {
  font-size: 13px;
  opacity: 0.85;
}

/* Modal 01 */
.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lb-modal.is-open { display: flex; }

.lb-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 28, 0.65);
}

.lb-modal__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 28px;
  padding: 32px 28px 28px;
  background: linear-gradient(160deg, #2589FF 0%, #2A7AD9 55%, #1E6BC8 100%);
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 20px 50px rgba(9, 9, 28, 0.35), 0 0 36px rgba(37, 137, 255, 0.3);
}

.lb-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 6, 12, 0.25);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lb-modal__eyebrow {
  margin: 0 0 10px;
  font-family: var(--lb-font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.lb-modal__title {
  margin: 0 0 12px;
  font-family: var(--lb-font-display);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.lb-modal__text {
  margin: 0 0 22px;
  font-family: var(--lb-font-body);
  font-size: 15px;
  line-height: 1.45;
}

.lb-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: #111117;
  color: #FFFFFF;
  font-family: var(--lb-font-body);
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lb-modal__btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}
