/* Custom Core Styles - Arena Skills Production CSS */

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Background Grids & Ambient Patterns */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Glassmorphism token layouts with glass reflections */
.glass-card {
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  will-change: transform, border-color, box-shadow;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.02) 20%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 80%,
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 150%;
}

.glass-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(217, 255, 0, 0.25);
  box-shadow: 0 20px 48px 0 rgba(217, 255, 0, 0.04);
}

.shadow-glass {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* Glowing Neon Elements */
.shadow-neon-glow {
  box-shadow: 0 0 15px rgba(217, 255, 0, 0.1);
}

.shadow-neon-glow-strong {
  box-shadow: 0 0 30px rgba(217, 255, 0, 0.25);
}

.text-glow {
  text-shadow: 0 0 12px rgba(217, 255, 0, 0.35);
}

/* Custom follow cursor dot styling */
#custom-cursor {
  mix-blend-mode: difference;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s;
  will-change: transform, width, height;
}

#custom-cursor-dot {
  will-change: transform;
}

/* Magnetic Button Hover styling */
.btn-magnetic {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Button ripple container */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Gradient text utilities */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, #ffffff 40%, #D9FF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Soft Aurora Blobs animations */
@keyframes blob-movement {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(30px, -50px, 0) scale(1.1); }
  66% { transform: translate3d(-20px, 30px, 0) scale(0.95); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

.animate-blob-1 {
  animation: blob-movement 22s ease-in-out infinite;
}

.animate-blob-2 {
  animation: blob-movement 28s ease-in-out infinite;
  animation-delay: 4s;
}

.animate-blob-3 {
  animation: blob-movement 35s ease-in-out infinite;
  animation-delay: 8s;
}

/* Loader Logo entrance pop-in with a premium scale and drop shadow glow */
@keyframes logo-entrance {
  0% { 
    transform: scale3d(0.9, 0.9, 1); 
    opacity: 0; 
    filter: drop-shadow(0 0 0 rgba(217, 255, 0, 0)); 
  }
  100% { 
    transform: scale3d(1, 1, 1); 
    opacity: 1; 
    filter: drop-shadow(0 0 35px rgba(217, 255, 0, 0.35)); 
  }
}

@keyframes sweep-effect {
  0% { transform: translate3d(-105%, 0, 0) skewX(-25deg); }
  100% { transform: translate3d(205%, 0, 0) skewX(-25deg); }
}

.animate-logo-in {
  animation: logo-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-sweep {
  animation: sweep-effect 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.15s;
}

/* Success Wall Premium outcome cards layout */
.success-card {
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 255, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(217, 255, 0, 0.01);
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  will-change: transform, border-color, box-shadow;
}

.success-card:hover {
  transform: translate3d(0, -8px, 0);
  border-color: rgba(217, 255, 0, 0.35);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85), 0 0 25px rgba(217, 255, 0, 0.15);
}

/* Profile image neon outline indicator */
.animate-pulse-ring {
  animation: gentle-ring-pulse 2.2s ease-in-out infinite;
}

@keyframes gentle-ring-pulse {
  0%, 100% {
    transform: scale(1.02);
    opacity: 0.65;
    box-shadow: 0 0 8px rgba(217, 255, 0, 0.25);
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 0 15px rgba(217, 255, 0, 0.6);
  }
}

/* Scroll Reveal animations (Disabled to optimize performance and prevent blank content delays) */
.reveal-element {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

.reveal-active {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D9FF00;
}

/* Premium warning shake keyframes */
.animate-shake {
  animation: card-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes card-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Bounce warning animation */
.animate-bounce-slow {
  animation: warning-bounce 2s infinite;
}

@keyframes warning-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
