/* High-Energy, Modern & Classy Stylesheet for Elchin Mahmud (10-11 Buraxılış Hazırlığı) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap&subset=latin,latin-ext');

:root {
  --primary-bg: #F8FAFC;
  --dark-navy: #0B0F19;
  --brand-amber: #F59E0B;
  --brand-orange: #EA580C;
  --brand-indigo: #4F46E5;
  --brand-emerald: #10B981;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: var(--primary-bg);
  color: var(--dark-navy);
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(79, 70, 229, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
}

/* Mobile Touch Active States */
@media (hover: none) {
  .vibrant-card:active {
    transform: scale(0.98);
  }
  .btn-primary-glow:active, .btn-dark-glow:active {
    transform: scale(0.96);
  }
}

.font-heading {
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Modern Cards */
.vibrant-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.vibrant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(245, 158, 11, 0.15);
  border-color: #CBD5E1;
}

/* High-Energy Glow Buttons */
.btn-primary-glow {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 1rem;
  box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px -5px rgba(245, 158, 11, 0.6);
}

.btn-primary-glow:active {
  transform: translateY(0) scale(0.98);
}

.btn-dark-glow {
  background: #0B0F19;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 1rem;
  box-shadow: 0 8px 25px -5px rgba(11, 15, 25, 0.3);
  transition: all 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn-dark-glow:hover {
  background: #1E293B;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px -5px rgba(11, 15, 25, 0.45);
}

/* Hero Portrait Frame */
.hero-portrait-stage {
  position: relative;
}

.portrait-photo-box {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.25), 0 0 0 2px rgba(245, 158, 11, 0.2);
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.portrait-img-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-img {
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.06) brightness(1.02) saturate(1.08);
}

.portrait-photo-box:hover .portrait-img {
  transform: scale(1.03);
}

/* Soundboard Buttons */
.soundboard-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.soundboard-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #F59E0B;
  box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.2);
  background: #FFFBEB;
}

.soundboard-card:active {
  transform: translateY(0) scale(0.98);
}

.soundboard-card.is-playing {
  border-color: #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
}

.listening-card {
  flex-direction: column !important;
  align-items: stretch !important;
}

.listening-card .track-progress-container {
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.soundboard-card.is-playing .audio-play-btn {
  background: #F59E0B;
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Audio Waveform Animation */
.wave-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.wave-bar {
  width: 2.5px;
  background-color: currentColor;
  border-radius: 2px;
  animation: wavePulse 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes wavePulse {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Marquee Glitch-Free & Smooth */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  width: 100%;
}

.ticker-move {
  display: flex;
  flex-shrink: 0;
  animation: tickerScroll 24s linear infinite;
}

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

.ticker-wrap:hover .ticker-move {
  animation-play-state: paused;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}

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

::selection {
  background: #F59E0B;
  color: #FFFFFF;
}
