/* Reset */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
user-select: none;
}


html, body{
height: 100svh;
 margin: 0;
padding: 0;
}


body{
font-family: 'Caprasimo', serif;
display: flex;
flex-direction: column;
}

/* Fondo fijo real */
.bg-fixed{
    position: fixed;
    inset: 0;
    width: 100vw;

    /* 👇 La clave para móviles modernos */
    height: 100dvh;

    background: url('../img/bg-mobile-bd.webp') center / cover no-repeat;
    z-index: -1;
}

/* Cambio automático para desktop */
@media (min-width: 768px){
    .bg-fixed{
        background-image: url('../img/bg-desktop-bd.webp') center / cover no-repeat;
    }
}


.container{
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
text-align: center;
}


.title h1{
font-size: clamp(42px, 5vw, 60px);
color: #fff;
padding-top: 10vh;
text-shadow:
0 0 5px rgba(255,255,255,0.6),
0 0 8px rgba(255,255,255,0.4);
}


.title h2{
font-size: clamp(18px, 4vw, 40px);
color: #fff;
text-shadow:
0 0 5px rgba(255,255,255,0.6),
0 0 8px rgba(255,255,255,0.4);
}


.cover img{
margin: 5vh 0;
width: 35vh;
border-radius: 10px;
}



/* ========== BOTONES PLATAFORMAS (GLASS) ========== */
.platforms{
  display: grid;
  grid-auto-flow: column;          /* 🔑 fluye en columnas */
  grid-auto-columns: max-content;  /* 🔑 ancho según contenido */
  gap: 24px;
  margin-top: 10px;
  justify-content: center;
}


/* Botón */
.platform-btn{
  width: fit-content; /* 🔑 el contenido manda */
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  padding: 0 0.2vw 0 24px;
  border-radius: 999px;

  font-family: 'Montserrat', sans-serif;
  font-size: clamp(12px, 1vw, 16px);
  letter-spacing: .12em;
  color: #fff;
  text-decoration: none;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
}

.platform-btn .icon{
  width: 2.7vw;
  height: 2.7vw;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-btn .icon img{
  width: 1.5vw;
}

@media (min-width: 768px){

.platformscel{
    display: none;
  }

    }


@media (max-width: 768px){
   .platforms{
    display: none;
    }

    .platformscel{
    display: flex;
    flex-direction: column;
    gap: 3vw;
  }

  .platformscelfila{
  display: grid;
  grid-auto-flow: column;          /* 🔑 fluye en columnas */
  grid-auto-columns: max-content;  /* 🔑 ancho según contenido */
  gap: 3vw;
  margin-top: 10px;
  justify-content: center;

  }

  /* Botón */
.platform-btn{
  width: fit-content; /* 🔑 el contenido manda */
  height: 12vw;
  gap: 2vw;
  padding: 0 1vw 0 24px;
  font-size: 3vw;
}

.platform-btn .icon{
  width: 10vw;
  height: 10vw;
}

.platform-btn .icon img{
  width: 6vw;
}

}

.socials{
display: flex;
justify-content: center;
gap: 16px;
padding: 16px;
padding-top: 40px;
}


.socials img{
width: 22px;
}


@media (max-width: 768px){
.title h1{
padding-top: 30px;
font-size: clamp(38px, 8vw, 120px);
text-shadow:
0 0 1px rgba(255,255,255,0.6),
0 0 4px rgba(255,255,255,0.4);
}


.title h2{
font-size: clamp(18px, 6vw, 50px);
text-shadow:
0 0 1px rgba(255,255,255,0.6),
0 0 4px rgba(255,255,255,0.4);
}

.cover img{
margin: 3vh 0;
width: 30vh;
border-radius: 10px;
}
}

/* Hover solo desktop */
@media (hover: hover) and (pointer: fine){

  .platform-btn{
    transition:
      background 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease,
      border-color 0.25s ease;
  }

  .platform-btn:hover{
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.45);
    box-shadow:
      0 10px 30px rgba(0,0,0,0.35),
      inset 0 0 0 1px rgba(255,255,255,0.15);
    transform: translateY(-2px);
  }

  .platform-btn:hover .icon{
    background: rgba(0,0,0,0.65);
  }
}
