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

html, body {
  background: black;
  color: white;
  font-family: 'Inter', sans-serif;
  min-height: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: black;
}

/* IMAGEM */
.hero-img {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  min-height: 120vh;
  object-fit: cover;
  z-index: 0;
}

/* FADE */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35vh;
  background: linear-gradient(to bottom, rgba(0,0,0,0), black);
  z-index: 2;
  pointer-events: none;
}

/* SOCIALS */
.socials {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  z-index: 3;
}

.socials img {
  height: 24px;
  opacity: 0.85;
}

.socials img.insta {
  height: 20px;
  transform: translateY(1px);
}

.socials img.threads {
  height: 22px;
}

/* MUSIC */
.music-section {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 3;
}

/* TÍTULOS */
.title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 40px;
}

.music {
  text-shadow:
    -3px 2px 0 rgba(0,180,120,0.9),
    -6px 4px 0 rgba(0,180,120,0.5),
    -8px 6px 0 rgba(0,180,120,0.25);
}

.live {
  text-shadow:
    -3px 2px 0 rgba(200,40,40,0.9),
    -6px 4px 0 rgba(200,40,40,0.5),
    -8px 6px 0 rgba(200,40,40,0.25);
}


.damaged::before,
.damaged::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: inherit;
  pointer-events: none;
}

/* Camada 1 — falha grossa */
.damaged::before {
  transform: translate(-2px, 2px);
  opacity: 0.6;
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 22%, 0% 18%,
    0% 40%, 100% 44%,
    100% 62%, 0% 58%,
    0% 100%, 100% 100%
  );
}

/* Camada 2 — falha fina */
.damaged::after {
  transform: translate(2px, -1px);
  opacity: 0.35;
  clip-path: polygon(
    0% 8%, 100% 12%,
    100% 28%, 0% 24%,
    0% 55%, 100% 50%,
    100% 78%, 0% 82%
  );
}

.damaged {
  filter: contrast(1.05);
}

.damaged {
  position: relative;
  display: inline-block;
}





/* PLATAFORMAS */
.platforms {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.platform {
  padding: 14px 28px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.platform.green:hover {
  color: #00b478;
  border-color: #00b478;
}

.platform.red:hover {
  color: #c82828;
  border-color: #c82828;
}

/* LIVE SECTION */
.live-section {
  position: relative;
  z-index: 5;
  background: black;
  padding: 0 20px 140px;
  text-align: center;
}

/* LIVE LIST */
.live-list {
  max-width: 1000px;
  margin: 0 auto;
}

/* LIVE ROW — linhas full width */
.live-row {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.75);
}

/* BLOCO INTERNO — isto é o que se move */
.live-row-inner {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  gap: 72px;              /* 👈 respiração boa */
  align-items: center;

  width: max-content;
  margin: 0 auto;         /* 👈 MOVE TUDO PARA O CENTRO */
}

/* COLUNAS */
.live-left {
  text-align: left;
  max-width: 520px;
}

.live-date {
  font-weight: 600;
}

.live-location {
  opacity: 0.7;
  margin-left: 12px;
}

.live-tickets {
  margin-left: 32px;      /* aproxima sem isolar */
}

.footer {
  margin-top: 80px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.45;
}




/* MOBILE */
@media (max-width: 700px) {
  .live-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .live-tickets {
    justify-self: center;
    margin-left: 0;
  }
}



/* ===== DAMAGED — ESPASMOS IRREGULARES ===== */

@media (prefers-reduced-motion: no-preference) {

  .damaged::before {
    animation: spasmA 5.8s infinite steps(1);
  }

  .damaged::after {
    animation: spasmB 7.1s infinite steps(1);
  }

}

/* camada principal */
@keyframes spasmA {
  0%   { transform: translate(-2px, 2px); }
  12%  { transform: translate(-2px, 2px); }

  13%  { transform: translate(-6px, 3px); }
  14%  { transform: translate(-2px, 2px); }

  27%  { transform: translate(-2px, 2px); }

  28%  { transform: translate(-4px, 1px); }
  29%  { transform: translate(-2px, 2px); }

  51%  { transform: translate(-2px, 2px); }

  52%  { transform: translate(-7px, 4px); }
  54%  { transform: translate(-2px, 2px); }

  76%  { transform: translate(-2px, 2px); }

  77%  { transform: translate(-5px, 2px); }
  78%  { transform: translate(-2px, 2px); }

  100% { transform: translate(-2px, 2px); }
}

/* camada secundária (desfasada) */
@keyframes spasmB {
  0%   { transform: translate(2px, -1px); }
  18%  { transform: translate(2px, -1px); }

  19%  { transform: translate(5px, -3px); }
  20%  { transform: translate(2px, -1px); }

  36%  { transform: translate(2px, -1px); }

  37%  { transform: translate(3px, -2px); }
  38%  { transform: translate(2px, -1px); }

  64%  { transform: translate(2px, -1px); }

  65%  { transform: translate(6px, -4px); }
  67%  { transform: translate(2px, -1px); }

  85%  { transform: translate(2px, -1px); }

  86%  { transform: translate(4px, -2px); }
  87%  { transform: translate(2px, -1px); }

  100% { transform: translate(2px, -1px); }
}

@media (max-width: 700px) {

  .platforms {
    flex-direction: column;
    gap: 14px;
    padding: 0 24px;
  }

  .platform {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 700px) {

  .live-row-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    text-align: center;
  }

  .live-left {
    text-align: center;
    max-width: none;
  }

  .live-location {
    margin-left: 0;
  }

  .live-tickets {
    margin-left: 0;
    margin-top: 10px;
  }

}

/* =========================
   MOBILE RESET REAL (≤700px)
   ========================= */

@media (max-width: 700px) {

  /* ----- HERO ----- */
  .hero {
    height: 100vh;
    overflow: hidden;
  }

  /* esconde imagem desktop */
  .hero-img {
    display: none;
  }

  /* fundo mobile com crossfade */
.hero-mobile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center -60px;
  background-image: url("mobile-1.jpg");
  animation: mobileBgSwap 20s infinite linear;
  z-index: 0;
}


/* 8s total:
   - 0–25%  imagem 1 fixa
   - 25–37% fade para imagem 2
   - 37–62% imagem 2 fixa
   - 62–75% fade para imagem 1
   - 75–100% imagem 1 fixa
*/

@keyframes mobileBgSwap {
  /* IMAGEM 1 — parada */
  0% {
    background-image: url("mobile-1.jpg");
    opacity: 1;
  }

  31.25% { /* 2.5s */
    background-image: url("mobile-1.jpg");
    opacity: 1;
  }

  /* FADE PARA IMAGEM 2 — 1.5s */
  50% {
    background-image: url("mobile-2.jpg");
    opacity: 1;
  }

  /* IMAGEM 2 — parada */
  81.25% { /* +2.5s */
    background-image: url("mobile-2.jpg");
    opacity: 1;
  }

  /* FADE DE VOLTA PARA IMAGEM 1 — 1.5s */
  100% {
    background-image: url("mobile-1.jpg");
    opacity: 1;
  }
}



  /* fade continua */
  .hero::after {
    height: 45vh;
  }

  /* socials */
  .socials {
    top: 16px;
    gap: 18px;
  }

  /* MUSIC */
  .music-section {
    bottom: 14vh;
    padding: 0 24px;
  }

  .title {
    font-size: 2.2rem;
    margin-bottom: 28px;
  }

  /* plataformas em coluna */
  .platforms {
    flex-direction: column;
    gap: 14px;
  }

  .platform {
    width: 100%;
    text-align: center;
  }

  /* ----- LIVE ----- */
  .live-section {
    padding: 0 16px 120px;
  }

  .live-row {
    padding: 26px 0;
  }

  .live-row-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .live-left,
  .live-location {
    text-align: center;
    margin: 0;
  }

  .live-tickets {
    margin: 12px auto 0;
  }

  /* footer */
  .footer {
    margin-top: 60px;
    font-size: 0.7rem;
  }
}

@media (max-width: 700px) {
  .live-row-inner {
    transform: translateY(-10px);
  }
}

@media (max-width: 700px) {
  .live-section {
    margin-top: -40px;
  }
}




