/* ==========================================
   HERO - VIDEO BACKGROUND - Dark Horror Theme
   ========================================== */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #040404;
}

/* ---- Video Background ---- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.28) saturate(0.18) sepia(0.75) contrast(1.1);
}

/* ---- Overlay ---- */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.82) 0%,
    rgba(5,0,0,0.55) 40%,
    rgba(0,0,0,0.88) 100%
  );
  z-index: 1;
}

/* Blood vignette corners — heavy & realistic */
.slide-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at top left,    rgba(80,0,0,0.65) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at bottom right, rgba(80,0,0,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at top right,    rgba(40,0,0,0.4)  0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at bottom left,  rgba(40,0,0,0.35) 0%, transparent 50%);
  z-index: 1;
}

/* ---- Content ---- */
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-inner {
  max-width: 800px;
}

/* ---- Titlu: hidden by default, reveal la 5s ---- */
.slide-title {
  margin-bottom: 24px;
  overflow: hidden;
}

.title-line {
  display: block;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: #f0ece0;
  text-shadow: 0 0 60px rgba(100,0,0,0.7), 0 4px 16px rgba(0,0,0,1), 0 0 120px rgba(80,0,0,0.3);
  letter-spacing: 2px;

  /* stare inițială - invizibil */
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1),
              opacity   0.8s cubic-bezier(0.4,0,0.2,1);
}

.title-line.gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.title-line.gradient-animated {
  background: linear-gradient(270deg, #c9a84c, #e8c97a, #8b0000, #cc0000, #c9a84c);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Reveal la adăugarea clasei .revealed */
.hero-content.revealed .title-line:nth-child(1) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0s;
}
.hero-content.revealed .title-line:nth-child(2) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.18s;
}
.hero-content.revealed .title-line:nth-child(3) {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.34s;
}

/* ---- Descriere ---- */
.slide-description {
  font-size: 18px;
  color: rgba(232,213,163,0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-content.revealed .slide-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.50s;
}

/* ---- Rating Box ---- */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,0.22);
  padding: 12px 20px;
  border-radius: 50px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-content.revealed .hero-rating {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.64s;
}

.rating-avatars { display: flex; }

.rating-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border: 2px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.rating-avatar:first-child { margin-left: 0; }

.rating-avatar.more {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-size: 9px;
}

.rating-info { display: flex; flex-direction: column; gap: 2px; }

.rating-stars { display: flex; gap: 2px; }
.rating-stars i { color: #ffd700; font-size: 12px; }

.rating-text {
  font-size: 12px;
  color: rgba(232,213,163,0.85);
  font-weight: 600;
}

/* ---- Hero Buttons ---- */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-content.revealed .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.78s;
}

.btn-hero-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
}

.btn-hero-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
}

/* ---- Scroll Indicator ---- */
.hero-scroll-indicator {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--blood));
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.scroll-text {
  font-size: 10px;
  color: rgba(201,168,76,0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}


/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-scroll-indicator { display: none; }
  .title-line { font-size: clamp(32px, 8vw, 52px); }
  .slide-description { font-size: 15px; }
  .btn-hero-wa { padding: 14px 24px; font-size: 15px; }
}
