/* ===== style.css ===== */

/* Existing styles without changes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
  transition: padding-top 0.3s ease;
}

/* Draincore Hero Section - ЗИМНИЙ ПЕЙЗАЖ */
.draincore-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: 
    /* Темное небо */
    linear-gradient(135deg, 
      rgba(0,0,0,0.95) 0%, 
      rgba(5,5,5,0.93) 25%,
      rgba(2,2,2,0.95) 50%,
      rgba(8,8,8,0.93) 75%,
      rgba(0,0,0,0.95) 100%),
    /* Спокойные зимние горы */
    radial-gradient(ellipse 1800px 600px at 50% 85%, rgba(128,128,128,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 1200px 400px at 30% 90%, rgba(105,105,105,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 1500px 500px at 70% 92%, rgba(80,80,80,0.05) 0%, transparent 60%);
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
}

.draincore-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Спокойные зимние вершины */
    radial-gradient(ellipse 1000px 400px at 20% 85%, rgba(128,128,128,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 700px 300px at 80% 88%, rgba(105,105,105,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 500px 200px at 60% 92%, rgba(80,80,80,0.04) 0%, transparent 50%);
  background-size: 
    1000px 400px, 700px 300px, 500px 200px;
  animation: winterMountains 60s linear infinite;
  z-index: 1;
}

@keyframes winterMountains {
  0% { 
    background-position: 0 0, 0 0, 0 0;
    opacity: 0.4;
  }
  25% { 
    background-position: 10px 5px, -8px 3px, 5px 8px;
    opacity: 0.5;
  }
  50% { 
    background-position: 20px 10px, -15px 5px, 10px 15px;
    opacity: 0.4;
  }
  75% { 
    background-position: 30px 15px, -22px 8px, 15px 22px;
    opacity: 0.5;
  }
  100% { 
    background-position: 40px 20px, -30px 10px, 20px 30px;
    opacity: 0.4;
  }
}

/* Спокойный снег */
.draincore-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Тихо падающий снег */
    radial-gradient(circle 1px at 20% 20%, rgba(128,128,128,0.3) 0%, transparent 50%),
    radial-gradient(circle 1px at 40% 30%, rgba(105,105,105,0.2) 0%, transparent 50%),
    radial-gradient(circle 1px at 60% 40%, rgba(80,80,80,0.25) 0%, transparent 50%),
    radial-gradient(circle 1px at 80% 50%, rgba(64,64,64,0.15) 0%, transparent 50%),
    radial-gradient(circle 1px at 10% 60%, rgba(128,128,128,0.3) 0%, transparent 50%),
    radial-gradient(circle 1px at 90% 70%, rgba(105,105,105,0.2) 0%, transparent 50%),
    /* Дополнительные снежинки */
    radial-gradient(circle 1px at 15% 25%, rgba(96,96,96,0.2) 0%, transparent 50%),
    radial-gradient(circle 1px at 85% 35%, rgba(128,128,128,0.25) 0%, transparent 50%),
    radial-gradient(circle 1px at 45% 75%, rgba(80,80,80,0.2) 0%, transparent 50%);
  background-size: 
    200px 200px, 250px 250px,
    300px 300px, 180px 180px,
    280px 280px, 260px 260px,
    150px 150px, 240px 240px, 190px 190px;
  animation: fallingSnow 30s linear infinite;
  z-index: 1;
}

@keyframes fallingSnow {
  0% { 
    background-position: 
      0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0.4;
  }
  25% { 
    background-position: 
      15px 15px, -8px 22px, 22px 8px, -15px 30px, 8px 37px, -22px 45px, 10px 12px, -12px 21px, 6px 27px;
    opacity: 0.5;
  }
  50% { 
    background-position: 
      30px 30px, -15px 45px, 45px 15px, -30px 60px, 15px 75px, -45px 90px, 20px 24px, -24px 42px, 12px 54px;
    opacity: 0.4;
  }
  75% { 
    background-position: 
      45px 45px, -22px 67px, 67px 22px, -45px 90px, 22px 112px, -67px 135px, 30px 36px, -36px 63px, 18px 81px;
    opacity: 0.5;
  }
  100% { 
    background-position: 
      60px 60px, -30px 90px, 90px 30px, -60px 120px, 30px 150px, -90px 180px, 40px 48px, -48px 84px, 24px 108px;
    opacity: 0.4;
  }
}

.draincore-hero.hidden {
  transform: translateY(-100vh);
  opacity: 0;
  visibility: hidden;
}

/* Background styles */
.bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-image {
  width: 110%;
  height: 110%;
  object-fit: cover;
  opacity: 0.08;
  animation: drift 45s ease-in-out infinite, pulse 8s ease-in-out infinite alternate, silver-shimmer 12s ease-in-out infinite;
  filter: contrast(1.8) brightness(1.4) grayscale(1) invert(1);
  mix-blend-mode: screen;
}

@keyframes silver-shimmer {
  0%, 100% { 
    filter: contrast(1.8) brightness(1.4) grayscale(1) invert(1) hue-rotate(0deg);
  }
  25% { 
    filter: contrast(2.1) brightness(1.6) grayscale(1) invert(1) hue-rotate(10deg);
  }
  50% { 
    filter: contrast(1.9) brightness(1.8) grayscale(1) invert(1) hue-rotate(0deg);
  }
  75% { 
    filter: contrast(2.0) brightness(1.5) grayscale(1) invert(1) hue-rotate(-5deg);
  }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(-3%, -2%) scale(1.03) rotate(0.5deg); }
  50% { transform: translate(2%, -3%) scale(0.97) rotate(-0.3deg); }
  75% { transform: translate(-1%, 2%) scale(1.02) rotate(0.2deg); }
}

@keyframes pulse {
  0% { opacity: 0.08; }
  100% { opacity: 0.15; }
}

/* Liquid drip effects */
.liquid-drops {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.drop {
  position: absolute;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(192, 192, 192, 0.4) 50%,
    rgba(255, 255, 255, 0.3) 100%);
  border-radius: 50% 50% 50% 70%;
  animation: drip 8s linear infinite;
  box-shadow: 
    0 0 25px rgba(255, 255, 255, 0.4),
    0 0 50px rgba(192, 192, 192, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.drop:nth-child(1) { 
  left: 10%; width: 3px; height: 15px; 
  animation-delay: 0s; 
  animation-duration: 9s;
}
.drop:nth-child(2) { 
  left: 25%; width: 2px; height: 12px; 
  animation-delay: 2s; 
  animation-duration: 7s;
}
.drop:nth-child(3) { 
  left: 45%; width: 4px; height: 18px; 
  animation-delay: 4s; 
  animation-duration: 10s;
}
.drop:nth-child(4) { 
  left: 65%; width: 2px; height: 10px; 
  animation-delay: 1s; 
  animation-duration: 8s;
}
.drop:nth-child(5) { 
  left: 80%; width: 3px; height: 14px; 
  animation-delay: 3s; 
  animation-duration: 9s;
}
.drop:nth-child(6) { 
  right: 15%; width: 2px; height: 16px; 
  animation-delay: 5s; 
  animation-duration: 6s;
}

@keyframes drip {
  0% { 
    top: -20px; 
    opacity: 0;
    transform: scaleY(0.8);
  }
  5% { 
    opacity: 0.8;
    transform: scaleY(1.2);
  }
  90% { 
    opacity: 0.6;
    transform: scaleY(1);
  }
  100% { 
    top: 100vh; 
    opacity: 0;
    transform: scaleY(0.3);
  }
}

@keyframes mercury-flow {
  0%, 100% { 
    transform: scaleX(1) scaleY(1);
    opacity: 0.3;
  }
  50% { 
    transform: scaleX(1.5) scaleY(0.7);
    opacity: 0.6;
  }
}

.noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 30px 30px, 50px 50px;
  animation: noise-move 20s linear infinite;
  z-index: -1;
}

@keyframes noise-move {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 30px 30px, -50px 50px; }
}

/* Floating elements - ГОРНОДОБЫВАЮЩИЕ */
.float-element {
  position: absolute;
  background: rgba(255,255,255,0.8);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.float-element:nth-child(1) { 
  width: 4px; height: 60px; top: 15%; left: 20%; 
  animation-delay: 0s;
  box-shadow: 
    0 0 25px rgba(255,255,255,0.5),
    0 0 50px rgba(255,255,255,0.3);
  background: linear-gradient(180deg, 
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.9) 100%);
  /* Труба */
}

.float-element:nth-child(2) { 
  width: 12px; height: 12px; top: 30%; right: 25%; border-radius: 50%;
  animation-delay: 1s;
  box-shadow: 
    0 0 20px rgba(255,255,255,0.6),
    0 0 40px rgba(255,255,255,0.4);
  background: radial-gradient(circle, 
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.8) 70%,
    rgba(255,255,255,0.6) 100%);
  /* Шаровая мельница */
}

.float-element:nth-child(3) { 
  width: 3px; height: 80px; bottom: 25%; left: 30%;
  animation-delay: 2s;
  box-shadow: 
    0 0 15px rgba(255,255,255,0.7),
    0 0 30px rgba(255,255,255,0.5);
  background: linear-gradient(180deg, 
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0.8) 100%);
  /* Конвейер */
}

.float-element:nth-child(4) { 
  width: 15px; height: 15px; top: 55%; right: 35%; 
  border: 3px solid rgba(255,255,255,0.8); 
  background: transparent;
  animation-delay: 0.5s;
  box-shadow: 
    0 0 20px rgba(255,255,255,0.6),
    0 0 40px rgba(255,255,255,0.4);
  border-radius: 50%;
  /* Колесо */
}

/* Дополнительные элементы горнодобычи */
.float-element:nth-child(5) { 
  width: 2px; height: 40px; top: 45%; left: 10%; 
  animation-delay: 3s;
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
  background: linear-gradient(180deg, 
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0.6) 100%);
  /* Столб */
}

.float-element:nth-child(6) { 
  width: 8px; height: 8px; bottom: 40%; right: 15%; 
  animation-delay: 4s;
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
  background: radial-gradient(circle, 
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.7) 100%);
  border-radius: 50%;
  /* Искра */
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1); 
    opacity: 0.8; 
  }
  33% { 
    transform: translateY(-20px) rotate(3deg) scale(1.1); 
    opacity: 1; 
  }
  66% { 
    transform: translateY(10px) rotate(-2deg) scale(0.9); 
    opacity: 0.9; 
  }
}

/* Hero content */
.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: clamp(4.4rem, 13.2vw, 11rem);
  font-weight: 900;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  line-height: 0.75;
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, 
    #fff 0%, 
    #f8f8f8 20%,
    #fff 40%,
    #e0e0e0 60%,
    #fff 80%,
    #f0f0f0 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGlow 3s ease-in-out infinite;
  text-shadow: 
    0 0 30px rgba(255,255,255,0.8),
    0 0 60px rgba(255,255,255,0.6),
    0 0 90px rgba(255,255,255,0.4),
    0 0 120px rgba(192,192,192,0.3);
  filter: drop-shadow(0 0 25px rgba(255,255,255,0.3));
}



@keyframes heroGlow {
  0%, 100% { 
    background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%;
  }
}

/* Glitch effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 3s infinite;
  color: rgba(255,255,255,0.8);
  z-index: -1;
  text-shadow: 
    2px 0 rgba(255,255,255,0.5),
    -2px 0 rgba(192,192,192,0.5);
}

.glitch::after {
  animation: glitch-2 3s infinite;
  color: rgba(192,192,192,0.6);
  z-index: -2;
  text-shadow: 
    -2px 0 rgba(255,255,255,0.5),
    2px 0 rgba(128,128,128,0.5);
}

@keyframes glitch-1 {
  0%, 85%, 100% { 
    transform: translateX(0);
    opacity: 0;
  }
  5% { 
    transform: translateX(-2px);
    opacity: 0.8;
  }
  10% { 
    transform: translateX(2px);
    opacity: 0.6;
  }
  15% { 
    transform: translateX(-1px);
    opacity: 0.4;
  }
}

@keyframes glitch-2 {
  0%, 80%, 100% { 
    transform: translateX(0);
    opacity: 0;
  }
  8% { 
    transform: translateX(2px);
    opacity: 0.6;
  }
  12% { 
    transform: translateX(-2px);
    opacity: 0.4;
  }
  18% { 
    transform: translateX(1px);
    opacity: 0.2;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  font-family: 'Inter', monospace;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.8) 0%,
    rgba(220,220,220,0.9) 50%,
    rgba(255,255,255,0.8) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subtitleFlow 3s ease-in-out infinite;
}

@keyframes subtitleFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ИСПРАВЛЕННАЯ ШАПКА - ПРОСТАЯ И ЭЛЕГАНТНАЯ */
.header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 3rem;
  background: linear-gradient(135deg, 
    rgba(192,192,192,0.95) 0%,
    rgba(169,169,169,0.92) 25%,
    rgba(128,128,128,0.90) 50%,
    rgba(169,169,169,0.92) 75%,
    rgba(192,192,192,0.95) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
  height: 130px;
  position: relative;
}

/* Убрали размытые эффекты */

.header.visible {
  display: flex;
}

/* Убрали лишние анимации */

.logo {
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 4.5rem;
  line-height: 1;
  text-decoration: none;
  color: #000;
  text-shadow: 
    0 0 10px rgba(0,0,0,0.3),
    0 0 20px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, 
    #000 0%, 
    #333 25%,
    #000 50%,
    #666 75%,
    #000 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShine 4s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
  position: relative;
}

.logo::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, 
    rgba(255,255,255,0.05), 
    rgba(255,255,255,0.02), 
    rgba(255,255,255,0.05));
  border-radius: 10px;
  z-index: -1;
  animation: logoGlow 4s ease-in-out infinite alternate;
}

.logo::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.3);
  animation: logoGlitch 12s infinite;
  z-index: -1;
  opacity: 0;
}

@keyframes logoGlow {
  0% { opacity: 0.2; transform: scale(1); }
  100% { opacity: 0.4; transform: scale(1.02); }
}

@keyframes logoGlitch {
  0%, 90%, 100% { 
    opacity: 0;
    transform: translateX(0);
  }
  5% { 
    opacity: 0.3;
    transform: translateX(-2px);
  }
  10% { 
    opacity: 0;
    transform: translateX(0);
  }
  15% { 
    opacity: 0.2;
    transform: translateX(1px);
  }
  20% { 
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes logoShine {
  0%, 100% { 
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
  }
  50% { 
    background-position: 100% 50%;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.4));
  }
}

.logo:hover {
  text-shadow: 
    0 0 25px rgba(255,255,255,0.8),
    0 0 50px rgba(255,255,255,0.6),
    0 0 75px rgba(255,255,255,0.4);
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(255,255,255,0.8));
  animation-play-state: paused;
}

.logo:hover::before {
  opacity: 0.8;
  transform: scale(1.1);
}

.logo-subtitle {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem; /* Увеличил размер */
  font-weight: 400; /* Сделал жирнее */
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6); /* Увеличил яркость */
  white-space: nowrap;
  opacity: 1;
  transition: all 0.3s ease;
  pointer-events: none;
  background: linear-gradient(90deg, 
    transparent 10%, 
    rgba(255,255,255,0.7) 50%, 
    transparent 90%); /* Увеличил яркость */
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: subtitleGlow 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255,255,255,0.3); /* Добавил тень */
}

@keyframes subtitleGlow {
  0%, 100% { 
    background-position: 0% 50%;
    opacity: 0.4;
  }
  50% { 
    background-position: 100% 50%;
    opacity: 0.7;
  }
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.5rem;
}

.nav.nav-left {
  justify-content: flex-start;
}

.nav.nav-right {
  justify-content: flex-end;
}

.nav a {
  margin: 0 0.85rem;
  text-decoration: none;
  color: rgba(0,0,0,0.8);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.nav a:hover {
  color: #000;
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.3);
  text-shadow: 
    0 0 10px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 80%;
}

/* Основной контент */
.main-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  position: relative;
  z-index: 100;
  background: #000; /* Убираем черную полосу */
  margin-top: -2rem; /* Сдвигаем секцию выше */
}

.main-content.visible {
  display: block;
  opacity: 1;
}

/* Animated blocks - улучшенные анимации */
.animated-block {
  opacity: 0;
  transform: translateY(51px) scale(0.96);
  animation: slideUpEnhanced 1.2s ease-out forwards;
  position: relative;
}

.animated-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.05), 
    transparent);
  z-index: 1;
  pointer-events: none;
}

.animated-block.animate-in::before {
  animation: blockShine 2s ease-out;
}

@keyframes blockShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.animated-block:nth-child(2) { animation-delay: 0.1s; }
.animated-block:nth-child(3) { animation-delay: 0.2s; }
.animated-block:nth-child(4) { animation-delay: 0.3s; }
.animated-block:nth-child(5) { animation-delay: 0.4s; }
.animated-block:nth-child(6) { animation-delay: 0.5s; }

@keyframes slideUpEnhanced {
  0% {
    opacity: 0;
    transform: translateY(51px) scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-8px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* USP-Video Section - УЛЬТРА СТИЛЬНЫЙ */
.usp-video-container {
  padding: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.03) 0%, transparent 60%),
    linear-gradient(135deg, 
      rgba(12,12,12,0.98) 0%,
      rgba(10,10,10,0.99) 25%,
      rgba(14,14,14,0.98) 50%,
      rgba(10,10,10,0.99) 75%,
      rgba(12,12,12,0.98) 100%);
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.usp-video-content {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
  align-items: stretch;
  width: 100%;
  max-width: 1600px;
  padding: 0 2rem;
  margin: 0 auto;
  height: 100vh;
}
}

.usp-video-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: patternMove 20s linear infinite;
  z-index: 1;
}

@keyframes patternMove {
  0% { transform: rotate(0deg) translate(0, 0); }
  100% { transform: rotate(360deg) translate(10px, 10px); }
}

.usp-video-combined::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.08), 
    transparent);
  animation: uspShine 4s infinite;
  z-index: 2;
}

@keyframes uspShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.usp {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.usp h2 {
  font-size: clamp(2.1rem, 4.25vw, 2.95rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  margin-bottom: 1.7rem;
  background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(255,255,255,0.25);
}

@keyframes titleGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.usp p {
  font-size: 1.19rem;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 500px;
}

.video-content {
  position: relative;
  z-index: 3;
}

.video-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.video-container {
  position: relative;
  border-radius: 21px;
  overflow: hidden;
  box-shadow: 
    0 0 68px rgba(255,255,255,0.13),
    0 0 136px rgba(255,255,255,0.07),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  flex: 1;
  min-height: 500px;
}

.video-container:hover {
  transform: scale(1.02);
  box-shadow: 
    0 0 85px rgba(255,255,255,0.17),
    0 0 170px rgba(255,255,255,0.09),
    inset 0 0 0 1px rgba(255,255,255,0.2);
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(255,255,255,0.05) 50%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 21px;
  z-index: 1;
}

.video-container:hover::before {
  opacity: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.1) brightness(1.05);
  border-radius: 15px;
  transition: all 0.3s ease;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  /* ПОЛНАЯ БЛОКИРОВКА УПРАВЛЕНИЯ ВИДЕО */
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  /* Скрываем элементы управления */
  -webkit-media-controls: none !important;
  -webkit-media-controls-panel: none !important;
  -webkit-media-controls-play-button: none !important;
  -webkit-media-controls-start-playback-button: none !important;
}

.video-container:hover video {
  filter: contrast(1.2) brightness(1.1);
  transform: scale(1.02);
}

/* Видео теперь полностью автономное - без элементов управления */

/* Глобальные стили для всех выпадающих списков */
select, datalist, option {
  background: rgba(20,20,20,0.95) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

select option {
  background: rgba(20,20,20,0.95) !important;
  color: #fff !important;
  padding: 0.5rem !important;
  font-size: 0.9rem !important;
}

select option:hover {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

select option:checked {
  background: rgba(255,255,255,0.3) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* Стили для всех input элементов */
input[type="text"], 
input[type="number"], 
input[type="email"], 
input[type="tel"],
input[type="url"],
input[type="search"],
textarea {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

input[type="text"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
}

/* Стили для placeholder */
input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.6) !important;
  opacity: 1 !important;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: rgba(255,255,255,0.8) !important;
}

/* Стили для autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(20,20,20,0.95) inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* Constructor Section - УЛЬТРА СТИЛЬНЫЙ С ВРАЩАЮЩИМСЯ ФОНОМ */
.constructor {
  padding: 4.25rem 2rem;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(192,192,192,0.02) 0%, transparent 50%),
    linear-gradient(135deg, 
      rgba(20, 20, 20, 0.95) 0%, 
      rgba(12, 12, 12, 0.98) 25%,
      rgba(18, 18, 18, 0.97) 50%,
      rgba(15, 15, 15, 0.98) 75%,
      rgba(22, 22, 22, 0.95) 100%);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.constructor::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    conic-gradient(from 0deg, 
      transparent 0deg, 
      rgba(255,255,255,0.03) 90deg, 
      transparent 180deg, 
      rgba(192,192,192,0.02) 270deg, 
      transparent 360deg);
  animation: constructorRotate 20s linear infinite;
  z-index: 1;
}

@keyframes constructorRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.constructor h2 {
  text-align: center;
  margin-bottom: 3.4rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: clamp(2.1rem, 4.25vw, 2.7rem);
  font-weight: 900;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.8) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: constructorTitle 4s ease-in-out infinite;
}

@keyframes constructorTitle {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.constructor-container {
  max-width: 840px;
  margin: 0 auto;
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.03) 0%, 
      rgba(255,255,255,0.01) 50%,
      rgba(255,255,255,0.03) 100%);
  padding: 3.4rem;
  border-radius: 25px;
  border: 2px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
  box-shadow: 
    0 17px 34px rgba(0,0,0,0.3),
    0 0 30px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.constructor-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    conic-gradient(from 0deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: constructorRotate 15s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes constructorRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.constructor-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "select measures"
    "quantity measures"
    "params params"
    "price price"
    "button button";
  gap: 1.2rem 1.6rem;
  position: relative;
  z-index: 3;
}

.constructor-form .form-row { grid-area: select; }
.constructor-form .left-quantity { grid-area: quantity; }
.constructor-form .left-select select,
.constructor-form .left-quantity .input-wrapper input[type="number"] {
  height: 52px;
  font-size: 0.94rem;
  border-radius: 13px;
}

.constructor-form .left-quantity { margin-top: -0.3rem; }
.constructor-form .left-quantity .input-wrapper { display: flex; align-items: center; }

.constructor-form .measures-group { grid-area: measures; }
#dynamic-parameters { grid-area: params; }
.price-display { grid-area: price; }
#add-to-cart-btn { grid-area: button; justify-self: center; width: 60%; }

/* Ссылка "Перейти в корзину" — такие же габариты, как у основной кнопки */
#go-to-cart-link {
  display: block;
  margin-top: 12px;
  grid-column: 1 / -1;
  justify-self: center;
  padding: 1.3rem 2.6rem;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-align: center;
}

/* Динамические параметры в две колонки */
#dynamic-parameters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

/* Чуть поднять Длину относительно Диаметра */
.dynamic-parameter.param-length { margin-top: 0; }
.dynamic-parameter.param-diameter { margin-top: 0; }

/* Product Preview */
.product-preview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.product-image {
  position: relative;
  width: 200px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.9);
}

.product-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Price Display */
.price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  margin: 0.5rem 0 0.25rem;
}

.price-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.price-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

/* Dynamic Parameters */
.dynamic-parameter {
  animation: slideIn 0.3s ease-out;
}

/* Стили для динамически создаваемых элементов */
.dynamic-parameter input,
.dynamic-parameter select {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.dynamic-parameter input:focus,
.dynamic-parameter select:focus {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
}

.dynamic-parameter select option {
  background: rgba(20,20,20,0.95) !important;
  color: #fff !important;
  padding: 0.5rem !important;
}

.dynamic-parameter select option:hover {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

.dynamic-parameter select option:checked {
  background: rgba(255,255,255,0.3) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Notification Animations */
@keyframes notificationSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes notificationSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Parameter Groups */
.parameter-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .parameter-group {
    grid-template-columns: 1fr;
  }
  
  .product-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

.form-group {
  position: relative;
  transition: all 0.3s ease;
  z-index: 3;
}

.form-group:hover {
  transform: translateY(-2.5px);
}

.form-group label {
  display: block;
  font-size: 0.81rem;
  opacity: 0.9;
  margin-bottom: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1.02rem 1.28rem;
  background: 
    linear-gradient(135deg, 
      rgba(0,0,0,0.9) 0%, 
      rgba(10,10,10,0.8) 100%);
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.3),
    0 0 0 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(0,240,255,0.6);
  background: 
    linear-gradient(135deg, 
      rgba(0,0,0,0.95) 0%, 
      rgba(15,15,15,0.9) 100%);
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.3),
    0 0 0 3px rgba(255,255,255,0.3),
    0 0 25px rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #fff;
}

/* Стили для выпадающих списков - ЧИТАЕМЫЕ */
.form-group select option {
  background: rgba(20,20,20,0.95);
  color: #fff;
  padding: 0.8rem;
  font-size: 0.94rem;
  font-weight: 500;
  border: none;
  margin: 2px 0;
}

.form-group select option:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.form-group select option:checked {
  background: rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
}

/* Стили для datalist */
.form-group input[list] {
  background: rgba(255,255,255,0.1);
}

/* Улучшенные стили для селектов */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpolygon points='6,9 12,15 18,9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.unit {
  position: absolute;
  right: 1.28rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.cta-button {
  padding: 1.1rem 2.2rem;
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,1) 0%, 
      rgba(220,220,220,1) 50%,
      rgba(255,255,255,1) 100%);
  background-size: 200% 200%;
  color: #000;
  border: none;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 1.02rem;
  border-radius: 13px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8.5px 21px rgba(255,255,255,0.17),
    0 0 0 1px rgba(255,255,255,0.1);
  animation: buttonPulse 3s ease-in-out infinite;
}

/* Quantity inline styles */
.quantity-group .input-wrapper { display: flex; align-items: center; }
.quantity-group input[type="number"] { width: 100%; }

@media (max-width: 900px) {
  .constructor-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "select"
      "diameter"
      "quantity"
      "length"
      "params"
      "price"
      "button";
  }
  #add-to-cart-btn { width: 100%; }

  #dynamic-parameters {
    grid-template-columns: 1fr;
  }
}

/* Правый блок мер (Диаметр и Длина) — в одну строку, симметрично */
#measures-slot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: end;
}

@keyframes buttonPulse {
  0%, 100% { 
    background-position: 0% 50%;
    box-shadow: 
      0 8.5px 21px rgba(255,255,255,0.17),
      0 0 0 1px rgba(255,255,255,0.1);
  }
  50% { 
    background-position: 100% 50%;
    box-shadow: 
      0 13px 30px rgba(255,255,255,0.26),
      0 0 0 2px rgba(255,255,255,0.2);
  }
}

.cta-button:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 
    0 17px 34px rgba(255,255,255,0.26),
    0 0 43px rgba(255,255,255,0.17);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.4), 
    transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

/* Reviews Section - УЛЬТРА СТИЛЬНАЯ С ПЕРЕЛИВАНИЕМ */
.reviews {
  padding: 4.25rem 2rem;
  background: 
    radial-gradient(ellipse at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 75%, rgba(0,240,255,0.08) 0%, transparent 50%),
    linear-gradient(135deg, 
      rgba(8, 8, 8, 0.95) 0%, 
      rgba(15, 15, 15, 0.98) 25%,
      rgba(12, 12, 12, 0.97) 50%,
      rgba(18, 18, 18, 0.98) 75%,
      rgba(10, 10, 10, 0.95) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.02) 0%, transparent 60%);
  z-index: 1;
  animation: reviewsGlow 8s ease-in-out infinite alternate;
}

@keyframes reviewsGlow {
  0% { 
    opacity: 0.5;
    transform: scale(1);
  }
  100% { 
    opacity: 1;
    transform: scale(1.05);
  }
}

.reviews h2 {
  font-size: clamp(2.1rem, 4.25vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  margin-bottom: 2.55rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(45deg, 
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-placeholder {
  max-width: 595px;
  margin: 0 auto;
  padding: 2.55rem;
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.06) 0%, 
      rgba(255,255,255,0.02) 100%);
  border-radius: 21px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 2;
  box-shadow: 
    0 13px 30px rgba(0,0,0,0.17),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.reviews-placeholder p {
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Ozon Section - ОБЪЕМНАЯ СИНЕВА */
.ozon {
  padding: 3.4rem 2rem;
  text-align: center;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(0,200,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0,180,255,0.08) 0%, transparent 70%),
    linear-gradient(135deg, 
      rgba(15, 15, 15, 0.95) 0%, 
      rgba(8, 8, 8, 0.98) 25%,
      rgba(12, 12, 12, 0.97) 50%,
      rgba(10, 10, 10, 0.98) 75%,
      rgba(15, 15, 15, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.ozon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    conic-gradient(from 0deg, 
      transparent 0deg, 
      rgba(255,255,255,0.1) 60deg, 
      transparent 120deg, 
      rgba(0,200,255,0.08) 180deg, 
      transparent 240deg,
      rgba(0,180,255,0.06) 300deg, 
      transparent 360deg);
  animation: ozonRotate 25s linear infinite;
  z-index: 1;
}

@keyframes ozonRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ozon h3 {
  font-size: 1.87rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 2.55rem;
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.9);
}

.marketplace-links {
  display: flex;
  justify-content: center;
  gap: 2.1rem;
  max-width: 595px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.marketplace-link {
  display: block;
  padding: 1.8rem 3rem; /* Увеличил размер */
  background: 
    linear-gradient(135deg, 
      rgba(0, 240, 255, 0.1) 0%, 
      rgba(0, 200, 255, 0.15) 50%,
      rgba(0, 240, 255, 0.1) 100%);
  color: #00f0ff;
  text-decoration: none;
  border: 3px solid rgba(0, 240, 255, 0.3); /* Увеличил толщину границы */
  border-radius: 20px; /* Увеличил радиус */
  font-weight: 700;
  font-size: 1.1rem; /* Увеличил размер шрифта */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 12px 30px rgba(0, 240, 255, 0.1),
    0 0 40px rgba(0, 240, 255, 0.08),
    inset 0 1px 0 rgba(0, 240, 255, 0.2);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.marketplace-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, 
      transparent, 
      rgba(0, 240, 255, 0.15), 
      transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.marketplace-link:hover::before {
  left: 100%;
}

.marketplace-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 240, 255, 0.1), 
    transparent);
  transition: left 0.5s ease;
}

.marketplace-link:hover::before {
  left: 100%;
}

.marketplace-link:hover {
  background: 
    linear-gradient(135deg, 
      rgba(0, 240, 255, 0.2) 0%, 
      rgba(0, 200, 255, 0.25) 50%,
      rgba(0, 240, 255, 0.2) 100%);
  border-color: rgba(0, 240, 255, 0.8);
  box-shadow: 
    0 20px 40px rgba(0, 240, 255, 0.15),
    0 0 60px rgba(0, 240, 255, 0.12),
    0 0 80px rgba(0, 240, 255, 0.08),
    inset 0 1px 0 rgba(0, 240, 255, 0.3);
  transform: translateY(-4px) scale(1.08);
  color: #fff;
  text-shadow: 
    0 0 20px rgba(0, 240, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.8);
}

/* Footer - элегантный */
.footer {
  padding: 3.4rem 2rem;
  text-align: center;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    transparent) 1;
  background: 
    linear-gradient(135deg, 
      rgba(26, 26, 26, 0.95) 0%, 
      rgba(15, 15, 15, 0.98) 100%);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
  z-index: 1;
}

.footer-content {
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-text {
  font-size: 0.94rem;
  opacity: 0.7;
  margin-bottom: 1.28rem;
  font-weight: 500;
}

.footer-tagline {
  font-family: 'Inter', monospace;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.8;
  font-size: 0.85rem;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.6) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.55rem;
  }
  
  .hero-subtitle {
    font-size: 0.81rem;
  }
  
  .nav {
    display: none;
  }
  
  .usp-video-container {
    padding: 0;
    height: 100vh;
  }
  
  .usp-video-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    height: 100vh;
  }
  
  .video-container {
    max-width: 100%;
    height: 100%;
    min-height: 400px;
  }
  
  .marketplace-links {
    flex-direction: column;
    gap: 1.28rem;
  }
  
  .constructor-container {
    padding: 2.1rem 1.7rem;
  }
  
  .header {
    padding: 2rem 1.5rem;
    height: 100px;
  }
  
  .logo {
    font-size: 3.5rem; /* Увеличил для мобильных */
  }
  
  .logo-subtitle {
    font-size: 0.55rem;
    bottom: -22px;
  }
}

/* Мягкая адаптация для телефонов */
@media (max-width: 600px) {
  .constructor-container { padding: 1.5rem; }
  .constructor-form { grid-template-columns: 1fr; gap: 1.2rem; }
  #measures-slot { grid-template-columns: 1fr !important; gap: 1rem; width: 100%; }
  #add-to-cart-btn, #go-to-cart-link { width: 100% !important; justify-self: stretch; }
  .price-display { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .marketplace-links { flex-direction: column; gap: 1rem; }
  .video-container { min-height: 240px; }
  .product-preview { grid-template-columns: 1fr; gap: 1rem; }
  .form-group label { font-size: .95rem; }
  .form-group input, .form-group select { padding: 1rem 1.1rem; font-size: .95rem; }
  .btn, .quantity-btn, .remove-btn { min-height: 44px; }
  .cursor { display: none !important; }
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

/* Отключение анимаций баннера при скрытии */
.draincore-hero.hidden .liquid-drops,
.draincore-hero.hidden .mercury-pool {
  display: none;
}