/* 🎨 INNOVATIVE & CREATIVE STYLES - OUT OF THE BOX */

/* ==================== LIQUID/FLUID CANVAS ==================== */
#liquidCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

/* ==================== 3D PRODUCT CARDS ==================== */
.product-3d-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  will-change: transform;
  position: relative;
  overflow: visible !important;
}

.product-3d-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: linear-gradient(45deg, #00a8e8, #001f3f, #00a8e8);
  background-size: 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
  animation: gradientShift 3s ease infinite;
}

.product-3d-card:hover::before {
  opacity: 1;
}

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

.product-3d-card img {
  transform: translateZ(50px);
  transition: transform 0.5s;
}

.product-3d-card:hover img {
  transform: translateZ(80px) scale(1.1);
}

/* ==================== GLASS MORPHISM ULTRA ==================== */
.glass-ultra {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px 0 rgba(0, 168, 232, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.glass-card {
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: glassShine 3s infinite;
}

@keyframes glassShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ==================== HOLOGRAPHIC EFFECT ==================== */
.holographic {
  position: relative;
  background: linear-gradient(
    135deg,
    #001f3f 0%,
    #003f7f 25%,
    #0066cc 50%,
    #00a8e8 75%,
    #001f3f 100%
  );
  background-size: 400% 400%;
  animation: holographicShift 8s ease infinite;
}

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

.holographic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: holographicScan 3s linear infinite;
}

@keyframes holographicScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==================== NEON GLOW BUTTONS ==================== */
.neon-btn {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid #00a8e8;
  color: #00a8e8;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.neon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 168, 232, 0.3);
  transition: left 0.5s;
}

.neon-btn:hover::before {
  left: 100%;
}

.neon-btn:hover {
  background: #00a8e8;
  color: white;
  box-shadow: 
    0 0 20px #00a8e8,
    0 0 40px #00a8e8,
    0 0 60px #00a8e8;
}

/* ==================== ANIMATED GRADIENT TEXT ==================== */
.gradient-text-animated {
  background: linear-gradient(
    90deg,
    #00a8e8,
    #0066cc,
    #003f7f,
    #00a8e8
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextFlow 3s ease infinite;
}

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

/* ==================== FLOATING ISLANDS ==================== */
.floating-island {
  animation: floatIsland 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes floatIsland {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(2deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==================== MAGNETIC BUTTON ==================== */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* ==================== CYBER GRID ==================== */
.cyber-grid {
  position: relative;
  overflow: hidden;
}

.cyber-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 168, 232, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* ==================== PARTICLE TRAILS ==================== */
.particle-trail {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #00a8e8, transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 2s ease-out forwards;
}

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0);
  }
}

/* ==================== AURORA BACKGROUND ==================== */
.aurora-bg {
  position: relative;
  overflow: hidden;
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 168, 232, 0.2) 0%,
    transparent 50%
  );
  animation: auroraDance 15s ease-in-out infinite;
}

.aurora-bg::after {
  background: radial-gradient(
    circle at center,
    rgba(0, 102, 204, 0.2) 0%,
    transparent 50%
  );
  animation-delay: -7.5s;
}

@keyframes auroraDance {
  0%, 100% {
    transform: translate(-25%, -25%) rotate(0deg);
  }
  25% {
    transform: translate(-10%, -35%) rotate(90deg);
  }
  50% {
    transform: translate(-25%, -25%) rotate(180deg);
  }
  75% {
    transform: translate(-40%, -15%) rotate(270deg);
  }
}

/* ==================== MORPHING SHAPES ==================== */
@keyframes morphShape {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.morph-shape {
  animation: morphShape 8s ease-in-out infinite;
}

/* ==================== GLITCH EFFECT ==================== */
.glitch {
  position: relative;
}

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

.glitch::before {
  animation: glitchTop 1s linear infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translate(-2px, -2px);
  opacity: 0.8;
}

.glitch::after {
  animation: glitchBottom 1.5s linear infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translate(2px, 2px);
  opacity: 0.8;
}

@keyframes glitchTop {
  2%, 64% { transform: translate(2px, -2px); }
  4%, 60% { transform: translate(-2px, 2px); }
  62% { transform: translate(13px, -1px) skew(-13deg); }
}

@keyframes glitchBottom {
  2%, 64% { transform: translate(-2px, 0); }
  4%, 60% { transform: translate(-2px, 0); }
  62% { transform: translate(-22px, 5px) skew(21deg); }
}

/* ==================== INFINITE SCROLL BANNER ==================== */
.scroll-banner {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.scroll-content {
  display: inline-block;
  animation: scrollBanner 30s linear infinite;
}

@keyframes scrollBanner {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== HOVER LIFT EFFECT ==================== */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 168, 232, 0.3);
}
