/* ============================================================
   ARUNE SUPERSEO v2.1 — ANIMATIONS
   Keyframes, animation utilities, stagger, hover effects
   ============================================================ */

/* ── Keyframes ────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(108,99,255,0.3),
                0 0 16px rgba(108,99,255,0.15);
  }
  50% {
    box-shadow: 0 0 20px rgba(108,99,255,0.6),
                0 0 40px rgba(108,99,255,0.3),
                0 0 60px rgba(108,99,255,0.15);
  }
  100% {
    box-shadow: 0 0 8px rgba(108,99,255,0.3),
                0 0 16px rgba(108,99,255,0.15);
  }
}

@keyframes pulseGlowAccent {
  0% {
    box-shadow: 0 0 8px rgba(0,212,170,0.3),
                0 0 16px rgba(0,212,170,0.15);
  }
  50% {
    box-shadow: 0 0 20px rgba(0,212,170,0.6),
                0 0 40px rgba(0,212,170,0.3);
  }
  100% {
    box-shadow: 0 0 8px rgba(0,212,170,0.3),
                0 0 16px rgba(0,212,170,0.15);
  }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes shimmerBg {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes breathe {
  0%   { opacity: 0.7; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

@keyframes bounceIn {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes borderPulse {
  0%   { border-color: rgba(108,99,255,0.2); }
  50%  { border-color: rgba(108,99,255,0.6); }
  100% { border-color: rgba(108,99,255,0.2); }
}

@keyframes scanLine {
  0%   { top: 0%; }
  100% { top: 100%; }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Animation Utility Classes ────────────────────────────── */

.animate-fade-in {
  animation: fadeIn 0.4s ease both;
}

.animate-fade-out {
  animation: fadeOut 0.4s ease both;
}

.animate-slide-up {
  animation: slideInUp 0.4s ease both;
}

.animate-slide-down {
  animation: slideInDown 0.4s ease both;
}

.animate-slide-left {
  animation: slideInLeft 0.3s ease both;
}

.animate-slide-right {
  animation: slideInRight 0.3s ease both;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animate-glow-accent {
  animation: pulseGlowAccent 2s ease-in-out infinite;
}

.animate-spin {
  animation: spinSlow 2s linear infinite;
}

.animate-spin-fast {
  animation: spinSlow 0.8s linear infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-breathe {
  animation: breathe 3s ease-in-out infinite;
}

.animate-bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* ── Delay Utilities ──────────────────────────────────────── */

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* ── Duration Utilities ───────────────────────────────────── */

.duration-150 { animation-duration: 150ms; }
.duration-300 { animation-duration: 300ms; }
.duration-500 { animation-duration: 500ms; }
.duration-700 { animation-duration: 700ms; }
.duration-1000 { animation-duration: 1000ms; }

/* ── Skeleton Loading State ───────────────────────────────── */

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.045) 50%,
    transparent 70%
  );
  animation: shimmerBg 1.8s ease-in-out infinite;
  background-size: 200% 100%;
}

.skeleton-text {
  height: 14px;
  border-radius: var(--radius-xs);
}

.skeleton-text.sm { height: 10px; }
.skeleton-text.lg { height: 20px; }

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-card {
  height: 140px;
  border-radius: var(--radius-lg);
}

/* ── Stagger Children ─────────────────────────────────────── */

.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 60ms; }
.stagger-children > *:nth-child(3) { animation-delay: 120ms; }
.stagger-children > *:nth-child(4) { animation-delay: 180ms; }
.stagger-children > *:nth-child(5) { animation-delay: 240ms; }
.stagger-children > *:nth-child(6) { animation-delay: 300ms; }
.stagger-children > *:nth-child(7) { animation-delay: 360ms; }
.stagger-children > *:nth-child(8) { animation-delay: 420ms; }

/* Each child gets the animation applied */
.stagger-children > * {
  animation: slideInUp 0.4s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

/* ── Hover Effects ────────────────────────────────────────── */

.hover-lift {
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow-primary);
}

.hover-glow-accent:hover {
  box-shadow: var(--shadow-glow-accent);
}

.hover-scale {
  transition: transform var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.03);
}

.hover-bright {
  transition: filter var(--transition-fast);
}

.hover-bright:hover {
  filter: brightness(1.15);
}

/* ── Transition Utilities ─────────────────────────────────── */

.transition-all {
  transition: all var(--transition-med);
}

.transition-colors {
  transition: color var(--transition-fast),
              background-color var(--transition-fast),
              border-color var(--transition-fast),
              fill var(--transition-fast);
}

.transition-transform {
  transition: transform var(--transition-med);
}

.transition-opacity {
  transition: opacity var(--transition-fast);
}

.transition-shadow {
  transition: box-shadow var(--transition-med);
}

.transition-fast { transition-duration: 0.15s; }
.transition-med  { transition-duration: 0.3s; }
.transition-slow { transition-duration: 0.5s; }

/* ── Reduce Motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .stagger-children > * {
    opacity: 1;
  }
}



/* ================================================================
   ARUNE INTERIORS — PERMANENT PROFESSIONAL CURSOR OVERRIDE
   Completely destroys trishul-cursor and custom image cursors site-wide.
================================================================ */

*, *::before, *::after, html, body {
  cursor: auto !important;
}

a, button, select, textarea, input, .btn, .btn-one, .theme-btn, .submit-btn, .glass-card, .btn-luxury-gold, .btn-luxury-outline {
  cursor: pointer !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  cursor: text !important;
}

/* Hard disable any magic-cursor or trishul-cursor elements */
#magic-cursor-dot, #magic-cursor-ring, [class*="trishul"], [id*="trishul"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
