/* ═══════════════════════════════════════════════
   styles.css — Spotify G-Streamer Bot
   Spotify Green temalı özel stiller (Tailwind CDN yanında)
   ═══════════════════════════════════════════════ */

/* ── CSS Değişkenleri ── */
:root {
  --spotify-green: #1DB954;
  --spotify-green-light: #1ed760;
  --spotify-green-dark: #1aa34a;
  --bg-primary: #0a0a0a;
  --bg-card: #141414;
  --bg-separator: #171717;
  --radius: 0.75rem;
}

/* ── Temel ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-primary);
  color: #fff;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(29, 185, 84, 0.3);
}

/* ── Section Padding ── */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ── Spotify Gradient Text ── */
.spotify-gradient-text {
  background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Spotify Gradient Background ── */
.bg-spotify-gradient {
  background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
}
.bg-spotify-gradient:hover {
  background: linear-gradient(135deg, #22e066 0%, #1fc95c 100%);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #22e066 0%, #1fc95c 100%);
}

/* ── Animasyonlar ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ── Equalizer Bars ── */
@keyframes eqBounce {
  0%, 100% { height: var(--eq-min); opacity: 0.35; }
  50% { height: var(--eq-max); opacity: 1; }
}
.eq-bar {
  display: inline-block;
  width: 3px;
  border-radius: 2px;
  background: #1DB954;
  animation: eqBounce var(--eq-speed) ease-in-out infinite;
  animation-delay: var(--eq-delay);
}

/* ── Waveform ── */
@keyframes waveform {
  0%, 100% { height: 3px; }
  50% { height: 20px; }
}
.waveform-bar {
  display: inline-block;
  width: 2px;
  background: #1DB954;
  border-radius: 1px;
  animation: waveform var(--wave-speed) ease-in-out infinite;
  animation-delay: var(--wave-delay);
}

/* ── Live Pulse ── */
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(29, 185, 84, 0); }
}
.live-pulse {
  animation: livePulse 2s ease-in-out infinite;
}

/* ── FAQ Accordion ── */
.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.faq-content.open {
  max-height: 400px;
  opacity: 1;
}
.faq-chevron {
  transition: transform 0.3s ease;
}
.faq-chevron.open {
  transform: rotate(180deg);
}

/* ── Header ── */
.header-scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(29, 185, 84, 0.1);
}
.header-transparent {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .header-transparent {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

/* ── Mobil Menü Overlay ── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

/* ── Feature Card ── */
.feature-card {
  background: #141414;
  border: 1px solid rgba(29, 185, 84, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: #1DB954;
  background: #1a1a1a;
}

/* ── Phase Badges ── */
.phase-warmup {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.25);
}
.phase-stable {
  background: rgba(29, 185, 84, 0.12);
  color: #1DB954;
  border: 1px solid rgba(29, 185, 84, 0.25);
}
.phase-cooldown {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* ── Terminal Log ── */
.terminal-line::before {
  content: '❯ ';
  color: #1DB954;
}

/* ── Stat Number (Monospace) ── */
.stat-number {
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  animation: fadeInUp 0.3s ease-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.toast-success {
  background: #141414;
  border: 1px solid rgba(29, 185, 84, 0.5);
  color: #fff;
}
.toast-error {
  background: #7f1d1d;
  color: #fff;
}

/* ── Gizli yardımcılar ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
