:root {
  --allevo-primary: #ff006f;
  --allevo-primary-dark: #b3004f;
  --allevo-bg: #0a0a0a;
  --allevo-text: #ffffff;
  --allevo-text-muted: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--allevo-bg);
  color: var(--allevo-text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}

cast-media-player {
  --background-color: var(--allevo-bg);
  --progress-color: var(--allevo-primary);
  --theme-hue: 333;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none !important;
}

.splash {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--allevo-bg) 0%,
    var(--allevo-primary-dark) 100%
  );
  z-index: 10;
  animation: fadeIn 0.4s ease-out;
}

.splash__logo {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 4px 32px rgba(255, 0, 111, 0.5));
}

.lesson-card {
  position: absolute;
  bottom: 80px;
  left: 80px;
  max-width: 720px;
  padding: 24px 32px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  border-left: 4px solid var(--allevo-primary);
  border-radius: 8px;
  z-index: 5;
  animation: slideUp 0.4s ease-out;
}

.lesson-card__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lesson-card__meta {
  font-size: 18px;
  color: var(--allevo-text-muted);
}

.lesson-card__sep {
  margin: 0 8px;
}

.next-up {
  position: absolute;
  bottom: 80px;
  right: 80px;
  width: 360px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  z-index: 5;
  animation: slideUp 0.4s ease-out;
}

.next-up__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--allevo-primary);
  margin-bottom: 8px;
}

.next-up__thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.next-up__title {
  font-size: 18px;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
