/* ============================================================
   ArmoniFM Radyo İstasyonu — Ana Stil Dosyası
   Sürüm: 2.0.0
   Mimari: CSS Custom Properties + BEM + Mobile-First
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties (Tasarım Token'ları)
   ---------------------------------------------------------- */
:root {
  /* Renk Paleti — Indigo Cam Tema */
  --color-text-primary: #e8eaf0;
  --color-text-muted: #949ab8;
  --color-accent: #6366f1;        /* Indigo — Ana vurgu */
  --color-accent-hover: #818cf8;
  --color-accent-2: #06b6d4;      /* Cam göbeği — İkincil vurgu */
  --color-accent-2-hover: #22d3ee;

  /* Arka Plan */
  --color-surface: rgba(0, 0, 0, 0.4);
  --color-surface-hover: rgba(0, 0, 0, 0.55);
  --color-header-bg: rgba(0, 0, 0, 0.85);
  --color-glass: rgba(0, 0, 0, 0.35);

  /* Durum Renkleri */
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Tipografi */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Boşluk (8px Grid Sistemi) */
  --space-1: 0.25rem;   /* 4px  */
  --space-2: 0.5rem;    /* 8px  */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */

  /* Kenarlık & Yuvarlaklık */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Gölgeler */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow-orange: 0 0 20px rgba(99, 102, 241, 0.4);
  --shadow-glow-blue: 0 0 20px rgba(6, 182, 212, 0.4);

  /* Animasyon */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Z-Index Katmanları */
  --z-header: 100;
  --z-player: 110;
  --z-toast: 200;
  --z-modal: 300;

  /* Player */
  --player-height: 88px;
  --header-height: 110px;
}

/* ----------------------------------------------------------
   2. Reset & Temel Stiller
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: #0a0a0f;
  position: relative;

  /* Katmanlı arka plan: Gradyan + Resim */
  background-image:
    radial-gradient(1000px 700px at 5% 10%, rgba(99, 102, 241, 0.28), transparent 50%),
    radial-gradient(900px 600px at 95% 25%, rgba(6, 182, 212, 0.22), transparent 50%),
    radial-gradient(700px 500px at 50% 70%, rgba(139, 92, 246, 0.20), transparent 50%),
    url('arka-plan20.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: soft-light, soft-light, soft-light, luminosity;

  overflow-x: hidden;
}

/* Arka plan resmini daha da sönükleştiren overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.45);
  pointer-events: none;
  z-index: -1;
}

/* Scrollbar Stilleme */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Seçim Rengi */
::selection {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
}

/* ----------------------------------------------------------
   3. Tipografi
   ---------------------------------------------------------- */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Klavye odak göstergesi (erişilebilirlik) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   4. Header & Navigasyon
   ---------------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-10);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

.header--scrolled {
  background: var(--color-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) var(--space-10);
}

.header__logo img {
  height: 80px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: height var(--transition-base);
}

.header--scrolled .header__logo img {
  height: 60px;
}

/* Navigasyon */
.nav {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.nav__link {
  position: relative;
  color: var(--color-text-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base) var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

/* Hamburger Menü Butonu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: calc(var(--z-header) + 1);
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: transform var(--transition-base),
              opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   5. Bölümler (Section)
   ---------------------------------------------------------- */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-6)) var(--space-4) calc(var(--player-height) + var(--space-6));
}

/* Cam efektli kart */
.glass-card {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-lg);
}

.glass-card__title {
  text-align: center;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
}

.glass-card__subtitle {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.glass-card p {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.glass-card a {
  color: var(--color-accent-2);
  font-weight: var(--font-weight-medium);
}

.glass-card a:hover {
  color: var(--color-accent-2-hover);
}

/* Ana sayfa Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-6);
  text-align: center;
  padding-top: 12vh;
}

.hero__tagline {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.8;
  animation: heroFadeIn 1s var(--ease-out-expo) forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.live-badge {
  animation: heroFadeIn 0.8s var(--ease-out-expo) forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}

/* ----------------------------------------------------------
   6. Player Bileşeni — Modern Tasarım
   ---------------------------------------------------------- */
.player {
  --player-padding: var(--space-3) var(--space-5);
  --player-gap: var(--space-3);

  display: flex;
  align-items: center;
  gap: var(--player-gap);
  background: rgba(10, 12, 20, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: var(--player-padding);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 1px rgba(255, 255, 255, 0.06) inset;
  max-width: 700px;
  width: calc(100% - var(--space-8));
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-player);
  transition: box-shadow var(--transition-slow);
}

/* Bağlantı durumuna göre glow */
.player--connected {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(99, 102, 241, 0.12),
    0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.player--reconnecting {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(245, 158, 11, 0.15),
    0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.player--disconnected {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(239, 68, 68, 0.1),
    0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* ----------------------------------------------------------
   6.1 Bağlantı Durum Noktası
   ---------------------------------------------------------- */
.player__status {
  position: absolute;
  top: 8px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.player__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-muted);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.player__status-dot--connected {
  background: var(--color-success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.player__status-dot--reconnecting {
  background: var(--color-warning);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
  animation: dotBlink 0.8s ease-in-out infinite;
}

.player__status-dot--disconnected {
  background: var(--color-error);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ----------------------------------------------------------
   6.2 Play Butonu
   ---------------------------------------------------------- */
.player__btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: none;
  cursor: pointer;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.player__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--radius-full);
}

/* SVG ring */
.player__btn-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.player__btn-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.player__btn-ring-progress {
  fill: none;
  stroke: url(#ringGradient, var(--color-accent));
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 289; /* ~2*PI*46 */
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 0.3s ease, stroke 0.5s ease;
}

/* İç yuvarlak */
.player__btn-inner {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #4f46e5, var(--color-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.player__btn:hover .player__btn-inner {
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
}

.player__btn:active .player__btn-inner {
  transform: scale(0.95);
}

/* İkon durumları */
.player__icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.player__icon--play {
  opacity: 1;
  transform: translateX(1px);
}

.player__icon--pause {
  opacity: 0;
  transform: scale(0.6);
}

.player__icon--reconnect {
  opacity: 0;
  transform: scale(0.6);
  animation: none;
}

/* Oynatma durumu: play gizli, pause görünür */
.player--playing .player__icon--play {
  opacity: 0;
  transform: scale(0.6);
}

.player--playing .player__icon--pause {
  opacity: 1;
  transform: scale(1);
}

/* Yeniden bağlanma durumu: reconnect görünür, diğerleri gizli */
.player--reconnecting .player__icon--play,
.player--reconnecting .player__icon--pause {
  opacity: 0;
}

.player--reconnecting .player__icon--reconnect {
  opacity: 1;
  transform: scale(1);
  animation: spinIcon 1.2s linear infinite;
}

@keyframes spinIcon {
  to { transform: rotate(360deg); }
}

/* Çalma pulse efekti */
.player--playing .player__btn-inner {
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(99, 102, 241, 0.65), 0 0 40px rgba(6, 182, 212, 0.25); }
}

/* ----------------------------------------------------------
   6.3 Bilgi Alanı
   ---------------------------------------------------------- */
.player__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.player__marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.player__marquee-text {
  display: inline-block;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  animation: marquee 16s linear infinite;
  padding-right: 40px;
}

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

.player__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.player__frequency {
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.player__separator {
  color: rgba(255, 255, 255, 0.15);
}

.player__bitrate {
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   6.4 Dalga Formu Görselleştirmesi
   ---------------------------------------------------------- */
.player__waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
  flex-shrink: 0;
  padding: 0 var(--space-1);
}

.player__wave-bar {
  width: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  opacity: 0.25;
  transition: height 0.15s ease, opacity 0.3s ease;
  will-change: height;
}

/* Oynatma durumunda dalgalar hareketlenir */
.player--playing .player__wave-bar {
  opacity: 0.6;
  animation: waveDance 0.9s ease-in-out infinite;
}

.player--playing .player__wave-bar:nth-child(1)  { animation-delay: 0s; }
.player--playing .player__wave-bar:nth-child(2)  { animation-delay: 0.05s; }
.player--playing .player__wave-bar:nth-child(3)  { animation-delay: 0.1s; }
.player--playing .player__wave-bar:nth-child(4)  { animation-delay: 0.15s; }
.player--playing .player__wave-bar:nth-child(5)  { animation-delay: 0.2s; }
.player--playing .player__wave-bar:nth-child(6)  { animation-delay: 0.25s; }
.player--playing .player__wave-bar:nth-child(7)  { animation-delay: 0.3s; }
.player--playing .player__wave-bar:nth-child(8)  { animation-delay: 0.35s; }
.player--playing .player__wave-bar:nth-child(9)  { animation-delay: 0.4s; }
.player--playing .player__wave-bar:nth-child(10) { animation-delay: 0.45s; }
.player--playing .player__wave-bar:nth-child(11) { animation-delay: 0.5s; }
.player--playing .player__wave-bar:nth-child(12) { animation-delay: 0.55s; }
.player--playing .player__wave-bar:nth-child(13) { animation-delay: 0.6s; }
.player--playing .player__wave-bar:nth-child(14) { animation-delay: 0.65s; }
.player--playing .player__wave-bar:nth-child(15) { animation-delay: 0.7s; }
.player--playing .player__wave-bar:nth-child(16) { animation-delay: 0.75s; }

@keyframes waveDance {
  0%, 100% { height: 30%; }
  25%  { height: 85%; }
  50%  { height: 45%; }
  75%  { height: 100%; }
}

/* Yeniden bağlanma durumunda daha sönük */
.player--reconnecting .player__wave-bar,
.player--disconnected .player__wave-bar {
  opacity: 0.12;
}

/* ----------------------------------------------------------
   6.5 Ses Kontrolü
   ---------------------------------------------------------- */
.player__volume {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.player__volume-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
}

.player__volume-btn:hover {
  color: var(--color-text-primary);
  transform: scale(1.1);
}

.player__volume-icon {
  display: none;
}

.player__volume-icon--on  { display: block; }

/* Mute durumu */
.player__volume--muted .player__volume-icon--on  { display: none; }
.player__volume--muted .player__volume-icon--off { display: block; color: var(--color-error); }

.player__volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.player__volume-slider:hover {
  background: rgba(255, 255, 255, 0.2);
}

.player__volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.player__volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: var(--color-accent);
}

.player__volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Mute durumunda slider sıfırlanır */
.player__volume--muted .player__volume-slider {
  background: rgba(239, 68, 68, 0.15);
}

/* ----------------------------------------------------------
   6.6 Responsive Player
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .player {
    padding: var(--space-2) var(--space-4);
    gap: var(--space-2);
    border-radius: var(--radius-lg);
    max-width: calc(100% - var(--space-4));
    bottom: var(--space-2);
  }

  .player__btn {
    width: 48px;
    height: 48px;
  }

  .player__btn-inner {
    width: 38px;
    height: 38px;
  }

  .player__btn-inner svg {
    width: 22px;
    height: 22px;
  }

  .player__waveform {
    height: 22px;
    gap: 1px;
  }

  .player__wave-bar {
    width: 1.5px;
  }

  .player__marquee-text {
    font-size: var(--font-size-xs);
  }

  .player__volume-slider {
    width: 56px;
  }

  .player__meta {
    font-size: 0.65rem;
  }
}

@media (max-width: 399px) {
  .player {
    padding: var(--space-2) var(--space-3);
    gap: var(--space-1);
  }

  .player__btn {
    width: 42px;
    height: 42px;
  }

  .player__btn-inner {
    width: 34px;
    height: 34px;
  }

  .player__btn-inner svg {
    width: 20px;
    height: 20px;
  }

  .player__waveform {
    display: none;
  }

  .player__volume {
    display: none;
  }

  .player__marquee-text {
    font-size: 0.65rem;
  }

  .player__status {
    top: 4px;
    right: 8px;
  }
}

@media (min-width: 1200px) {
  .player {
    max-width: 700px;
  }
}

/* Firefox range thumb */
.player__volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

/* ----------------------------------------------------------
   7. İletişim Formu
   ---------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input--error,
.form-textarea--error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
}

/* ----------------------------------------------------------
   8. Butonlar
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--block {
  width: 100%;
}

/* ----------------------------------------------------------
   9. Yükleme / Hata Durumları
   ---------------------------------------------------------- */
.loading-state,
.error-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  color: var(--color-text-muted);
  text-align: center;
}

.loading-state__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.error-state {
  color: var(--color-error);
}

/* ----------------------------------------------------------
   10. Müzik Notası Efekti (Mouse Trail)
   ---------------------------------------------------------- */
.music-note {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: noteFloat var(--duration, 1s) ease-out forwards;
  will-change: transform, opacity;
}

/* CSS üzerinden animasyon — JS'de inline style ile override edilir */
.music-note {
  --note-x: 0px;
  --note-y: -60px;
  --note-rotate: 0deg;
}

@keyframes noteFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--note-x), var(--note-y)) rotate(var(--note-rotate)) scale(0.3);
  }
}

/* ----------------------------------------------------------
   11. Toast Bildirimleri
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s var(--ease-out-expo);
}

.toast--success { border-left: 3px solid var(--color-success); }
.toast--error   { border-left: 3px solid var(--color-error); }
.toast--warning { border-left: 3px solid var(--color-warning); }
.toast--info    { border-left: 3px solid var(--color-info); }

.toast--leaving {
  animation: toastOut 0.25s ease-in forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* ----------------------------------------------------------
   12. Özel Gradient Arka Plan (Anasayfa Hero)
   ---------------------------------------------------------- */
.gradient-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}

.gradient-spot--orange {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -100px;
  left: -100px;
}

.gradient-spot--blue {
  width: 500px;
  height: 500px;
  background: var(--color-accent-2);
  bottom: 10%;
  right: -100px;
}

/* ----------------------------------------------------------
   13. Responsive Tasarım
   ---------------------------------------------------------- */

/* Tablet ve üzeri (>= 768px) */
@media (min-width: 768px) {
  :root {
    --player-height: 100px;
    --header-height: 120px;
  }
}

/* Mobil (< 768px) */
@media (max-width: 767px) {
  .header {
    padding: var(--space-3) var(--space-4);
  }

  .header--scrolled {
    padding: var(--space-2) var(--space-4);
  }

  .header__logo img {
    height: 56px;
  }

  .header--scrolled .header__logo img {
    height: 44px;
  }

  /* Navigasyon: Mobil Menü */
  .nav {
    display: none;
    flex-direction: column;
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: absolute;
    top: calc(var(--header-height) - 20px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - var(--space-8));
    max-width: 320px;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    font-size: var(--font-size-lg);
    padding: var(--space-3) 0;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: calc(var(--header-height) + var(--space-4)) var(--space-4) calc(var(--player-height) + var(--space-4));
  }

  .glass-card {
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin: 0 var(--space-2);
  }

  .glass-card__title {
    font-size: var(--font-size-2xl);
  }

  .hero {
    padding-top: 8vh;
  }

  .hero__tagline {
    font-size: var(--font-size-sm);
  }
}

/* Büyük ekran (>= 1200px) */
@media (min-width: 1200px) {
  .glass-card {
    max-width: 900px;
  }
}

/* ----------------------------------------------------------
   14. Animasyon Tercihi (prefers-reduced-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;
  }

  .music-note {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   15. Yardımcı Sınıflar
   ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Özel efekt: Metin gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Canlı yayın göstergesi */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-error);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-badge__dot {
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
