/* ===================================================================
   MELODİ MEDI-LIVE - DİL SEÇİMİ ARAYÜZÜ (MOBILE-FIRST LUXURY DARK THEME)
   =================================================================== */

:root {
  /* Renk Paleti */
  --bg-dark: #060b14;
  --bg-gradient-top: #0d223a;
  --primary-blue: #0070f3;
  --cyan-accent: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.25);
  --blue-glow: rgba(0, 112, 243, 0.35);
  
  /* Buton Renkleri (Görseldeki koyu lacivert pill stili) */
  --btn-bg-start: rgba(16, 42, 73, 0.88);
  --btn-bg-end: rgba(8, 22, 40, 0.96);
  --btn-border: rgba(0, 160, 255, 0.28);
  --btn-border-hover: rgba(0, 210, 255, 0.75);
  --btn-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.55), 0 0 16px rgba(0, 120, 255, 0.15);
  --btn-shadow-hover: 0 14px 32px -4px rgba(0, 112, 243, 0.45), 0 0 25px rgba(0, 210, 255, 0.35);
  
  /* Tipografi */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-white: #ffffff;
  --text-muted: rgba(190, 220, 255, 0.72);
  
  /* Boyutlandırma & Alan */
  --container-max-w: 420px;
  --radius-pill: 9999px;
  --safe-top: env(safe-area-inset-top, 20px);
  --safe-bottom: env(safe-area-inset-bottom, 20px);
}

/* Sıfırlama & Temel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background-color: var(--bg-dark);
  font-family: var(--font-main);
  color: var(--text-white);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 15%, var(--bg-gradient-top) 0%, var(--bg-dark) 75%);
}

/* Arka Plan Ortam Işıkları (Glows & Ambience) */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.6;
}

.glow-top {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 140, 255, 0.35) 0%, rgba(0, 210, 255, 0.15) 60%, transparent 80%);
  animation: pulseTopGlow 8s ease-in-out infinite alternate;
}

.glow-bottom {
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 100, 230, 0.22) 0%, rgba(0, 20, 80, 0.15) 70%, transparent 80%);
}

@keyframes pulseTopGlow {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.5; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 0.75; }
}

/* Ana Uygulama Kapsayıcısı */
.app-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max-w);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 16px) 18px calc(var(--safe-bottom) + 14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Header & Logo Bölümü */
.header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 16px;
}

.logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 365px;
  padding: 6px 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 75px;
  background: radial-gradient(ellipse, rgba(0, 160, 255, 0.32) 0%, transparent 75%);
  filter: blur(25px);
  pointer-events: none;
  z-index: -1;
  animation: logoBreath 4s ease-in-out infinite alternate;
}

@keyframes logoBreath {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.main-logo {
  width: 100%;
  height: auto;
  max-width: 280px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 130, 255, 0.35));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.main-logo:hover {
  transform: scale(1.02);
}

/* 1024x342 Özel Etkinlik Bannerı (max-width: 365px) */
.main-custom-banner {
  width: 100%;
  max-width: 365px;
  height: auto;
  aspect-ratio: 1024 / 342;
  object-fit: cover;
  border-radius: 4px !important;
  border: none !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s ease;
}

.main-custom-banner:hover {
  transform: scale(1.015);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8);
}

.no-rooms-notice {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.7;
}

/* Ses Dalgası Ekolayzır Animasyonu (8 Çubuk) */
.sound-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  height: 16px;
  margin-top: 8px;
}

.sound-bars .bar {
  display: inline-block;
  width: 3.5px;
  background: linear-gradient(180deg, var(--cyan-accent) 0%, var(--primary-blue) 100%);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
  animation: equalize 1.4s ease-in-out infinite alternate;
}

.sound-bars .bar-1 { height: 6px; animation-delay: 0.1s; }
.sound-bars .bar-2 { height: 12px; animation-delay: 0.3s; }
.sound-bars .bar-3 { height: 16px; animation-delay: 0.5s; }
.sound-bars .bar-4 { height: 10px; animation-delay: 0.2s; }
.sound-bars .bar-5 { height: 14px; animation-delay: 0.4s; }

@keyframes equalize {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1.1); opacity: 1; }
}

.tagline {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* Dil Seçim Alanı */
.language-selection {
  width: 100%;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}

.language-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===================================================================
   DİL BUTONLARI (Kompakt ve Duyarlı Proportions)
   =================================================================== */

.lang-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, var(--btn-bg-start) 0%, var(--btn-bg-end) 100%);
  border: 1.2px solid var(--btn-border);
  box-shadow: 
    var(--btn-shadow),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: var(--text-white);
  overflow: hidden;
  transition: 
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
  touch-action: manipulation;
  
  /* Staggered açılış animasyonu */
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lang-btn:nth-child(1) { animation-delay: 0.08s; }
.lang-btn:nth-child(2) { animation-delay: 0.15s; }
.lang-btn:nth-child(3) { animation-delay: 0.22s; }
.lang-btn:nth-child(4) { animation-delay: 0.29s; }
.lang-btn:nth-child(5) { animation-delay: 0.36s; }
.lang-btn:nth-child(6) { animation-delay: 0.43s; }

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===================================================================
   AKTİF BUTONLAR (TÜRKÇE VE İNGİLİZCE)
   =================================================================== */

.lang-btn.btn-active {
  cursor: pointer;
  border-color: rgba(0, 210, 255, 0.65);
  background: linear-gradient(145deg, rgba(16, 48, 88, 0.95) 0%, rgba(8, 26, 48, 0.98) 100%);
  box-shadow: 
    0 10px 28px -4px rgba(0, 112, 243, 0.45),
    0 0 20px rgba(0, 210, 255, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.lang-btn.btn-active:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--cyan-accent);
  box-shadow: 
    0 14px 34px -4px rgba(0, 112, 243, 0.6),
    0 0 28px rgba(0, 210, 255, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  background: linear-gradient(145deg, rgba(22, 58, 102, 0.96) 0%, rgba(12, 32, 58, 0.98) 100%);
}

.lang-btn.btn-active:hover .flag-circle {
  transform: scale(1.05);
  box-shadow: 
    0 5px 14px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(0, 210, 255, 0.4);
}

.lang-btn.btn-active:hover .shimmer-effect {
  left: 180%;
}

.lang-btn.btn-active:active {
  transform: translateY(1px) scale(0.985);
  border-color: var(--cyan-accent);
  box-shadow: 
    0 6px 18px rgba(0, 112, 243, 0.5),
    0 0 12px rgba(0, 210, 255, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition-duration: 0.08s;
}

/* Canlı Yayın Rozeti (Sağda, Kompakt & Canlı Noktalı) */
.status-badge-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.45);
  color: #00ff88;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-badge-active::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  margin-right: 4.5px;
  animation: pulseDotLive 1.6s infinite ease-in-out;
}

@keyframes pulseDotLive {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* ===================================================================
   PASİF BUTONLAR (ÇEVRİMDİŞI / OFFLINE)
   =================================================================== */

.lang-btn.btn-passive {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(10, 22, 38, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.lang-btn.btn-passive .flag-circle {
  filter: grayscale(0.85) opacity(0.75);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* Çevrimdışı Rozeti (Sağda, Canlı Rozetiyle Birebir Aynı Boyut & Format) */
.status-badge-passive,
.badge-passive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-badge-passive::before,
.badge-passive::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
  margin-right: 4.5px;
}

/* Yuvarlak Bayrak Rozeti (Orantılı 44px) */
.flag-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(0, 150, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: #000;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.flag-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dil Metni Bilgisi */
.lang-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.lang-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.lang-separator {
  color: var(--cyan-accent);
  opacity: 0.65;
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0 1px;
}

.lang-native {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.88;
  white-space: nowrap;
}

/* Shimmer (Işık Hüzmesi Geçişi) */
.shimmer-effect {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

/* Dalgalanma (Click Ripple) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.45) 0%, rgba(0, 112, 243, 0.2) 60%, transparent 80%);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===================================================================
   FOOTER (Melodi Medi-Live üstte, Arkadyas © 2026 altta)
   =================================================================== */

.app-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 0 2px;
  margin-top: 8px;
  text-align: center;
}

.footer-brand {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.4px;
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.3px;
}

/* ===================================================================
   DAR EKRANLAR (KÜÇÜK VE DÜŞÜK ÇÖZÜNÜRLÜKLÜ TELEFONLAR İÇİN)
   =================================================================== */

@media (max-width: 360px) {
  .app-container {
    padding: calc(var(--safe-top) + 12px) 12px calc(var(--safe-bottom) + 10px);
  }
  
  .lang-btn {
    height: 56px;
    padding: 5px 10px 5px 6px;
  }
  
  .flag-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  
  .lang-info {
    margin-left: 8px;
    gap: 4px;
  }
  
  .lang-title {
    font-size: 0.98rem;
  }
  
  .lang-native {
    font-size: 0.72rem;
  }
  
  .status-badge-active,
  .status-badge-passive,
  .badge-passive {
    font-size: 0.58rem;
    padding: 2.5px 6px;
    letter-spacing: 0.2px;
  }
  
  .status-badge-active::before,
  .status-badge-passive::before,
  .badge-passive::before {
    width: 4px;
    height: 4px;
    margin-right: 3px;
  }
}

/* ===================================================================
   GENİŞ EKRANLAR (DESKTOP / TABLET) İÇİN GÖRSEL SUNUM
   =================================================================== */

@media (min-width: 600px) {
  body {
    padding: 30px 20px;
  }
  
  .app-container {
    min-height: auto;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(13, 27, 46, 0.55) 0%, rgba(6, 13, 24, 0.75) 100%);
    border: 1.5px solid rgba(0, 150, 255, 0.2);
    box-shadow: 
      0 25px 60px -10px rgba(0, 0, 0, 0.8),
      0 0 35px rgba(0, 114, 255, 0.18),
      inset 0 1px 2px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 36px 30px 28px;
  }
}

/* ===================================================================
   SALON SEÇİM ALANI VE SALON BUTONLARI (Yeni Üst Katman)
   =================================================================== */

.hall-selection {
  width: 100%;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.hall-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hall-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 20px 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-white);
  overflow: hidden;
  transition: 
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
  touch-action: manipulation;
  
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* AKTİF SALON BUTONU - Dil Butonları Gibi Zengin Neon Yansımalı */
.hall-btn.btn-active {
  cursor: pointer;
  border: 1.5px solid var(--hall-color, #00d2ff);
  border-left: 6px solid var(--hall-color, #00d2ff);
  background: linear-gradient(145deg, rgba(16, 48, 88, 0.94) 0%, rgba(8, 24, 46, 0.98) 100%);
  box-shadow: 
    0 10px 28px -4px rgba(0, 0, 0, 0.65),
    0 0 22px var(--hall-glow, rgba(0, 210, 255, 0.35)),
    0 0 45px var(--hall-glow-soft, rgba(0, 210, 255, 0.18)),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hall-btn.btn-active:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--hall-color, #00d2ff) !important;
  border-left-color: var(--hall-color, #00d2ff) !important;
  box-shadow: 
    0 14px 34px -4px rgba(0, 0, 0, 0.75),
    0 0 32px var(--hall-glow, rgba(0, 210, 255, 0.6)),
    0 0 65px var(--hall-glow-soft, rgba(0, 210, 255, 0.3)),
    inset 0 1px 3px rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, rgba(16, 48, 88, 0.94) 0%, rgba(8, 24, 46, 0.98) 100%);
}

.hall-btn.btn-active:hover .hall-arrow {
  transform: translateX(4px);
  filter: drop-shadow(0 0 8px var(--hall-color, #00d2ff));
}

.hall-btn.btn-active:hover .shimmer-effect {
  left: 180%;
}

.hall-btn.btn-active:active {
  transform: translateY(1px) scale(0.985);
  border-color: var(--hall-color, #00d2ff) !important;
  box-shadow: 
    0 6px 18px rgba(0, 0, 0, 0.6),
    0 0 16px var(--hall-glow, rgba(0, 210, 255, 0.4)),
    inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hall-btn:focus,
.hall-btn:focus-visible {
  outline: none !important;
  border-color: var(--hall-color, #00d2ff) !important;
}

/* PASİF SALON BUTONU - Neon Işıkları Tamamen Sönük, Mat & Belirgin Çevrimdışı */
.hall-btn.btn-passive {
  cursor: not-allowed;
  opacity: 0.38;
  filter: grayscale(0.92);
  pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 6px solid #4b5563 !important;
  background: rgba(8, 14, 22, 0.6) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important; /* Neon parlamaları kesinlikle yok */
}

.hall-btn.btn-passive .hall-title {
  color: rgba(255, 255, 255, 0.55);
  text-shadow: none !important;
}

.hall-btn.btn-passive .hall-sub {
  color: rgba(255, 255, 255, 0.35);
}

.hall-btn.btn-passive .hall-arrow {
  display: none;
}

.hall-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 0;
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  gap: 3px;
}

.hall-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hall-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hall-arrow {
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* Üst Bar ve Geri Dön Butonu (lang.html için) */
.top-nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.back-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  font-size: 0.80rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.back-nav-btn:hover {
  background: rgba(0, 210, 255, 0.16);
  border-color: var(--cyan-accent);
  color: #fff;
  transform: translateX(-2px);
}

.back-nav-btn .nav-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.back-nav-btn:hover .nav-arrow {
  transform: translateX(-3px);
}

/* Aktif Salon Vurgu Rozeti (lang.html) */
.current-hall-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(8, 20, 38, 0.85);
  border: 1.5px solid var(--hall-color, #00d2ff);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.3);
  margin: 6px auto 4px auto;
  backdrop-filter: blur(10px);
}

.hall-badge-icon {
  font-size: 0.95rem;
}

.hall-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hall-color, #00d2ff);
  box-shadow: 0 0 8px currentColor;
  display: inline-block;
}

.hall-badge-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* ===================================================================
   PASİF SALON UYARI VE OTOMATİK YÖNLENDİRME KARTI (lang.html)
   =================================================================== */

.hall-passive-redirect-box {
  width: 100%;
  padding: 34px 22px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(16, 26, 42, 0.92) 0%, rgba(10, 16, 28, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 75, 75, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  animation: slideUpFade 0.5s ease-out forwards;
}

.redirect-icon-pulse {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(255, 75, 75, 0.14);
  border: 2px solid rgba(255, 75, 75, 0.4);
  color: #ff5252;
  box-shadow: 0 0 25px rgba(255, 75, 75, 0.35);
  animation: pulseLock 2s infinite ease-in-out;
}

@keyframes pulseLock {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 75, 75, 0.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 35px rgba(255, 75, 75, 0.6); }
}

.redirect-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.30rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.redirect-msg {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
  max-width: 330px;
}

.redirect-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cyan-accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
}

.countdown-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan-accent);
  color: #060b14;
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--cyan-accent);
  animation: popCount 1s infinite ease-in-out;
}

@keyframes popCount {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.15); }
  100% { transform: scale(0.9); }
}

.redirect-now-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 28px;
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
}

