/* AURA STUDIO 2.5 - Professional Visual Engine Styles */
:root {
  --bg-darkest: #07090E;
  --bg-panel: rgba(13, 19, 33, 0.75);
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-active: rgba(0, 242, 254, 0.5);
  --cyan-glow: rgba(0, 242, 254, 0.25);
  --purple-glow: rgba(168, 85, 247, 0.25);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-darkest);
  color: #F1F5F9;
  user-select: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(13, 19, 33, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
}

/* Aspect Ratio Pill Active State */
.ratio-pill.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.15));
  border-color: #00F2FE;
  color: #00F2FE;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

/* Before / After Comparison Slider Container */
.compare-container {
  position: relative;
  overflow: hidden;
  user-select: none;
}
.compare-before-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}
.compare-after-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #00F2FE;
  box-shadow: 0 0 10px #00F2FE;
  cursor: ew-resize;
  z-index: 20;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0D1321;
  border: 2px solid #00F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00F2FE;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  cursor: ew-resize;
}

/* Pulse Animations */
@keyframes radar-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.animate-radar {
  animation: radar-pulse 2s infinite ease-in-out;
}

/* Modal Backdrops */
.modal-overlay {
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
