/* CSS Variables for Modern Design */
:root {
  --primary: #e00e0e;
  --primary-dark: #b30000;
  --primary-light: #ff3b3b;
  --secondary: #000000;
  --secondary-light: #333333;
  --accent: #ff0000;
  --light: #f5f5f5;
  --dark: #1a1a1a;
  --darker: #0d0d0d;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --lighter-gray: #f0f0f0;
  --white: #ffffff;
  --black: #000000;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;

  --border-radius: 12px;
  --border-radius-sm: 6px;
  --border-radius-lg: 16px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --box-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Modern Header Styles */
header {
  background: var(--white);
  color: var(--black);
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  border-bottom: 2px solid var(--primary);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-container {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(
    circle,
    rgba(224, 14, 14, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(224, 14, 14, 0.2);
}

.radio-info h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  color: var(--black);
}

.radio-info p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 6px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.language-switcher {
  display: flex;
  background: var(--lighter-gray);
  border-radius: 20px;
  padding: 4px;
  border: 1px solid var(--light-gray);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-size: 14px;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(224, 14, 14, 0.3);
}

/* Enhanced Navigation */
nav {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--light-gray);
}

.nav-menu {
  display: flex;
  list-style: none;
  justify-content: center;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--gray);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  font-weight: 500;
  position: relative;
}

.nav-link i {
  font-size: 18px;
  margin-bottom: 6px;
  transition: var(--transition);
}

.nav-link span {
  font-size: 14px;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(224, 14, 14, 0.05);
}

.nav-link.active i,
.nav-link:hover i {
  transform: scale(1.1);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--light-gray);
}

/* Main Content */
.section {
  display: none;
  min-height: 80vh;
  padding: 40px 0;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.active {
  display: block;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-header h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-header h3 i {
  color: var(--primary);
  font-size: 28px;
}

.section-header h3::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-top: 12px;
  font-weight: 400;
}

.view-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  background: rgba(224, 14, 14, 0.1);
}

.view-all:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

/* Enhanced Hero Banner */
.hero-banner {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--lighter-gray) 100%
  );
  color: var(--black);
  padding: 80px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--light-gray);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon points="100,100 200,50 300,100" fill="black"/><polygon points="700,800 800,750 900,800" fill="black"/><circle cx="150" cy="850" r="40" fill="black"/><circle cx="850" cy="150" r="60" fill="black"/></svg>');
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 20px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--black);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Enhanced Button Styles */
.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(224, 14, 14, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(224, 14, 14, 0.4);
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-small {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-small:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 14, 14, 0.3);
}

.full-width {
  width: 100%;
}

/* Current Show Section */
.current-show-section {
  margin-bottom: 60px;
}

.current-show-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.show-info h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.show-info p {
  color: var(--gray);
  margin-bottom: 6px;
  font-size: 16px;
}

/* Enhanced Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.program-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--light-gray);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.program-image {
  height: 180px;
  background: var(--lighter-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.program-image i {
  font-size: 40px;
  opacity: 0.7;
}

.program-content {
  padding: 24px;
}

.program-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.4;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--gray);
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-description {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Enhanced News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.news-image {
  height: 180px;
  background: var(--lighter-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  position: relative;
  overflow: hidden;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
  padding-top: 14px;
  border-top: 1px solid var(--light-gray);
}

/* Enhanced Articles Section Styles */
.articles-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.article-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 3px solid var(--primary);
  cursor: pointer;
}

.article-item:hover {
  transform: translateX(5px);
  box-shadow: var(--box-shadow-hover);
}

.article-header {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.article-image {
  width: 120px;
  height: 90px;
  border-radius: var(--border-radius-sm);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-item:hover .article-image img {
  transform: scale(1.05);
}

.article-image i {
  font-size: 28px;
  color: var(--gray);
  opacity: 0.7;
}

.article-title-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  font-weight: 500;
  white-space: nowrap;
}

.article-meta i {
  font-size: 12px;
  opacity: 0.8;
}

.article-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin: 8px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Programs Section */
.program-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--gray);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 14, 14, 0.3);
}

.programs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Enhanced Listen Section */
.listen-section {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}

.player-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--light-gray);
}

.player-header {
  background: var(--black);
  color: var(--white);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.radio-frequency {
  background: var(--primary);
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
}

.player-content {
  padding: 30px;
  text-align: center;
}

.radio-visual {
  margin-bottom: 24px;
}

.visualizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 70px;
  gap: 3px;
}

.bar {
  width: 6px;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 3px;
  animation: equalizer 1.5s ease infinite;
}

.bar:nth-child(1) {
  animation-delay: 0s;
  height: 15px;
}
.bar:nth-child(2) {
  animation-delay: 0.1s;
  height: 25px;
}
.bar:nth-child(3) {
  animation-delay: 0.2s;
  height: 35px;
}
.bar:nth-child(4) {
  animation-delay: 0.3s;
  height: 45px;
}
.bar:nth-child(5) {
  animation-delay: 0.4s;
  height: 35px;
}
.bar:nth-child(6) {
  animation-delay: 0.5s;
  height: 25px;
}
.bar:nth-child(7) {
  animation-delay: 0.6s;
  height: 15px;
}

@keyframes equalizer {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.3);
  }
}

.now-playing {
  margin-bottom: 24px;
}

.now-playing h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.now-playing p {
  color: var(--gray);
  font-size: 16px;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.control-btn,
.play-btn {
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
  font-size: 16px;
}

.play-btn {
  background: var(--primary);
  color: var(--white);
  width: 60px;
  height: 60px;
  font-size: 18px;
}

.control-btn:hover,
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  margin: 0 auto;
}

.volume-control i {
  color: var(--gray);
  font-size: 16px;
}

#volumeSlider {
  flex: 1;
  height: 5px;
  background: var(--light-gray);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(224, 14, 14, 0.3);
}

#volumeSlider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(224, 14, 14, 0.3);
}

.schedule-sidebar {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--box-shadow);
  height: fit-content;
  border: 1px solid var(--light-gray);
}

.schedule-sidebar h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.schedule-item:hover {
  background: rgba(224, 14, 14, 0.05);
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
  border-radius: var(--border-radius-sm);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  font-size: 14px;
}

.schedule-title {
  flex: 1;
  font-weight: 500;
  color: var(--dark);
}

/* Enhanced Login Section */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.login-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--light-gray);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.login-header p {
  color: var(--gray);
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--lighter-gray);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(224, 14, 14, 0.1);
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
}

.login-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.login-links a:hover {
  text-decoration: underline;
}

/* Enhanced Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 50px 0 16px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section .logo-container {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-section ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Empty and Error States */
.empty-state,
.error-state {
  text-align: center;
  padding: 40px 30px;
  color: var(--gray);
}

.empty-state i,
.error-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p,
.error-state p {
  font-size: 16px;
  margin-bottom: 16px;
}

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

/* Program Days and Categories */
.program-days,
.program-category {
  margin: 12px 0;
}

.day-tag,
.category-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--light-gray);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

.category-tag.music {
  background: #ffe6e6;
  color: var(--primary);
}
.category-tag.talk {
  background: #e6e6e6;
  color: var(--dark);
}
.category-tag.news {
  background: #f0f0f0;
  color: var(--dark);
}
.category-tag.religious {
  background: #f5f5f5;
  color: var(--dark);
}
.category-tag.educational {
  background: #f8f8f8;
  color: var(--dark);
}
.category-tag.entertainment {
  background: #fafafa;
  color: var(--dark);
}

/* News Image Placeholder */
.news-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--lighter-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.news-image-placeholder i {
  font-size: 40px;
}

/* Empty Schedule */
.empty-schedule {
  text-align: center;
  padding: 30px 16px;
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .listen-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .programs-grid,
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .hero-content h2 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    overflow: hidden;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
    border-left: 3px solid transparent;
  }

  .nav-link.active {
    border-left-color: var(--primary);
    border-bottom-color: var(--light-gray);
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .logo-container {
    width: 70px;
    height: 70px;
  }

  .logo {
    height: 45px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h3 {
    font-size: 28px;
  }

  .current-show-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .article-header {
    flex-direction: column;
    gap: 12px;
  }

  .article-image {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .programs-grid,
  .news-grid,
  .programs-list {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .program-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero-banner {
    padding: 60px 0;
  }

  .section {
    padding: 30px 0;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Article Detail Page Styles */
.article-detail-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(-4px);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
}

.article-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

/* Main Article Container */
.article-detail-content {
  max-width: 800px;
  margin: 0 auto 50px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

/* Article Header - Fixed layout */
.article-header {
  padding: 0 0 24px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 24px;
  background: transparent;
}

.article-detail-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

/* Article Meta - Modern Style - Fixed positioning */
.article-meta-large {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  color: var(--gray);
  font-size: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 0;
}

.article-meta-large span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(224, 14, 14, 0.08);
  border-radius: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.article-meta-large i {
  font-size: 14px;
  opacity: 0.8;
}

/* Hero Image */
.article-hero-image {
  margin-bottom: 24px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.article-hero-image img:hover {
  transform: scale(1.02);
}

/* Image Gallery - Improved Layout */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.gallery-item {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Article Body - Clean typography */
.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 30px;
}

.article-body p {
  margin-bottom: 20px;
  text-align: left;
}

.article-body p:first-child {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.6;
}

.article-body p:last-child {
  margin-bottom: 0;
}

/* Article Footer */
.article-footer {
  border-top: 1px solid var(--light-gray);
  padding-top: 24px;
}

.article-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.share-btn,
.like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.share-btn:hover,
.like-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Modern Social Sharing - Clean Design */
.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lighter-gray);
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
  border: 2px solid transparent;
}

.social-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-share-btn.facebook:hover {
  background: #3b5998;
  color: white;
  border-color: #3b5998;
}

.social-share-btn.twitter:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.social-share-btn.linkedin:hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

/* Comments Section */
.comments-section {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.comments-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light-gray);
}

.comment-form {
  margin-bottom: 24px;
}

.comment-form textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 16px;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 14, 14, 0.1);
}

.login-prompt {
  text-align: center;
  padding: 30px;
  background: var(--lighter-gray);
  border-radius: var(--border-radius);
  margin-bottom: 24px;
}

.login-prompt p {
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 16px;
}

.comments-list {
  min-height: 80px;
}

.empty-comments {
  text-align: center;
  padding: 30px;
  color: var(--gray);
}

.empty-comments i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Related Articles */
.related-articles {
  max-width: 800px;
  margin: 40px auto 0;
}

.related-articles h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.related-image {
  height: 140px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-card:hover .related-image img {
  transform: scale(1.05);
}

.related-content {
  padding: 16px;
}

.related-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-content p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-meta {
  font-size: 12px;
  color: var(--gray);
}

/* Responsive Design for Article Detail */
@media (max-width: 768px) {
  .article-detail-content {
    padding: 20px;
  }

  .article-detail-title {
    font-size: 1.6rem;
  }

  .article-meta-large {
    gap: 8px;
  }

  .article-meta-large span {
    padding: 6px 10px;
    font-size: 12px;
  }

  .article-hero-image img {
    max-height: 250px;
  }

  .article-gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .article-body {
    font-size: 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .article-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-detail-content {
    padding: 16px;
  }

  .article-detail-title {
    font-size: 1.4rem;
  }

  .article-meta-large {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .article-meta-large span {
    width: 100%;
    justify-content: center;
  }

  .article-actions {
    flex-direction: column;
    align-items: center;
  }

  .comments-section {
    padding: 20px;
  }

  .comment-form button {
    width: 100%;
  }
}

/* Lightweight Lightbox UI */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3010;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  font-size: 20px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3010;
  color: rgba(255, 255, 255, 0.9);
  font-size: 28px;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

/* Small screen adjustments */
@media (max-width: 768px) {
  .article-gallery .gallery-item img {
    height: 100px;
  }
  .article-hero-image img {
    max-height: 300px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Enhanced UI Improvements */
.category-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 14px;
}

.article-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 14px;
}

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

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

/* Enhanced hover effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Gradient text effects */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Clickable Article Images */
.article-body a img,
.article-content a img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--border-radius-sm);
}

.article-body a:hover img,
.article-content a:hover img {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.article-body a,
.article-content a {
  display: inline-block;
  position: relative;
}

.article-body a::after,
.article-content a::after {
  content: "🔍 Click to view/download";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.article-body a:hover::after,
.article-content a:hover::after {
  opacity: 1;
}
