:root {
  /* UzMovi uslubidagi Yashil Neon ranglar palitrasi */
  --bg-dark: #0b0f0d;
  --bg-container: #121815;
  --card-bg: #18221d;
  --card-hover: #1f2d26;
  --text-main: #f0f5f2;
  --text-muted: #8e9e95;
  
  /* Aktsent ranglar */
  --green-primary: #00e676; /* Yorqin neon yashil */
  --green-secondary: #00a86b; /* Zümrad yashil */
  --yellow-accent: #ffc107; /* VIP / Reyting sariq */
  --red-badge: #ff3d00; /* 18+ / Hot badge */
  --blue-accent: #00b0ff; /* HD / Linklar */
  --border-color: rgba(0, 230, 118, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, #002b19 0%, #0b0f0d 70%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* UzMovi kabi Markazlashtirilgan Asosiy Konteyner */
.main-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-container);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  min-height: 100vh;
}

/* Header Navbar */
header {
  background: #0d1310;
  border-bottom: 3px solid var(--green-primary);
  padding: 12px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--green-primary);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--green-secondary);
  background: #18221d;
  color: #fff;
  outline: none;
  font-size: 13px;
  width: 220px;
}

.search-box input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
}

.search-box button {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: #000;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.search-box button:hover {
  transform: scale(1.05);
}

/* Navigatsiya Menyusi (UzMovi uslubidagi top-menu) */
.nav-menu {
  background: #151d18;
  padding: 10px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--green-primary);
}

/* UzMovi Hero Featured Slider/Banner */
.hero-slider {
  margin: 20px 25px;
  background: linear-gradient(180deg, rgba(0,230,118,0.08) 0%, rgba(18,24,21,1) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-slider h1 {
  font-size: 26px;
  color: var(--green-primary);
  margin-bottom: 8px;
}

.hero-slider p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 750px;
  margin: 0 auto 15px auto;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
}

.stat-item span {
  color: var(--yellow-accent);
  font-weight: bold;
  font-size: 14px;
}

/* Layout: UzMovi kabi Asosiy Kontent va Yon Panel (Sidebar) */
.layout-container {
  display: flex;
  gap: 25px;
  padding: 10px 25px 30px 25px;
}

.main-content {
  flex: 1;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* Section Title */
.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--green-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--green-primary);
}

/* UzMovi Vertikal Kinolar Katakchasi (Poster-Grid) */
.media-grid-posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.poster-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.poster-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-primary);
  box-shadow: 0 5px 15px rgba(0, 230, 118, 0.2);
}

.poster-img-holder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1f2d26, #0e1612);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.badge-hd {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green-primary);
  color: #000;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
}

.badge-lang {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--yellow-accent);
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--yellow-accent);
}

.poster-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poster-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.poster-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sidebar Widgetlar */
.widget-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  transition: color 0.2s;
}

.widget-list-item:hover {
  color: var(--green-primary);
}

/* Media Single Detail Page */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  color: var(--green-primary);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid var(--green-primary);
  margin-bottom: 15px;
}

.video-player-box {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--green-secondary);
  margin: 15px 0;
}

.btn-telegram {
  display: inline-block;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: #000;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.25);
}

footer {
  text-align: center;
  padding: 20px;
  background: #0d1310;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}