:root{
  --bg:#050507;
  --text:#f4f4f6;
  --muted:#c7c2cb;
  --pink:#d12b85;
  --hot-pink:#ff3aa6;
  --cyan:#57dfff;
  --panel: rgba(7, 8, 14, .72);
  --panel-soft: rgba(16, 9, 22, .72);
  --stroke: rgba(209, 43, 133, .66);
  --shadow: 0 22px 70px rgba(0,0,0,.68);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.86)),
    radial-gradient(760px 420px at 31% 37%, rgba(255, 35, 154, .25), transparent 60%),
    radial-gradient(620px 420px at 71% 39%, rgba(35, 202, 255, .18), transparent 62%),
    url("../assets/bg-wall.jpg");
  background-size: auto, auto, auto, 612px 408px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed;
}

a{color:inherit; text-decoration:none}

.language-switch{
  position:fixed;
  top: 18px;
  right: 22px;
  z-index: 3000;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(5, 5, 7, .48);
  color: rgba(255,255,255,.58);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
}

.language-switch button{
  appearance:none;
  border:0;
  padding:0;
  color: inherit;
  background:transparent;
  font: inherit;
  cursor:pointer;
}

.language-switch button[aria-pressed="true"]{
  color: var(--hot-pink);
}

.language-switch button:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.rotate-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rotate-overlay p{
  color: #fff;
  font-size: 18px;
  letter-spacing: .08em;
  padding: 24px;
}

.wrap{
  position: relative;
  isolation: isolate;
  width:min(1000px, calc(100% - 48px));
  margin:0 auto;
  padding: 38px 0 46px;
}

.wrap::before{
  content:"";
  position:absolute;
  pointer-events:none;
  top: 12px;
  right: -30px;
  width: 440px;
  height: 210px;
  background: url("../assets/Huella_negro_.png") no-repeat center / contain;
  filter: invert(1) brightness(1.8) contrast(1.1);
  opacity: .13;
  transform: rotate(-16deg);
  z-index: 0;
}

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

.topbar{
  position:absolute;
  top: 24px;
  left: -46px;
  z-index: 2;
}

.brand{
  display:inline-flex;
  transition: transform .15s ease, filter .15s ease;
}

.brand:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.brand img{
  display:block;
  width: 168px;
  height: auto;
}

.lead{
  max-width: 860px;
  margin: 0 auto 32px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  text-align:center;
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}

.lead strong{
  color:var(--text);
  font-weight:800;
}

.pink{
  color: var(--hot-pink);
  font-weight:800;
}

.hero{
  width: min(880px, 100%);
  min-height: 400px;
  margin: 0 auto;
  padding: 34px 28px 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background:
    radial-gradient(420px 230px at 25% 64%, rgba(255, 22, 145, .42), transparent 72%),
    radial-gradient(430px 250px at 78% 56%, rgba(50, 211, 255, .30), transparent 74%),
    linear-gradient(to bottom, rgba(12, 12, 18, .66), rgba(3, 4, 8, .78));
  box-shadow: var(--shadow), inset 0 0 80px rgba(255, 25, 145, .08);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.05) 50%, transparent 51%) 0 0 / 56px 56px,
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.04) 50%, transparent 51%) 0 0 / 56px 56px;
  opacity:.23;
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  text-align:center;
}

.kickparty{
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: .42em;
  text-indent: .42em;
  color: rgba(255,255,255,.94);
}

.event-title{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 2px;
  font-family: "Satoshi", "Space Grotesk", Inter, sans-serif;
  font-weight: 900;
  line-height:.88;
  text-transform:uppercase;
}

.event-title span,
.event-title strong{
  display:block;
  color:#f7f9ff;
  text-shadow:
    2px 2px 0 #00ddff,
    -2px -2px 0 #ff3aa6,
    0 8px 18px rgba(0,0,0,.9),
    0 0 24px rgba(255,255,255,.22);
}

.event-title span{
  font-size: clamp(34px, 5.2vw, 56px);
  letter-spacing: .02em;
}

.event-title strong{
  font-size: clamp(32px, 4.8vw, 50px);
  letter-spacing: .16em;
  text-indent: .16em;
}

.date{
  margin-top: 8px;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.comeback{
  margin-top: 12px;
  color: var(--hot-pink);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(42px, 6vw, 64px);
  line-height:.9;
  text-transform:uppercase;
  transform: rotate(-4deg);
  text-shadow: 0 10px 18px rgba(0,0,0,.78), 0 0 28px rgba(255,58,166,.32);
}

.tagline{
  margin: 6px 0 10px;
  color: rgba(255,255,255,.9);
  font-family: "Permanent Marker", cursive;
  font-size: 18px;
  transform: rotate(-3deg);
}

.cta-wrap{
  display:flex;
  justify-content:center;
  margin: 12px 0 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  color:#fff;
  background: linear-gradient(100deg, #c42879, #df4c9c);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 26px rgba(255, 58, 166, .25);
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn img{
  width:18px;
  height:18px;
}

.countdown{
  width:min(800px, calc(100% - 22px));
  margin: 18px auto 18px;
  padding: 18px 24px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(8, 10, 18, .86), rgba(4, 6, 10, .88));
  box-shadow: 0 18px 42px rgba(0,0,0,.48);
}

.time{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 20px;
  font-variant-numeric: tabular-nums;
}

.time .big{
  min-width: 2ch;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(48px, 6vw, 60px);
  line-height: .92;
  font-weight: 900;
  letter-spacing: .08em;
  text-align:center;
}

.time [data-days]{
  min-width: 3ch;
}

.time .sep{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--pink);
  opacity:.85;
  font-size: clamp(42px, 5.6vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.units{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-align:center;
  text-transform: uppercase;
}

.cards{
  width:min(980px, 100%);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  overflow:hidden;
  min-height: 274px;
  border-radius: 12px;
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(47, 9, 63, .86), rgba(5, 6, 10, .92));
  box-shadow: 0 16px 34px rgba(0,0,0,.44);
}

.card .art{
  display:block;
  width:100%;
  aspect-ratio: 1.48;
  object-fit:cover;
  background: rgba(255,255,255,.03);
}

.card .body{
  padding: 12px 14px 14px;
  text-align:center;
}

.card h3{
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: .22em;
  font-size: 16px;
  font-weight: 900;
}

.card p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.35;
}

.playlist-section,
.instagram-section{
  width:min(820px, 100%);
  margin: 28px auto 0;
  text-align:center;
}

.playlist-section h2,
.instagram-section h2{
  margin: 0;
  color: var(--hot-pink);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1;
  text-transform:uppercase;
  transform: rotate(-2deg);
  text-shadow: 0 8px 18px rgba(0,0,0,.72);
}

.playlist-section > p,
.instagram-section > p{
  margin: 8px 0 10px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
}

.spotify-frame{
  position:relative;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.spotify-frame::after{
  content:"";
  position:absolute;
  top: 88px;
  left: 248px;
  width: 180px;
  height: 24px;
  background:#1f1f1f;
  pointer-events:none;
}

.spotify-frame::before{
  content:"";
  position:absolute;
  top: 336px;
  left: 132px;
  width: 170px;
  height: 30px;
  background:#202020;
  pointer-events:none;
  z-index:1;
}

.spotify-embed{
  display:block;
  overflow:hidden;
  border:0;
}

.post-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post{
  position:relative;
  overflow:hidden;
  min-height: 250px;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background:#15121a;
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

.post::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top, rgba(0,0,0,.70), transparent 56%);
  opacity:.24;
  pointer-events:none;
}

.post-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .25s ease, filter .25s ease;
}

.post:hover .post-image{
  transform: scale(1.035);
  filter: brightness(1.05);
}

.post span{
  position:absolute;
  top:12px;
  right:12px;
  z-index:1;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius: 9px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.22);
}

.post span img{
  width:20px;
  height:20px;
}

.footer{
  display:flex;
  justify-content:center;
  margin-top: 24px;
  color: rgba(255,255,255,.64);
  font-size: 14px;
}

.footer .heart{
  color: var(--hot-pink);
}

@media (max-width: 980px){
  .wrap{
    width:min(820px, calc(100% - 34px));
    padding-top: 128px;
  }

  .topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display:flex;
    justify-content:center;
    padding: 14px 0 26px;
    background: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.42) 62%, rgba(0,0,0,0));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .brand img{
    width: 112px;
  }

  .lead{
    font-size: 18px;
  }

  .hero{
    width: min(880px, 100%);
    min-height: 390px;
    padding: 28px 20px 24px;
  }

  .kickparty{
    font-size: 40px;
  }

  .cards,
  .post-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px){
  .language-switch{
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .wrap{
    width: min(480px, calc(100% - 24px));
  }

  .wrap::before{
    top: 88px;
    right: 50%;
    transform: translateX(50%) rotate(-10deg);
    width: 320px;
    height: 150px;
    opacity:.09;
  }

  .hero{
    min-height: 360px;
    border-radius: 18px;
  }

  .kickparty{
    letter-spacing: .28em;
    text-indent: .28em;
    font-size: 26px;
  }

  .event-title span{
    font-size: clamp(34px, 11vw, 48px);
  }

  .event-title strong{
    font-size: clamp(32px, 9vw, 42px);
  }

  .date{
    font-size: 16px;
  }

  .comeback{
    font-size: clamp(40px, 13vw, 58px);
  }

  .tagline{
    font-size: 16px;
  }

  .time{
    gap: 7px;
  }

  .time .big{
    font-size: 40px;
    letter-spacing: .03em;
  }

  .time .sep{
    font-size: 35px;
  }

  .units{
    font-size: 9px;
    letter-spacing: .13em;
  }

  .spotify-embed{
    height: 352px;
  }

  .spotify-frame::after{
    display:block;
    top: 88px;
    left: 154px;
    width: 116px;
    height: 22px;
    background:#202020;
  }

  .spotify-frame::before{
    top: 312px;
    left: 145px;
    width: 120px;
    height: 24px;
  }
}

@media (max-width: 820px) and (orientation: landscape){
  body > *:not(.rotate-overlay){
    display: none !important;
  }

  .rotate-overlay{
    display: flex;
  }
}
