/* Главная страница — Bootstrap 5 + Font Awesome 6 */

.page-home main {
  overflow-x: hidden;
}

.home-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto;
  height: 70%;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(124, 92, 255, 0.22), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.home-hero__lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.home-hero__badges .badge {
  font-weight: 500;
  padding: 0.45em 0.85em;
  border: 1px solid var(--border);
}

.home-hero__badges .badge i {
  opacity: 0.9;
}

.home-stats-card {
  background: linear-gradient(160deg, rgba(22, 26, 38, 0.95), rgba(12, 14, 20, 0.92));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.home-stats-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 200deg, rgba(124, 92, 255, 0.25), transparent, rgba(255, 107, 157, 0.2), transparent);
  animation: homeSpin 16s linear infinite;
  pointer-events: none;
}

@keyframes homeSpin {
  to {
    transform: rotate(360deg);
  }
}

.home-stats-card .card-body {
  position: relative;
  z-index: 1;
}

.home-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.home-stat-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.home-stat-item__icon--accent {
  background: rgba(124, 92, 255, 0.2);
  color: #c4b5fd;
}

.home-stat-item__icon--pink {
  background: rgba(255, 107, 157, 0.18);
  color: #ff8fb8;
}

.home-stat-item__icon--success {
  background: rgba(61, 214, 140, 0.15);
  color: var(--success);
}

.home-stat-item strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.home-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.home-section--schedule {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.07) 0%, transparent 50%);
}

.home-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-section__subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.home-schedule-table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.home-schedule-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  border-bottom-color: var(--border);
  white-space: nowrap;
}

.home-schedule-code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  color: var(--accent-2);
  font-weight: 600;
}

.home-release-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-color: var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.home-release-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.home-release-card__poster {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #000;
  position: relative;
}

.home-release-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-release-card:hover .home-release-card__poster img {
  transform: scale(1.04);
}

.home-release-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}

.home-release-card__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-release-card:hover .home-release-card__play-overlay {
  opacity: 1;
}

.home-release-card__play-overlay i {
  font-size: 2.5rem;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.home-release-card .card-title a {
  color: inherit;
  text-decoration: none;
}

.home-release-card .card-title a:hover {
  color: var(--accent-2);
}

.home-feature-card {
  border-color: var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.home-feature-card:hover {
  border-color: rgba(124, 92, 255, 0.3);
  transform: translateY(-2px);
}

.home-feature-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(255, 107, 157, 0.15));
  color: #e0d4ff;
}

.home-quick-nav .nav-link {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.home-quick-nav .nav-link:hover,
.home-quick-nav .nav-link.active {
  color: #fff;
  background: rgba(124, 92, 255, 0.2);
}

.home-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.home-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
