@import url("hero-video.css");

/* Import Inter font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

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

.categories-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.categories-toggle:hover,
.categories-toggle.active {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.categories-toggle i {
  transition: transform 0.3s ease;
}

.categories-toggle.active i {
  transform: rotate(180deg);
}

.categories-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}

.categories-dropdown .category-pill {
  padding: 0.75rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: block;
}

.categories-dropdown .category-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===== PAPTV MODERN LAYOUT ===== */

/* Reset and Base Styles */
:root {
  --primary-color: #d50014; /* Updated button color */
  --bg-primary: #0f0f10; /* Updated primary background */
  --bg-secondary: #2b2b2c; /* Updated secondary background */
  --accent-color: #ff6b35;
  --accent-hover: #b91c1c;
  --text-primary: #ffffff; /* White font color */
  --text-secondary: rgba(255, 255, 255, 0.7); /* White icon color */
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: #333333;
  --card-bg: #252525;
  --input-bg: #2a2a2a;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b35;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ff6b35;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn,
.user-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.search-btn:hover,
.user-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.signup-btn,
.logout-btn {
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.signup-btn:hover,
.logout-btn:hover {
  background-color: var(--accent-hover);
}

.lang-selector {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

/* Mobile Categories Styles */
.mobile-categories-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.75rem 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}

.mobile-categories-toggle.active i {
  transform: rotate(180deg);
}

.mobile-categories-list {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-categories-list li {
  margin-bottom: 0.5rem;
}

.mobile-categories-list .category-pill {
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .categories-dropdown-menu {
    min-width: 90vw;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }

  .categories-dropdown-menu.show {
    transform: translateX(-50%) translateY(0);
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }

  .categories-dropdown .category-pill {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .categories-dropdown-menu {
    min-width: 95vw;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .logo {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  /* Remove the fixed height */
  /* height: 100vh; */
  /* Remove min-height */
  /* min-height: 600px; */
  overflow: hidden;
  margin-top: 80px;
}

.hero-video,
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-logo {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-watch,
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-watch {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.btn-watch:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-add {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-add:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Grid Layouts */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.video-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #2d2d2d;
}

.video-info {
  padding: 1rem;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.4;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #888;
}

.video-views {
  color: #ff6b35;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
  margin: 40px 0;
}

/* Add specific styling for highlights section overlap */
.highlights-section {
  margin-top: -8rem;
  padding-top: 8rem;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 20%, var(--bg-primary) 100%);
  position: relative;
  z-index: 15;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #ff6b35;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
  gap: 10px;
}

.carousel-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.2);
}

/* Content Carousel */
.content-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.content-carousel::-webkit-scrollbar {
  display: none;
  height: 6px;
}

.content-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.content-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.content-card {
  flex: 0 0 320px;
  background: transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  flex: 0 0 280px;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
}

.content-card a {
  text-decoration: none;
  color: inherit;
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.card-duration,
.card-category {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.card-duration {
  bottom: 0.5rem;
  right: 0.5rem;
}

.card-category {
  top: 0.5rem;
  left: 0.5rem;
  background: var(--accent-color);
  top: 8px;
  left: 8px;
  background: rgba(213, 0, 20, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.card-info {
  padding: 16px;
}

.card-title {
  padding: 1rem 0 0 0; /* Change from padding: 1rem; to align left */
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  background: transparent; /* Ensure no background color */
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-description {
  padding: 0 0 1rem 0; /* Change from padding: 0 1rem 1rem; to align left */
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #cccccc;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Categories Section */
.categories-section,
.trailer-section,
.unmissable-section {
  position: relative;
  z-index: 10;
}

.categories-section {
  background: var(--bg-primary);
  padding: 3rem 0;
}

.categories-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.categories-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  justify-content: flex-start;
  /* Add touch scrolling support */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.categories-carousel::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.3s ease;
  /* Add scroll snap */
  scroll-snap-align: start;
}

/* Category specific colors */
.category-art {
  background-color: #000000;
  border: 1px solid var(--text-primary);
}

.category-art-spectacles {
  background-color: #1a4b8c !important;
}

.category-artistes {
  background-color: #9c5b9c !important;
}

.category-cinema {
  background-color: #a05663 !important;
}

.category-concert {
  background-color: #000000;
  border: 1px solid var(--text-primary);
}

.category-court-metrage {
  background-color: #b84a6e !important;
}

.category-culture {
  background-color: #8baa4a !important;
}

.category-documentaire {
  background-color: #2c3e50 !important;
  border: none !important;
}

.category-fashion {
  background-color: #e67e22 !important;
}

.category-musique {
  background-color: #8e44ad !important;
}

/* Trailer Section */
.trailer-section {
  background: var(--bg-primary);
}

.trailer-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.trailer-player {
  width: 60%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
  width: 100%;
}

.trailer-info {
  width: 40%;
  width: 100%;
}

.trailer-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: 600;
}

.trailer-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.trailer-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.trailer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: column;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  margin-top: 80px;
}

.auth-container {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 20px;
}

.welcome-text {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.auth-logo img {
  max-width: 120px;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-tagline {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
}

.btn-primary {
  width: 100%;
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 0.75rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.auth-links a {
  color: var(--accent-color);
  text-decoration: none;
}

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

.auth-separator {
  margin: 0 0.5rem;
}

/* Messages */
.error-message,
.success-message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.error-message {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.success-message {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Footer */
.footer {
  background: #1a1a1a;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid #333;
}

.footer-content {
  text-align: center;
  color: #888;
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Stream Page */
.stream-page {
  background: #0a0a0a;
  min-height: 100vh;
  padding: 20px 0;
  margin-top: 80px;
}

.back-link {
  margin-bottom: 2rem;
}

.back-link a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: var(--text-primary);
}

.stream-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 1200px) {
  .stream-content-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.stream-player-container {
  width: 100%;
}

.stream-details {
  padding: 0;
}

.stream-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.2;
}

.stream-meta {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-separator {
  color: #d50014;
  font-weight: bold;
  margin: 0 4px;
}

.stream-category {
  color: #ffffff;
  font-weight: 500;
}

.stream-audio,
.stream-subtitles {
  font-size: 14px;
  margin-bottom: 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.stream-audio strong,
.stream-subtitles strong {
  color: #ffffff;
  border: 1px solid #d50014;
  border-radius: 4px;
  padding: 6px 12px;
  margin-right: 12px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
}

.subtitle-box {
  display: inline-block;
  font-size: 14px;
  color: #cccccc;
}

.stream-description {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 16px;
}

.stream-description p {
  margin-bottom: 12px;
}

.read-more {
  background: none;
  border: none;
  color: #d50014;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.stream-website {
  font-size: 14px;
  margin-top: 16px;
  color: #cccccc;
}

.stream-website a {
  color: #d50014;
  text-decoration: none;
}

.stream-website a:hover {
  text-decoration: underline;
}

/* Stream Actions */
.stream-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.action-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.action-form {
  display: inline-block;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: white;
}

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

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-url {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.share-url input {
  flex: 1;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #0a0a0a;
  color: white;
  font-size: 14px;
}

.copy-url {
  padding: 12px 20px;
  background: #d50014;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.copy-url:hover {
  background: #b8000f;
}

.share-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  font-size: 14px;
}

.share-option:hover {
  background: #444;
}

/* Debug Info */
.debug-info {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #cccccc;
  line-height: 1.4;
}

.debug-info strong {
  color: #ffffff;
}

/* Banner Styles */
.banners-container {
  margin: 20px 0;
  text-align: center;
}

.banner-item {
  display: inline-block;
  margin: 10px;
}

.banner-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Trending Badge */
.trending-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Collaborator Logo */
.collaborator-logo-inline {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  vertical-align: middle;
}

.collaborator-logo-inline img {
  height: 24px;
  max-width: 80px;
  object-fit: contain;
  vertical-align: middle;
}

/* Loading and utility classes */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
}

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

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.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;
}

/* Link Styles */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-color);
}

/* Utility Classes */
.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}
