/* ================================================================
   KinoUz Premium — style.css
   Responsive: Mobile (≤768px) + Tablet + Desktop
   ================================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --accent:        #e50914;
  --accent-dark:   #b0000a;
  --accent-glow:   rgba(229, 9, 20, 0.35);
  --bg:            #0b0c10;
  --bg-card:       #111318;
  --bg-card-hover: #191c23;
  --bg-glass:      rgba(255,255,255,0.04);
  --bg-glass2:     rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(255,255,255,0.18);
  --text:          #f0f0f3;
  --text-muted:    #868d9e;
  --text-dim:      #525866;
  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --shadow-card:   0 8px 32px rgba(0,0,0,0.45);
  --shadow-hover:  0 16px 48px rgba(0,0,0,0.65);
  --nav-h:         64px;
  --bottom-nav-h:  68px;
  --sidebar-w:     240px;
  --transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; outline: none; font-family: 'Inter', sans-serif; }

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2e3a; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ================================================================
   DESKTOP SIDEBAR
   ================================================================ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: rgba(10, 11, 15, 0.97);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 200;
  transition: width var(--transition);
  overflow: hidden;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.sidebar-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.sidebar-logo .logo-text { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.sidebar-logo .logo-text span { color: var(--accent); }

.sidebar-nav { flex: 1; padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.sidebar-nav a, .sidebar-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.sidebar-nav a i, .sidebar-btn i { width: 20px; text-align: center; font-size: 16px; }
.sidebar-nav a:hover, .sidebar-btn:hover { background: var(--bg-glass2); color: var(--text); }
.sidebar-nav a.active, .sidebar-btn.active {
  background: rgba(229,9,20,0.12);
  color: var(--accent);
}
.sidebar-nav .nav-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim);
  padding: 16px 14px 6px;
}
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.main-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.top-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 28px;
  gap: 16px;
}
.top-bar-search {
  flex: 1; max-width: 520px;
  position: relative;
}
.top-bar-search i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); font-size: 15px; pointer-events: none;
}
.top-bar-search input {
  width: 100%; background: var(--bg-glass2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 10px 16px 10px 42px;
  color: var(--text); font-size: 14px; font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
.top-bar-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
  background: rgba(255,255,255,0.08);
}
.top-bar-search input::placeholder { color: var(--text-dim); }
.top-bar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top-bar-btn {
  background: var(--bg-glass2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-muted);
  padding: 8px 12px; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 7px;
  transition: all var(--transition);
}
.top-bar-btn:hover { background: var(--bg-glass); border-color: var(--border-hover); color: var(--text); }
.top-bar-btn.accent { background: var(--accent); border-color: transparent; color: #fff; }
.top-bar-btn.accent:hover { background: #c7070f; }

/* ================================================================
   PAGE CONTENT
   ================================================================ */
.page-content { padding: 28px; flex: 1; }

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 460px; margin-bottom: 36px;
  box-shadow: var(--shadow-hover);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.1) 100%),
              linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 44px;
  max-width: 560px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px; width: fit-content;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.hero-meta span {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.hero-meta .rating { color: #ffc107; font-weight: 700; font-size: 15px; }
.hero-desc { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 24px; line-height: 1.7; max-lines: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-play {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px var(--accent-glow);
  border: none;
}
.btn-hero-play:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--accent-glow); }
.btn-hero-info {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 13px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background var(--transition);
}
.btn-hero-info:hover { background: rgba(255,255,255,0.2); }
.hero-dots { position: absolute; bottom: 24px; right: 32px; z-index: 3; display: flex; gap: 8px; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,0.35);
  transition: all var(--transition); cursor: pointer; border: none;
}
.hero-dot.active { width: 24px; background: var(--accent); }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(0,0,0,0.5); border: none;
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); cursor: pointer;
  backdrop-filter: blur(8px);
}
.hero-nav:hover { background: var(--accent); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700;
}
.section-title .title-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(229,9,20,0.15); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 14px;
}
.section-count { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.section-link {
  font-size: 13px; color: var(--accent); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  transition: gap var(--transition);
}
.section-link:hover { gap: 10px; }

/* ================================================================
   FILTER BAR
   ================================================================ */
.filter-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 18px; border-radius: 99px;
  background: var(--bg-glass2); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.filter-chip:hover { border-color: var(--border-hover); color: var(--text); }
.filter-chip.active { background: var(--accent); border-color: transparent; color: #fff; }
.filter-select {
  background: var(--bg-glass2); border: 1px solid var(--border);
  border-radius: 99px; color: var(--text); font-size: 13px; font-weight: 500;
  padding: 8px 18px; outline: none; cursor: pointer;
  transition: border-color var(--transition);
  font-family: 'Inter', sans-serif;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23868d9e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.filter-select:focus { border-color: var(--accent); }
.filter-select option { background: #1a1c23; }

/* ================================================================
   CARDS GRID
   ================================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
  z-index: 2;
}
.card-poster {
  position: relative;
  background-size: cover; background-position: center;
  aspect-ratio: 2/3; overflow: hidden;
}
.card-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover .card-poster::after { opacity: 1; }
.card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2; padding: 12px;
  transform: translateY(8px); opacity: 0;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.card:hover .card-overlay { transform: translateY(0); opacity: 1; }
.card-play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 4px 16px var(--accent-glow);
  transition: transform 0.15s; border: none; cursor: pointer;
}
.card-play-btn:hover { transform: scale(1.1); }
.card-rating {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  color: #ffc107; font-size: 12px; font-weight: 700;
  padding: 4px 9px; border-radius: 99px;
  display: flex; align-items: center; gap: 4px;
}
.card-badge {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; letter-spacing: 0.5px;
}
.card-badge.serial { background: #6c4bff; }
.card-badge.new { background: #00b87a; }
.card-info { padding: 12px; }
.card-title {
  font-size: 13px; font-weight: 600; line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
}
.card-bookmark {
  position: absolute; top: 44px; right: 10px; z-index: 3;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  color: var(--text-muted); font-size: 13px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), background var(--transition);
  border: none; opacity: 0; cursor: pointer;
}
.card:hover .card-bookmark { opacity: 1; }
.card-bookmark.saved { color: var(--accent); opacity: 1; background: rgba(229,9,20,0.15); }

/* ================================================================
   SKELETON LOADING
   ================================================================ */
.skeleton { background: linear-gradient(90deg, #1a1c22 25%, #22252e 50%, #1a1c22 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.skeleton-poster { aspect-ratio: 2/3; }
.skeleton-info { padding: 12px; }
.skeleton-line { height: 12px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-line.short { width: 60%; }

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
  grid-column: 1 / -1; padding: 80px 20px; text-align: center;
  color: var(--text-muted);
}
.empty-state i { font-size: 52px; margin-bottom: 16px; display: block; opacity: 0.3; }
.empty-state p { font-size: 15px; }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-glass2); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer; padding: 0 8px;
}
.page-btn:hover { border-color: var(--border-hover); color: var(--text); }
.page-btn.active { background: var(--accent); border-color: transparent; color: #fff; }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ================================================================
   MOBILE BOTTOM NAV
   ================================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: rgba(10,11,15,0.97);
  border-top: 1px solid var(--border);
  z-index: 300;
  backdrop-filter: blur(20px);
  justify-content: space-around; align-items: center;
  padding: 0 8px;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-dim); font-size: 10px; font-weight: 500;
  cursor: pointer; padding: 8px 12px; border-radius: 12px;
  transition: color var(--transition), background var(--transition);
  border: none; background: transparent; min-width: 56px;
}
.mobile-nav-item i { font-size: 20px; }
.mobile-nav-item.active { color: var(--accent); }
.mobile-nav-item:active { background: rgba(229,9,20,0.1); }

/* ================================================================
   MOBILE HEADER
   ================================================================ */
.mobile-header {
  display: none;
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,12,16,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 0 16px;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-header .logo-text {
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--text);
}
.mobile-header .logo-text span { color: var(--accent); }
.mobile-search-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-glass2); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.mobile-search-btn:hover { color: var(--text); }

/* Mobile Search Overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  padding: 24px 20px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-overlay-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.search-overlay input {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid var(--border-hover);
  border-radius: 12px; padding: 14px 18px; color: var(--text);
  font-size: 16px; font-family: 'Inter', sans-serif; outline: none;
}
.search-overlay input:focus { border-color: var(--accent); }
.search-close { color: var(--text-muted); font-size: 20px; cursor: pointer; padding: 8px; }
.search-close:hover { color: var(--accent); }

/* ================================================================
   WATCH PAGE — Custom Video Player
   ================================================================ */
.watch-container { max-width: 1200px; margin: 0 auto; }
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.video-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-hover);
  position: relative;
}
video {
  width: 100%; display: block; border-radius: var(--radius-lg);
  background: #000;
}
.video-info { padding: 20px 0; }
.watch-title {
  font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800;
  line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.5px;
}
.watch-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.watch-meta .badge {
  background: var(--bg-glass2); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 12px;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.watch-meta .badge.accent { background: rgba(229,9,20,0.12); border-color: rgba(229,9,20,0.2); color: var(--accent); }
.watch-meta .badge.yellow { background: rgba(255,193,7,0.12); border-color: rgba(255,193,7,0.2); color: #ffc107; }
.watch-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
  margin-bottom: 20px;
}
.watch-action-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-download, .btn-save {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; transition: all var(--transition);
}
.btn-download {
  background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid var(--border);
}
.btn-download:hover { background: var(--bg-glass2); border-color: var(--border-hover); }
.btn-save {
  background: rgba(229,9,20,0.1); color: var(--accent); border: 1px solid rgba(229,9,20,0.2);
}
.btn-save:hover { background: var(--accent); color: #fff; }
.btn-save.saved { background: var(--accent); color: #fff; }

/* Episode List Sidebar */
.episodes-panel {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  position: sticky; top: calc(var(--nav-h) + 12px);
}
.episodes-panel-header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.episodes-list { overflow-y: auto; max-height: 520px; }
.episode-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.episode-item:hover { background: var(--bg-glass2); }
.episode-item.active { background: rgba(229,9,20,0.08); border-left: 3px solid var(--accent); }
.episode-num {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-glass2); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted); flex-shrink: 0;
}
.episode-item.active .episode-num { background: var(--accent); color: #fff; }
.episode-info { flex: 1; }
.episode-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.episode-duration { font-size: 11px; color: var(--text-muted); }

/* Related Movies */
.related-section { margin-top: 36px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

/* ================================================================
   ADMIN PANEL
   ================================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; align-items: center; gap: 16px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.stat-icon.red { background: rgba(229,9,20,0.12); color: var(--accent); }
.stat-icon.purple { background: rgba(108,75,255,0.12); color: #6c4bff; }
.stat-icon.green { background: rgba(0,184,122,0.12); color: #00b87a; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.stat-value { font-size: 28px; font-weight: 800; font-family: 'Outfit', sans-serif; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-size: 13px; vertical-align: middle;
}
.admin-table tr:hover td { background: var(--bg-glass); }
.admin-table img { width: 48px; height: 68px; object-fit: cover; border-radius: 6px; }

.form-panel {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
}
.form-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 7px; font-weight: 600; letter-spacing: 0.5px; }
.form-input {
  width: 100%; background: var(--bg-glass2); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px; color: var(--text);
  font-size: 14px; font-family: 'Inter', sans-serif; transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; min-height: 90px; }
.btn-submit {
  width: 100%; background: var(--accent); color: #fff; border: none;
  border-radius: 10px; padding: 13px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif;
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-delete {
  background: rgba(229,9,20,0.1); color: var(--accent); border: 1px solid rgba(229,9,20,0.2);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.btn-delete:hover { background: var(--accent); color: #fff; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 32px 28px; margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800;
}
.footer-logo span { color: var(--accent); }
footer p { font-size: 13px; color: var(--text-dim); }

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container { position: fixed; bottom: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #1e2130; border: 1px solid var(--border-hover);
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  min-width: 240px; box-shadow: var(--shadow-hover);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast i { font-size: 16px; }
.toast.success { border-color: rgba(0,184,122,0.4); }
.toast.success i { color: #00b87a; }
.toast.error { border-color: rgba(229,9,20,0.4); }
.toast.error i { color: var(--accent); }
.toast span { font-size: 14px; font-weight: 500; }

/* ================================================================
   UTILITIES
   ================================================================ */
.container { max-width: 1400px; margin: 0 auto; }
.hidden { display: none !important; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* ================================================================
   RESPONSIVE — TABLET (≤1024px)
   ================================================================ */
@media (max-width: 1024px) {
  :root { --sidebar-w: 72px; }
  .sidebar-logo .logo-text { display: none; }
  .sidebar-logo { justify-content: center; padding: 20px 0; }
  .sidebar-nav a span, .sidebar-btn span, .sidebar-nav .nav-section-label { display: none; }
  .sidebar-nav a, .sidebar-btn { justify-content: center; padding: 14px; }
  .sidebar-footer { display: none; }
  .watch-layout { grid-template-columns: 1fr; }
  .episodes-panel { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-wrapper { margin-left: 0; padding-bottom: var(--bottom-nav-h); }
  .top-bar { display: none; }
  .mobile-header { display: flex; }
  .mobile-bottom-nav { display: flex; }
  .page-content { padding: 14px; }

  .hero-slider { height: 280px; margin-bottom: 24px; border-radius: var(--radius); }
  .hero-content { padding: 20px 16px; }
  .hero-title { font-size: 22px; letter-spacing: -0.3px; }
  .hero-meta { gap: 10px; }
  .hero-desc { display: none; }
  .btn-hero-play { padding: 10px 20px; font-size: 14px; }
  .btn-hero-info { display: none; }
  .hero-nav { display: none; }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .section-title { font-size: 18px; }
  .watch-title { font-size: 22px; }
  footer { padding: 20px 16px; flex-direction: column; text-align: center; gap: 8px; }
  .admin-stats { grid-template-columns: 1fr; }
  .filter-bar { gap: 7px; }
  .filter-chip { padding: 7px 13px; font-size: 12px; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤400px)
   ================================================================ */
@media (max-width: 400px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-slider { height: 240px; }
  .hero-title { font-size: 18px; }
}

/* ================================================================
   PAGE LOADING PROGRESS BAR
   ================================================================ */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #ff6b35);
  box-shadow: 0 0 10px rgba(229,9,20,0.6);
  transition: width 0.3s ease;
  border-radius: 0 2px 2px 0;
}

/* ================================================================
   REKLAMA BLOKLARI
   ================================================================ */
.ad-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.ad-banner a { display: block; }
.ad-banner img { width: 100%; max-height: 120px; object-fit: cover; display: block; border-radius: var(--radius); }
.ad-label {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.7); color: var(--text-dim);
  font-size: 10px; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.ad-inline {
  grid-column: span 2;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: unset; min-height: 90px; cursor: pointer;
  overflow: hidden; position: relative;
}
.ad-inline img { max-height: 90px; object-fit: contain; border-radius: 8px; }
.ad-inline .ad-label { top: 6px; right: 6px; }

/* ================================================================
   USER AUTH HEADER WIDGET
   ================================================================ */
.user-widget {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; position: relative;
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border-hover);
  object-fit: cover; display: block;
  transition: border-color var(--transition);
}
.user-widget:hover .user-avatar { border-color: var(--accent); }
.user-name-short {
  font-size: 13px; font-weight: 600; color: var(--text);
  max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: #1a1d27; border: 1px solid var(--border-hover);
  border-radius: var(--radius); min-width: 200px;
  box-shadow: var(--shadow-hover); z-index: 1000;
  overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
}
.user-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.user-dropdown-header {
  padding: 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px;
}
.user-dropdown-header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.user-dropdown-header .uname { font-size: 14px; font-weight: 700; }
.user-dropdown-header .uemail { font-size: 11px; color: var(--text-muted); }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 13px; color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  text-decoration: none; width: 100%; background: none; border: none;
  cursor: pointer; font-family: 'Inter', sans-serif; text-align: left;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--bg-glass2); color: var(--text); }
.user-dropdown a.danger:hover, .user-dropdown button.danger:hover { color: var(--accent); }

.btn-login-google {
  display: flex; align-items: center; gap: 8px;
  background: #fff; color: #1a1a1a;
  border-radius: 10px; padding: 9px 18px;
  font-size: 14px; font-weight: 600;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-login-google:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.4); transform: translateY(-1px); }
.btn-login-google img { width: 18px; height: 18px; }

/* ================================================================
   REYTING WIDGET
   ================================================================ */
.rating-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  margin-bottom: 24px;
}
.rating-widget-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.rating-widget-title i { color: #ffc107; }
.rating-avg {
  display: flex; align-items: center; gap: 20px; margin-bottom: 20px;
}
.rating-big-num {
  font-size: 52px; font-weight: 900; font-family: 'Outfit', sans-serif;
  color: #ffc107; line-height: 1;
}
.rating-stars { display: flex; gap: 4px; margin-bottom: 4px; }
.rating-stars i { font-size: 18px; color: #ffc107; }
.rating-stars i.empty { color: var(--text-dim); }
.rating-vote-count { font-size: 12px; color: var(--text-muted); }

.user-rating-label { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.stars-input { display: flex; gap: 6px; }
.stars-input button {
  background: none; border: none; font-size: 28px; cursor: pointer;
  color: var(--text-dim); transition: color 0.15s, transform 0.15s; padding: 2px;
}
.stars-input button:hover, .stars-input button.active { color: #ffc107; transform: scale(1.15); }
.rating-submit-msg { font-size: 13px; color: #00b87a; margin-top: 10px; }
.rating-login-prompt { font-size: 13px; color: var(--text-muted); }
.rating-login-prompt a { color: var(--accent); font-weight: 600; }

/* ================================================================
   IZOHLAR BO'LIMI
   ================================================================ */
.comments-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  margin-bottom: 24px;
}
.comments-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.comments-title i { color: var(--accent); }
.comment-form { margin-bottom: 24px; }
.comment-input-row { display: flex; gap: 12px; align-items: flex-start; }
.comment-avatar-sm {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; border: 2px solid var(--border);
}
.comment-avatar-sm.placeholder {
  background: var(--bg-glass2); display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 16px;
}
.comment-textarea {
  flex: 1; background: var(--bg-glass2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; color: var(--text); font-size: 14px;
  font-family: 'Inter', sans-serif; resize: none; min-height: 80px;
  transition: border-color var(--transition); outline: none;
}
.comment-textarea:focus { border-color: var(--accent); }
.comment-textarea::placeholder { color: var(--text-dim); }
.comment-form-footer { display: flex; justify-content: flex-end; margin-top: 10px; }
.btn-comment {
  background: var(--accent); color: #fff; border: none; border-radius: 10px;
  padding: 10px 22px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); font-family: 'Inter', sans-serif;
}
.btn-comment:hover { background: var(--accent-dark); }
.comment-login-prompt {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
  font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}
.comment-login-prompt a { color: var(--accent); font-weight: 600; }
.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item {
  display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; padding-bottom: 0; }
.comment-body { flex: 1; }
.comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.comment-user { font-size: 13px; font-weight: 700; }
.comment-time { font-size: 11px; color: var(--text-dim); }
.comment-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.comments-empty { text-align: center; padding: 32px; color: var(--text-dim); font-size: 14px; }
.comments-empty i { font-size: 36px; display: block; margin-bottom: 10px; opacity: 0.3; }

/* ================================================================
   PROFIL SAHIFASI
   ================================================================ */
.profile-header {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 28px;
}
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(229,9,20,0.2);
}
.profile-avatar-placeholder {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6c4bff);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #fff; font-weight: 700;
  border: 3px solid var(--accent);
}
.profile-info .profile-name { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; }
.profile-info .profile-email { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.profile-info .profile-stats { display: flex; gap: 20px; margin-top: 16px; }
.profile-info .profile-stat { font-size: 13px; color: var(--text-muted); }
.profile-info .profile-stat strong { color: var(--text); font-size: 18px; display: block; font-weight: 700; }

/* ================================================================
   404 SAHIFASI
   ================================================================ */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.page-404-inner { max-width: 480px; }
.page-404-num {
  font-family: 'Outfit', sans-serif; font-size: 130px; font-weight: 900;
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent), #6c4bff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-404 h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.page-404 p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.page-404 .btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border-radius: 12px;
  padding: 13px 28px; font-size: 15px; font-weight: 700;
  transition: all var(--transition); box-shadow: 0 6px 24px var(--accent-glow);
  text-decoration: none;
}
.page-404 .btn-home:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--accent-glow); }

/* ================================================================
   NOTIFICATION BADGE
   ================================================================ */
.notification-banner {
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.notification-banner.success { background: rgba(0,184,122,0.1); border: 1px solid rgba(0,184,122,0.25); color: #00b87a; }
.notification-banner.error   { background: rgba(229,9,20,0.1);  border: 1px solid rgba(229,9,20,0.25);  color: #ff6b6b; }
.notification-banner.info    { background: rgba(99,0,255,0.1);  border: 1px solid rgba(99,0,255,0.2);   color: #9b7fff; }

/* ================================================================
   ADMIN — REKLAMALAR TAB
   ================================================================ */
.ad-preview-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.ad-preview-card img { width: 100%; max-height: 100px; object-fit: cover; }
.ad-preview-info { padding: 12px; }
.ad-preview-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ad-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.ad-status.active   { background: rgba(0,184,122,.15); color: #00b87a; }
.ad-status.inactive { background: rgba(229,9,20,.1);   color: #ff6b6b; }
.ads-grid-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

/* ================================================================
   SIDEBAR FOYDALANUVCHI QISMI
   ================================================================ */
.sidebar-user {
  padding: 16px 12px; border-top: 1px solid var(--border);
}
.sidebar-user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 11px;
  background: var(--bg-glass2); border: 1px solid var(--border);
  cursor: pointer; text-decoration: none; color: var(--text);
  transition: background var(--transition);
}
.sidebar-user-card:hover { background: rgba(229,9,20,.1); border-color: rgba(229,9,20,.2); }
.sidebar-user-card img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sidebar-user-card .su-name { font-size: 13px; font-weight: 600; }
.sidebar-user-card .su-email { font-size: 11px; color: var(--text-muted); }

/* ================================================================
   GOOGLE OAUTH BUTTON
   ================================================================ */
.google-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  width: 100%;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.google-login-btn:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}
.google-login-btn i {
  color: #e50914; /* Using KinoUz accent red for brand color */
  font-size: 16px;
}

/* ================================================================
   ADDITIONAL RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .profile-header { flex-direction: column; text-align: center; padding: 24px 16px; }
  .profile-info .profile-stats { justify-content: center; }
  .comment-input-row { flex-direction: column; }
  .rating-avg { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ================================================================
   COMMENTS SECTION
   ================================================================ */
.comments-section {
  margin-top: 36px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
}
.comment-form-container {
  margin-bottom: 24px;
}
.comment-form {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.comment-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.comment-user-avatar-text {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.comment-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-input-wrap textarea {
  width: 100%;
  background: var(--bg-glass2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.comment-input-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.comment-submit-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.char-counter {
  font-size: 12px;
  color: var(--text-dim);
}
.btn-submit-comment {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-submit-comment:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-submit-comment:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.comment-login-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.comment-login-promo i.fa-lock {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.btn-comment-login {
  margin-top: 14px;
  background: #fff;
  color: #111;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
}
.btn-comment-login:hover {
  background: #e5e5e5;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.comment-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.comment-content {
  flex: 1;
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.comment-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.comment-date {
  font-size: 11px;
  color: var(--text-dim);
}
.comment-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  white-space: pre-wrap;
}

