/* ============================================================================
   A PICTURE+ — APPLE TV+ INSPIRED DESIGN SYSTEM (/assets/cinema-system.css)
   ============================================================================ */
:root {
  --atv-bg: #000000;
  --atv-bg-elevated: #0b0b0e;
  --atv-surface: rgba(28, 28, 32, 0.68);
  --atv-surface-solid: #16161a;
  --atv-surface-hover: rgba(44, 44, 50, 0.78);
  --atv-glass: rgba(18, 18, 22, 0.75);
  --atv-glass-heavy: rgba(12, 12, 16, 0.88);
  --atv-border: rgba(255, 255, 255, 0.1);
  --atv-border-strong: rgba(255, 255, 255, 0.22);
  --atv-text: #f5f5f7;
  --atv-text-secondary: rgba(245, 245, 247, 0.68);
  --atv-text-muted: rgba(245, 245, 247, 0.44);
  --atv-accent: #ffffff;
  --atv-brand-red: #e50914;
  --atv-blue: #0a84ff;
  --atv-green: #30d158;
  --atv-amber: #ffd60a;
  --atv-danger: #ff453a;
  --atv-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --atv-radius-sm: 12px;
  --atv-radius-md: 18px;
  --atv-radius-lg: 24px;
  --atv-radius-xl: 30px;
  --atv-radius-pill: 980px;
  --atv-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  --atv-ease: 240ms cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--atv-bg);
  color: var(--atv-text);
  font-family: var(--atv-font);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Apple TV+ Frosted Glass Top Navigation */
.atv-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--atv-ease);
}

.atv-nav-inner {
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.atv-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}

.atv-brand .plus {
  color: var(--atv-brand-red);
  font-weight: 900;
}

.atv-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.atv-nav-link {
  padding: 7px 14px;
  border-radius: var(--atv-radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--atv-text-secondary);
  text-decoration: none;
  transition: color var(--atv-ease), background var(--atv-ease);
}

.atv-nav-link:hover,
.atv-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Apple TV+ Buttons */
.atv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--atv-radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform var(--atv-ease), background var(--atv-ease), opacity var(--atv-ease);
  user-select: none;
}

.atv-btn:active {
  transform: scale(0.97);
}

.atv-btn-primary {
  background: #ffffff;
  color: #000000;
}

.atv-btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}

.atv-btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.atv-btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

.atv-btn-telegram {
  background: rgba(10, 132, 255, 0.18);
  color: #5ac8fa;
  border-color: rgba(10, 132, 255, 0.42);
}

.atv-btn-telegram:hover {
  background: rgba(10, 132, 255, 0.28);
}

.atv-card {
  background: var(--atv-surface);
  backdrop-filter: saturate(160%) blur(24px);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  border: 1px solid var(--atv-border);
  border-radius: var(--atv-radius-lg);
  box-shadow: var(--atv-shadow);
}

.atv-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--atv-radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: var(--atv-text);
}
