body {
  font-family: 'Inter', sans-serif;
  background: #e5e7eb;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.app-container {
  max-width: 1200px;
  margin: 32px auto;
  background: #f3f5f4;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  padding: 0;
  animation: fadeInUp 0.6s ease-out;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

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

.app-header {
  display: flex;
  align-items: center;
  padding: 18px 32px 12px 32px;
  border-bottom: 1.5px solid #d1d5db;
  background: #f3f5f4;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  gap: 24px;
}
.logo {
  font-size: 2rem;
  margin-right: 12px;
  transition: transform 0.2s ease;
}
.logo:hover {
  opacity: 0.8;
}
.header-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #3b4c4a;
  margin-right: 32px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.header-title:hover {
  color: #6b7e7a;
  opacity: 0.8;
}
.nav-tabs {
  display: flex;
  gap: 18px;
  flex: 1;
}
.nav-tabs a {
  text-decoration: none;
  color: #7a8b87;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}
.nav-tabs a.active, .nav-tabs a:hover {
  background: #dbe7e3;
  color: #2b3a38;
  opacity: 0.9;
}
.nav-tabs a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #6b7e7a;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}
.nav-tabs a:hover::after,
.nav-tabs a.active::after {
  width: 80%;
}
.header-actions {
  margin-left: auto;
}
.settings-btn {
  background: #dbe7e3;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  color: #3b4c4a;
  cursor: pointer;
  transition: all 0.2s ease;
}
.settings-btn:hover {
  background: #6b7e7a;
  color: white;
  opacity: 0.9;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  margin-top: 8px;
  overflow: hidden;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.dropdown-item:active {
  background: #e5e7eb;
}

.dropdown-text {
  white-space: nowrap;
}

/* Dropdown arrow */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}

/* Active state for current page */
.dropdown-item.active {
  background: #dbe7e3;
  color: #3b4c4a;
  font-weight: 600;
}

.dropdown-item.active .dropdown-icon {
  color: #6b7e7a;
}

.main-content {
  display: flex;
  gap: 32px;
  padding: 32px;
  flex: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.player-section {
  flex: 1.2;
  display: flex;
  align-items: flex-start;
}
.player-card {
  background: #dbe7e3;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 32px 24px 24px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.player-card:hover::before {
  left: 100%;
}
.player-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  opacity: 0.98;
}
.player-art {
  background: #b7cfc7;
  border-radius: 12px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.player-art:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0.9;
}
.player-art-icon {
  font-size: 3.5rem;
  color: #6b7e7a;
}
.player-info {
  text-align: left;
  width: 100%;
  margin-bottom: 18px;
}
.player-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3b4c4a;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.player-subtitle {
  font-size: 0.95rem;
  color: #7a8b87;
}
.player-progress {
  width: 100%;
  margin: 18px 0 8px 0;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: #b7cfc7;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}
.progress-bar:hover {
  height: 8px;
  background: #a3c4b8;
}
.progress-fill {
  background: linear-gradient(90deg, #6b7e7a, #8ba89e);
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #7a8b87;
  margin-top: 2px;
}
.player-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}
.btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}
.btn:hover::before {
  width: 100%;
  height: 100%;
}
.btn:hover {
  opacity: 0.9;
}
.btn-dark {
  background: #6b7e7a;
}
.btn-dark:hover {
  background: #3b4c4a;
  box-shadow: 0 4px 15px rgba(107, 126, 122, 0.4);
}
.btn-orange {
  background: #ffb36b;
}
.btn-orange:hover {
  background: #ff7f36;
  box-shadow: 0 4px 15px rgba(255, 127, 54, 0.4);
}
.btn img {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}
.btn:hover img {
  opacity: 0.9;
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding: 8px 12px;
  background: rgba(107, 126, 122, 0.1);
  border-radius: 20px;
  transition: all 0.2s ease;
}
.volume-control:hover {
  background: rgba(107, 126, 122, 0.2);
}
.volume-icon {
  font-size: 1rem;
  color: #6b7e7a;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.volume-icon:hover {
  opacity: 0.8;
}
.volume-slider {
  width: 60px;
  height: 4px;
  background: #b7cfc7;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #6b7e7a;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
  background: #3b4c4a;
}
.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #6b7e7a;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.volume-slider::-moz-range-thumb:hover {
  background: #3b4c4a;
}

/* Speed Control */
.speed-control {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 179, 107, 0.1);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.speed-control:hover {
  background: rgba(255, 179, 107, 0.15);
}
.speed-btn {
  padding: 6px 12px;
  background: transparent;
  border: 2px solid #ffb36b;
  border-radius: 8px;
  color: #6b7e7a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.speed-btn:hover {
  background: #ffb36b;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 179, 107, 0.3);
  opacity: 0.9;
}
.speed-btn.active {
  background: #ffb36b;
  color: white;
  box-shadow: 0 2px 8px rgba(255, 179, 107, 0.3);
}

.episodes-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.episodes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.episode-card {
  background: #dbe7e3;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 12px;
  justify-content: space-between;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.episode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.episode-card:hover::before {
  left: 100%;
}
.episode-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  background: #e8f0ed;
  opacity: 0.95;
}
.episode-card.playing {
  background: linear-gradient(135deg, #dbe7e3, #c8e0d8);
  box-shadow: 0 4px 15px rgba(107, 126, 122, 0.2);
  border: 2px solid #6b7e7a;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.episode-art {
  width: 48px;
  height: 48px;
  background: #b7cfc7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.episode-card:hover .episode-art {
  opacity: 0.9;
}
.episode-art-icon {
  font-size: 1.2rem;
  color: #6b7e7a;
}
.episode-album-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.episode-card:hover .episode-album-art {
  opacity: 0.9;
}
.episode-title {
  font-size: 1rem;
  font-weight: 600;
  color: #3b4c4a;
  flex: 1;
  transition: color 0.2s ease;
}
.episode-card:hover .episode-title {
  color: #2b3a38;
}
.episode-duration {
  font-size: 0.95rem;
  color: #7a8b87;
  margin: 0 12px;
  min-width: 48px;
  text-align: right;
  transition: color 0.2s ease;
}
.episode-card:hover .episode-duration {
  color: #6b7e7a;
}
.episode-play {
  background: #b7cfc7;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.episode-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}
.episode-play:hover::before {
  width: 100%;
  height: 100%;
}
.episode-play:hover {
  background: #6b7e7a;
  box-shadow: 0 4px 12px rgba(107, 126, 122, 0.3);
  opacity: 0.9;
}
.episode-play img {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.episode-play:hover img {
  opacity: 0.9;
}

/* News Carousel Styles */
.news-carousel-section {
  margin-top: 32px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.news-carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

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

.carousel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 24px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.news-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.news-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 16px;
  padding: 0 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.news-slide {
  min-width: 220px;
  max-width: 220px;
  width: 220px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  box-sizing: border-box;
}

.news-slide:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 0.95;
}


.news-slide-image {
  height: 120px;
  overflow: hidden;
  position: relative;
}

.news-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-slide:hover .news-slide-image img {
  opacity: 0.9;
}

.news-slide-content {
  padding: 14px;
  position: relative;
  z-index: 1;
}

.news-slide-category {
  display: inline-block;
  background: rgba(107, 126, 122, 0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.news-slide-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b3a38;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-slide-summary {
  font-size: 0.8rem;
  color: #5a6b68;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(107, 126, 122, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot:hover {
  background: rgba(107, 126, 122, 0.6);
}

.dot.active {
  background: #6b7e7a;
  box-shadow: 0 0 0 3px rgba(107, 126, 122, 0.2);
}

.dot.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Auto-slide animation */
.news-carousel.auto-sliding {
  animation: autoSlide 20s infinite linear;
}

@keyframes autoSlide {
  0% { transform: translateX(0); }
  20% { transform: translateX(-320px); }
  40% { transform: translateX(-640px); }
  60% { transform: translateX(-960px); }
  80% { transform: translateX(-1280px); }
  100% { transform: translateX(0); }
}

/* Responsive Design for Carousel */
@media (max-width: 900px) {
  .news-slide {
    min-width: 180px;
    max-width: 180px;
  }
  
  .news-carousel-section {
    margin-top: 24px;
    padding: 16px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .carousel-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .news-slide-image {
    height: 100px;
  }
  
  .news-carousel {
    max-width: 100%;
    padding: 0 4px;
  }
}

@media (max-width: 600px) {
  .news-slide {
    min-width: 160px;
    max-width: 160px;
  }
  
  .news-slide-content {
    padding: 12px;
  }
  
  .news-slide-title {
    font-size: 0.9rem;
  }
  
  .news-slide-summary {
    font-size: 0.75rem;
  }
  
  .news-slide-image {
    height: 90px;
  }
  
  .news-carousel-section {
    padding: 12px;
    margin-left: 0;
    margin-right: 0;
  }
  
  .news-carousel {
    max-width: 100%;
    padding: 0 4px;
  }
}

@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
    gap: 24px;
    padding: 18px;
    overflow-x: hidden;
  }
  .player-section {
    align-items: center;
    margin-bottom: 12px;
  }
  .episodes-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .app-header {
    flex-direction: column;
    gap: 8px;
    padding: 12px 8px 8px 8px;
  }
  .main-content {
    padding: 8px;
  }
  .player-card {
    padding: 16px 6px 12px 6px;
  }
  .player-art {
    width: 120px;
    height: 120px;
  }
  .episodes-list {
    gap: 10px;
  }
  .episode-card {
    padding: 10px 8px;
    gap: 8px;
  }
}

/* Fullscreen Overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fullscreen-overlay.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.fullscreen-header {
  display: flex;
  justify-content: flex-end;
  padding: 14px;
}

.fullscreen-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: white;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.fullscreen-close:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

.fullscreen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.fullscreen-album-art {
  width: 210px;
  height: 210px;
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.fullscreen-album-art:hover {
  opacity: 0.95;
}

.fullscreen-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullscreen-info {
  margin-bottom: 28px;
  color: white;
}

.fullscreen-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 7px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fullscreen-info p {
  font-size: 0.84rem;
  margin: 0;
  opacity: 0.8;
  color: #b8c5d6;
}

.fullscreen-progress {
  width: 100%;
  max-width: 350px;
  margin-bottom: 28px;
}

.fullscreen-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  margin-bottom: 11px;
  overflow: hidden;
}

.fullscreen-progress-fill {
  background: linear-gradient(90deg, #ffb36b, #ff7f36);
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
}

.fullscreen-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  animation: shimmer 2s infinite;
}

.fullscreen-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.fullscreen-controls {
  display: flex;
  gap: 21px;
  align-items: center;
}

.fullscreen-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.fullscreen-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.fullscreen-btn:hover::before {
  width: 100%;
  height: 100%;
}

.fullscreen-btn:hover {
  opacity: 0.9;
}

.fullscreen-btn-dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.fullscreen-btn-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
}

.fullscreen-btn-orange {
  background: #ffb36b;
  box-shadow: 0 6px 18px rgba(255, 179, 107, 0.3);
}

.fullscreen-btn-orange:hover {
  background: #ff7f36;
  box-shadow: 0 8px 25px rgba(255, 127, 54, 0.4);
}

.fullscreen-btn img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.fullscreen-btn:hover img {
  opacity: 0.9;
}

/* Dynamic background colors for fullscreen */
.fullscreen-overlay[data-theme="vibrant"] {
  background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
}

.fullscreen-overlay[data-theme="warm"] {
  background: linear-gradient(135deg, #ff9a9e, #fecfef, #fecfef);
}

.fullscreen-overlay[data-theme="cool"] {
  background: linear-gradient(135deg, #a8edea, #fed6e3, #fed6e3);
}

.fullscreen-overlay[data-theme="dark"] {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.fullscreen-overlay[data-theme="sunset"] {
  background: linear-gradient(135deg, #ffecd2, #fcb69f, #ff9a9e);
}

.fullscreen-overlay[data-theme="ocean"] {
  background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
}

.fullscreen-overlay[data-theme="forest"] {
  background: linear-gradient(135deg, #134e5e, #71b280, #134e5e);
}

.fullscreen-overlay[data-theme="aurora"] {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
}

/* News Page Styles */
.news-section {
  flex: 1;
  padding: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

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

.news-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 10px 0;
}

.news-header p {
  font-size: 1.1rem;
  color: #7a8b87;
  margin: 0 0 20px 0;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.news-card {
  background: #dbe7e3;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.news-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  opacity: 0.95;
}

.news-card.featured {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.news-card.featured .news-image {
  flex: 1;
  min-height: 200px;
}

.news-card.featured .news-content {
  flex: 1;
  padding: 24px;
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  opacity: 0.9;
}

/* Image Carousel Styles */
.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.carousel-img.active {
  opacity: 1;
  z-index: 2;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.image-carousel:hover .carousel-prev,
.image-carousel:hover .carousel-next {
  opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Hide carousel controls if only one image */
.image-carousel.single-image .carousel-prev,
.image-carousel.single-image .carousel-next,
.image-carousel.single-image .carousel-indicators {
  display: none;
}

/* Responsive carousel styles */
@media (max-width: 600px) {
  .carousel-prev,
  .carousel-next {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-indicators {
    bottom: 5px;
  }
  
  .carousel-indicator {
    width: 6px;
    height: 6px;
  }
  
  .carousel-indicator.active {
    width: 20px;
  }
}

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffb36b;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-content {
  padding: 20px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-category {
  background: #b7cfc7;
  color: #3b4c4a;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-date {
  color: #7a8b87;
  font-size: 0.85rem;
}

.news-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.news-content p {
  color: #7a8b87;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-author {
  color: #6b7e7a;
  font-size: 0.85rem;
  font-weight: 500;
}

.read-more-btn {
  background: #6b7e7a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.read-more-btn:hover {
  background: #3b4c4a;
  box-shadow: 0 4px 12px rgba(107, 126, 122, 0.3);
  opacity: 0.9;
}

/* Contact Page Styles - Improved Alignment */
.contact-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.contact-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  margin-top: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.contact-form-container {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 126, 122, 0.1);
}

.contact-info {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  background: linear-gradient(135deg, #dbe7e3, #c8e0d8);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 126, 122, 0.1);
}

/* Responsive Design for Contact Page */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
  }
  
  .contact-form-container,
  .contact-info {
    min-width: 100%;
    max-width: 100%;
  }
}

/* Donation Page Styles */
.donate-section {
  flex: 1;
  padding: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.donate-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 15px 0;
}

.donate-subtitle {
  font-size: 1.1rem;
  color: #7a8b87;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.donate-container {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.donate-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: linear-gradient(135deg, #dbe7e3, #c8e0d8);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 126, 122, 0.1);
}

.info-card.trust-card {
  background: linear-gradient(135deg, #fff4e6, #ffe8cc);
  border-color: rgba(255, 179, 107, 0.2);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 12px 0;
}

.info-card p {
  color: #5a6b68;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.donate-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.donate-list li {
  padding: 8px 0;
  color: #5a6b68;
  line-height: 1.6;
  border-bottom: 1px solid rgba(107, 126, 122, 0.1);
}

.donate-list li:last-child {
  border-bottom: none;
}

.donate-form-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.donate-form-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 126, 122, 0.1);
}

.donate-form-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 24px 0;
  text-align: center;
}

.donation-form .form-group {
  margin-bottom: 24px;
}

.donation-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #3b4c4a;
  font-size: 0.95rem;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 12px 16px;
  background: white;
  border: 2px solid #dbe7e3;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7e7a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn:hover {
  border-color: #6b7e7a;
  background: #f3f5f4;
  opacity: 0.9;
}

.amount-btn.active {
  background: #6b7e7a;
  color: white;
  border-color: #6b7e7a;
}

.custom-amount {
  margin-top: 12px;
}

.custom-amount input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dbe7e3;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.custom-amount input:focus {
  outline: none;
  border-color: #6b7e7a;
  box-shadow: 0 0 0 3px rgba(107, 126, 122, 0.15);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  color: #5a6b68;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #dbe7e3;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.donation-form input:focus,
.donation-form textarea:focus {
  outline: none;
  border-color: #6b7e7a;
  box-shadow: 0 0 0 3px rgba(107, 126, 122, 0.15);
}

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

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #dbe7e3;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: white;
}

.payment-option input[type="radio"]:checked + .payment-card {
  border-color: #6b7e7a;
  background: #f3f5f4;
}

.payment-option:hover .payment-card {
  border-color: #6b7e7a;
  opacity: 0.9;
}

.payment-icon {
  font-size: 1.5rem;
}

.payment-name {
  font-weight: 600;
  color: #3b4c4a;
}

.selected-amount-display {
  background: linear-gradient(135deg, #6b7e7a, #8ba89e);
  color: white;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
}

.amount-label {
  font-size: 1rem;
  font-weight: 500;
}

.amount-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.donate-submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ffb36b, #ff7f36);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 179, 107, 0.3);
}

.donate-submit-btn:hover {
  background: linear-gradient(135deg, #ff7f36, #ff6b1a);
  box-shadow: 0 6px 20px rgba(255, 179, 107, 0.4);
  opacity: 0.95;
}

.donate-submit-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-icon {
  font-size: 1.2rem;
}

.donate-note {
  text-align: center;
  margin-top: 16px;
  color: #7a8b87;
  font-size: 0.85rem;
}

.alternative-donation {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(107, 126, 122, 0.1);
}

.alternative-donation h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 24px 0;
  text-align: center;
}

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

.alt-method-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(107, 126, 122, 0.1);
}

.alt-method-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 16px 0;
}

.alt-method-card p {
  color: #5a6b68;
  line-height: 1.6;
  margin: 8px 0;
}

.alt-method-card strong {
  color: #3b4c4a;
}

.method-note {
  margin-top: 12px;
  font-style: italic;
  color: #6b7e7a;
}

.alt-method-card a {
  color: #6b7e7a;
  text-decoration: none;
  font-weight: 600;
}

.alt-method-card a:hover {
  text-decoration: underline;
}

/* Minimal donate page */
.donate-section--minimal {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
}
.donate-header--minimal {
  margin-bottom: 40px;
}
.donate-header--minimal h1 {
  font-size: 1.75rem;
  margin: 0 0 8px 0;
}
.donate-header--minimal .donate-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #5a6b68;
}
.donate-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.donate-method {
  background: #dbe7e3;
  border-radius: 12px;
  padding: 24px;
}
.donate-method h3 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2b3a38;
}
.donate-method-desc {
  margin: 0 0 16px 0;
  font-size: 0.9rem;
  color: #5a6b68;
}
.donate-details {
  margin: 0;
  display: grid;
  gap: 6px 16px;
  grid-template-columns: auto 1fr;
  font-size: 0.95rem;
}
.donate-details dt {
  margin: 0;
  font-weight: 600;
  color: #3b4c4a;
}
.donate-details dd {
  margin: 0;
  color: #2b3a38;
  word-break: break-all;
}
.donate-contact-cta {
  margin: 32px 0 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #5a6b68;
}
.donate-contact-cta a {
  color: #6b7e7a;
  font-weight: 600;
  text-decoration: none;
}
.donate-contact-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .donate-section--minimal {
    padding: 32px 16px;
  }
  .donate-method {
    padding: 20px;
  }
}

/* Responsive Design for Donation Page */
@media (max-width: 900px) {
  .donate-container {
    flex-direction: column;
  }
  
  .donate-form-container {
    max-width: 100%;
  }
  
  .amount-options {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .alternative-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .donate-section {
    padding: 16px;
  }
  
  .donate-header h1 {
    font-size: 2rem;
  }
  
  .donate-subtitle {
    font-size: 1rem;
  }
  
  .donate-form-card {
    padding: 24px;
  }
  
  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-card {
    padding: 20px;
  }
}

/* News Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #333;
  opacity: 0.9;
}

.modal-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 30px;
  flex: 1;
}

.modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b4c4a;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.modal-article-content {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

.modal-article-content p {
  margin-bottom: 15px;
}

.modal-summary {
  font-weight: 600;
  color: #3b4c4a;
  font-size: 1.1rem;
  margin-bottom: 20px !important;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #6b7e7a;
}

.modal-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .news-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
  
  .news-section {
    padding: 16px;
    overflow-x: hidden;
  }
  
  .news-header h2 {
    font-size: 1.5rem;
  }
  
  .news-modal {
    padding: 10px;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .modal-info {
    padding: 20px;
  }
  
  .modal-info h2 {
    font-size: 1.5rem;
  }
  
  .modal-image {
    height: 200px;
  }
}

/* Professional Footer Styling */
.site-footer {
  background: linear-gradient(135deg, #3b4c4a, #2b3a38);
  color: #ffffff;
  text-align: center;
  padding: 24px 32px;
  margin-top: auto;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffb36b, #6b7e7a, #ffb36b);
  animation: shimmer 3s infinite;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-footer p::before {
  content: '🎙️ ';
  margin-right: 8px;
  font-size: 1.1rem;
}

.donate-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffb36b, #ff7f36);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 179, 107, 0.3);
  margin-top: 8px;
}

.donate-cta-btn:hover {
  background: linear-gradient(135deg, #ff7f36, #ff6b1a);
  box-shadow: 0 6px 20px rgba(255, 179, 107, 0.4);
  opacity: 0.95;
}

.cta-icon {
  font-size: 1.2rem;
}

/* Accessibility Improvements */
.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 indicators for better accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #ffb36b;
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #ffb36b;
  color: #2b3a38;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Improved button accessibility */
.btn:focus,
.episode-play:focus,
.settings-btn:focus {
  outline: 2px solid #ffb36b;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 179, 107, 0.3);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Error states */
.error {
  border: 2px solid #e74c3c !important;
  background-color: #fdf2f2 !important;
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

/* Improved mobile touch targets */
@media (max-width: 768px) {
  .btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .episode-play {
    min-width: 44px;
    min-height: 44px;
  }
  
  .settings-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .nav-tabs a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .site-footer {
    padding: 20px 16px;
    margin-top: 32px;
  }
  
  .site-footer p {
    font-size: 0.9rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-dark {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
  }
  
  .btn-orange {
    background: #ff6600;
    color: #000000;
    border: 2px solid #000000;
  }
  
  .player-card {
    border: 2px solid #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .news-carousel.auto-sliding {
    animation: none;
  }
}

/* Error message animations */
@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;
  }
}

/* Auth (login / sign up) */
.auth-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 24px;
}
.auth-card {
  background: #dbe7e3;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 32px;
  max-width: 420px;
  width: 100%;
}
.auth-card h2 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  color: #2b3a38;
}
.auth-subtitle {
  margin: 0 0 24px 0;
  color: #5a6b68;
  font-size: 0.95rem;
}
.auth-form label {
  display: block;
  margin: 12px 0 4px 0;
  font-weight: 600;
  color: #3b4c4a;
  font-size: 0.9rem;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="url"],
.auth-form select,
.auth-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #c5d5d0;
  border-radius: 10px;
  font-size: 1rem;
  background: #f3f5f4;
  box-sizing: border-box;
}
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: #6b7e7a;
  box-shadow: 0 0 0 2px rgba(107, 126, 122, 0.2);
}
.auth-form textarea {
  min-height: 80px;
  resize: vertical;
}
.btn-auth {
  width: 100%;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6b7e7a, #5a6b68);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-auth:hover {
  background: linear-gradient(135deg, #5a6b68, #4a5b58);
  transform: translateY(-1px);
}
.auth-message {
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.auth-message.auth-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.auth-message.auth-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.auth-message a {
  color: inherit;
  text-decoration: underline;
}
.auth-switch {
  margin: 20px 0 0 0;
  text-align: center;
  color: #5a6b68;
  font-size: 0.95rem;
}
.auth-switch a {
  color: #6b7e7a;
  font-weight: 600;
  text-decoration: none;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.auth-not-configured {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #713f12;
}
.auth-not-configured code {
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Add article page */
.add-article-section {
  flex: 1;
  padding: 32px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.add-article-gate {
  text-align: center;
  padding: 32px;
  background: #dbe7e3;
  border-radius: 16px;
}
.add-article-gate a {
  color: #6b7e7a;
  font-weight: 600;
  text-decoration: none;
}
.add-article-gate a:hover {
  text-decoration: underline;
}
.add-article-form-wrap h2 {
  margin: 0 0 24px 0;
  font-size: 1.5rem;
  color: #2b3a38;
}
.add-article-form {
  background: #dbe7e3;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.add-article-form label {
  display: block;
  margin: 12px 0 4px 0;
  font-weight: 600;
  color: #3b4c4a;
  font-size: 0.9rem;
}
.add-article-form input[type="text"],
.add-article-form input[type="url"],
.add-article-form select,
.add-article-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #c5d5d0;
  border-radius: 10px;
  font-size: 1rem;
  background: #f3f5f4;
  box-sizing: border-box;
}
.add-article-form textarea {
  min-height: 80px;
  resize: vertical;
}
.add-article-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  cursor: pointer;
  font-weight: 500;
}
.add-article-form .checkbox-label input {
  width: auto;
}
.add-article-form .btn-auth {
  margin-top: 24px;
}