﻿/* Reset y configuración base */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0d0c1a;
  color: #f4f4f4;
  scroll-behavior: smooth;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('assets/Imagenes/Menu/TopBG.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1rem;
  color: #ccc;
  max-width: 500px;
  margin: auto;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background-color: #1e1e2f;
  padding: 1rem 0;
}

.navbar a {
  color: #8be9fd;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #50fa7b;
}

/* Paneles y tarjetas */
.panel {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
}

.card-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #1e1e2f;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  max-width: 200px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
}

footer {
  background: #1e1e2f;
  text-align: center;
  padding: 0.1rem;
  color: #888;
  margin-top: 0.1rem;
}


/* Fade in animación */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Barra superior */
.top-bar {
  background-color: #1e1e2f;
  color: #f4f4f4;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #333;
}

.top-bar-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Botones de autenticación */
.auth-buttons a {
  color: #8be9fd;
  text-decoration: none;
  margin-left: 1rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid #8be9fd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.auth-buttons a:hover {
  background-color: #8be9fd;
  color: #1e1e2f;
}

/* Logo */
.auth-logo img {
  width: 128px;
  height: 128px;
  margin-bottom: 1rem;
}

/* Estructura de login y registro */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center; /* ✅ centra verticalmente */
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  padding: 2rem;
  min-height: 80vh; /* ✅ evita que sea más alto de lo necesario */
  margin: auto;
}


.auth-art {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.auth-art img {
  width: 280px;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
 box-shadow: 0 0 0px rgba(80, 250, 123, 0.3);
}


/* Cuadro de login / registro */
.auth-panel {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 2rem;
  background: rgba(30, 30, 47, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(139, 233, 253, 0.3);
  text-align: center;
  color: #f4f4f4;
  backdrop-filter: blur(50px);
}

.auth-panel h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #8be9fd;
}

.auth-panel form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-panel label {
  text-align: left;
  color: #ccc;
  font-size: 0.9rem;
}

.auth-panel input {
  padding: 0.6rem;
  border: none;
  border-radius: 8px;
  background: #225871   ;
  color: #f4f4f4;
}

.auth-panel button {
  padding: 0.7rem;
  background: linear-gradient(to right, #50fa7b, #8be9fd);
  color: #1e1e2f;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-panel button:hover {
  background: linear-gradient(to right, #8be9fd, #50fa7b);
}

#login-msg,
#register-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ff79c6;
}

.home-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #8be9fd;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.home-link:hover {
  color: #50fa7b;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .auth-art {
    justify-content: center;
  }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Noticias */
.news-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 2rem;
  background-color: rgba(30, 30, 47, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(139, 233, 253, 0.2);
  backdrop-filter: blur(40px);
}

.news-section header {
  text-align: center;
  margin-bottom: 2rem;
}

.news-section header h2 {
  font-size: 2rem;
  color: #8be9fd;
  margin-bottom: 0.5rem;
}

.news-section header img {
  width: 80px;
  height: auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-card {
  display: flex;
  background: #1e1e2f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: scale(1.01);
}

.news-card img {
  width: 200px;
  object-fit: cover;
  height: auto;
}

.news-content {
  padding: 1.2rem;
  flex: 1;
}

.news-content h3 {
  color: #50fa7b;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.news-content p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, #50fa7b, #8be9fd);
  color: #1e1e2f;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: linear-gradient(to right, #8be9fd, #50fa7b);
}

/* Responsive para noticias */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
    align-items: center;
  }

  .news-card img {
    width: 100%;
    height: auto;
  }

  .news-content {
    padding: 1rem;
  }
}
/* Redes Sociales */
.social-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.social-section h2 {
  font-size: 2.5rem;
  color: #8be9fd;
  margin-bottom: 2rem;
}

.social-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.social-card {
  background: #1e1e2f;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  width: 200px;
  box-shadow: 0 0 15px rgba(139, 233, 253, 0.3);
  transition: transform 0.3s ease;
  color: #f4f4f4;
}

.social-card:hover {
  transform: scale(1.05);
}

.social-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.social-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #50fa7b;
}

.social-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #50fa7b;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.social-card a:hover {
  color: #8be9fd;
}

/* Responsive */
@media (max-width: 600px) {
  .social-cards {
    flex-direction: column;
    align-items: center;
  }
  .social-card {
    width: 90%;
  }
}
/* Estructura de launcher */
.launcher-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.launcher-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  padding: 2rem;
  margin: auto;
}

.launcher-art img {
  width: 280px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(80, 250, 123, 0.3);
}

.launcher-panel {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 2rem;
  background: rgba(30, 30, 47, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(139, 233, 253, 0.3);
  text-align: center;
  color: #f4f4f4;
  backdrop-filter: blur(50px);
}

.launcher-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #8be9fd;
}

.launcher-panel p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.download-button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(to right, #50fa7b, #8be9fd);
  color: #1e1e2f;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 1rem;
}

.download-button:hover {
  background: linear-gradient(to right, #8be9fd, #50fa7b);
}

.launcher-msg {
  font-size: 0.9rem;
  color: #ff79c6;
}

@media (max-width: 768px) {
  .launcher-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .launcher-art {
    justify-content: center;
  }
}
.banner-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  text-align: center;
}

.banner-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.banner-text p {
  font-size: 1rem;
  color: #555; /* Color de texto más suave */
  margin-bottom: 1rem;
}

.banner-download img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.banner-download img:hover {
  transform: scale(1.05);
}
#particles-download {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.banner-download {
  position: relative;
  overflow: hidden;
  background-color: #120f1e; /* o tu color místico */
  padding: 3rem 1rem;
  border-radius: 1rem;
}

.banner-download .banner-text,
.banner-download a {
  position: relative;
  z-index: 1;
}
