:root {
  --primary-color: #ff0000;
  --primary-hover: #d50000;
  --secondary-color: #1f1f1f;
  --text-color: #ffffff;
  --text-muted: #aaaaaa;
  --bg-color: #0f0f0f;
  --card-bg: #1f1f1f;
  --hover-color: #2f2f2f;
  --border-color: #3f3f3f;
  --filter-bg: #181818;
  --dropdown-bg: #252525;
  --dropdown-hover: #333333;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header Styles */
header {
  background-color: var(--secondary-color);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.search-form {
  flex: 1;
  max-width: 500px;
}

.search-container {
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 24px;
  border: 1px solid #3f3f3f;
  background-color: #121212;
  color: var(--text-color);
  font-size: 1rem;
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Category Filter */
.category-filter-container {
  position: relative;
  margin: 1.5rem 0;
  padding: 0 24px;
}

.category-filter {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}

.category-filter:active {
  cursor: grabbing;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.scroll-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.scroll-arrow.left {
  left: 0;
}

.scroll-arrow.right {
  right: 0;
}

.category-button {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid #3f3f3f;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-button:hover {
  background-color: var(--hover-color);
}

.category-button.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Stream Grid */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.stream-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.stream-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stream-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.stream-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.viewer-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.stream-content {
  padding: 1rem;
}

.stream-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-channel {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

.stream-time {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Stream Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

.modal-content {
  position: relative;
  margin: 2rem auto;
  width: 90%;
  max-width: 1000px;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.stream-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.stream-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-stream-content {
  padding: 1.5rem;
}

.modal-stream-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.modal-stream-channel {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.modal-stream-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: #aaa;
  font-size: 0.9rem;
}

.modal-stream-description {
  white-space: pre-line;
  color: #ddd;
  line-height: 1.5;
}

/* Yayın Aksiyonları */
.stream-actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stream-action-btn {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stream-action-btn:hover {
  background-color: var(--hover-color);
}

.stream-action-btn i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.stream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.stream-tag {
  background-color: var(--secondary-color);
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.ad-container-modal {
  margin: 1rem 0;
}

/* Pagination */
.pagination {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-button {
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid #3f3f3f;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-button:hover:not(:disabled) {
  background-color: var(--hover-color);
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

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

.skeleton-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.skeleton-thumbnail {
  width: 100%;
  padding-top: 56.25%;
}

.skeleton-content {
  padding: 1rem;
}

.skeleton-title {
  height: 1rem;
  margin-bottom: 0.75rem;
}

.skeleton-channel {
  height: 0.9rem;
  width: 70%;
}

/* Error Display */
.error-container {
  text-align: center;
  padding: 3rem 1rem;
}

.error-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.retry-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.retry-button:hover {
  background-color: #d00000;
}

/* Filtre Paneli - Geliştirilmiş Tasarım */
.page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Dil ve Bölge Seçimi Stilleri */
.language-region {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.language-select-container,
.region-select-container {
  position: relative;
}

.language-select,
.region-select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none; /* Default styling'i kaldırır */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1em;
}

.language-select:hover,
.region-select:hover {
  background-color: var(--hover-color);
}

.auto-detected {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  display: none; /* Kullanıcı isteği üzerine gizlendi */
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.filter-toggle-btn i {
  font-size: 1.1rem;
}

.filter-panel {
  display: none;
  background: linear-gradient(135deg, var(--filter-bg), rgba(40, 40, 40, 0.9));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), #942828);
}

.filter-panel.show-filters {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
}

.filter-group:hover {
  transform: translateY(-2px);
}

.filter-label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e6e6e6;
}

.filter-select {
  width: 100%;
  padding: 0.7rem 1rem;
  background-color: var(--dropdown-bg);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.filter-select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 40, 40, 0.2);
}

.filter-select:hover {
  border-color: #555;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-button {
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-apply {
  background: linear-gradient(to right, var(--primary-color), #942828);
  color: white;
  border: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.filter-apply:hover {
  background: linear-gradient(to right, #942828, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.filter-reset {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.filter-reset:hover {
  background-color: var(--hover-color);
  border-color: #555;
}

/* Sonsuz Kaydırma */
#loading-indicator {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

#load-more-button {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#load-more-button:hover {
  background-color: var(--primary-hover);
}

/* Dil/Bölge Seçimi - Geliştirilmiş Tasarım */
.language-region {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.85rem;
}

.language-select, .region-select {
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.language-select:focus, .region-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(200, 40, 40, 0.2);
}

.language-select:hover, .region-select:hover {
  border-color: #555;
  transform: translateY(-2px);
}

.lang-label, .region-label {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 600;
  color: #e6e6e6;
}

.language-info {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.language-info i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.auto-detected {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Google AdSense */
.ad-container {
  margin: 2rem 0;
  text-align: center;
  background-color: var(--secondary-color);
  padding: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

/* Reklam Etiketleri */
.ad-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Başlık Stiller */
.page-title {
  margin: 0 0 1.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.section-title {
  margin: 2rem 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Sayfa Navigasyonu */
.page-navigation {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.navigation-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navigation-link:hover {
  color: var(--primary-color);
}

.navigation-separator {
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

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

/* Stream Sayfası Ana Düzen */
.stream-page {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Mobil uyumlu düzen için responsive tasarım */
@media (max-width: 992px) {
  .stream-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stream-page-main {
    width: 100%;
  }
  
  .stream-page-sidebar {
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Mobil görünümde YouTube-benzeri düzen */
  .mobile-chat-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    max-height: 50vh;
    transition: transform 0.3s ease;
  }
  
  .mobile-chat-container.collapsed {
    transform: translateY(calc(100% - 48px));
  }
  
  .mobile-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background-color: #212121;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
  }
}

.stream-embed-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.stream-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.stream-page-title {
  margin: 1.5rem 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
}

.stream-page-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .stream-page-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stream-page-stats {
    margin-top: 0.5rem;
  }
  
  .stream-page-title {
    font-size: 1.4rem;
    margin: 1rem 0 0.8rem 0;
  }
}

.stream-page-channel {
  font-size: 1.1rem;
  font-weight: 600;
}

.stream-page-stats {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
}

.stream-stat {
  display: flex;
  align-items: center;
}

.stream-stat i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.stream-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-facebook {
  background-color: #1877f2;
  color: white;
  border: none;
}

.share-twitter {
  background-color: #1da1f2;
  color: white;
  border: none;
}

.share-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
}

.share-telegram {
  background-color: #0088cc;
  color: white;
  border: none;
}

.stream-description {
  margin: 2rem 0;
}

.stream-description-content {
  white-space: pre-line;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1rem;
}

/* Yan Panel Stiller */
.stream-page-sidebar {
  position: relative;
  flex: 0 0 350px;
}

/* Chat Styling */
.chat-container {
  height: 500px;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: var(--card-bg);
}

.chat-container-simple {
  height: 500px;
  background-color: transparent;
}

@media (max-width: 992px) {
  .chat-container {
    height: 400px;
  }
  
  .chat-container-simple {
    height: 400px;
  }
  
  /* Mobil cihazlarda YouTube-benzeri sohbet */
  .chat-mobile {
    max-height: calc(50vh - 48px);
    height: calc(50vh - 48px);
    overflow: hidden;
    border: none;
    background-color: #000;
  }
}

@media (max-width: 480px) {
  .chat-container {
    height: 350px;
  }
  
  .chat-container-simple {
    height: 350px;
  }
  
  .chat-mobile {
    max-height: calc(50vh - 48px);
  }
  
  /* Mobil görünümde özel başlık stili */
  .mobile-chat-title {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
  }
  
  .mobile-chat-count {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
  }
  
  .mobile-chat-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .mobile-chat-toggle-icon.collapsed {
    transform: rotate(180deg);
  }
}

.youtube-chat-frame {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
}

.hurbay-subscribe-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: transparent;
  border: none;
}

.sidebar-subscribe-top {
  margin: 0 auto;
}

#chat-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.toggle-chat-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.toggle-chat-btn:hover {
  color: var(--primary-color);
}

.toggle-chat-btn.collapsed i {
  transform: rotate(180deg);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  margin: 0 0 1.2rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Benzer Yayınlar */
.similar-streams {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.similar-stream-card {
  display: flex;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.similar-stream-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.similar-stream-thumbnail {
  position: relative;
  flex: 0 0 120px;
  height: 68px;
  overflow: hidden;
}

.similar-stream-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-stream-live {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 5px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
}

.similar-stream-viewers {
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 2px 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.7rem;
  border-radius: 3px;
}

.similar-stream-info {
  flex: 1;
  padding: 0.5rem 0.75rem;
}

.similar-stream-title {
  margin: 0 0 0.3rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.similar-stream-channel {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Benzer Kanallar Listesi */
.related-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-channel-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-channel-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-channel-avatar {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.related-channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.related-channel-info {
  flex: 1;
}

.ad-container-stream {
  margin: 1.5rem 0;
}

/* Footer Stiller */
footer {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Kanal Detayları Stil */
.channel-details {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-avatar {
  flex-shrink: 0;
}

.channel-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.channel-data {
  flex-grow: 1;
}

.channel-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.channel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.channel-stat i {
  margin-right: 0.5rem;
}

.channel-description {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.channel-subscribe {
  margin-top: 0.5rem;
}

/* Benzer Kanallar Stil */
.related-channels {
  margin-top: 2rem;
}

.related-channels-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--secondary-color);
}

.related-channels-scroll::-webkit-scrollbar {
  height: 6px;
}

.related-channels-scroll::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border-radius: 4px;
}

.related-channels-scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.related-channel-card {
  flex: 0 0 auto;
  width: 180px;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.related-channel-avatar {
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
}

.related-channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.related-channel-info {
  padding: 0.75rem;
}

.related-channel-title {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-channel-stats {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.related-channel-link {
  display: block;
  padding: 0.5rem;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}

.related-channel-link:hover {
  background-color: var(--hover-color);
}

/* Önerilen Kanal */
.featured-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.featured-channel-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.featured-channel-image, .hurbay-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.featured-channel-name {
  font-weight: 600;
  color: var(--text-color);
}

.sidebar-subscribe {
  margin-left: auto;
}

.featured-channel-button {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.hurbay-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hurbay-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hurbay-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-form {
    max-width: 100%;
  }
  
  .stream-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem auto;
  }
  
  .modal-stream-title {
    font-size: 1.2rem;
  }
  
  .filter-form {
    grid-template-columns: 1fr;
  }
  
  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .language-region {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stream-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-actions {
    flex-direction: column;
  }
  
  .language-region {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Yardımcı sınıflar */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
}