:root {
  --blue: #1790d0;
  --white: #ffffff;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */

body {
  background: var(--blue);
  color: var(--white);
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  min-height: 100vh;
}

body.loaded {
  opacity: 1;
}

/* FILM GRAIN OVERLAY */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 999;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* LAYOUT */

.container {
  max-width: 700px;
  padding: 60px 30px;
}

/* HERO */

.title {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
}

.title span {
  display: block;
}

/* Initial state for animation */
.title span,
.logline,
.trailer,
.cast,
.links {
  transform: translateY(10px);
}

.time {
  transform: translateY(20%);
}

.shares {
  transform: translateY(-10%);
}

.logline {
  margin-top: 20px;
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.5;
  opacity: 0.85;
}

/* TRAILER */

.trailer {
  margin: 40px 0;
}

/* .video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.2);
} */

/* CAST */

.cast {
  margin-top: 30px;
}

.cast h2 {
  font-size: 0.8rem;
  margin-bottom: 10px;
  opacity: 0.6;
}

.cast a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.cast a:hover {
  opacity: 1;
}

/* LINKS */

.links {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.links a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--white);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.links a:hover {
  opacity: 1;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
  /* Optional: removes the default underline */
}