/*
Theme Name: Green Cinema Pro - Ultra Beast Edition
Theme URI: https://najdnetwork.com/
Author: Amr Said
Version: 6.4 (Ultra Compact Mobile Header)
Description: قالب متكامل للمسلسلات والأفلام بأقصى التأثيرات البصرية.
*/

:root {
  --main-color: #2ECC71;
  --main-glow: rgba(46, 204, 113, 0.6);
  --main-dark: #27AE60;
  --bg-body: #050505;
  --bg-card: #0f0f0f;
  --bg-glass: rgba(15, 15, 15, 0.85);
  --bg-hover: #161616;
  --text-main: #ffffff;
  --text-muted: #888888;
  --border-color: #1f1f1f;
  --border-glow: rgba(46, 204, 113, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition-fast: 0.18s ease;
  --transition-slow: 0.22s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-body); color: var(--text-main); font-family: Tahoma, Arial, sans-serif; direction: rtl; line-height: 1.6; overflow-x: hidden; scroll-behavior: auto;}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
.container { max-width: 1250px; margin: 0 auto; padding: 0 15px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--main-color); box-shadow: 0 0 10px var(--main-glow); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes neonPulse { 0% { box-shadow: 0 0 10px var(--main-glow), 0 0 20px var(--main-glow); } 50% { box-shadow: 0 0 25px var(--main-color), 0 0 40px var(--main-color); } 100% { box-shadow: 0 0 10px var(--main-glow), 0 0 20px var(--main-glow); } }

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.site-header { background: rgba(5, 5, 5, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1000; transition: all 0.4s ease; }
.site-header.scrolled { background: rgba(0, 0, 0, 0.9); border-bottom-color: var(--main-color); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.9); }
.logo { font-size: 26px; font-weight: 900; color: var(--main-color); display: flex; align-items: center; gap: 10px; text-shadow: 0 0 15px var(--main-glow); }
.logo span { color: #fff; text-shadow: none; }
.logo:hover { transform: scale(1.05); }

.section-title { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 900; margin: 50px 0 25px; color: #fff; position: relative; padding-right: 15px; }
.section-title::before { content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 5px; background: var(--main-color); border-radius: 5px; box-shadow: 0 0 15px var(--main-glow); }

.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 25px; margin-bottom: 60px; }
.movie-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; position: relative; transition: var(--transition-slow); animation: fadeInUp 0.6s ease backwards; }
.movie-card:nth-child(1) { animation-delay: 0.1s; } .movie-card:nth-child(2) { animation-delay: 0.2s; } .movie-card:nth-child(3) { animation-delay: 0.3s; } .movie-card:nth-child(4) { animation-delay: 0.4s; }
.movie-card:hover { transform: translateY(-12px) scale(1.03); border-color: var(--main-color); box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2); z-index: 10; }

.card-thumb { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.movie-card:hover .card-thumb img { transform: scale(1.15) rotate(2deg); filter: brightness(0.4) contrast(1.2); }
.card-thumb::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); opacity: 0; transition: var(--transition-fast); }
.movie-card:hover .card-thumb::after { opacity: 1; height: 100%; }

.ep-ribbon { position: absolute; top: 15px; right: -35px; padding: 5px 40px; font-size: 12px; font-weight: 900; z-index: 5; color: #fff; transform: rotate(45deg); box-shadow: 0 4px 15px rgba(0,0,0,0.5); text-transform: uppercase; }
.ribbon-trend { background: linear-gradient(45deg, #e74c3c, #c0392b); }
.ribbon-series { background: linear-gradient(45deg, var(--main-color), var(--main-dark)); color: #000; }
.ribbon-movie { background: linear-gradient(45deg, #3498db, #2980b9); }

.play-hover-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); width: 60px; height: 60px; background: var(--main-color); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 5px; opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 10; }
.movie-card:hover .play-hover-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: playPulse 1.5s infinite; }
.movie-card h3 { font-size: 15px; font-weight: 800; text-align: center; padding: 15px; margin: 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: var(--transition-fast); }
.movie-card:hover h3 { color: var(--main-color); }

/* ============================================
   السليدر وأزرار التقليب الجديدة
   ============================================ */
.trend-slider-container { width: 100%; margin-bottom: 50px; position: relative; }
.trend-slider-track { display: flex; gap: 20px; overflow-x: auto; padding: 20px 5px 40px 5px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trend-slider-track::-webkit-scrollbar { display: none; }
.trend-slide { flex: 0 0 calc(20% - 16px); scroll-snap-align: center; }

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
}
.slider-btn:hover {
  background: var(--main-color);
  color: #000;
  border-color: var(--main-color);
  box-shadow: 0 0 20px var(--main-glow);
  transform: translateY(-50%) scale(1.1);
}
.prev-btn { right: 10px; } 
.next-btn { left: 10px; }  

/* الصفحات الداخلية */
.hero-section { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; background: var(--bg-glass); padding: 30px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: fadeInUp 0.5s ease; }
.hero-poster { flex: 0 0 300px; border: 2px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.8); transition: var(--transition-slow); }
.hero-poster:hover { border-color: var(--main-color); box-shadow: 0 15px 40px var(--main-glow); }
.hero-info { flex: 1; min-width: 280px; }
.hero-info h1 { font-size: 2.8rem; font-weight: 900; margin: 0 0 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.meta-tags { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.meta-tag { background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); font-weight: 700; backdrop-filter: blur(5px); display: flex; align-items: center; gap: 8px; }
.meta-tag:hover { background: var(--main-color); color: #000; border-color: var(--main-color); }
.story-box { background: rgba(0,0,0,0.4); border-right: 4px solid var(--main-color); padding: 25px; border-radius: var(--radius-sm); color: #ccc; line-height: 1.9; font-size: 16px; position: relative; overflow: hidden; }
.story-box::before { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 100%; background: linear-gradient(to left, var(--border-glow), transparent); pointer-events: none; }
.btn-watch-main { background: var(--main-color); color: #000; font-weight: 900; font-size: 20px; padding: 15px 50px; border-radius: 50px; display: inline-flex; align-items: center; gap: 15px; text-decoration: none; transition: var(--transition-slow); position: relative; overflow: hidden; z-index: 1; animation: neonPulse 2s infinite; }
.btn-watch-main::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.5s; z-index: -1; }
.btn-watch-main:hover::before { left: 100%; }
.btn-watch-main:hover { transform: scale(1.05) translateY(-5px); background: #fff; animation: none; box-shadow: 0 15px 30px var(--main-glow); }
.ep-list-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-card); border: 1px solid var(--border-color); padding: 18px 25px; border-radius: var(--radius-md); margin-bottom: 15px; transition: var(--transition-fast); }
.ep-list-item:hover { border-color: var(--main-color); background: var(--bg-hover); transform: translateX(-10px); box-shadow: 5px 5px 15px rgba(0,0,0,0.5); }
.btn-watch-sub { border: 2px solid var(--border-color); color: #fff; padding: 10px 25px; border-radius: 8px; font-weight: 800; transition: var(--transition-fast); }
.ep-list-item:hover .btn-watch-sub { background: var(--main-color); color: #000; border-color: var(--main-color); box-shadow: 0 0 15px var(--main-glow); }

/* ============================================
   مربع البحث الاحترافي في الهيدر للـ PC
   ============================================ */
.header-search { 
  flex: 1; 
  max-width: 400px; 
  position: relative; 
  margin-right: auto;
}
.header-search form { 
  display: flex; 
  position: relative; 
  width: 100%; 
}
.header-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 45px 12px 15px;
  border-radius: 50px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(5px);
}
.header-search input:focus {
  border-color: var(--main-color);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px var(--border-glow);
}
.header-search button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.header-search input:focus + button,
.header-search button:hover {
  color: var(--main-color);
  transform: translateY(-50%) scale(1.1);
}

/* ============================================
   تنسيقات الموبايل الموحدة (مدمجة وموفرة للمساحة)
   ============================================ */
@media (max-width: 768px) {
  /* تقليل المساحات العامة في الهيدر لتوفير المساحة */
  .site-header { padding: 8px 0 !important; }

  .movie-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; margin-bottom: 30px; }
  .movie-card h3 { font-size: 12px; padding: 10px 5px; }
  .trend-slide { flex: 0 0 calc(45% - 10px); }
  .ep-ribbon { font-size: 10px; padding: 3px 20px; right: -25px; top: 10px; }
  .btn-watch-main { width: 100%; justify-content: center; font-size: 16px; padding: 12px 20px; }
  .btn-watch-sub { width: 100%; text-align: center; }

  /* --- الهيدر: تقسيم ملموم وصغير --- */
  .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 5px !important;
  }

  /* اللوجو */
  .logo { 
    font-size: 18px !important; /* تصغير اللوجو قليلاً */
    flex: 0 0 auto;
    order: 1; 
  }

  /* البحث: تصميم صغير جداً بجوار اللوجو */
  .header-search {
    order: 2;
    flex: 0 1 130px !important; /* يأخذ مساحة صغيرة */
    max-width: 130px !important;
    margin: 0 !important;
  }

  .header-search form {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px !important;
    padding: 0 !important;
  }

  .header-search input {
    width: 100% !important;
    height: 30px !important; /* ارتفاع صغير جداً */
    font-size: 11px !important; /* خط صغير */
    padding: 2px 25px 2px 10px !important;
  }

  .header-search button {
    right: 8px !important;
    font-size: 12px !important; /* تصغير أيقونة البحث */
    color: var(--main-color) !important;
  }

  /* --- صفحات الأقسام: مضغوطة لتوفير مساحة المحتوى --- */
  .main-nav {
    order: 3;
    width: 100% !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 8px !important; /* تقليل الهامش العلوي */
    padding: 5px 0 !important; /* تقليل الحشو */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .main-nav::-webkit-scrollbar {
    display: none !important;
  }

  .main-nav ul {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .main-nav li { display: inline-block; }
  
  /* إخفاء التأثير السينمائي في الموبايل لضمان السرعة */
  .cinema-path-container { display: none !important; }
}

/* ============================================
   🎥 تجربة مسار الإخراج السينمائي (Cinematic Path Experience)
   ============================================ */
.cinema-path-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 990;
  overflow: hidden;
}

.cinema-path-svg {
  width: 100%; height: 100%;
  opacity: 0;
}

.scrolling-camera-path {
  position: absolute;
  width: 50px; height: 50px;
  color: var(--main-color);
  font-size: 35px;
  text-shadow: 0 0 15px var(--main-glow);
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.8));
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.05s linear; 
  transform-origin: center center;
}

.scrolling-camera-path .camera-shadow {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%) rotateX(70deg);
  width: 40px; height: 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  filter: blur(4px);
}

.lz-stars {
  display: inline-flex;
  gap: 2px;
  color: #f1c40f;
  margin-left: 6px;
  text-shadow: 0 0 8px rgba(241, 196, 15, 0.45);
}

.lz-stars i {
  font-size: 14px;
}


/* =====================================================
   Telegram Join Box - Larozaa
   ===================================================== */

.lz-telegram-join {
  margin: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.lz-telegram-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(46, 204, 113, 0.22), transparent 35%),
    linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(5, 5, 5, 0.98));
  border: 1px solid rgba(46, 204, 113, 0.28);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(46, 204, 113, 0.12);
  overflow: hidden;
  position: relative;
}

.lz-telegram-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(34, 158, 217, 0.14);
  filter: blur(2px);
}

.lz-telegram-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #229ED9, #1c7fb0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 0 25px rgba(34, 158, 217, 0.45);
  position: relative;
  z-index: 1;
}

.lz-telegram-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.lz-telegram-content h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.lz-telegram-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 720px;
}

.lz-telegram-btn {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #229ED9, #2ECC71);
  color: #000;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 22px rgba(34, 158, 217, 0.35);
  position: relative;
  z-index: 1;
  transition: 0.3s ease;
}

.lz-telegram-btn i {
  color: #000;
  font-size: 18px;
}

.lz-telegram-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(46, 204, 113, 0.35), 0 0 28px rgba(34, 158, 217, 0.45);
}

/* Mobile */
@media (max-width: 768px) {
  .lz-telegram-join {
    margin: 45px 0 20px;
  }

  .lz-telegram-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 18px;
  }

  .lz-telegram-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 20px;
    font-size: 30px;
  }

  .lz-telegram-content h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .lz-telegram-content p {
    font-size: 14px;
    line-height: 1.9;
  }

  .lz-telegram-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 15px;
  }
}

/* =====================================================
   Floating Telegram Button
   ===================================================== */

.lz-floating-telegram {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
}

.lz-floating-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #2ECC71);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow:
    0 0 0 0 rgba(34, 158, 217, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(46, 204, 113, 0.28);
  animation: lzTelegramPulse 1.8s infinite;
  transition: 0.3s ease;
}

.lz-floating-message {
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
  border: 1px solid rgba(46, 204, 113, 0.32);
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0,0,0,0.45);
  position: relative;
  opacity: 1;
  transform: translateX(0);
  transition: 0.3s ease;
}

.lz-floating-message::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(10, 10, 10, 0.92);
  border-left: 1px solid rgba(46, 204, 113, 0.32);
  border-bottom: 1px solid rgba(46, 204, 113, 0.32);
}

.lz-floating-telegram:hover .lz-floating-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(34, 158, 217, 0.45),
    0 0 35px rgba(46, 204, 113, 0.35);
}

.lz-floating-telegram:hover .lz-floating-message {
  color: var(--main-color);
}

@keyframes lzTelegramPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(34, 158, 217, 0.55),
      0 10px 30px rgba(0, 0, 0, 0.45);
  }

  70% {
    box-shadow:
      0 0 0 16px rgba(34, 158, 217, 0),
      0 10px 30px rgba(0, 0, 0, 0.45);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(34, 158, 217, 0),
      0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .lz-floating-telegram {
    left: 14px;
    bottom: 16px;
    gap: 8px;
  }

  .lz-floating-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .lz-floating-message {
    font-size: 12px;
    padding: 9px 12px;
    max-width: 190px;
    white-space: normal;
    line-height: 1.5;
  }
}

/* Small Mobile */
@media (max-width: 420px) {
  .lz-floating-message {
    display: none;
  }

  .lz-floating-telegram {
    left: 16px;
    bottom: 18px;
  }
}


/* =====================================================
   Episodes Search Box
   ===================================================== */

.lz-episode-search-box {
  position: relative;
  margin: 0 0 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.lz-episode-search-box input {
  width: 100%;
  height: 54px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 0 55px 0 20px;
}

.lz-episode-search-box input::placeholder {
  color: #777;
}

.lz-episode-search-box i {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-color);
  font-size: 17px;
}

.lz-episode-search-box:focus-within {
  border-color: var(--main-color);
  box-shadow: 0 0 20px var(--main-glow);
}

@media (max-width: 768px) {
  .lz-episode-search-box input {
    height: 48px;
    font-size: 14px;
    padding-right: 50px;
  }
}

/* =====================================================
   Larozaa TOP 10 Side Widgets - Pro Auto Scroll
   ===================================================== */

.lz-top10-side {
  position: fixed;
  top: 135px;
  bottom: 25px;
  z-index: 55;
  width: 174px;
  overflow: hidden;
  pointer-events: none;
 padding: 0 0 10px;
}

.lz-top10-side-right {
  right: 18px;
}

.lz-top10-side-left {
  left: 18px;
}

.lz-top10-side::before,
.lz-top10-side::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 70px;
  z-index: 6;
  pointer-events: none;
}

.lz-top10-side::before {
  top: 0;
  background: linear-gradient(to bottom, #050505 10%, rgba(5,5,5,0));
}

.lz-top10-side::after {
  bottom: 0;
  background: linear-gradient(to top, #050505 10%, rgba(5,5,5,0));
}

.lz-top10-side-head {
  position: absolute;
  top: 5px;
  right: 8px;
  left: 8px;
  z-index: 8;
  height: 32px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(46, 204, 113, 0.12);
}

.lz-top10-side-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
  pointer-events: auto;
}

.lz-top10-track-right {
  animation: lzTop10ScrollUp 28s linear infinite;
}

.lz-top10-track-left {
  animation: lzTop10ScrollUp 30s linear infinite;
}

.lz-top10-side:hover .lz-top10-side-track {
  animation-play-state: paused;
}

.lz-top10-card {
  display: block;
  background: linear-gradient(180deg, #131a22, #080d13);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  transition: 0.35s ease;
  pointer-events: auto;
}

.lz-top10-card-desktop {
  height: 252px;
}

.lz-top10-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: var(--main-color);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.65),
    0 0 28px rgba(46,204,113,0.22);
}

.lz-top10-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #080808;
}

.lz-top10-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.55s ease;
}

.lz-top10-card:hover .lz-top10-img img {
  transform: scale(1.08);
  filter: brightness(0.78) contrast(1.1);
}

.lz-top10-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 8, 12, 0.98) 0%, rgba(5, 8, 12, 0.85) 23%, rgba(5, 8, 12, 0.25) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 35%);
  z-index: 2;
}

.lz-top10-ribbon {
  position: absolute;
  top: 0;
  right: 13px;
  width: 50px;
  min-height: 82px;
  background: linear-gradient(180deg, #d000ff, #ff0055);
  color: #fff;
  z-index: 4;
  text-align: center;
  padding-top: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  box-shadow: 0 8px 20px rgba(255,0,85,0.48);
}

.lz-top10-ribbon span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.lz-top10-ribbon strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.lz-top10-info {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 9px 13px;
  text-align: center;
}

.lz-top10-info h3 {
  color: #fff;
  font-size: 12.5px;
  font-weight: 900;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px #000;
}

.lz-top10-info p {
  color: #dce3ea;
  font-size: 10.5px;
  font-weight: 800;
  margin: 0;
}

.lz-top10-card:hover .lz-top10-info h3 {
  color: var(--main-color);
}

@keyframes lzTop10ScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-50% - 8px));
  }
}


/* Mobile / Tablet */
.lz-top10-mobile-section {
  display: none;
}

@media (max-width: 1550px) {
  .lz-top10-side {
    width: 150px;
    top: 88px;
  }

  .lz-top10-card-desktop {
    height: 222px;
  }

  .lz-top10-ribbon {
    width: 45px;
    min-height: 74px;
  }

  .lz-top10-ribbon strong {
    font-size: 26px;
  }

  .lz-top10-info h3 {
    font-size: 11.5px;
  }

  .lz-top10-info p {
    font-size: 10px;
  }
}

@media (max-width: 1350px) {
  .lz-top10-side {
    display: none;
  }

  .lz-top10-mobile-section {
    display: block;
    margin-top: 18px;
  }

  .lz-top10-mobile-section .section-title {
    font-size: 1.35rem;
    margin-top: 28px;
  }

  .lz-top10-mobile-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 14px 3px 25px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .lz-top10-mobile-track::-webkit-scrollbar {
    display: none;
  }

  .lz-top10-card-mobile {
    flex: 0 0 170px;
    height: 255px;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .lz-top10-mobile-section {
    margin-top: 10px;
  }

  .lz-top10-mobile-section .section-title {
    font-size: 1.2rem;
    margin: 25px 0 12px;
  }

  .lz-top10-card-mobile {
    flex-basis: 148px;
    height: 225px;
    border-radius: 15px;
  }

  .lz-top10-ribbon {
    right: 10px;
    width: 42px;
    min-height: 68px;
  }

  .lz-top10-ribbon span {
    font-size: 10px;
  }

  .lz-top10-ribbon strong {
    font-size: 24px;
  }

  .lz-top10-info h3 {
    font-size: 11.5px;
  }

  .lz-top10-info p {
    font-size: 9.5px;
  }
}

.lz-top10-side-head {
  display: none !important;
}


/* =====================================================
   Larozaa Enhanced Movie / Series Cards
   تحسين كروت المسلسلات والأفلام
   ===================================================== */

.lz-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 10px 14px;
  margin-top: -4px;
}

.lz-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: #cfcfcf;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.lz-card-badge i {
  font-size: 10px;
  color: var(--main-color);
}

.lz-card-episode {
  background: rgba(46, 204, 113, 0.10);
  border-color: rgba(46, 204, 113, 0.22);
  color: var(--main-color);
  width: 100%;
  justify-content: center;
  font-size: 11px;
  padding: 6px 8px;
}

.lz-card-stars {
  color: #f1c40f;
  border-color: rgba(241, 196, 15, 0.18);
  background: rgba(241, 196, 15, 0.07);
}

.lz-card-stars i {
  color: #f1c40f;
  font-size: 9.5px;
}

.movie-card:hover .lz-card-badge {
  border-color: rgba(46, 204, 113, 0.28);
}

.movie-card:hover .lz-card-episode {
  background: var(--main-color);
  color: #000;
  box-shadow: 0 0 14px rgba(46, 204, 113, 0.35);
}

.movie-card:hover .lz-card-episode i {
  color: #000;
}

/* تقليل ارتفاع الكلام في الكروت عشان الشكل يفضل مظبوط */
.movie-card h3 {
  padding-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .lz-card-badges {
    gap: 5px;
    padding: 0 8px 12px;
  }

  .lz-card-badge {
    font-size: 9.5px;
    padding: 4px 7px;
  }

  .lz-card-episode {
    font-size: 10px;
  }
}


@media (max-width: 768px) {
  .movie-card,
  .trend-slide,
  .lz-top10-card,
  .scrolling-camera-path,
  .cinema-path-container {
    animation: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
  }

  .movie-card:hover,
  .lz-top10-card:hover {
    transform: none !important;
  }

  .card-thumb img {
    transform: none !important;
  }

  .movie-card:hover .card-thumb img {
    transform: none !important;
    filter: none !important;
  }

  .play-hover-icon {
    display: none !important;
  }
}

/* Performance Mode */
@media (max-width: 1024px) {
  .movie-card,
  .trend-slide,
  .lz-top10-card,
  .card-thumb img,
  .play-hover-icon,
  .btn-watch-main {
    animation: none !important;
    transition: none !important;
  }

  .movie-card:hover,
  .trend-slide:hover,
  .lz-top10-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .movie-card:hover .card-thumb img {
    transform: none !important;
    filter: none !important;
  }

  .play-hover-icon {
    display: none !important;
  }
}


/* Pagination */
.lz-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 5px 0 55px;
}

.lz-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: 0.25s ease;
}

.lz-pagination .page-numbers:hover,
.lz-pagination .page-numbers.current {
  background: var(--main-color);
  color: #000;
  border-color: var(--main-color);
  box-shadow: 0 0 18px var(--main-glow);
}

.lz-pagination .prev,
.lz-pagination .next {
  padding: 0 18px;
}

@media (max-width: 768px) {
  .lz-pagination {
    margin-bottom: 38px;
  }

  .lz-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    padding: 0 11px;
  }
}


/* =====================================================
   Home Pagination - Larozaa Style
   ===================================================== */

.lz-home-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: ltr;
  margin: -20px 0 55px;
}

.lz-home-pagination .page-numbers {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.lz-home-pagination .page-numbers.current {
  color: var(--main-color);
  text-shadow: 0 0 10px var(--main-glow);
}

.lz-home-pagination .page-numbers:hover {
  color: var(--main-color);
}

.lz-home-pagination .next,
.lz-home-pagination .prev {
  min-width: 74px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

.lz-home-pagination .next:hover,
.lz-home-pagination .prev:hover {
  background: var(--main-color);
  color: #000;
  border-color: var(--main-color);
  box-shadow: 0 0 18px var(--main-glow);
}

@media (max-width: 768px) {
  .lz-home-pagination {
    gap: 10px;
    margin: -10px 0 40px;
  }

  .lz-home-pagination .page-numbers {
    font-size: 15px;
    min-width: 28px;
    height: 32px;
  }

  .lz-home-pagination .next,
  .lz-home-pagination .prev {
    min-width: 64px;
    height: 42px;
    font-size: 14px;
    padding: 0 18px;
  }
}

.lz-view-more-wrap {
  display: flex;
  justify-content: center;
  margin: -25px 0 55px;
}

.lz-view-more-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

.lz-view-more-btn:hover {
  background: var(--main-color);
  color: #000;
  border-color: var(--main-color);
  box-shadow: 0 0 20px var(--main-glow);
}

.lz-view-more-btn:hover i {
  color: #000;
}


/* =====================================================
   Larozaa Performance Patch - Mobile & Desktop Speed
   ===================================================== */

/* إصلاحات عامة */
html {
  scroll-behavior: auto !important;
}

body {
  overflow-x: hidden !important;
  direction: rtl;
  line-height: 1.6;
}

/* إلغاء التأثير السينمائي بالكامل لأنه تقيل */
.cinema-path-container,
.cinema-path-svg,
.scrolling-camera-path {
  display: none !important;
}

/* تقليل تكلفة الانيميشن والشادو على الكروت */
.movie-card {
  animation: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
  will-change: auto !important;
}

.movie-card:nth-child(1),
.movie-card:nth-child(2),
.movie-card:nth-child(3),
.movie-card:nth-child(4) {
  animation-delay: 0s !important;
}

.card-thumb img {
  transition: none !important;
  will-change: auto !important;
}

.card-thumb::after {
  display: none !important;
}

.play-hover-icon {
  display: none !important;
}

/* Hover أخف على الكمبيوتر */
@media (min-width: 1025px) {
  .movie-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--main-color);
    box-shadow: 0 10px 24px rgba(46, 204, 113, 0.12) !important;
  }

  .movie-card:hover .card-thumb img {
    transform: none !important;
    filter: brightness(0.88) contrast(1.04) !important;
  }

  .movie-card:hover h3 {
    color: var(--main-color);
  }
}

/* شيل البلور التقيل */
.site-header,
.header-search input,
.meta-tag {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* أزرار المشاهدة بدون نبض مستمر */
.btn-watch-main,
.lz-floating-icon {
  animation: none !important;
}

/* TOP 10 ممنوع على الموبايل والتابلت */
@media (max-width: 1350px) {
  .lz-top10-side,
  .lz-top10-mobile-section {
    display: none !important;
  }
}

/* تحسين رندر الأقسام الطويلة */
.movie-grid,
.trend-slider-container,
.lz-telegram-join {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* سلايدر أخف */
.trend-slider-track {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto !important;
}

.slider-btn {
  box-shadow: none !important;
}

/* نسخة موبايل خفيفة جدًا */
@media (max-width: 768px) {
  * {
    text-shadow: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  body {
    background: #050505 !important;
  }

  .container {
    padding: 0 10px !important;
  }

  .site-header {
    position: sticky;
    background: #050505 !important;
    box-shadow: none !important;
    border-bottom: 1px solid #151515 !important;
  }

  .section-title {
    font-size: 1.15rem !important;
    margin: 28px 0 14px !important;
    gap: 8px !important;
  }

  .section-title::before {
    box-shadow: none !important;
  }

  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 34px !important;
  }

  .movie-card {
    border-radius: 12px !important;
    box-shadow: none !important;
    border-color: #171717 !important;
  }

  .movie-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .movie-card h3 {
    font-size: 12px !important;
    padding: 9px 5px 7px !important;
  }

  .card-thumb img {
    transform: none !important;
    filter: none !important;
  }

  .trend-slider-container {
    margin-bottom: 30px !important;
  }

  .trend-slider-track {
    gap: 10px !important;
    padding: 10px 2px 18px !important;
  }

  .trend-slide {
    flex: 0 0 46% !important;
  }

  .slider-btn {
    display: none !important;
  }

  .ep-ribbon {
    font-size: 9px !important;
    padding: 3px 18px !important;
    right: -25px !important;
    top: 9px !important;
    box-shadow: none !important;
  }

  .lz-card-badges {
    gap: 4px !important;
    padding: 0 6px 9px !important;
  }

  .lz-card-badge {
    font-size: 9px !important;
    padding: 4px 6px !important;
    backdrop-filter: none !important;
  }

  .lz-card-episode {
    font-size: 9.5px !important;
    padding: 5px 6px !important;
  }

  .hero-section {
    padding: 15px !important;
    gap: 18px !important;
    box-shadow: none !important;
  }

  .hero-poster {
    flex: 0 0 100% !important;
    box-shadow: none !important;
  }

  .hero-info h1 {
    font-size: 1.55rem !important;
  }

  .ep-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px !important;
    box-shadow: none !important;
  }

  .ep-list-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .lz-telegram-box {
    padding: 20px 14px !important;
    box-shadow: none !important;
  }

  .lz-telegram-box::before {
    display: none !important;
  }

  .lz-floating-message {
    display: none !important;
  }

  .lz-floating-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
  }

  .lz-view-more-wrap {
    margin: -15px 0 35px !important;
  }

  .lz-view-more-btn {
    padding: 11px 22px !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }
}

/* نسخة التابلت واللابتوبات الضعيفة */
@media (min-width: 769px) and (max-width: 1350px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
  }

  .movie-card,
  .hero-section,
  .lz-telegram-box {
    box-shadow: none !important;
  }

  .movie-card:hover {
    transform: none !important;
  }
}

/* احترام إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.site-footer {
  background: #080808;
  border-top: 1px solid #151515;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  padding: 50px 0;
}

.footer-col h3 {
  color: var(--main-color);
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-col p {
  color: #999;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #ccc;
}

.footer-col a:hover {
  color: var(--main-color);
}

.footer-col li i {
  font-size: 10px;
  margin-left: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  background: #111;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #111;
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: #444;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--main-color);
  font-weight: bold;
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0;
  }

  .footer-col h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-col p {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}

/* =====================================================
   Footer Fix - Larozaa
   ===================================================== */

.site-footer {
  background: #080808 !important;
  border-top: 1px solid #151515 !important;
  margin-top: 70px !important;
  padding: 0 !important;
  direction: rtl !important;
}

.site-footer .container {
  max-width: 1250px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
  gap: 35px !important;
  padding: 45px 0 !important;
  align-items: start !important;
  text-align: right !important;
}

.footer-col {
  text-align: right !important;
}

.footer-col h3 {
  color: var(--main-color) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 0 0 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-col p {
  color: #999 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
  text-align: right !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col li {
  margin-bottom: 12px !important;
}

.footer-col a {
  color: #ccc !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.footer-col a:hover {
  color: var(--main-color) !important;
}

.footer-col li i {
  font-size: 10px !important;
  margin-left: 8px !important;
  color: var(--main-color) !important;
}

.social-links {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-start !important;
}

.social-links a {
  background: #111 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  border: 1px solid #1f1f1f !important;
}

.social-links a:hover {
  background: var(--main-color) !important;
  color: #000 !important;
}

.footer-bottom {
  border-top: 1px solid #111 !important;
  padding: 24px 0 !important;
  text-align: center !important;
}

.footer-bottom p {
  color: #555 !important;
  font-size: 13px !important;
  margin: 0 !important;
  text-align: center !important;
}

.footer-bottom a {
  color: var(--main-color) !important;
  font-weight: 900 !important;
}

/* Telegram box spacing fix */
.lz-telegram-join {
  margin: 55px 0 25px !important;
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 40px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 32px 0 !important;
  }

  .footer-col h3 {
    font-size: 16px !important;
  }

  .footer-col p,
  .footer-col a {
    font-size: 13px !important;
  }

  .social-links {
    justify-content: flex-start !important;
  }

  .footer-bottom {
    padding: 18px 0 !important;
  }
}


/* =====================================================
   QRMZI ONLINE RED THEME
   قرمزي اونلاين - Black / Crimson Layout
   ===================================================== */

:root {
  --main-color: #e21b43;
  --main-glow: rgba(226, 27, 67, 0.45);
  --main-dark: #a90f2d;
  --bg-body: #070707;
  --bg-card: #101010;
  --bg-glass: rgba(12, 12, 12, 0.92);
  --bg-hover: #161111;
  --text-main: #ffffff;
  --text-muted: #9a9a9a;
  --border-color: #222;
  --border-glow: rgba(226, 27, 67, 0.22);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --transition-fast: 0.16s ease;
  --transition-slow: 0.22s ease;
}

body {
  background:
    radial-gradient(circle at 85% 0%, rgba(226, 27, 67, 0.10), transparent 28%),
    linear-gradient(180deg, #070707 0%, #090909 55%, #050505 100%) !important;
  color: #fff;
}

/* Header */
.site-header {
  background: rgba(8, 8, 8, 0.96) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  padding: 14px 0 !important;
  box-shadow: none !important;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.98) !important;
  border-bottom-color: rgba(226, 27, 67, 0.28) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45) !important;
}

.logo {
  color: var(--main-color) !important;
  text-shadow: none !important;
  font-size: 31px !important;
  letter-spacing: -1px;
}

.logo span {
  color: #fff !important;
  font-size: 17px;
  margin-right: 3px;
  opacity: 0.92;
}

.logo:hover {
  transform: none !important;
}

.main-nav a,
.main-nav li a {
  color: #d8d8d8 !important;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 18px;
}

.main-nav a:hover,
.main-nav li a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  background: rgba(226, 27, 67, 0.18) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(226, 27, 67, 0.32);
}

.header-search {
  max-width: 330px !important;
}

.header-search input {
  background: #151515 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  color: #fff !important;
  height: 46px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}

.header-search input:focus {
  border-color: rgba(226, 27, 67, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(226, 27, 67, 0.12) !important;
}

.header-search button {
  color: var(--main-color) !important;
}

/* Titles */
.section-title {
  justify-content: center;
  padding-right: 0 !important;
  margin: 44px 0 26px !important;
  font-size: 1.55rem !important;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.section-title::before {
  display: none !important;
}

.section-title i {
  color: var(--main-color) !important;
  text-shadow: 0 0 14px rgba(226, 27, 67, 0.28);
}

/* Grid: 5 cards desktop */
.movie-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 58px !important;
}

/* Crimson style cards */
.movie-card {
  background: #0f0f0f !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.32) !important;
  transition: border-color 0.18s ease, transform 0.18s ease !important;
}

.movie-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(226, 27, 67, 0.55) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.45) !important;
}

.movie-card a {
  display: block;
  position: relative;
  height: 100%;
}

.card-thumb {
  position: relative !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  background: #111;
}

.card-thumb::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: auto 0 0 0 !important;
  height: 52% !important;
  opacity: 1 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.72) 34%, rgba(0,0,0,0.0) 100%) !important;
  z-index: 2 !important;
}

.card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: none !important;
}

.movie-card:hover .card-thumb img {
  transform: none !important;
  filter: brightness(0.92) contrast(1.04) !important;
}

.movie-card h3 {
  position: absolute !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: 4 !important;
  margin: 0 !important;
  padding: 58px 10px 14px !important;
  background: linear-gradient(to top, rgba(0,0,0,0.98), rgba(0,0,0,0.68) 45%, transparent) !important;
  color: #fff !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95) !important;
}

.movie-card:hover h3 {
  color: #fff !important;
}

.movie-card .lz-card-badges {
  display: none !important;
}

.ep-ribbon {
  position: absolute !important;
  top: 11px !important;
  right: 11px !important;
  z-index: 8 !important;
  transform: none !important;
  min-width: 44px !important;
  max-width: 80px !important;
  padding: 6px 7px !important;
  border-radius: 0 !important;
  background: #c71239 !important;
  color: #fff !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.ribbon-trend,
.ribbon-series,
.ribbon-movie {
  background: #c71239 !important;
  color: #fff !important;
}

.play-hover-icon {
  display: none !important;
}

/* Slider */
.trend-slider-container {
  margin-bottom: 54px !important;
}

.trend-slider-track {
  gap: 18px !important;
  padding: 10px 2px 34px !important;
}

.trend-slide {
  flex: 0 0 calc(20% - 15px) !important;
}

.slider-btn {
  background: rgba(18,18,18,0.92) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}

.slider-btn:hover {
  background: var(--main-color) !important;
  color: #fff !important;
  border-color: var(--main-color) !important;
  box-shadow: 0 0 20px rgba(226,27,67,0.28) !important;
}

/* View more */
.lz-view-more-wrap {
  margin: -25px 0 58px !important;
}

.lz-view-more-btn {
  background: transparent !important;
  border: 1px solid rgba(226, 27, 67, 0.55) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 12px 46px !important;
  box-shadow: none !important;
  font-size: 15px !important;
}

.lz-view-more-btn:hover {
  background: rgba(226, 27, 67, 0.14) !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(226, 27, 67, 0.20) !important;
}

/* Single pages */
.hero-section {
  background: #0e0e0e !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35) !important;
}

.hero-poster {
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,0.45) !important;
}

.hero-poster:hover {
  border-color: rgba(226,27,67,0.55) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,0.50) !important;
}

.story-box {
  border-right-color: var(--main-color) !important;
  background: #111 !important;
}

.btn-watch-main {
  background: var(--main-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}

.btn-watch-main:hover {
  background: #fff !important;
  color: #111 !important;
}

.ep-list-item {
  background: #101010 !important;
  border-color: rgba(255,255,255,0.08) !important;
  border-radius: 8px !important;
}

.ep-list-item:hover {
  background: #151010 !important;
  border-color: rgba(226,27,67,0.55) !important;
  transform: none !important;
}

.btn-watch-sub {
  border-color: rgba(226,27,67,0.55) !important;
  border-radius: 999px !important;
}

.ep-list-item:hover .btn-watch-sub,
.btn-watch-sub:hover {
  background: var(--main-color) !important;
  color: #fff !important;
  border-color: var(--main-color) !important;
}

/* Telegram and footer */
.lz-telegram-box {
  border-color: rgba(226,27,67,0.25) !important;
  background:
    radial-gradient(circle at top right, rgba(226,27,67,0.16), transparent 35%),
    linear-gradient(135deg, rgba(14,14,14,0.98), rgba(5,5,5,0.98)) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45) !important;
}

.lz-telegram-icon,
.lz-telegram-btn,
.lz-floating-icon {
  background: linear-gradient(135deg, #c71239, #e21b43) !important;
  color: #fff !important;
}

.lz-telegram-btn,
.lz-telegram-btn i {
  color: #fff !important;
}

.lz-floating-message {
  border-color: rgba(226,27,67,0.32) !important;
}

.footer-col h3,
.footer-bottom a,
.footer-col li i {
  color: var(--main-color) !important;
}

.social-links a:hover {
  background: var(--main-color) !important;
  color: #fff !important;
}

/* TOP 10 */
.lz-top10-card:hover {
  border-color: var(--main-color) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65), 0 0 28px rgba(226,27,67,0.18) !important;
}

.lz-top10-ribbon {
  background: linear-gradient(180deg, #e21b43, #a90f2d) !important;
  box-shadow: 0 8px 20px rgba(226,27,67,0.35) !important;
}

.lz-top10-card:hover .lz-top10-info h3 {
  color: #fff !important;
}

/* Pagination */
.lz-pagination .page-numbers:hover,
.lz-pagination .page-numbers.current,
.lz-home-pagination .next:hover,
.lz-home-pagination .prev:hover {
  background: var(--main-color) !important;
  color: #fff !important;
  border-color: var(--main-color) !important;
  box-shadow: 0 0 18px rgba(226,27,67,0.24) !important;
}

.lz-home-pagination .page-numbers.current,
.lz-home-pagination .page-numbers:hover {
  color: var(--main-color) !important;
  text-shadow: none !important;
}

/* Responsive */
@media (max-width: 1350px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .trend-slide {
    flex-basis: calc(25% - 14px) !important;
  }
}

@media (max-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .trend-slide {
    flex-basis: calc(33.333% - 12px) !important;
  }
}

@media (max-width: 768px) {
  body {
    background: #070707 !important;
  }

  .container {
    padding: 0 10px !important;
  }

  .site-header {
    padding: 7px 0 !important;
    background: #080808 !important;
  }

  .header-inner {
    gap: 8px !important;
  }

  .logo {
    font-size: 24px !important;
  }

  .logo span {
    font-size: 13px !important;
  }

  .header-search {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    order: 3 !important;
    margin-top: 7px !important;
  }

  .header-search input {
    height: 36px !important;
    font-size: 12px !important;
    background: #121212 !important;
  }

  .main-nav {
    order: 2 !important;
    width: auto !important;
    flex: 1 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    justify-content: flex-start !important;
  }

  .main-nav ul {
    gap: 8px !important;
  }

  .main-nav a,
  .main-nav li a {
    font-size: 12px !important;
    padding: 7px 10px !important;
  }

  .section-title {
    font-size: 1.15rem !important;
    margin: 30px 0 16px !important;
    justify-content: center !important;
  }

  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 36px !important;
  }

  .movie-card {
    border-radius: 6px !important;
    border-color: rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
  }

  .movie-card h3 {
    font-size: 12px !important;
    padding: 45px 7px 9px !important;
    -webkit-line-clamp: 2 !important;
  }

  .ep-ribbon {
    top: 8px !important;
    right: 8px !important;
    min-width: 38px !important;
    padding: 5px 6px !important;
    font-size: 10px !important;
  }

  .trend-slide {
    flex: 0 0 47% !important;
  }

  .trend-slider-track {
    gap: 10px !important;
  }

  .lz-view-more-btn {
    width: auto !important;
    padding: 10px 34px !important;
  }

  .lz-floating-telegram,
  .lz-telegram-join {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .movie-grid {
    gap: 8px !important;
  }

  .movie-card h3 {
    font-size: 11.5px !important;
  }

  .main-nav a,
  .main-nav li a {
    font-size: 11px !important;
    padding: 6px 9px !important;
  }
}

