/* Tokyo Voices - カスタムスタイル */

/* Tokyo Voices FC東京カラーパレット */
:root {
  --tokyo-primary: #004d9f;    /* FC東京ブルー */
  --tokyo-secondary: #e60012;  /* FC東京レッド */
  --tokyo-accent: #0066cc;     /* FC東京ライトブルー */
  --tokyo-warm: #ff6b35;       /* アクセントオレンジ */
  --tokyo-gray-50: #f5f5f5;
  --tokyo-gray-100: #f0f0f0;
  --tokyo-gray-200: #e0e0e0;
  --tokyo-gray-300: #c0c0c0;
  --tokyo-gray-400: #a0a0a0;
  --tokyo-gray-500: #808080;
  --tokyo-gray-600: #606060;
  --tokyo-gray-700: #404040;
  --tokyo-gray-800: #202020;
  --tokyo-gray-900: #101010;
  
  /* レガシーサポート（既存コード用） */
  --fc-blue: var(--tokyo-primary);
  --fc-red: var(--tokyo-secondary);
  --fc-light-blue: var(--tokyo-accent);
  --fc-gray: var(--tokyo-gray-50);
  --fc-dark-blue: var(--tokyo-gray-800);
}

/* カスタムグラデーション */
.fc-gradient {
  background: linear-gradient(135deg, var(--tokyo-primary) 0%, var(--tokyo-accent) 50%, var(--tokyo-secondary) 100%);
  position: relative;
}

/* Critical UI Fixes */

/* Modal and Overlay Improvements */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
}

/* User Menu Fixed Positioning */
#userMenu {
  position: fixed !important;
  z-index: 99999 !important;
  top: 70px !important;
  right: 20px !important;
  max-width: 250px !important;
  width: auto !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive Menu Fixes */
@media (max-width: 768px) {
  #userMenu {
    top: 60px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
    width: calc(100% - 20px) !important;
  }
}

/* Form and Input Improvements */
input, textarea, select {
  transition: all 0.2s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--tokyo-primary);
  box-shadow: 0 0 0 3px rgba(0, 77, 159, 0.1);
}

/* Button Improvements */
button {
  transition: all 0.2s ease-in-out;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading State */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--tokyo-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  animation: toastSlide 0.3s ease-out;
}

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

.toast.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast.warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast.info {
  background: linear-gradient(135deg, var(--tokyo-primary) 0%, var(--tokyo-accent) 100%);
}

/* Advanced UI Enhancements */

/* Smooth Page Transitions */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Enhanced Episode Cards */
.episode-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 77, 159, 0.2);
}

.episode-card .episode-image {
  transition: all 0.3s ease;
}

.episode-card:hover .episode-image {
  transform: scale(1.1);
}

/* Advanced Form Styling */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 1rem;
  color: #9ca3af;
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-input:focus + .floating-label,
.form-input:not(:placeholder-shown) + .floating-label {
  transform: translateY(-1.5rem) scale(0.8);
  color: var(--tokyo-primary);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background: transparent;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--tokyo-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 77, 159, 0.1);
}

/* Enhanced Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--tokyo-primary) 0%, var(--tokyo-accent) 100%);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 77, 159, 0.3);
}

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

/* Advanced Navigation */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--tokyo-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Modal Animations */
.modal-enter {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
}

.modal-enter-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-exit {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-exit-active {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.2s ease;
}

/* Enhanced Tab Navigation */
.tab-nav {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.tab-button.active {
  color: var(--tokyo-primary);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tokyo-primary);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.skeleton-image {
  height: 200px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Enhanced Accessibility */
.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;
}

.focus-ring:focus {
  outline: 2px solid var(--tokyo-primary);
  outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .dark-mode-support {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .episode-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .episode-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

.fc-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 77, 159, 0.9) 0%, 
    rgba(0, 102, 204, 0.9) 50%, 
    rgba(230, 0, 18, 0.9) 100%);
  backdrop-filter: blur(1px);
}

/* エピソードカードの洗練されたスタイル */
.episode-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 77, 159, 0.1);
  overflow: hidden;
}
  background: linear-gradient(145deg, #ffffff 0%, var(--tokyo-gray-50) 100%);
  border: 1px solid var(--tokyo-gray-200);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.episode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tokyo-primary), var(--tokyo-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px -12px rgba(0, 77, 159, 0.25),
    0 8px 24px -8px rgba(230, 0, 18, 0.2);
}

.episode-card:hover::before {
  opacity: 1;
}

.episode-card:active {
  transform: translateY(-4px) scale(1.01);
}

/* ナビゲーションボタン */
.nav-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  font-weight: 600;
  border-radius: 12px;
  position: relative;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--tokyo-gray-100) 0%, var(--tokyo-gray-50) 100%);
  color: var(--tokyo-primary);
  border-color: var(--tokyo-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 77, 159, 0.15);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--tokyo-primary) 0%, var(--tokyo-secondary) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 
    0 4px 14px rgba(0, 77, 159, 0.4),
    0 2px 6px rgba(230, 0, 18, 0.3);
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--tokyo-primary), var(--tokyo-accent));
  border-radius: 14px;
  z-index: -1;
  opacity: 0.3;
}

/* いいねボタン */
.like-btn {
  transition: all 0.2s ease;
}

.like-btn:hover {
  transform: scale(1.05);
}

.like-btn:active {
  transform: scale(0.95);
}

/* フォーム要素のフォーカス状態 */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 3px rgba(0, 77, 159, 0.1);
}

/* ボタンスタイル */
.btn-primary {
  background-color: var(--fc-blue);
  color: white;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--fc-dark-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 77, 159, 0.3);
}

.btn-secondary {
  background-color: var(--fc-red);
  color: white;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #cc0010;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

/* カテゴリバッジ */
.category-badge {
  background-color: var(--fc-blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 特選エピソードのハイライト */
.featured-highlight {
  border-left: 4px solid #fbbf24;
  background-color: #fffbeb;
}

/* モーダルのアニメーション */
.modal-enter {
  opacity: 0;
  transform: scale(0.9);
}

.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-exit {
  opacity: 1;
  transform: scale(1);
}

.modal-exit-active {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--fc-gray);
}

::-webkit-scrollbar-thumb {
  background-color: var(--fc-light-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--fc-blue);
}

/* テキストの省略表示 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* トーストメッセージ */
.toast {
  animation: slideInRight 0.3s ease-out;
}

.toast.removing {
  animation: slideOutRight 0.3s ease-in forwards;
}

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

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

/* 読み込みアニメーション */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 洗練されたボタンスタイル */
.btn-modern {
  background: linear-gradient(135deg, var(--tokyo-primary) 0%, var(--tokyo-secondary) 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 77, 159, 0.4);
}

/* グラスモーフィズム効果 */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

/* プロフェッショナルなフォーカス状態 */
.modern-input:focus {
  outline: none;
  border-color: var(--tokyo-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

/* ロゴコンテナのクリーンなスタイル */
.logo-container {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 77, 159, 0.2), 0 4px 16px rgba(230, 0, 18, 0.1);
}

/* メインロゴのクリーンなスタイル */
#mainLogo {
  transition: all 0.3s ease;
  filter: none; /* ナチュラルな表示 */
}

#mainLogo:hover {
  transform: scale(1.03);
}

/* 白背景ロゴのコンテナ */
.white-logo-container {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.white-logo-container:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 
    0 10px 30px rgba(0, 77, 159, 0.15),
    0 4px 12px rgba(230, 0, 18, 0.1);
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .logo-title-container {
    flex-direction: column;
    align-items: center;
    space-x: 0;
    gap: 1rem;
  }
  
  .main-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .subtitle {
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
}

/* レスポンシブデザイン調整 */
@media (max-width: 768px) {
  .episode-card {
    margin-bottom: 1rem;
  }
  
  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .nav-btn span {
    display: none;
  }
  
  .nav-btn i {
    margin-right: 0;
  }
}

/* プリント用スタイル */
@media print {
  .nav-btn,
  .like-btn,
  #writeEpisodeBtn {
    display: none !important;
  }
  
  .episode-card {
    box-shadow: none !important;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* ダークモード対応（将来的な機能） */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    --fc-gray: #1f2937;
    --fc-text: #f9fafb;
    --fc-card-bg: #374151;
  }
}

/* アクセシビリティ改善 */
.focus-visible:focus {
  outline: 2px solid var(--fc-blue);
  outline-offset: 2px;
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  .episode-card {
    border: 2px solid var(--fc-blue);
  }
  
  .nav-btn.active {
    border: 3px solid var(--fc-blue);
  }
}

/* 動きを減らすモード対応 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .episode-card:hover {
    transform: none;
  }
}

/* ========== EXTREME UI/UX ENHANCEMENTS ========== */

/* Header Animations */
.header-section {
    background: linear-gradient(135deg, #004d9f 0%, #0066cc 50%, #e53935 100%);
    position: relative;
}

/* Removed floating shapes for cleaner design */

/* Logo and Title Animations */
.logo-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-hover-effect:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 77, 159, 0.3);
}

/* Removed logo glow animation */

/* Removed title slide animation */

.title-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Removed subtitle fade */

/* Removed typing animation */

/* Removed blink caret keyframes */

/* Removed text glow animation */

/* Removed fade animations for cleaner performance */

/* Removed decorative slideInRight keyframes */

/* User Section Enhancements */
/* Removed user section slide animation */

.user-info-card {
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.user-avatar-container {
    position: relative;
}

/* Removed avatar glow */

/* Removed avatar glow keyframes */

/* Removed star sparkle animation */

.level-progress-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.level-progress-fill {
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

/* Removed admin badge pulse */

/* User Menu Enhancements */
.user-menu-container {
    position: relative;
}

.user-menu-btn {
    backdrop-filter: blur(10px);
}

.menu-arrow {
    transition: transform 0.3s ease;
}

.user-menu-btn:hover .menu-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

@keyframes dropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Auth Buttons */
/* Removed auth buttons slide animation */

.main-cta-btn {
    position: relative;
    overflow: hidden;
}

.main-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.main-cta-btn:hover::before {
    left: 100%;
}

/* Removed microphone pulse */

/* Navigation Enhancements */
.nav-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.nav-item-enhanced {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 77, 159, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-enhanced:hover {
    background: linear-gradient(135deg, #004d9f, #0066cc);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 77, 159, 0.3);
}

.nav-item-enhanced.active {
    background: linear-gradient(135deg, #e53935, #f44336);
    color: white;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item-enhanced:hover .nav-indicator,
.nav-item-enhanced.active .nav-indicator {
    width: 100%;
}

.nav-icon {
    transition: all 0.3s ease;
}

.nav-item-enhanced:hover .nav-icon {
    transform: scale(1.1);
}

.user-nav .user-only-badge {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.admin-nav .admin-badge {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    backdrop-filter: blur(5px);
    animation: overlayFadeIn 0.3s ease-out;
}

@keyframes overlayFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.mobile-nav-drawer {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-item {
    position: relative;
    text-align: left;
}

.mobile-nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #004d9f, #e53935);
    transition: width 0.3s ease;
}

.mobile-nav-item:hover::after {
    width: 100%;
}

/* Filter Section Enhancements */
.filter-section {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Removed filter slide animation */

.search-container {
    position: relative;
}

.search-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 77, 159, 0.1);
}

.search-icon {
    transition: all 0.3s ease;
}

.search-input:focus + .search-icon {
    color: #004d9f;
    transform: scale(1.1);
}

/* Removed pulse dot animation */

.view-btn {
    transition: all 0.3s ease;
}

.view-btn.active {
    background: linear-gradient(135deg, #004d9f, #0066cc);
    color: white;
    transform: scale(1.05);
}

/* Stats Bar */
.stats-bar {
    border: 1px solid rgba(0, 77, 159, 0.1);
}

/* Removed stats slide animation */

/* Episodes Grid */
/* Removed grid fade animation */

/* Loading State Enhanced */
/* Removed loading pulse - simple loading state */

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 77, 159, 0.1);
    border-left: 4px solid #004d9f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loading-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: #004d9f;
    border-radius: 50%;
    animation: loadingDots 1.4s infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: 0.0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDots {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Main Content Section */
.main-content-section {
}

/* Removed main content slide animation */

/* Responsive Enhancements */
@media (max-width: 768px) {
    .floating-shape {
        display: none;
    }
    
    .header-section {
        background: linear-gradient(135deg, #004d9f 0%, #0066cc 100%);
    }
    
    .nav-item-enhanced {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .filter-section {
        padding: 24px 16px;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Removed subtitle-typing since animation was already removed */
}