/* -------- PÁGINA DE APP INDIVIDUAL -------- */

.app-page {
  padding: 30px 15px;
  max-width: 900px;
  margin: auto;
  animation: fadeInUp 1s ease;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.app-header img {
  width: 90px;
  height: 90px;
  border-radius: 20%;
  border: 2px solid #0b6efd;
  box-shadow: 0 5px 15px rgba(11, 110, 253, 0.2);
}

.app-info h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #0b6efd;
}

.app-info p {
  font-size: 1rem;
  color: #555;
}

/* -------- DATOS DE LA APP -------- */
.app-meta {
  display: flex;
  gap: 15px;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* -------- BOTÓN DESCARGA -------- */
.download-btn {
  background-color: #0b6efd;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 30px;
}
.download-btn:hover {
  background-color: #005ce6;
  transform: scale(1.05);
}

/* -------- CARRUSEL -------- */
.screenshots {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.screenshots img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.screenshots img:hover {
  transform: scale(1.05);
}

/* -------- SECCIONES -------- */
.about, .categorias, .califica, .opiniones {
  margin-bottom: 30px;
}
.about h2,
.califica h2,
.opiniones h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0b6efd;
}
.about p,
.opiniones p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* -------- ESTRELLAS -------- */
.rating-stars {
  font-size: 1.5rem;
  color: gold;
}

/* -------- COMENTARIOS -------- */
.comentarios p {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* -------- MENÚ DE TRES PUNTOS -------- */
.dots-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
.dots-menu span {
  font-size: 1.5rem;
  color: #0b6efd;
}
.dots-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  z-index: 50;
}
.dots-dropdown a {
  display: block;
  padding: 10px 15px;
  color: #333;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}
.dots-dropdown a:last-child {
  border-bottom: none;
}
.dots-dropdown a:hover {
  background-color: #f0f0f0;
}

/* -------- FOOTER -------- */
footer {
  padding: 20px;
  font-size: 0.9rem;
  text-align: center;
  background-color: #fafafa;
  color: #555;
}

/* -------- ANIMACIÓN -------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- RESPONSIVE -------- */
@media screen and (max-width: 600px) {
  .app-header {
    flex-direction: column;
    text-align: center;
  }
  .app-meta {
    justify-content: center;
  }
}