:root{
  --bg:#07070a;
  --text:#e6e6ea;
  --muted:#b9b9c4;
  --glass: rgba(10,10,14,.35);
  --stroke: rgba(255, 255, 255, .16);
  --pink:#C02875;
  --violet:#b200ff;
  --orange:#ffb03a;
  --shadow: 0 18px 40px rgba(0,0,0,.55);
  --radius: 26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background-color: var(--bg);
  background-image:
  radial-gradient(900px 520px at 55% 28%, rgba(255,42,166,.16), transparent 30%),
  radial-gradient(800px 520px at 20% 35%, rgba(255,42,166,.06), transparent 30%),
  linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.86)),
  url("../assets/bg-wall.jpg");
  background-size: auto, auto, auto, 768px 768px;
  background-repeat:no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed, fixed;
}

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

/* ===== Layout ===== */
.wrap{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
  padding: 34px 0 56px;

  /* deja espacio para los botones flotantes (logo + IG) */
  padding-top: 120px;
}

/* El header ya NO es barra: lo dejamos como contenedor semántico */
.topbar{
  position: relative;
  padding: 0;     /* evita altura extra */
  margin: 0;
  border: 0;
}

/* ===== Floating Logo ===== */

.brand{
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1200;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* sin cápsula */
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  transition: transform .15s ease, filter .15s ease;
}

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

.brand img{
  height: 120px; /* antes 84px: prueba 110–140px según te encaje */
  width: auto;
  display:block;
}

/* ===== Floating Instagram Button ===== */
.ig{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1200;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  width: 64px;
  height: 64px;
  border-radius: 1px;

  background: rgba(10,10,14,.22);
  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);

  transition: transform .15s ease, filter .15s ease, background .15s ease;
}

.ig:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  background: rgba(10,10,14,.26);
}

.ig img{width:28px; height:28px}

/* ===== Lead ===== */
.lead{
  margin: 18px auto 20px;
  max-width: 68ch;
  line-height: 1.55;
  color: var(--muted);
  font-size: 20px;
  text-align:center;
}
.lead strong{color:var(--text); font-weight:700}
.lead .pink{color: var(--pink); font-weight:800}
.lead .violet{color: var(--pink); font-weight:800}

/* ===== Hero (glass) ===== */
.hero{
  margin-top:22px;
  width: 100%;        /* se ajusta a .wrap */
  max-width: 880px;   /* mantiene límite en desktop */
  margin-left:auto;
  margin-right:auto;

  border-radius: var(--radius);
  background: var(--glass);
  border: 0.1px solid rgba(45, 45, 45, 0.472);
  box-shadow: var(--shadow);

  padding: 26px 28px 22px;

  backdrop-filter: blur(0.2px);
  -webkit-backdrop-filter: blur(10px);

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  background: radial-gradient(900px 260px at 50% 0%, rgba(255,255,255,.09), transparent 60%);
  pointer-events:none;
  z-index:1;
}

.hero-inner{
  position: relative;
  z-index: 2;
}

.kickparty{
  font-family: 'Satoshi', sans-serif;
  text-align:center;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: 46px;
  margin: 6px 0 6px;

  /* 👇 degradado claro */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffd6ea 45%,
    #ff5fa2 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.date{
  text-align:center;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 14px;
}
.meta{
  text-align:center;
  color: rgba(230,230,234,.82);
  margin: 10px 0 16px;
}

/* ===== Button ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  background: linear-gradient(100deg, #C02875, #C02875 );
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(255,42,166,.18);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.05)}
.btn img{width:18px; height:18px}

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

/* ===== Countdown ===== */
.countdown{ margin-top: 4px }

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


.time .big{
  font-size: 60px;
  font-weight: 950;
  letter-spacing: .06em;
  text-align: center;
  min-width: 2ch;
}

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

/* LOS DOS PUNTOS */
.time .sep{
  display: inline-flex;
  place-items: center;
  width: .8ch;
  opacity:.45;
  font-size: 56px;
  font-weight: 850;
  line-height: 1;
  margin: 0;
}

.units{
  display:flex;
  justify-content:center;
  gap: 46px;
  margin-top: 10px;
  color: rgba(230,230,234,.7);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* desktop */
.units span{
  min-width:72px;
  text-align:center;
}

/* ===== Cards ===== */
.cards{
  margin: 18px auto 0;
  max-width: 980px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  background: rgba(10,10,14,.58);
  border:1px solid rgba(255,42,166,.25);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.45);
}
.card .art{display:block; width:100%; height:auto}
.card .body{padding: 12px 14px 14px; text-align:center}
.card h3{
  margin: 0;
  letter-spacing: .18em;
  font-size: 16px;
  font-weight: 950;
}
.card p{
  margin: 8px 0 0;
  color: rgba(230,230,234,.75);
  font-size: 13px;
}

/* ===== Footer ===== */
.footer{
  display:flex;
  justify-content:center;
  margin-top: 18px;
  color: rgba(230,230,234,.55);
  font-size: 13px;
}
.footer .heart{color: var(--pink)}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .lead{font-size: 18px}
  .kickparty{font-size: 40px}
  .time .big{font-size: 50px}
  .cards{grid-template-columns: 1fr;}
  .units{gap: 18px}

  /* más espacio arriba en tablets, para no pisar texto */
  .wrap{ padding-top: 108px; }
}


/* =========================
   HUELLA DECORATIVA 
========================= */

.wrap{
  position: relative;
  isolation: isolate;
}

.wrap::before{
  content:"";
  position:absolute;
  pointer-events:none;

  top: 80px;
  right: 6%;
  width: 520px;
  height: 280px;

  background: url("../assets/Huella_negro_.png") no-repeat center / contain;

  /* convierte negro→blanco y "mata" el fondo */
  filter: invert(1) brightness(1.35) contrast(1.1) blur(.2px);

  opacity: .07;
  transform: rotate(-14deg);
  z-index: 0;
}

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

@media (max-width: 520px){
  .wrap::before{
    top: 90px;
    right: 50%;
    transform: translateX(50%) rotate(-10deg);
    width: 320px;
    height: 180px;
    opacity: .06;
  }
}

/* =========================
   LOGO FIJO EN MOBILE
========================= */

@media (max-width: 520px){

  /* Header fijo */
  .topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;

    display: flex;
    justify-content: center;
    padding: 14px 0 18px;

    background: linear-gradient(
    to bottom,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,0) 100%
  );

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

  /* El logo ya no es fixed: lo fija el header */
  .brand{
    position: static;
    transform: none;
  }

  .brand img{
    height: 78px; /* ajusta si lo quieres más grande/pequeño */
  }

  /* Empujamos el contenido para que no quede debajo */
  .wrap{
    padding-top: 120px;
  }
}

@media (max-width: 520px){
  .time{
    gap: 6px;      /* separaciones más pequeñas */
  }
  .time .big{
    font-size: 42px;
    line-height: 1;
  }
  .time .sep{
    font-size: 38px;
  }

  .units{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: .18em;
  }

  .units span{
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 520px){

  /* evita que nada “asome” por los lados */
  .countdown{ 
    width: 100%;
    overflow: hidden;
  }

  /* el timer siempre cabe */
  .time{
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .time .big{
    font-size: 40px;        /* antes 60 */
    letter-spacing: .03em;  /* baja el tracking (CLAVE) */
  }

  .time .sep{
    font-size: 36px;
    width: .7ch;
    margin: 0;
  }
}
/* ===== Bloqueo horizontal en móvil ===== */

.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;
}

/* Mostrar solo en móvil horizontal */
@media (max-width: 820px) and (orientation: landscape){
  body > *:not(.rotate-overlay){
    display: none !important;
  }

  .rotate-overlay{
    display: flex;
  }
}

/* ===== Mobile override: Kickparty glass más transparente ===== */
@media (max-width: 520px){
  .hero{
    background: rgba(10,10,14,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (max-width: 520px){
  .hero::before{
    background: radial-gradient(
      600px 220px at 50% 0%,
      rgba(255,255,255,.14),
      transparent 70%
    );
  }
}
/* ===== Mobile: hero más “cristal” y menos oscuro (iOS) ===== */
@media (max-width: 520px){
  .hero{
    background: rgba(10,10,14,.08);         /* un pelín más claro */
    backdrop-filter: blur(4px) saturate(120%);
    -webkit-backdrop-filter: blur(4px) saturate(120%); /* CLAVE en iPhone */
    border: 1px solid rgba(255,255,255,.14);           /* borde más “glass” */
  }
}



