:root {
  --technicolor-gold: #f7b733;
  --technicolor-red: #d72638;
  --technicolor-cyan: #1ccad8;
  --technicolor-deep-blue: #1b2a41;
  --technicolor-ivory: #f5f0e6;
  --technicolor-ink: #1d1d1d;
  --technicolor-muted: #5d5d5d;
  --technicolor-card: rgba(255, 255, 255, 0.88);
  --technicolor-shadow: rgba(27, 42, 65, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 183, 51, 0.28), transparent 20%),
    radial-gradient(circle at top right, rgba(28, 202, 216, 0.16), transparent 28%),
    linear-gradient(180deg, #fdf9f1 0%, var(--technicolor-ivory) 100%);
  color: var(--technicolor-ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--technicolor-deep-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  background: linear-gradient(90deg, var(--technicolor-deep-blue), #263b5e 45%, #2e4d73 100%);
  box-shadow: 0 8px 24px rgba(27, 42, 65, 0.18);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff6db;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

nav a {
  color: #fdf5d9;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  background:
    linear-gradient(135deg, rgba(247, 183, 51, 0.97), rgba(215, 38, 56, 0.9) 48%, rgba(28, 202, 216, 0.76)),
    #1b2a41;
  color: white;
  box-shadow: 0 18px 34px rgba(27, 42, 65, 0.22);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), transparent 40%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h2,
.hero h3 {
  color: white;
  margin-top: 0;
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 700px;
}

.hero a {
  color: #fff9de;
  font-weight: 700;
}

h1, h2, h3 {
  color: var(--technicolor-deep-blue);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
  line-height: 1.7;
  color: var(--technicolor-muted);
}

.movie-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.movie-item {
  position: relative;
  background: var(--technicolor-card);
  border: 1px solid rgba(27, 42, 65, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.4rem;
  box-shadow: 0 10px 20px var(--technicolor-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(27, 42, 65, 0.16);
}

.movie-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--technicolor-gold), var(--technicolor-red), var(--technicolor-cyan));
}

.movie-item h2 {
  margin: 0 0 0.4rem;
}

.movie-item h2 a {
  color: var(--technicolor-deep-blue);
  font-size: 1.25rem;
}

.movie-item p {
  margin-bottom: 0;
}

.muted {
  color: var(--technicolor-deep-blue);
  font-weight: 600;
  opacity: 0.75;
}

.detail-card,
.history-block {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 42, 65, 0.09);
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 16px 30px rgba(27, 42, 65, 0.08);
}

.embed {
  width: 100%;
  max-width: 760px;
  min-height: 420px;
  border: 0;
  border-radius: 16px;
  margin-top: 1.25rem;
  background: #111827;
  box-shadow: 0 16px 30px rgba(27, 42, 65, 0.18);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(27, 42, 65, 0.08);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 18px rgba(27, 42, 65, 0.07);
}

.feature-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--technicolor-deep-blue);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero {
    padding: 1.8rem 1.2rem;
  }

  nav .container {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }
}
