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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --bg-main: #e6f2ff;
  --bg-alt: #c2e0ff;
  --accent: #ff8a1f;
  --accent-strong: #ff6b00;
  --text-main: #003366;
  --text-muted: #4d6b8a;
  --border: #4db6ac;
  --sand: #f0e6d2;
  --ocean: #1a8cff;
  --palm-green: #2e8b57;
  --coral: #ff6b6b;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-main);
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 200, 124, 0.1) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(77, 182, 172, 0.1) 0%, transparent 20%);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-strong);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 138, 31, 0.3);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--ocean), #0066cc);
  color: white;
  box-shadow: 0 4px 12px rgba(26, 140, 255, 0.2);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn--full {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

/* Top bar - статичный */
.top-bar {
  background: linear-gradient(to right, #003366, #00509e);
  border-bottom: 3px solid var(--sand);
  padding: 12px 0;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 76px;
}

.top-bar::before {
  content: "🌊🌴";
  position: absolute;
  font-size: 24px;
  opacity: 0.1;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__image {
  width: 150px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__image img {
  width: 100%;
  height: auto;
  max-height: 74px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo__image:hover img {
  transform: scale(1.05);
}

.logo__placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), #ffcc80);
  border: 3px solid var(--accent);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.logo__placeholder--small {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.top-bar__lang {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.lang-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lang-btn--active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.top-bar__nav {
  display: flex;
  gap: 15px;
  margin-left: 20px;
}

.top-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.top-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.top-bar__auth {
  display: flex;
  gap: 10px;
  margin-left: auto;
  align-items: center;
}

/* Бургер-меню кнопка в top-bar для мобильных */
.mobile-nav-toggle {
  display: none; /* Скрыта по умолчанию, показывается только на мобильных */
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  visibility: visible;
  opacity: 1;
  margin-left: 10px;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

/* Иконка бургера - три линии */
.burger-icon {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: visible;
  opacity: 1;
}

.burger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  visibility: visible;
  opacity: 1;
}

/* Анимация бургера в крестик */
.mobile-nav-toggle.active .burger-icon span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-nav-toggle.active .burger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.active .burger-icon span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Main nav - статичный под хэдером */
.main-nav {
  background: linear-gradient(to right, var(--palm-green), #3cb371);
  border-bottom: 3px solid var(--sand);
  position: sticky;
  top: 76px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
  visibility: visible;
  opacity: 1;
}

.main-nav::before {
  content: "🎰🎯💰";
  position: absolute;
  font-size: 20px;
  opacity: 0.1;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.main-nav__inner {
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.main-nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.main-nav__item {
  flex: 1;
  min-width: 0;
}

.main-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: 14px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  height: 100%;
}

.main-nav__link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Hero section */
.hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}

.hero .container {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Карусель - медленнее */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 447px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  margin: 20px 0;
  padding: 0;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 100%;
  transition: transform 0.8s ease-in-out;
  box-sizing: border-box;
}

.carousel-slide {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
  border-radius: 20px;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

.carousel-slide.active .carousel-img {
  transform: scale(1.02);
}

.carousel-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Слайдер с бесконечной плавной прокруткой для бонусов */
.bonus-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
  padding: 0;
  background: transparent;
}

.bonus-slider__track {
  display: flex;
  width: calc(200% + 60px); /* 2 раза по 4 слайда + gap */
  animation: slideInfinite 25s linear infinite;
}

.bonus-slider__slide {
  flex: 0 0 calc(25% - 15px); /* 4 слайда в видимой области, минус gap */
  margin: 0 7.5px;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

/* Анимация бесконечной прокрутки */
@keyframes slideInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 30px)); /* Сдвигаем на половину ширины + gap */
  }
}

/* Пауза при наведении */
.bonus-slider:hover .bonus-slider__track {
  animation-play-state: paused;
}

/* Стили для карточек бонусов внутри слайдера - только кликабельные изображения */
.bonus-image-card {
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
  padding: 0;
  text-decoration: none;
}

.bonus-image-card:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.bonus-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
  border-radius: 10px;
  cursor: pointer;
  display: block;
}

.bonus-image-card:hover .bonus-image {
  transform: scale(1.05);
}

/* Убираем кнопки бонусов */
.bonus-btn {
  display: none;
}

/* Сетка для изображений регистрации */
.registration-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.registration-image-card {
  background: white;
  border-radius: 20px;
  border: 3px solid var(--border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.registration-image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent);
}

.registration-image-wrapper {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc, #e6f2ff);
}

.registration-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 20px 12px;
  transition: transform 0.5s ease;
}

.registration-image-card:hover .registration-image {
  transform: scale(1.05);
}

.registration-image-info {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.registration-image-info h3 {
  margin: 0;
  font-size: 20px;
  color: var(--text-main);
  font-weight: 700;
}

.registration-image-info p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.registration-btn {
  margin-top: 6px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

/* Анимация карусели */
@keyframes fadeIn {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

.carousel-slide.active {
  animation: fadeIn 0.8s ease;
}

/* Адаптивность карусели */
@media (max-width: 1200px) {
  .carousel {
    height: 350px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  /* Hero секция - убираем все отступы и растягиваем на всю ширину */
  .hero {
    padding: 0 !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    position: relative;
    left: 0;
    right: 0;
  }
  
  .hero .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    position: relative;
  }
  
  /* Первая карусель (hero carousel) */
  .hero .carousel {
    height: 300px;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  
  .hero .carousel-track {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: flex;
  }
  
  .hero .carousel-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .hero .carousel-link {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
  }
  
  .hero .carousel-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  /* Адаптивность слайдера бонусов */
  .bonus-slider__track {
    width: calc(400% + 60px); /* Для мобильных делаем больше копий для плавности */
  }
  
  .bonus-slider__slide {
    flex: 0 0 calc(50% - 15px); /* На мобильных показываем по 2 слайда */
  }
  
  @keyframes slideInfinite {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-25% - 30px)); /* Корректируем анимацию для мобильных */
    }
  }
  
  /* Адаптивность изображений регистрации */
  .registration-images-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .registration-image-wrapper {
    height: 250px;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  /* Hero секция - убираем все отступы и растягиваем на всю ширину */
  .hero {
    padding: 0 !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    position: relative;
    left: 0;
    right: 0;
  }
  
  .hero .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    position: relative;
  }
  
  /* Первая карусель (hero carousel) */
  .hero .carousel {
    height: 250px;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  
  .hero .carousel-track {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: flex;
  }
  
  .hero .carousel-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .hero .carousel-link {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
  }
  
  .hero .carousel-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .carousel-nav {
    bottom: 15px;
    gap: 15px;
    left: 10px;
    right: 10px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .bonus-slider {
    margin: 30px 0;
  }
  
  
  .registration-image-wrapper {
    height: 200px;
  }
}

/* Fallback для изображений карусели */
.carousel-slide:has(img[src$=".webp"]:not([src])) {
  background: linear-gradient(135deg, #4db6ac, var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 20px;
}

.carousel-slide:has(img[src$=".webp"]:not([src]))::before {
  content: "Hero Bild " attr(data-slide-num);
  padding: 20px;
  text-align: center;
}

/* Generic sections */
.section {
  padding: 40px 0;
  background: var(--bg-main);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: 32px;
  margin: 0 0 30px;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  border-radius: 2px;
}

.section__subtitle {
  font-size: 22px;
  margin: 35px 0 20px;
  color: var(--text-main);
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(77, 182, 172, 0.3);
}

.section__text {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.section__text strong {
  color: var(--text-main);
  font-weight: 600;
}

.section__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}

.section__cta {
  margin-top: 20px;
}

/* Slots Grid - 2 rows of 6 */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

/* Updated slot card with image - исправлено для выравнивания кнопок */
.slot-card {
  background: white;
  border-radius: 15px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.slot-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.slot-card__thumb {
  position: relative;
  height: 180px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #4db6ac, var(--ocean));
  margin-bottom: 0;
}

.slot-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slot-card:hover .slot-card__thumb img {
  transform: scale(1.1);
}

.slot-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 51, 102, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slot-card:hover .slot-card__overlay {
  opacity: 1;
}

.btn--play {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 138, 31, 0.4);
  text-decoration: none;
  display: inline-block;
}

.btn--play:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 138, 31, 0.6);
}

.slot-card__body {
  padding: 12px 15px 15px;
  display: flex;
  
  gap: 8px;
  flex-grow: 1;
  justify-content: space-between;
  min-height: auto;
}

.slot-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

/* Исправляем кнопки Details чтобы были на одном уровне */
.slot-card__body .btn--secondary {
  align-self: center;
  margin-top: auto;
}

/* Text and tables */
.info-table-wrapper,
.table-wrapper {
  margin-top: 25px;
  overflow-x: auto;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 15px;
  overflow: hidden;
  min-width: 600px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 16px 20px;
  text-align: left;
  line-height: 1.5;
}

.info-table th {
  background: linear-gradient(to right, var(--palm-green), #3cb371);
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.info-table tbody tr:nth-child(even) {
  background: rgba(77, 182, 172, 0.1);
}

.info-table tbody tr:hover {
  background: rgba(77, 182, 172, 0.2);
  transition: background 0.3s;
}

/* Lists */
.list {
  margin: 0 0 25px 25px;
  padding: 0;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}

.list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 10px;
}

.list li::marker {
  color: var(--accent);
  font-size: 1.2em;
}

/* Forms */
.form-card {
  background: white;
  border-radius: 20px;
  border: 3px solid var(--border);
  padding: 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 140px;
}

.form-card__title {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 22px;
  color: var(--text-main);
  font-weight: 700;
  text-align: center;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.form__field span {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}

.form input,
.form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid #e1e8f0;
  background: #f8fafc;
  color: var(--text-main);
  font-size: 15px;
  transition: all 0.3s;
}

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.1);
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__checkbox input {
  margin-top: 5px;
  width: auto;
}

/* Bonuses */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.bonus-card {
  background: white;
  border-radius: 20px;
  border: 3px solid var(--border);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent);
}

.bonus-card__header {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.bonus-card__placeholder {
  height: 100px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffcc80, #ff8a1f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

.bonus-card__text {
  font-size: 15px;
  color: var(--text-muted);
  flex-grow: 1;
  line-height: 1.6;
  margin: 0;
}

/* Placeholders */
.placeholder-box {
  margin-top: 25px;
  padding: 40px;
  border-radius: 20px;
  border: 3px dashed var(--border);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.3s;
}

.placeholder-box:hover {
  border-style: solid;
  background: white;
  transform: scale(1.01);
}

/* Phone mock */
.phone-placeholder {
  width: 280px;
  padding: 15px;
  border-radius: 40px;
  background: linear-gradient(135deg, #222, #444);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.phone-placeholder::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: #333;
  border-radius: 10px;
}

.phone-placeholder__screen {
  height: 450px;
  border-radius: 30px;
  background: linear-gradient(135deg, #4db6ac, var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 15px;
  border: 2px solid var(--border);
  padding: 25px;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item[open] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 240, 0.95));
}

.faq-item__question {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-main);
  font-size: 18px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "▶";
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(90deg);
}

.faq-item__answer {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(77, 182, 172, 0.3);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: linear-gradient(to right, #003366, #00509e);
  border-top: 3px solid var(--sand);
  padding: 40px 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "🏝️🌴🌊";
  position: absolute;
  font-size: 40px;
  opacity: 0.1;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer__left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.footer__text {
  flex: 1;
}

.footer__text p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer__text strong {
  color: white;
  font-weight: 600;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
  font-size: 14px;
}

.footer__link:hover {
  color: var(--accent);
  transform: translateX(5px);
  text-decoration: none;
}

/* Scroll to top button - всегда bottom right */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--sand);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  opacity: 0.9;
  visibility: visible;
  transform: translateY(0);
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

/* Fallback for missing images */
.slot-card__thumb:has(img[src$=".webp"]:not([src])) {
  background: linear-gradient(135deg, #4db6ac, var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.slot-card__thumb:has(img[src$=".webp"]:not([src]))::before {
  content: "Slot " attr(data-slot-num);
}

/* Responsive for slots grid */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 25px;
  }
  
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .logo__image {
    width: 130px;
    height: 64px;
  }
  
  .main-nav__link {
    font-size: 13px;
    padding: 10px 5px;
  }
  
  .registration-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .section__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__inner {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: auto;
    gap: 20px;
  }
  
  .logo__image {
    width: 120px;
    height: 59px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    height: auto;
    min-height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
  }
  
  .main-nav {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
    background: linear-gradient(to right, var(--palm-green), #3cb371) !important;
    min-height: 60px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .top-bar__inner {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .logo__image {
    width: 100px;
    height: 49px;
  }
  
  .top-bar__nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
  }
  
  .top-bar__auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Бургер-меню кнопка в top-bar */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: 10px;
    position: relative;
    z-index: 1003;
  }
  
  .main-nav__inner {
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    visibility: visible !important;
  }
  
  .main-nav__inner .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .main-nav__list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: linear-gradient(to right, var(--palm-green), #3cb371);
    border-top: 2px solid var(--sand);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .main-nav__list.mobile-open {
    display: flex;
    max-height: 600px;
    padding: 60px 0 10px 0;
  }
  
  .main-nav__item {
    flex: 1;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav__item:last-child {
    border-bottom: none;
  }
  
  .main-nav__link {
    font-size: 16px;
    padding: 18px 20px;
    border-radius: 0;
    background: transparent;
    text-align: left;
    width: 100%;
    white-space: normal;
    transition: all 0.3s ease;
  }
  
  .main-nav__link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    padding-left: 25px;
  }
  
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bonus-grid {
    grid-template-columns: 1fr;
  }
  
  .section__title {
    font-size: 28px;
  }
  
  .section__subtitle {
    font-size: 20px;
  }
  
  .registration-images-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .slots-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .logo {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .logo__image {
    width: 90px;
    height: 44px;
  }
  
  .top-bar__auth {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  
  .top-bar__nav {
    justify-content: flex-start;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    background: linear-gradient(to right, var(--palm-green), #3cb371);
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    margin-left: 8px;
  }
  
  .burger-icon {
    width: 26px;
    height: 20px;
  }
  
  .main-nav__link {
    font-size: 15px;
    padding: 15px 15px;
  }
  
  .section__title {
    font-size: 24px;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .registration-image-wrapper {
    height: 200px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.6s ease-out;
}

.hero-card, .slot-card, .bonus-card, .registration-image-card {
  animation: fadeIn 0.8s ease-out;
}

/* Print styles */
@media print {
  .top-bar, .main-nav, .footer, .scroll-top,
  .btn, .phone-placeholder, .carousel, .bonus-carousel {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt !important;
    line-height: 1.5 !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .section {
    padding: 20pt 0 !important;
    break-inside: avoid;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
  
  .section__title {
    color: black !important;
    font-size: 16pt !important;
  }
  
  .section__text {
    color: #333 !important;
    font-size: 11pt !important;
  }
  
  .info-table {
    border: 1px solid #ccc !important;
    font-size: 10pt !important;
  }
  
  .info-table th {
    background: #f0f0f0 !important;
    color: black !important;
  }
}

/* Добавляем padding-top для всех секций, чтобы контент не скрывался под фиксированным меню */
section[id] {
  scroll-margin-top: 126px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 120px;
  }
  
  /* Добавляем отступ для контента под фиксированным меню */
  .section {
    padding-top: 60px;
  }
  
  .section:first-of-type {
    padding-top: 40px;
  }
  
  /* Hero секция должна иметь отступ сверху для фиксированных меню */
  .hero {
    margin-top: 120px !important;
  }
}
