/* ===== FONTS ===== */
@font-face {
  font-family: 'OldStyle 1';
  src: local('OldStyle 1'), local('OldStyle1'), local('OldStyle 1 HPLHS');
  font-weight: 400;
  font-style: normal;
}

/* ===== RESET & BASE ===== */
.mobile-noise { display: none; }

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0D0D0C;
  --color-cream: #EFE7D4;
  --color-accent: #E8E348;
  --page-width: 1920px;
}

html {
  font-size: 16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  overflow: hidden;
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body {
  background-color: var(--color-bg);
  color: var(--color-cream);
  overflow: hidden;
  height: 100vh;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  font-family: 'Inter', sans-serif;
}

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

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

/* ===== PAGE ===== */
.page {
  width: var(--page-width);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  transform-origin: top left;
}

.page__wrapper {
  will-change: transform;
}

/* ===== NOISE OVERLAY — текстура шума на весь сайт ===== */
.page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: var(--page-width);
  height: 100%;
  background: url('../assets/svg/noise.svg') repeat;
  background-size: 1920px 4144px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
}

/* ===== TAPES — decorative side strips (infinite scroll) ===== */
.tapes {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--page-width);
  height: 900px;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.tapes__track {
  display: flex;
  flex-direction: column;
  animation: tapesScroll 30s linear infinite;
}

.tapes__img {
  width: var(--page-width);
  height: 900px;
  max-width: none;
  flex-shrink: 0;
}

@keyframes tapesScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-900px); }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: var(--page-width);
  height: 900px;
  min-height: var(--section-h, 100vh);
  overflow: hidden;
  background-color: var(--color-bg);
}

/* -- Слой 1a: Фоновая фотография -- */
.hero__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
}

/* -- Слой 1b: Диагональный градиент (Rectangle 88) -- */
.hero__rect88 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__rect88-img {
  width: 1227px;
  height: 329px;
  display: block;
}

/* -- Слой 1c: Боковые тени -- */
.hero__side-shadow {
  position: absolute;
  top: 441px;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__side-shadow-img {
  width: var(--page-width);
  height: 658px;
  display: block;
  max-width: none;
}

/* -- Слой 1d: Нижний градиент (CSS overlay) -- */
.hero__top-bg {
  display: none;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to bottom, transparent 0%, rgba(13,13,12,0.6) 50%, #0D0D0C 100%);
  z-index: 1;
  pointer-events: none;
}

/* -- Слой 2: Навигация -- */
.hero__nav {
  position: absolute;
  z-index: 2;
  top: 72px;
  left: 312px;
}

.hero__nav-img {
  width: 1296px;
  height: 24px;
  display: block;
}
.hero__nav-img--mobile { display: none !important; }

/* -- Слой 3: Кнопка "Get in Touch" -- */
.hero__btn-filters {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.hero__btn {
  position: absolute;
  z-index: 10;
  top: 474px;
  left: 1322px;
  display: block;
  will-change: transform;
  cursor: pointer;
  perspective: 800px;
}

.hero__btn-glow {
  position: absolute;
  inset: -8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(239, 231, 212, 0.35) 0%,
    rgba(239, 231, 212, 0.08) 50%,
    transparent 80%);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hero__btn.is-magnetic .hero__btn-glow {
  opacity: 1;
}

/* Entrance: only opacity, no translateY — JS controls transform */
section > .hero__btn,
section.is-active > .hero__btn {
  transition: opacity 0.7s ease;
}

.hero__btn-img {
  width: 224px;
  height: 48px;
  display: block;
  will-change: transform;
  transform-style: preserve-3d;
}
.hero__btn-img--mobile { display: none !important; }

.hero__btn-glow { display: none; }

/* -- Слой 4: Заголовок "A PRIVATE WORLD OF High Stakes" -- */
.hero__title {
  position: absolute;
  z-index: 2;
  top: 621px;
  left: 390px;
  will-change: mask-position, -webkit-mask-position;
  -webkit-mask-image: linear-gradient(
    100deg,
    #000 0%, #000 30%,
    rgba(0,0,0,0.8) 38%,
    rgba(255,255,255,0.15) 44%,
    transparent 50%, transparent 100%
  );
  mask-image: linear-gradient(
    100deg,
    #000 0%, #000 30%,
    rgba(0,0,0,0.8) 38%,
    rgba(255,255,255,0.15) 44%,
    transparent 50%, transparent 100%
  );
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 200% 0;
  mask-position: 200% 0;
}

.hero__title-img {
  width: 1139px;
  height: 149px;
  display: block;
}
.hero__title-img--mobile { display: none !important; }

/* -- Слой 5: Нижняя полоса (копирайт + ссылки) -- */
.hero__divider {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  left: 312px;
  -webkit-mask-image: linear-gradient(
    100deg,
    #000 0%, #000 30%,
    rgba(0,0,0,0.8) 38%,
    rgba(255,255,255,0.15) 44%,
    transparent 50%, transparent 100%
  );
  mask-image: linear-gradient(
    100deg,
    #000 0%, #000 30%,
    rgba(0,0,0,0.8) 38%,
    rgba(255,255,255,0.15) 44%,
    transparent 50%, transparent 100%
  );
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 200% 0;
  mask-position: 200% 0;
}

.hero__divider-inner {
  display: flex;
  align-items: center;
  width: 1296px;
  height: 15px;
  gap: 0;
}
.hero__divider-copyright {
  flex-shrink: 0;
  opacity: 0.4;
}
.hero__divider-copyright img { height: 12px; display: block; }
.hero__divider-line {
  flex: 1;
  margin: 0 20px;
  opacity: 0.4;
}
.hero__divider-line img { width: 100%; height: 1px; display: block; }
.hero__divider-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.hero__divider-link {
  opacity: 0.4;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__divider-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.hero__divider-link:active { opacity: 1; }
.hero__divider-link img { height: 12px; display: block; }
.hero__divider-img {
  width: 1296px;
  height: 15px;
  display: block;
}

/* ===== CONTENT CONTAINER ===== */
.content {
  position: relative;
  width: var(--page-width);
  height: 800px;
  min-height: var(--section-h, 100vh);
  background-color: var(--color-bg);
  overflow: hidden;
}

/* -- Слой 1: Заголовок "HighRollers Club" + "About Us" -- */
.content__header {
  position: absolute;
  z-index: 5;
  top: 64px;
  left: 48px;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  filter: blur(8px);
  transition: clip-path 1.4s cubic-bezier(0.76, 0, 0.24, 1),
              filter 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.content.is-active .content__header {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transition-delay: 0.15s;
}

.content__header-img {
  width: 1824px;
  height: 232px;
  display: block;
}
.content__header-img--mobile { display: none !important; }
.content__nav-mobile { display: none !important; }
.content__shadow-img--mobile { display: none !important; }
.content__circle-img--mobile { display: none !important; }
.content__gallery-img--mobile { display: none !important; }
.content__full-mobile { display: none !important; }
.content__mobile-link { display: none !important; }
.content__illustration-mobile { display: none !important; }
.content__num-img--mobile { display: none !important; }
.content__btn-img--mobile { display: none !important; }
.hero2__bg-img--mobile { display: none !important; }
.hero2__text-img--mobile { display: none !important; }
.footer__photo-img--mobile { display: none !important; }
.footer__button-main--mobile { display: none !important; }
.footer__bar--mobile { display: none !important; }
.loyalty__mobile { display: none !important; }
.loyalty02__mobile { display: none !important; }
.loyalty03__mobile { display: none !important; }
.loyalty04__mobile { display: none !important; }

/* Fallback: скрытие десктопных inner когда is-mobile (помимо media query) */
body.is-mobile .loyalty__inner,
body.is-mobile .loyalty02__inner,
body.is-mobile .loyalty03__inner,
body.is-mobile .loyalty04__inner {
  display: none !important;
}
body.is-mobile .loyalty__mobile,
body.is-mobile .loyalty02__mobile,
body.is-mobile .loyalty03__mobile,
body.is-mobile .loyalty04__mobile {
  display: flex !important;
}

/* -- Слой 2: Тень под иллюстрацией -- */
.content__shadow {
  position: absolute;
  z-index: 0;
  top: 205px;
  left: 615px;
  pointer-events: none;
}

.content__shadow-img {
  width: 668px;
  height: 432px;
  display: block;
}

/* -- Слой 3: Пунктирный круг -- */
.content__circle {
  position: absolute;
  z-index: 1;
  top: 280px;
  left: 419px;
  pointer-events: none;
}

.content__circle-img {
  width: 1085px;
  height: 425px;
  display: block;
}

/* -- Слой 4: Иллюстрация с картами и фишками -- */
.content__gallery {
  position: absolute;
  z-index: 2;
  top: 281px;
  left: 659px;
  pointer-events: none;
}

.content__gallery-img {
  width: 602px;
  height: 399px;
  display: block;
}

/* -- Слой 5: Номера 01–05 -- */
.content__num {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.content__num--01 {
  top: 414px;
  left: 514px;
}

.content__num--01 .content__num-img {
  width: 53px;
  height: 54px;
}

.content__num--02 {
  top: 576px;
  left: 554px;
}

.content__num--02 .content__num-img {
  width: 59px;
  height: 54px;
}

.content__num--03 {
  top: 399px;
  left: 1188px;
}

.content__num--03 .content__num-img {
  width: 59px;
  height: 54px;
}

.content__num--04 {
  top: 400px;
  left: 1579px;
}

.content__num--04 .content__num-img {
  width: 64px;
  height: 54px;
}

.content__num--05 {
  top: 564px;
  left: 1283px;
}

.content__num--05 .content__num-img {
  width: 59px;
  height: 57px;
}

.content__num-img {
  display: block;
}

/* -- Слой 6: Кнопки-лейблы -- */
.content__btn {
  position: absolute;
  z-index: 3;
  display: block;
  opacity: 0;
  will-change: transform, filter;
  transition: filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}

.content__btn-img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content__btn:hover {
  filter: brightness(1.2) drop-shadow(0 8px 32px rgba(239, 231, 212, 0.2))
         drop-shadow(0 0 60px rgba(239, 231, 212, 0.06));
  z-index: 10;
}

.content__btn:hover .content__btn-img {
  transform: scale(1.07) translateY(-2px);
}

.content__btn:active .content__btn-img {
  transform: scale(0.97);
  transition-duration: 0.12s;
}

/* Landing glow animation */
@keyframes btnLandGlow {
  0%   { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  40%  { filter: brightness(1.5) drop-shadow(0 0 30px rgba(239, 231, 212, 0.3)); }
  100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}
.content__btn.is-landed {
  animation: btnLandGlow 0.6s ease-out forwards;
}

.content__btn--loyalty {
  width: 285px;
  height: 84px;
  top: 315px;
  left: 288px;
}

.content__btn--events {
  width: 293px;
  height: 84px;
  top: 295px;
  left: 1235px;
}

.content__btn--protection {
  width: 227px;
  height: 80px;
  top: 450px;
  left: 1359px;
}

.content__btn--community {
  width: 349px;
  height: 88px;
  top: 638px;
  left: 357px;
}

.content__btn--vip {
  width: 285px;
  height: 84px;
  top: 638px;
  left: 1202px;
}

/* ===== HERO 2 — "Our Main Goal" (Page 3) ===== */
.hero2 {
  position: relative;
  width: var(--page-width);
  height: 943px;
  min-height: var(--section-h, 100vh);
  overflow: hidden;
  background-color: var(--color-bg);
}

/* -- Слой 1: Фото с маской + блюр (PNG) -- */
.hero2__bg {
  position: absolute;
  top: -14px;
  left: 152px;
  z-index: 0;
}

.hero2__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(transparent, var(--color-bg));
  pointer-events: none;
}

.hero2__bg-img {
  width: 1691px;
  height: 882px;
  display: block;
  max-width: none;
}

/* -- Слой 2: Текст "OUR MAIN GOAL" + описание -- */
.hero2__text {
  position: absolute;
  z-index: 1;
  top: 98px;
  left: 148px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 30% 35%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse at 30% 35%, #000 70%, transparent 100%);
  -webkit-mask-size: 0% 0%;
  mask-size: 0% 0%;
  -webkit-mask-position: 30% 35%;
  mask-position: 30% 35%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero2__text-img {
  width: 1018px;
  height: 331px;
  display: block;
}

/* ===== HERO CONTENT AREA — Horizontal Strip (Page 4) ===== */
.loyalty {
  position: relative;
  width: var(--page-width);
  height: var(--section-h, 100vh);
  background-color: var(--color-bg);
  z-index: 1;
  overflow: hidden;
}

.loyalty__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.loyalty__slide {
  width: var(--page-width);
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loyalty__inner {
  position: relative;
  width: var(--page-width);
  height: 708px;
  flex-shrink: 0;
}

/* -- Слой 1: Разделитель "Values of the High Rollers Club" -- */
.loyalty__divider {
  position: absolute;
  top: 0;
  left: 298px;
  z-index: 1;
  pointer-events: none;
}

.loyalty__divider-img {
  width: 1440px;
  height: 12px;
  display: block;
}

/* -- Слой 2: Заголовок "LOYALTY SYSTEM from casino Partners" -- */
.loyalty__header {
  position: absolute;
  top: 10px;
  left: 371px;
  z-index: 2;
}

.loyalty__header-img {
  width: 957px;
  height: 161px;
  display: block;
}

/* -- Слой 3: Декоративный текст "special loyalty system" -- */
.loyalty__special {
  position: absolute;
  top: 186px;
  left: 182px;
  z-index: 0;
  pointer-events: none;
}

.loyalty__special-img {
  width: 1099px;
  height: 429px;
  display: block;
}

/* -- Слой 4: Иллюстрация (утка-маскот) -- */
.loyalty__illustration {
  position: absolute;
  top: 171px;
  left: 371px;
  z-index: 3;
}

.loyalty__illustration-img {
  width: 527px;
  height: 527px;
  display: block;
}

/* -- Слой 5: Панель навигации (01·02·03·04 + текст) -- */
.loyalty__panel {
  position: absolute;
  top: 74px;
  left: 1318px;
  z-index: 2;
}

.loyalty__panel-img {
  width: 347px;
  height: 562px;
  display: block;
}

/* -- Слой 6: Scroll Prompt Bar (шевроны) -- */
.loyalty__scroll {
  position: absolute;
  top: 698px;
  left: 298px;
  z-index: 1;
  pointer-events: none;
}

.loyalty__scroll-img {
  width: 1439px;
  height: 10px;
  display: block;
}

/* ===== SLIDE 02 — Closed Community ===== */
.loyalty02__inner {
  position: relative;
  width: var(--page-width);
  height: 708px;
  flex-shrink: 0;
}

/* -- Слой 1: Разделитель -- */
.loyalty02__divider {
  position: absolute;
  top: 0;
  left: 243px;
  z-index: 1;
  pointer-events: none;
}

.loyalty02__divider-img {
  width: 1434px;
  height: 12px;
  display: block;
}

/* -- Слой 2: Заголовок "CLOSED COMMUNITY" -- */
.loyalty02__tagline {
  position: absolute;
  top: 12px;
  left: 298px;
  z-index: 2;
}

.loyalty02__tagline-img {
  width: 1098px;
  height: 161px;
  display: block;
}

/* -- Слой 3: Фоновый текст "share advice learn" -- */
.loyalty02__bgtext {
  position: absolute;
  top: 186px;
  left: 182px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.loyalty02__bgtext-img {
  width: 962px;
  height: 423px;
  display: block;
}

/* -- Слой 4: Иллюстрация (покерный стол) -- */
.loyalty02__illustration {
  position: absolute;
  top: 171px;
  left: 298px;
  z-index: 3;
}

.loyalty02__illustration-img {
  width: 527px;
  height: 527px;
  display: block;
}

/* -- Слой 5: Панель текста (sidebar) -- */
.loyalty02__sidebar {
  position: absolute;
  top: 74px;
  left: 1318px;
  z-index: 2;
}

.loyalty02__sidebar-img {
  width: 347px;
  height: 562px;
  display: block;
}

/* -- Слой 6: Scroll Prompt Bar -- */
.loyalty02__scroll {
  position: absolute;
  top: 698px;
  left: 243px;
  z-index: 1;
  pointer-events: none;
}

.loyalty02__scroll-img {
  width: 1434px;
  height: 10px;
  display: block;
}

/* ===== SLIDE 03 — Private Events ===== */
.loyalty03__inner {
  position: relative;
  width: var(--page-width);
  height: 708px;
  flex-shrink: 0;
}

/* -- Слой 1: Разделитель -- */
.loyalty03__divider {
  position: absolute;
  top: 0;
  left: 240px;
  z-index: 1;
  pointer-events: none;
}

.loyalty03__divider-img {
  width: 1440px;
  height: 12px;
  display: block;
}

/* -- Слой 2: Заголовок "PRIVATE EVENTS around the world" -- */
.loyalty03__banner {
  position: absolute;
  top: 12px;
  left: 298px;
  z-index: 2;
}

.loyalty03__banner-img {
  width: 816px;
  height: 161px;
  display: block;
}

/* -- Слой 3: Фоновый текст "offline online access" -- */
.loyalty03__bgtext {
  position: absolute;
  top: 186px;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.loyalty03__bgtext-img {
  width: 1121px;
  height: 422px;
  display: block;
  filter: invert(1) brightness(1.5) contrast(2);
  mix-blend-mode: screen;
  opacity: 0.10;
}

/* -- Слой 4: Иллюстрация (утка у двери) -- */
.loyalty03__illustration {
  position: absolute;
  top: 171px;
  left: 298px;
  z-index: 3;
}

.loyalty03__illustration-img {
  width: 527px;
  height: 527px;
  display: block;
}

/* -- Слой 5: Sidebar (текст + Places кнопка) -- */
.loyalty03__sidebar {
  position: absolute;
  top: 74px;
  left: 1318px;
  z-index: 2;
}

.loyalty03__sidebar-img {
  width: 347px;
  height: 562px;
  display: block;
}

/* -- Слой 6: Scroll Prompt Bar -- */
.loyalty03__scroll {
  position: absolute;
  top: 698px;
  left: 240px;
  z-index: 1;
  pointer-events: none;
}

.loyalty03__scroll-img {
  width: 1439px;
  height: 10px;
  display: block;
}

/* ===== SLIDE 04 — Protection of Interests ===== */
.loyalty04__inner {
  position: relative;
  width: var(--page-width);
  height: 708px;
  flex-shrink: 0;
}

/* -- Слой 1: Разделитель -- */
.loyalty04__divider {
  position: absolute;
  top: 0;
  left: 240px;
  z-index: 1;
  pointer-events: none;
}

.loyalty04__divider-img {
  width: 1440px;
  height: 12px;
  display: block;
}

/* -- Слой 2: Заголовок "PROTECTION OF INTERESTS" -- */
.loyalty04__tagline {
  position: absolute;
  top: 12px;
  left: 298px;
  z-index: 2;
}

.loyalty04__tagline-img {
  width: 884px;
  height: 161px;
  display: block;
}

/* -- Слой 3: Фоновый текст "VIPVIPVIP" -- */
.loyalty04__bgtext {
  position: absolute;
  top: 186px;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.loyalty04__bgtext-img {
  width: 1152px;
  height: 381px;
  display: block;
  filter: invert(1) brightness(1.5) contrast(2);
  mix-blend-mode: screen;
  opacity: 0.10;
}

/* -- Слой 4: Иллюстрация (утка со слот-машиной) -- */
.loyalty04__illustration {
  position: absolute;
  top: 171px;
  left: 298px;
  z-index: 3;
}

.loyalty04__illustration-img {
  width: 527px;
  height: 527px;
  display: block;
}

/* -- Слой 5: Sidebar (VIP Details) -- */
.loyalty04__sidebar {
  position: absolute;
  top: 74px;
  left: 1318px;
  z-index: 2;
}

.loyalty04__sidebar-img {
  width: 347px;
  height: 562px;
  display: block;
}

/* -- Слой 6: Scroll Prompt Bar -- */
.loyalty04__scroll {
  position: absolute;
  top: 698px;
  left: 240px;
  z-index: 1;
  pointer-events: none;
}

.loyalty04__scroll-img {
  width: 1439px;
  height: 10px;
  display: block;
}

/* ===== Places Popup (slide 03) ===== */
.loyalty03__sidebar {
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.loyalty03__inner.is-places-active .loyalty03__sidebar {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.loyalty03__places-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

.loyalty03__places-popup {
  position: absolute;
  top: 74px;
  left: 1318px;
  z-index: 5;
  background: var(--color-bg);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              visibility 0s linear 0.5s;
}

.loyalty03__places-popup.is-places-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              visibility 0s linear 0s;
}

.loyalty03__places-popup.is-places-closing {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
              visibility 0s linear 0.6s;
  visibility: hidden;
}

.loyalty03__places-popup-img {
  width: 347px;
  height: 562px;
  display: block;
}

.loyalty03__places-close {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

/* ===== FOOTER — Get in Touch + Footer Bar (Page 5) ===== */
.footer {
  position: relative;
  width: var(--page-width);
  height: var(--section-h, 100vh);
  overflow: hidden;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__inner {
  position: relative;
  width: var(--page-width);
  height: 786px;
  flex-shrink: 0;
  transform: scale(1.15);
  transform-origin: center center;
}

/* -- Слой 1: Фото с маской + блюр (PNG) -- */
.footer__photo {
  position: absolute;
  top: -160px;
  left: 192px;
  z-index: 0;
}

.footer__photo-img {
  width: 1634px;
  height: 952px;
  display: block;
  max-width: none;
}

/* -- Слой 2: Кнопка "Get in Touch" -- */
.footer__button {
  position: absolute;
  top: 308px;
  left: 683px;
  z-index: 2;
  width: 555px;
  height: 128px;
  perspective: 1200px;
  filter: drop-shadow(9px 12px 39px rgba(0, 0, 0, 0.1));
}

.footer__button-img {
  width: 555px;
  height: 128px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1),
              opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.footer__button-soon {
  transform: rotateY(180deg);
  opacity: 0.9;
}

.footer__button.is-soon .footer__button-main {
  transform: rotateY(-180deg);
}

.footer__button.is-soon .footer__button-soon {
  transform: rotateY(0deg);
}

/* -- Слой 3: Footer bar (лого, навигация, копирайт) -- */
.footer__bar {
  position: absolute;
  top: 436px;
  left: 240px;
  z-index: 1;
}

.footer__nav-link {
  position: absolute;
  display: block;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  z-index: 5;
  border-radius: 4px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.footer__nav-link:hover {
  background: rgba(239, 231, 212, 0.06);
  box-shadow: 0 0 12px rgba(239, 231, 212, 0.1), inset 0 0 8px rgba(239, 231, 212, 0.04);
}

.footer__nav-link:active {
  background: rgba(239, 231, 212, 0.12);
}

.footer__bar-img {
  width: 1440px;
  height: 349px;
  display: block;
  max-width: none;
}

/* ===== FULLPAGE — Dot Navigation ===== */
.fp-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10000;
}

.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--color-cream);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.4s ease, transform 0.4s ease;
  opacity: 0.4;
}

.fp-dot:hover {
  opacity: 0.8;
}

.fp-dot.is-active {
  background: var(--color-cream);
  opacity: 1;
  transform: scale(1.3);
}

/* ===== FULLPAGE — Entrance Animations ===== */
section > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

section.is-active > * {
  opacity: 1;
  transform: translateY(0);
}

section.is-active > *:nth-child(1) { transition-delay: 0.05s; }
section.is-active > *:nth-child(2) { transition-delay: 0.12s; }
section.is-active > *:nth-child(3) { transition-delay: 0.19s; }
section.is-active > *:nth-child(4) { transition-delay: 0.26s; }
section.is-active > *:nth-child(5) { transition-delay: 0.33s; }
section.is-active > *:nth-child(6) { transition-delay: 0.40s; }
section.is-active > *:nth-child(7) { transition-delay: 0.47s; }
section.is-active > *:nth-child(8) { transition-delay: 0.54s; }
section.is-active > *:nth-child(9) { transition-delay: 0.61s; }
section.is-active > *:nth-child(10) { transition-delay: 0.68s; }
section.is-active > *:nth-child(11) { transition-delay: 0.75s; }
section.is-active > *:nth-child(12) { transition-delay: 0.82s; }
section.is-active > *:nth-child(13) { transition-delay: 0.89s; }

/* ===== ABOUT US OVERLAY ===== */
.about-overlay__mob-header { display: none; }

.about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  pointer-events: none;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* Фон */
.about-overlay__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 0;
}

.about-overlay.is-open .about-overlay__bg {
  opacity: 1;
}

/* Навигация */
.about-overlay__nav {
  position: absolute;
  top: 5%;
  left: 50%;
  opacity: 0;
  transform: translateX(-50%) translateY(-30px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
}

.about-overlay.is-open .about-overlay__nav {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.about-overlay__nav-img {
  width: 70vw;
  max-width: 1296px;
  height: 24px;
  display: block;
}

/* Меню */
.about-overlay__menu {
  position: relative;
  width: 70vw;
  max-width: 1296px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.3s;
  z-index: 2;
}

.about-overlay.is-open .about-overlay__menu {
  opacity: 1;
  transform: translateY(0);
}

.about-overlay__item {
  position: relative;
  display: flex;
  align-items: baseline;
  padding: clamp(12px, 1.5vh, 24px) 32px clamp(14px, 1.8vh, 28px);
  cursor: pointer;
  text-decoration: none;
  color: #EFE7D4;
  background: transparent;
  transition: background 0.4s cubic-bezier(0.33, 1, 0.68, 1),
              color 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.about-overlay__item:hover {
  background: #EFE7D4;
  color: #0D0D0C;
}

.about-overlay__num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.5;
  position: absolute;
  top: 18px;
  left: 32px;
  transition: opacity 0.4s ease;
}

.about-overlay__item:hover .about-overlay__num {
  opacity: 0.4;
}

.about-overlay__text {
  font-family: 'OldStyle 1', 'Playfair Display', Georgia, serif;
  font-size: clamp(60px, 7vw, 128px);
  font-weight: 400;
  line-height: 95%;
  letter-spacing: -0.05em;
  margin-left: 13px;
}

.about-overlay__arrow {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  align-self: center;
}

.about-overlay__item:hover .about-overlay__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Футер */
.about-overlay__footer {
  position: absolute;
  bottom: 5%;
  right: 15%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.5s;
  z-index: 2;
}

.about-overlay.is-open .about-overlay__footer {
  opacity: 1;
  transform: translateY(0);
}

.about-overlay__footer-img {
  width: 72px;
  height: 104px;
  display: block;
}

.about-overlay__footer-link {
  position: absolute;
  display: block;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.about-overlay__footer-link:hover {
  background: rgba(239, 231, 212, 0.08);
}

/* X кнопка закрытия (кликабельная зона поверх X в навбаре) */
.about-overlay__close {
  position: absolute;
  top: 5%;
  right: 15%;
  width: 48px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

/* Анимация закрытия */
.about-overlay.is-closing .about-overlay__bg {
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}

.about-overlay.is-closing .about-overlay__nav {
  opacity: 0;
  transform: translateX(-50%) translateY(-30px);
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

.about-overlay.is-closing .about-overlay__menu {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.4s ease 0s, transform 0.4s ease 0s;
}

.about-overlay.is-closing .about-overlay__footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

/* Exclude loyalty track from entrance animation */
section > .loyalty__track,
section.is-active > .loyalty__track {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Inner wrappers — controlled by horizontal slide state */
.loyalty__inner,
.loyalty02__inner,
.loyalty03__inner,
.loyalty04__inner,
.loyalty__mobile,
.loyalty02__mobile,
.loyalty03__mobile,
.loyalty04__mobile {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.loyalty__slide.is-h-active .loyalty__inner,
.loyalty__slide.is-h-active .loyalty02__inner,
.loyalty__slide.is-h-active .loyalty03__inner,
.loyalty__slide.is-h-active .loyalty04__inner,
.loyalty__slide.is-h-active .loyalty__mobile,
.loyalty__slide.is-h-active .loyalty02__mobile,
.loyalty__slide.is-h-active .loyalty03__mobile,
.loyalty__slide.is-h-active .loyalty04__mobile {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within active horizontal slide */
.loyalty__slide.is-h-active > * > *:nth-child(1) { transition-delay: 0.05s; }
.loyalty__slide.is-h-active > * > *:nth-child(2) { transition-delay: 0.12s; }
.loyalty__slide.is-h-active > * > *:nth-child(3) { transition-delay: 0.19s; }
.loyalty__slide.is-h-active > * > *:nth-child(4) { transition-delay: 0.26s; }
.loyalty__slide.is-h-active > * > *:nth-child(5) { transition-delay: 0.33s; }
.loyalty__slide.is-h-active > * > *:nth-child(6) { transition-delay: 0.40s; }

/* Footer inner wrapper */
.footer__inner {
  opacity: 0;
  transform: translateY(40px) scale(1.15);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

section.is-active > .footer__inner {
  opacity: 1;
  transform: translateY(0) scale(1.15);
  transition-delay: 0.05s;
}

/* ========================================================
   MOBILE — 390px base (< 768px viewport)
   Based on SVG references in /mobile folder
   ======================================================== */
@media (max-width: 767px) {

  /* ==========================================================
     MOBILE SCROLL MODE — native vertical scroll, no fullpage
     ========================================================== */

  /* Enable native scrolling */
  html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }
  body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Page: relative position so it participates in scroll flow */
  .page {
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
  }

  /* Disable full-page noise overlay on mobile (per-section .mobile-noise
     handles it; mix-blend-mode is extremely expensive during scroll) */
  .page::after {
    display: none !important;
  }

  /* GPU-promote sections for smooth scroll compositing */
  section {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  /* Wrapper: no transforms (disable fullpage translateY) */
  .page__wrapper {
    transform: none !important;
    transition: none !important;
  }

  /* All entrance animations disabled — everything always visible */
  section > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Loyalty slide inner content always visible */
  .loyalty__mobile,
  .loyalty02__mobile,
  .loyalty03__mobile,
  .loyalty04__mobile {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Footer inner always visible */
  .footer__inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Hide dot navigation */
  .fp-dots {
    display: none !important;
  }

  /* --- Page base --- */
  :root {
    --page-width: 390px;
  }

  /* --- Hide desktop-only decorative elements --- */
  .tapes,
  .hero__rect88,
  .hero__side-shadow,
  .hero__top-bg,
  .hero__btn-filters {
    display: none !important;
  }

  /* ==========================================================
     NOISE OVERLAY — applied to all mobile sections via .mobile-noise div
     Figma: opacity 0.5, mix-blend-mode overlay
     ========================================================== */
  .mobile-noise {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#noiseFilter);
    opacity: 0.5;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 100;
  }

  /* ==========================================================
     HERO — mobile  (ref: Main Page Frame (1).svg  390×824)
     Photo 390×819, gradient y=646.15 h=151,
     nav at (16,32) 358×24,
     title at (16,458) 359×149,
     cream bar at (16,631) 359×48,
     copyright at (~16,706) 215×12,
     links at (~16,735) 247×12
     ========================================================== */
  .hero {
    width: 390px;
    height: 680px;
    position: relative;
    overflow: hidden;
  }

  /* Hero Top Background gradient: y=646→797 (Figma: 1324×151, top=646.15)
     Combined with Hero Side Background: covers bottom ~55% with dark vignette */
  .hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top,
      var(--color-bg) 0%,
      rgba(13,13,12,0.85) 18%,
      rgba(13,13,12,0.4) 50%,
      transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* Hero Background Image: diagonal dark blur at top-left
     (Figma: 615×939, top=-357, left=-371, rot=-64.33°, blur=79.43) */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(155deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.2) 40%,
      transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(30px);
  }

  /* Photo — covers 390×819, focus on top portion */
  .hero__photo {
    height: 99.4%;
  }
  .hero__photo-img {
    object-position: center 20%;
  }

  /* --- Desktop/mobile image swap --- */
  .hero__nav-img--desktop { display: none !important; }
  .hero__nav-img--mobile  { display: block !important; }
  .hero__title-img--desktop { display: none !important; }
  .hero__title-img--mobile  { display: block !important; }
  .hero__btn-img--desktop { display: none !important; }
  .hero__btn-img--mobile  { display: block !important; }

  /* Nav — (SVG: x=16, y=32, 358×24) */
  .hero__nav {
    top: 32px;
    left: 16px;
  }
  .hero__nav-img--mobile {
    width: 358px;
    height: 24px;
  }

  /* Title — anchored from bottom for scroll layout */
  .hero__title {
    top: auto;
    left: 16px;
    bottom: 165px;
    z-index: 3;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__title-img--mobile {
    width: 359px;
    height: 149px;
  }

  /* Button — anchored from bottom for scroll layout */
  .hero__btn {
    top: auto;
    left: 16px;
    bottom: 95px;
    width: 359px;
    height: 48px;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    z-index: 5;
    background: none;
    display: block !important;
    perspective: none;
    will-change: auto;
    opacity: 1 !important;
  }
  .hero__btn-glow {
    display: none !important;
  }
  .hero__btn-img--mobile {
    width: 359px;
    height: 48px;
  }
  .hero__btn-img {
    transition: none !important;
  }
  section > .hero__btn,
  section.is-active > .hero__btn {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Copyright + links — anchored from bottom */
  .hero__divider {
    top: auto;
    bottom: 20px;
    left: 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__divider-inner {
    width: 358px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .hero__divider-line { display: none; }
  .hero__divider-copyright {
    opacity: 0.5;
    order: 1;
  }
  .hero__divider-copyright img { height: 12px; }
  /* Links — (SVG: x≈16, y≈735, 247×12) */
  .hero__divider-links {
    gap: 16px;
    order: 2;
  }
  .hero__divider-link { opacity: 0.5; }
  .hero__divider-link img { height: 12px; }

  /* ==========================================================
     CONTENT — mobile  (ref: Content Container (2).svg  390×693)
     Single full SVG replaces ALL individual elements on mobile.
     ========================================================== */
  .content {
    position: relative !important;
    width: 390px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: hidden;
  }

  /* Скрываем ВСЕ десктопные слои контент-секции на мобилке */
  .content__motion-path { display: none !important; }
  .content__header       { display: none !important; }
  .content__nav-mobile   { display: none !important; }
  .content__shadow       { display: none !important; }
  .content__circle       { display: none !important; }
  .content__gallery      { display: none !important; }
  .content__illustration-mobile { display: none !important; }
  .content__num          { display: none !important; }
  .content__btn          { display: none !important; }

  /* ---- Полная SVG контент-секции (390×693), determines section height ---- */
  .content__full-mobile {
    display: flex !important;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 1 !important;
    transform: none !important;
  }
  .content__full-mobile-inner {
    position: relative;
    width: 390px;
    flex-shrink: 0;
  }
  .content__full-mobile-img {
    width: 390px;
    height: auto;
    display: block;
    max-width: none;
    pointer-events: none;
  }
  /* Мобильные кнопки — анимация как в ПК: scale+blur+подлёт */
  .content__mobile-link {
    position: absolute;
    display: block !important;
    z-index: 5;
    cursor: pointer;
    opacity: 1;
    filter: none;
    transform-origin: center;
  }

  .content__mobile-link:active img {
    transform: scale(0.92);
    transition: transform 0.15s ease;
  }
  .content__mobile-link img {
    display: block;
    width: 100%;
    height: 100%;
  }
  /* Loyalty system */
  .content__mobile-link--loyalty {
    --btn-rot: -4deg;
    top: 601px;
    left: 167px;
    width: 161px;
    height: 47px;
  }
  /* Private events */
  .content__mobile-link--events {
    --btn-rot: -4deg;
    top: 406px;
    left: 189px;
    width: 166px;
    height: 48px;
  }
  /* Closed community */
  .content__mobile-link--community {
    --btn-rot: 4deg;
    top: 518px;
    left: 16px;
    width: 197px;
    height: 50px;
  }
  /* Protection */
  .content__mobile-link--protection {
    --btn-rot: 4deg;
    top: 510px;
    left: 246px;
    width: 129px;
    height: 45px;
  }
  /* VIP concierge */
  .content__mobile-link--vip {
    --btn-rot: -4deg;
    top: 378px;
    left: 10px;
    width: 161px;
    height: 47px;
  }

  /* ==========================================================
     HERO2 — mobile: фото + текст "OUR MAIN GOAL" (ref: Hero (2).png)
     ========================================================== */
  .hero2 {
    position: relative !important;
    width: 390px !important;
    height: 500px !important;
    overflow: hidden;
  }

  /* Desktop/mobile image swap */
  .hero2__bg-img--desktop { display: none !important; }
  .hero2__bg-img--mobile  { display: block !important; }
  .hero2__text-img--desktop { display: none !important; }
  .hero2__text-img--mobile  { display: block !important; }

  /* Убираем десктопный градиент */
  .hero2__bg::after { display: none !important; }

  /* Фото заполняет весь экран, привязано к низу */
  .hero2__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
  }
  .hero2__bg-img,
  .hero2__bg-img--mobile {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center bottom;
  }

  /* Текст "OUR MAIN GOAL is simple" + описание — сверху */
  .hero2__text {
    display: block !important;
    position: absolute !important;
    top: 5% !important;
    left: 11px !important;
    padding: 0 !important;
    z-index: 1;
  }
  .hero2__text-img--mobile {
    width: 369px !important;
    height: 276px !important;
  }

  /* ==========================================================
     LOYALTY — mobile (ref: Main Content Wrapper (1).svg 390×791)
     Slide 01: отдельные SVG из папки 4
     Slides 02-04: стандартный flex-column layout
     ========================================================== */
  .loyalty {
    width: 390px;
    height: auto !important;
    min-height: auto !important;
    overflow: hidden;
  }
  .loyalty__track {
    display: flex;
    height: auto !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    will-change: auto;
    transform: none !important;
    transition: none !important;
  }
  .loyalty__track::-webkit-scrollbar {
    display: none;
  }
  .loyalty__slide {
    width: 390px;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: auto !important;
  }

  /* ── Slide 01: скрываем десктоп, показываем мобилку ── */
  .loyalty__inner {
    display: none !important;
  }
  .loyalty__mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 390px;
    height: auto;
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 24px;
  }

  /* Nav wrapper + number indicator overlay (shared across all loyalty slides) */
  .loyalty-mob-nav-wrap {
    position: relative;
    width: 390px;
    height: 64px;
    flex-shrink: 0;
  }
  .loyalty-mob-nums {
    position: absolute;
    left: 247px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: auto;
    z-index: 2;
    background: #0D0D0C;
    padding: 0 4px;
  }

  /* Nav bar (390×64) */
  .loyalty__mob-nav {
    width: 390px;
    height: 64px;
    display: block;
  }

  /* Hero content (390×209) */
  .loyalty__mob-hero {
    width: 390px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  /* Art area — special text + illustration overlapping */
  .loyalty__mob-art {
    position: relative;
    width: 390px;
    height: 300px;
    flex-shrink: 0;
  }
  .loyalty__mob-special {
    position: absolute;
    top: 5px;
    left: -10px;
    width: 350px;
    height: auto;
    z-index: 0;
    pointer-events: none;
  }
  .loyalty__mob-illust {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 274px;
    height: 274px;
    z-index: 1;
    object-fit: contain;
  }

  /* Description panel (390×218) */
  .loyalty__mob-desc {
    width: 390px;
    height: auto;
    display: block;
    flex-shrink: 0;
    margin-top: 16px;
  }

  /* ── Slide 02: скрываем десктоп, показываем мобилку ── */
  .loyalty02__inner {
    display: none !important;
  }
  .loyalty02__mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 390px;
    height: auto;
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding: 0 16px 24px;
    box-sizing: border-box;
  }

  /* Nav bar */
  .loyalty02__mob-nav {
    width: 390px;
    height: 64px;
    display: block;
    flex-shrink: 0;
  }

  /* Sidebar text — clipped to show only text content (skip indicators + empty area) */
  /* SVG 347×562: indicators y=0-17, empty y=17-291, crosshair y=291, text y=320-530 */
  /* At 358px width, scale=1.032, text starts at ~300px rendered */
  .loyalty02__mob-desc-wrap {
    width: 358px;
    max-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 16px;
  }
  .loyalty02__mob-desc {
    width: 358px;
    height: auto;
    display: block;
    margin-top: -300px;
  }

  /* Art area — bgtext behind illustration */
  .loyalty02__mob-art {
    position: relative;
    width: 358px;
    height: 340px;
    flex-shrink: 0;
    margin: 8px auto 0;
  }
  .loyalty02__mob-bgtext {
    position: absolute;
    top: 0;
    left: 0;
    width: 358px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
  }
  .loyalty02__mob-illust {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    z-index: 1;
  }

  /* Big title at top (after nav) */
  .loyalty02__mob-hero {
    width: 358px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  /* ── Slide 03: скрываем десктоп, показываем мобилку ── */
  .loyalty03__inner {
    display: none !important;
  }
  .loyalty03__mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 390px;
    height: auto;
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 24px;
  }
  .loyalty03__mob-nav {
    width: 390px;
    height: 64px;
    display: block;
    flex-shrink: 0;
  }

  /* Default view: описание + Places кнопка (390×197) — прижат к низу */
  .loyalty03__mob-default {
    position: relative;
    width: 390px;
    flex-shrink: 0;
    margin-top: 16px;
  }
  .loyalty03__mob-hero {
    width: 390px;
    height: auto;
    display: block;
  }
  .loyalty03__mob-places-btn {
    position: absolute;
    bottom: 0;
    left: 34px;
    right: 34px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5;
  }

  /* Places popup: полноэкранный overlay */
  .loyalty03__mob-places {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 390px;
    z-index: 20;
    background: #0D0D0C;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .loyalty03__mob-places.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .loyalty03__mob-places-wrap {
    position: relative;
    width: 390px;
    flex-shrink: 0;
  }
  .loyalty03__mob-places-img {
    width: 390px;
    height: auto;
    display: block;
  }
  .loyalty03__mob-close-btn {
    position: absolute;
    bottom: 2px;
    left: 34px;
    right: 34px;
    height: 52px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 25;
  }

  /* Art area: bgtext + illustration */
  .loyalty03__mob-art {
    position: relative;
    width: 368px;
    height: 280px;
    flex-shrink: 0;
    margin: 0 auto;
  }
  .loyalty03__mob-bgtext {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 368px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
  }
  .loyalty03__mob-illust {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 274px;
    height: 274px;
    z-index: 1;
  }

  /* Overview/title at top (after nav) */
  .loyalty03__mob-overview {
    width: 390px;
    height: auto;
    display: block;
    flex-shrink: 0;
  }

  /* ── Slide 04: скрываем десктоп, показываем мобилку ── */
  .loyalty04__inner {
    display: none !important;
  }
  .loyalty04__mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 390px;
    height: auto;
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 24px;
  }
  .loyalty04__mob-nav {
    width: 390px;
    height: 64px;
    display: block;
    flex-shrink: 0;
  }
  /* Tagline "PROTECTION OF INTERESTS" — сверху */
  .loyalty04__mob-tagline {
    width: 358px;
    height: auto;
    display: block;
    flex-shrink: 0;
    margin: 4px auto 0;
  }
  /* Art area: bgtext + illustration */
  .loyalty04__mob-art {
    position: relative;
    width: 340px;
    height: 180px;
    flex-shrink: 0;
    margin: 0 auto;
  }
  .loyalty04__mob-bgtext {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
  }
  .loyalty04__mob-illust {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    z-index: 1;
    object-fit: contain;
  }
  /* Sidebar text — обёртка обрезает 01 02 03 04 индикаторы сверху */
  .loyalty04__mob-sidebar-wrap {
    width: 320px;
    overflow: hidden;
    flex-shrink: 0;
    margin: 4px auto 0;
  }
  .loyalty04__mob-sidebar {
    width: 320px;
    height: auto;
    display: block;
    margin-top: -30px;
  }

  /* ==========================================================
     FOOTER — mobile  (ref: Page Footer Container.svg  390×814)
     ========================================================== */
  .footer {
    width: 390px;
    height: auto !important;
    min-height: auto !important;
  }

  .footer__inner {
    width: 390px;
    height: auto;
    min-height: 500px;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
  }

  .footer__photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .footer__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
  }

  .footer__button {
    position: relative;
    top: auto;
    left: auto;
    width: 320px;
    height: 72px;
    margin-bottom: 30px;
    z-index: 2;
  }
  .footer__button-img {
    width: 320px;
    height: 72px;
  }

  .footer__bar {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    z-index: 2;
  }
  .footer__bar-img {
    width: 358px;
    height: auto;
  }
  .footer__nav-link {
    display: none;
  }

  /* ==========================================================
     ABOUT OVERLAY — mobile (красивая версия)
     ========================================================== */

  /* Фон: как в ПК версии */
  .about-overlay__bg {
    background: var(--color-bg);
  }

  /* Скрываем nav SVG на мобилке */
  .about-overlay__nav {
    display: none !important;
  }

  /* Мобильный хедер: лого слева + кнопка справа */
  .about-overlay__mob-header {
    display: flex !important;
    position: absolute;
    top: 28px;
    left: 16px;
    right: 16px;
    z-index: 3;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.15s;
  }
  .about-overlay.is-open .about-overlay__mob-header {
    opacity: 1;
    transform: translateY(0);
  }
  .about-overlay.is-closing .about-overlay__mob-header {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
  }
  .about-overlay__mob-logo {
    height: 28px;
    width: auto;
    display: block;
  }
  .about-overlay__mob-btn {
    height: 28px;
    width: auto;
    display: block;
    cursor: pointer;
  }

  /* Меню: как в ПК — крупный текст, без полосок */
  .about-overlay__menu {
    width: 358px;
    max-width: 90vw;
    gap: 0;
    align-items: flex-start;
  }

  .about-overlay__item {
    padding: 12px 16px 14px;
    border: none;
  }
  .about-overlay__item:last-child {
    border: none;
  }
  .about-overlay__item:active {
    background: rgba(239, 231, 212, 0.06);
  }
  .about-overlay__item:hover {
    background: transparent;
    color: #EFE7D4;
  }

  .about-overlay__num {
    font-size: 11px;
    left: 16px;
    top: 14px;
    opacity: 0.4;
  }

  .about-overlay__text {
    font-size: clamp(48px, 14vw, 64px);
    margin-left: 10px;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .about-overlay__arrow {
    display: none;
  }
  .about-overlay__item:hover .about-overlay__arrow {
    display: none;
  }

  /* Стагерная анимация каждого пункта меню */
  @keyframes aboutItemIn {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .about-overlay.is-open .about-overlay__item {
    animation: aboutItemIn 0.6s cubic-bezier(0.33, 1, 0.68, 1) both;
  }
  .about-overlay.is-open .about-overlay__item:nth-child(1) { animation-delay: 0.25s; }
  .about-overlay.is-open .about-overlay__item:nth-child(2) { animation-delay: 0.35s; }
  .about-overlay.is-open .about-overlay__item:nth-child(3) { animation-delay: 0.45s; }
  .about-overlay.is-open .about-overlay__item:nth-child(4) { animation-delay: 0.55s; }

  /* Закрытие: обратная анимация пунктов */
  .about-overlay.is-closing .about-overlay__item {
    animation: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Футер: справа снизу как в ПК */
  .about-overlay__footer {
    bottom: 32px;
    right: 16px;
    left: auto;
    transform: translateY(20px);
  }
  .about-overlay.is-open .about-overlay__footer {
    transform: translateY(0);
  }
  .about-overlay.is-closing .about-overlay__footer {
    transform: translateY(20px);
  }
  .about-overlay__footer-img {
    width: 72px;
    height: auto;
  }
  .about-overlay__footer-link {
    transform: scale(1.3);
    transform-origin: top left;
  }

  .about-overlay__close {
    top: 32px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  /* ==========================================================
     FOOTER — mobile (ref: Page Footer Container.png)
     Фото сверху, кнопка по центру, внизу лого + текст + навигация
     ========================================================== */
  .footer {
    width: 390px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: hidden;
  }
  .footer__inner {
    width: 390px !important;
    height: auto !important;
    min-height: 600px;
    transform: none !important;
    position: relative !important;
  }

  /* Desktop/mobile swap */
  .footer__photo-img--desktop { display: none !important; }
  .footer__photo-img--mobile  { display: block !important; }
  .footer__button-main--desktop { display: none !important; }
  .footer__button-main--mobile  { display: block !important; }
  .footer__bar--desktop { display: none !important; }
  .footer__bar--mobile  { display: block !important; }

  /* Фото: заполняет верхнюю часть */
  .footer__photo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 390px !important;
    height: auto !important;
    z-index: 0;
  }
  .footer__photo-img--mobile {
    width: 390px !important;
    height: auto !important;
    display: block !important;
    max-width: none !important;
  }
  .footer__photo::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(transparent, var(--color-bg, #1a1a1a));
    pointer-events: none;
    z-index: 1;
  }

  /* Кнопка "Get in Touch" — по центру фото */
  .footer__button {
    position: absolute !important;
    top: 310px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 168px !important;
    height: 48px !important;
    z-index: 2;
    perspective: 1200px;
    filter: drop-shadow(4px 6px 20px rgba(0, 0, 0, 0.15));
  }
  .footer__button-main--mobile {
    width: 168px !important;
    height: 48px !important;
  }
  .footer__button-img {
    width: 168px !important;
    height: 48px !important;
  }

  /* Mobile footer bar */
  .footer__bar--mobile {
    display: block !important;
    position: absolute !important;
    bottom: 40px;
    left: 16px;
    right: 16px;
    z-index: 1;
  }
  .footer__invitation-img {
    display: block;
    width: 358px;
    height: auto;
    margin-bottom: 20px;
  }
  .footer__nav-row {
    position: relative;
    width: 374px;
    height: 10px;
    margin-bottom: 16px;
  }
  .footer__nav-img {
    display: block;
    width: 374px;
    height: 10px;
  }
  .footer__nav-link-m {
    position: absolute;
    display: block;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    z-index: 5;
  }
  .footer__x-link {
    display: block;
    margin-bottom: 12px;
  }
  .footer__x-img {
    width: 24px;
    height: 24px;
  }
  .footer__copyright-img {
    display: block;
    width: 240px;
    height: auto;
  }


}
