/* ETAP Hangos Lapszemle - Custom Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --color-void: #07090e;
  --color-surface: #111319;
  --color-surface-low: #191c21;
  --color-surface-container: #1d2025;
  --color-surface-high: #282a30;
  --color-surface-highest: #33353b;
  --color-red: #e02636;
  --color-red-glow: rgba(224, 38, 54, 0.4);
  --color-green: #10a355;
  --color-green-glow: rgba(16, 163, 85, 0.4);
  --color-white: #ffffff;
  --color-slate: #8e9bae;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-surface);
  color: #e2e2ea;
}

body {
  overflow-x: hidden;
  background-color: #07090e;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(224, 38, 54, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(16, 163, 85, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(224, 38, 54, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(19, 23, 32, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-elevated {
  background: rgba(23, 28, 40, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
}

.glass-panel-card {
  background: rgba(20, 25, 36, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(224, 38, 54, 0.15);
}

/* Tricolor Glows & Gradients */
.tricolor-border {
  position: relative;
}
.tricolor-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(224, 38, 54, 0.5) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(16, 163, 85, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tricolor-gradient-text {
  background: linear-gradient(120deg, #ff8c94 0%, #ffffff 48%, #7efba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tricolor-bar {
  background: linear-gradient(90deg, #e02636 0%, #ffffff 50%, #10a355 100%);
}

/* Pulse Beacon */
@keyframes beacon-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 38, 54, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(224, 38, 54, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 38, 54, 0); }
}

.pulse-beacon {
  animation: beacon-pulse 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* Waveform dynamic animation */
.waveform-bars-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 48px;
}

.waveform-bar {
  width: 4px;
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  transition: height 0.15s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #282a30;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d414a;
}

/* Toast styling */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(17, 22, 33, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mini Sticky Bottom Player */
.sticky-mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(13, 17, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-mini-player.visible {
  transform: translateY(0);
}

/* Neon buttons */
.btn-neon-red {
  background: #e02636;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(224, 38, 54, 0.35);
  transition: all 0.25s ease;
}
.btn-neon-red:hover {
  background: #f03142;
  box-shadow: 0 0 30px rgba(224, 38, 54, 0.6);
  transform: scale(1.02);
}

.btn-neon-green {
  background: #10a355;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 163, 85, 0.35);
  transition: all 0.25s ease;
}
.btn-neon-green:hover {
  background: #15b761;
  box-shadow: 0 0 30px rgba(16, 163, 85, 0.6);
  transform: scale(1.02);
}

/* Shimmer animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}
.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 2.5s infinite;
}

