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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f9fafb;
  background: linear-gradient(180deg,#031012 0%, #042014 60%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* background video wrapper - NOW ACTIVE */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  display: block;
}

.bg-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(.95) brightness(.9);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 10%, rgba(8, 100, 35, 0.25), rgba(2, 15, 8, 0.85));
  z-index: -1;
  pointer-events: none;
}

.hero {
  min-height: 160vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
}
.content-section {
  position: relative;
  z-index: 1;
  margin-top: 200px;
  padding: 3rem 1.5rem 4rem;
}

.gallery {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery h2,
.offers h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border: 1px solid rgba(60,160,80,0.12);
  aspect-ratio: 1;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offers {
  max-width: 1200px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(4,50,20,0.3);
  border-radius: 1rem;
  border: 1px solid rgba(60,160,80,0.12);
}


.center {
  text-align: center;
  background: linear-gradient(180deg, rgba(4,50,20,0.85), rgba(8,40,20,0.75));
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.75), 0 0 40px rgba(42, 167, 82, 0.06) inset;
  backdrop-filter: blur(10px) saturate(1.05);
  max-width: 520px;
  width: 100%;
  border: 1px solid rgba(60,160,80,0.12);
}

h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.time-box {
  min-width: 82px;
  padding: .8rem .95rem;
  border-radius: .9rem;
  background: rgba(15,23,42,.92);
  border: 1px solid rgba(148,163,184,.35);
}

.time-value { font-size: 2rem; font-weight: 700; }
.label { font-size: .75rem; opacity: .75; text-transform: uppercase; }

#message { margin-top: .75rem; font-size: 1rem; }

.floating-section {
  padding: 3rem 1.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.floating-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.floating-grid {
  position: relative;
  min-height: 900px;
}

.floating-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.float-item {
  position: absolute;
  width: 320px;
  height: 320px;
  max-width: 50vw;
  max-height: 50vh;
  .countdown-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(6px);
    background: rgba(2, 10, 5, 0.5);
    pointer-events: auto;
  }

  .countdown-wrapper .center {
    max-width: 520px;
    width: 100%;
  }

  .float-item {
    position: absolute;
    width: 400px;
    height: 400px;
    max-width: 55vw;
    max-height: 55vh;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(60,160,80,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  transform-origin: center;
    cursor: grab;
    transition: box-shadow 0.3s ease;
  }

  .float-item:hover {
    box-shadow: 0 32px 80px rgba(42, 167, 82, 0.4), 0 0 30px rgba(42, 167, 82, 0.2);
    transform: scale(1.05);
  }

  .float-item:active {
    cursor: grabbing;
    transform: scale(1.08);

@media (max-width: 768px) {
  .countdown-wrapper {
    padding: 1rem 0.5rem;
  }

  .countdown-wrapper .center {
    padding: 1.5rem 1.5rem;
  }

  h1 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
  }

  .countdown {
    gap: 0.6rem;
  }

  .time-box {
    min-width: 70px;
    padding: 0.6rem 0.75rem;
  }

  .time-value {
    font-size: 1.5rem;
  }

  .float-item {
    width: 280px;
    height: 280px;
  }
}

.float-inner {
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

.float-inner img,
.float-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 8px;
}

.float-item:hover { transform: scale(1.03); }

.float-inner { will-change: transform; }

.float-item:nth-child(1) .float-inner { animation-duration: 6.2s; }
.float-item:nth-child(2) .float-inner { animation-duration: 7.1s; animation-delay: -1s; }
.float-item:nth-child(3) .float-inner { animation-duration: 6.6s; animation-delay: -2s; }
.float-item:nth-child(4) .float-inner { animation-duration: 7.4s; animation-delay: -1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(.97); }
  50% { transform: translateY(-16px) scale(1.02); }
}

