/* Premium Mask Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.logo-anim-container {
  position: relative;
  width: 260px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-authentic {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.05);
}

.logo-mask-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('../images/logo-white.png');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('../images/logo-white.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  
  /* The gradient that will move INSIDE the logo */
  background: linear-gradient(90deg, rgba(20,20,20,1) 0%, rgba(255,255,255,1) 40%, rgba(255,0,0,0.8) 50%, rgba(255,255,255,1) 60%, rgba(20,20,20,1) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
}

@media (min-width: 768px) {
  .logo-anim-container {
    width: 320px;
    height: 60px;
  }
}

.loading-counter {
  margin-top: 30px;
  color: #666;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 5px;
  display: flex;
  align-items: center;
}
.loading-counter::after {
  content: '%';
  font-size: 0.75rem;
  margin-left: 3px;
  color: #ff0000;
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image Hover Effects */
.img-wrap {
  overflow: hidden;
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-wrap:hover img {
  transform: scale(1.08);
}

/* Card Luxury Hover (Soft Premium) */
.luxury-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--c-white);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.luxury-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: border-color 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.luxury-card:hover::after {
  border-color: rgba(211, 47, 47, 0.3);
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
  display: inline-block;
}
