:root {
  --bg: #08121f;
  --bg-soft: #13263e;
  --paper: #f3efe5;
  --text: #f6f8fb;
  --text-dark: #0f1f32;
  --accent: #f5a000;
  --accent-2: #39d08f;
  --card: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 160, 0, 0.22), transparent 34%),
    radial-gradient(circle at 90% 5%, rgba(57, 208, 143, 0.22), transparent 32%),
    linear-gradient(160deg, var(--bg), #040a13 65%);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 100vh;
  background: url("espanta-liquidos-hero.jpg") center/cover no-repeat;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16vh;
  background: linear-gradient(to top, rgba(8, 18, 31, 0.85), transparent);
  z-index: 0;
}

.top-nav {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.2rem;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border-radius: 999px;
  transition: 0.25s ease;
  padding: 5px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-content {
  width: min(760px, 90%);
  margin: 0 auto;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-top: 0.55rem;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hero-text {
  width: min(58ch, 100%);
  margin: 0.7rem 0 1.3rem;
  font-size: clamp(0.95rem, 1.1vw, 0.8rem);
}

.cta {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent), #ffc850);
  color: #111;
  font-weight: 800;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(245, 160, 0, 0.35);
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.section {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 5rem 0;
}

.section h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.intro p {
  max-width: 80ch;
  margin-bottom: 1rem;
}

.intro-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 2rem;
}

.intro-image-wrap {
  display: flex;
  justify-content: center;
}

.intro-image {
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.intro-text p {
  max-width: 75ch;
}
.intro-text strong {
  color: yellow;
}
.intro-text em {
  color: white;
  font-weight: bold;
}
.intro-text .smaller, .intro-text a {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 2rem;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.artist-card {

  overflow: hidden;

  text-align: center;
  padding: 1.2rem 1rem 1rem;
}

.artist-card img {
  width: min(220px, 84%);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.artist-card h3,
.artist-card p {
  padding: 0;
}

.artist-card h3 {
  margin: 1rem 0 0.35rem;
}

.artist-card p {
  padding-bottom: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  filter: saturate(1.1);
}

.gallery-item {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.agenda-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.agenda-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.agenda-item.past-event {
  opacity: 0.6;
  position: relative;
}
.agenda-item.past-event::after {
  /*crossed*/
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--line);
  transform: rotate(-22deg);
}
.agenda-item.past-event * {
  color: gray
}
.agenda-item.past-event .ticket-link {
  display: none;
}

.ticket-link {
  display: inline-block;
  margin-top: 0.9rem;
  text-decoration: none;
  color: #111;
  background: linear-gradient(90deg, var(--accent), #ffd36a);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
}

.agenda-date {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.rider-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.rider-card,
.contacts-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.contacts-card a {
    color: white;
}

.rider-card ul {
  margin-left: 1.2rem;
}

.social-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dark);
  background: var(--paper);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(2, 7, 13, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  width: min(920px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.schedule-event.center {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

@media (min-width: 961px) {
  .nav-links a {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.85);
  }
}

@media (max-width: 960px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .intro-image-wrap {
    justify-content: center;
  }

  .intro-text {
    text-align: left;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .agenda-list {
    grid-template-columns: 1fr;
  }

  .rider-layout {
    grid-template-columns: 1fr;
  }
  section h2 {
    text-align: center;
  }
  .agenda-item {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 4%;
    top: 76px;
    width: min(320px, 90vw);
    background: rgba(4, 10, 20, 0.86);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
    z-index: 8;
  }

  .nav-links.open {
    display: flex;
  }

  .artists-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    width: min(1120px, 92%);
    min-height: calc(100vh - 78px);
    padding-bottom: 2rem;
  }

  .intro-text {
    text-align: left;
  }

  .brand img {
    width: 120px;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  .hero {
    min-height: auto;
    background-size: 170% auto;
    background-position: center top;
  }

    .hero-content {
        min-height: calc(50vh );
    }
}
