/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Yantramanav', sans-serif;
  height: 100vh;
  background: #000;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.logo {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: auto;
  opacity: 0.9;
  display: block;
  z-index: 1000;
}

.instagram-link {
  position: fixed;
  top: 50px;
  right: 30px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.instagram-link:hover {
  opacity: 1;
}

.main-content {
  max-width: 800px;
  padding: 0 20px;
  margin-top: 20px;
}

.title {
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
}

.subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-style: italic;
  color: #D4AF37;
}

.coming-soon {
  font-size: 2.5rem;
  letter-spacing: 8px;
  margin-bottom: 2.5rem;
  font-weight: bold;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 4.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.category {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Yantramanav', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  transition: all 0.4s ease;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}

.category:hover {
  opacity: 1;
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.8);
  transform: translateY(-2px);
}

.footer {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  opacity: 0.7;
  letter-spacing: 1px;
  color: white;
}

/* Responsive mejorado para iPhone */
@media (max-width: 768px) {
  .main-content {
    margin-top: 40px;
    padding: 0 20px;
  }

  .title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .coming-soon {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
  }

  .categories {
    gap: 2.5rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .category {
    width: 140px;
    height: 140px;
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .logo {
    top: 35px;
    width: 120px;
  }

  .instagram-link {
    top: 35px;
    right: 20px;
  }

  .footer {
    bottom: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    margin-top: 60px;
    padding: 0 15px;
  }

  /* Ajuste específico para Safari móvil - Solo aspectos de CSS, no altura */
  @supports (-webkit-touch-callout: none) and (max-width: 480px) {
    .logo {
      top: 15px;
    }

    .main-content {
      margin-top: 50px;
    }
    
    .footer {
      bottom: 15px;
    }
  }

  .title {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
  }

  .subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .coming-soon {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
  }

  .categories {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .category {
    width: 110px;
    height: 110px;
    font-size: 0.7rem;
    line-height: 1.1;
  }

  .logo {
    top: 20px;
    width: 65px;
    margin-bottom: 10px;
  }

  .instagram-link {
    top: 20px;
    right: 15px;
  }

  .footer {
    bottom: 20px;
    font-size: 0.65rem;
    padding: 0 10px;
    line-height: 1.3;
  }
}

/* Animaciones sutiles */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > * {
  animation: fadeIn 1s ease forwards;
}

.title { animation-delay: 0.2s; }
.subtitle { animation-delay: 0.4s; }
.coming-soon { animation-delay: 0.6s; }
.categories { animation-delay: 0.8s; }

.logo,
.footer {
  animation: fadeIn 1s ease forwards;
  animation-delay: 1s;
}

/* Asegurar que el logo mantenga su posición */
.logo {
  animation: logoFadeIn 1s ease forwards !important;
  animation-delay: 1s;
}

@keyframes logoFadeIn {
  from { opacity: 0; }
  to { opacity: 0.9; }
}