:root {
  --bg: #ffffff;
  --bg-secondary: #fdfbf7;
  --text: #ffffff;
  --text-strong: #9c2c5a;
  --muted: rgba(255, 255, 255, 0.85);
  --accent: #D4AF37;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-border: rgba(26, 32, 44, 0.08);
  --link: #ffffff;
  --link-hover: #c5a059;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --font-heading: "Cinzel", serif;
  --font-body: "Lato", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background-color: #83ceee;
  background-image: url("./assets/agonitas.gif");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  image-rendering: pixelated;
  color: var(--text);
  font-family: var(--font-body);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-overlay {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.hero {
  flex: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 30px 20px 120px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-logo {
  width: min(520px, 82vw);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
}

.hero-kicker {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.hero-subtitle {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.social-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
}

.social-hero a {
  color: #ffffff;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-hero a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.trailer-block {
  width: min(760px, 100%);
  margin-top: 0px;
}

.trailer-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.trailer-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.trailer-caption {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 28px 20px 36px;
}

.footer-links a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border: 1px solid rgba(26, 32, 44, 0.14);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--link-hover);
  border-color: rgba(197, 160, 89, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 96px;
  }

  .hero-inner {
    gap: 20px;
  }

  .hero-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 28px;
  }

  .footer-links a {
    padding: 0.72rem 1.3rem;
  }
}
