* {
  font-family: "Inter", sans-serif;
}

.body-desk {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 40px 20px;
}

.app-card {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.app-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 48px 40px;
  text-align: center;
}

.app-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 52px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.app-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-header .badge-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.app-header .badge {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.app-content {
  padding: 48px 40px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  display: inline-block;
}

.feature-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}

.feature-card p {
  color: #475569;
  line-height: 1.5;
  font-size: 0.9rem;
}

.personaje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.personaje-item {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.personaje-item:hover {
  background: #e2e8f0;
  transform: translateX(4px);
}

.personaje-emoji {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
}

.personaje-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0f172a;
}

.personaje-info p {
  font-size: 0.8rem;
  color: #475569;
  margin: 0;
}

.tech-badge {
  display: inline-block;
  background: #e2e8f0;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 6px 6px 0;
  color: #1e293b;
}

.footer-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 32px;
  text-align: center;
  border-radius: 24px;
  margin-top: 32px;
}

.btn-download {
  background: white;
  color: #667eea;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: red;
  color: yellow;
}

hr {
  margin: 40px 0;
  border-color: #e2e8f0;
}

/* 🔥 NUEVO: Eliminar espacios extra al final */
.app-content > :last-child {
  margin-bottom: 0 !important;
}

.feature-card:last-child {
  margin-bottom: 0 !important;
}

.footer-badge {
  margin-top: 32px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .app-header {
    padding: 32px 20px;
  }

  .app-header h1 {
    font-size: 1.8rem;
  }

  .app-content {
    padding: 32px 20px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .personaje-grid {
    grid-template-columns: 1fr;
  }

  hr {
    margin: 30px 0;
  }
}
