/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General */
body {
  font-family: 'Poppins', sans-serif;
  background: #121212;
  color: #f1f1f1;
  line-height: 1.6;
}

a {
  color: #ffffffdb;
  text-decoration: none;
}

ul {
  list-style: none;
}

h2 {
  margin-bottom: 0.5em;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background: linear-gradient(135deg, #092d55c5, #121212);
  box-shadow: 0 2px 4px #000;
}

.logo {
  font-size: 1.8em;
  color: #00ffcc;
}

.logo-img {
  height: 85px; /* Aumenta o reduce según necesites */
  transition: transform 0.3s ease;
}

.logo-img2 {
  height: 210px; /* Aumenta o reduce según necesites */
  transition: transform 0.3s ease;
}

.logo-img3 {
  height: 2px; /* Aumenta o reduce según necesites */
  transition: transform 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 0.3rem; /* espacio horizontal entre los botones */
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-weight: bold;
  color: #ffffff;
  transition: 0.3s ease;
}

/* Colores individuales */
.btn-inicio { background-color: #7f807f3b; }
.btn-sobre { background-color: #7f807f3b; }
.btn-normativa { background-color: #7f807f3b; }
.btn-tienda { background-color: #7f807f3b; }
.btn-whitelist { background-color: #7f807f3b; }

.nav-links a:hover {
  filter: brightness(1.2);
  color: #fff;
}

.normativa-section {
  background: #121212;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4em 2em;
  background: url('https://i.imgur.com/rCkO3Tq.jpeg') no-repeat center center/cover;
  color: #fff;
}

.hero .btn {
  display: inline-block;
  margin: 1em;
  padding: 0.8em 1.5em;
  background: #7f807f3b;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}

.hero .btn:hover {
  background: #7f807f3b;
  color: #fff;
}

/* Sections */
.section {
  padding: 4em 2em;
  background-color: #1e1e1e;
  border-top: 1px solid #333;
}

/* Tienda */
.store-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
}

.item {
  flex: 1 1 250px;
  padding: 1em;
  background-color: #292929;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffffff20;
}

.buy-btn {
  margin-top: 1em;
  margin-left: 30%;
  padding: 0.6em 1.2em;
  background-color: #7f807f3b;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  font-weight: bold;
}

.buy-btn:hover {
  background-color: #7f807f79;
  color: #fff;
}

/* Formularios */
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 400px;
  margin: auto;
}

input, button {
  padding: 0.8em;
  border-radius: 5px;
  border: none;
}

button {
  background-color: #7f807f3b;
  color: #ffffff;
  font-weight: bold;
}

button:hover {
  background-color: #7f807f71;
  color: #fff;
}

/* Registro oculto */
.hidden {
  display: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2em;
  background: linear-gradient(135deg, #092d55c5, #121212);
  border-top: 1px solid #333;
}


/* Animación fade-in al cargar */
body {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.discord-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #cee21420, #121212);
  padding: 4em 2em;
  border-top: 2px solid #cee21420;
}

.discord-content {
  flex: 1;
  color: #fff;
  max-width: 600px;
}

.discord-content h3 {
  font-size: 1rem;
  color: #cee21420;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discord-content h2 {
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
  margin-left: 5em;
}


.discord-btn:hover {
  background-color: #88dd00;
  color: #000;
}

.discord-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
}

.discord-image img {
  max-width: 40%;
  height: auto;
}

.landing-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.header-overlay {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000000d0, #00000090);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4rem;
}

.header-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.header-buttons a {
  padding: 0.8em 2em;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.btn-discord {
  background-color: #7289da;
  color: #fff;
}

.btn-whitelist {
  background-color: #27628a;
  color: #fff;
}

.btn-play {
  background-color: #e67e22;
  color: #fff;
}


.btn-inmobiliaria {
  background-color: #1b6b28;
  color: #fff;
}

.btn-discord:hover,
.btn-whitelist:hover,
.btn-inmobiliaria:hover,
.btn-play:hover {
  transform: scale(1.05);
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
  z-index: 1;
}

/* === Discord + Servidores Oficiales === */
.server-section {
  margin-top: 2em;
  margin-left: 10em;
}

.section-title {
  font-size: 1.3em;
  font-weight: bold;
  background: linear-gradient(to right, #00ffcc, #0e8c63);
  padding: 0.5em 1em;
  text-align: center;
  color: #000;
  border-radius: 6px;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.server-group {
  margin-bottom: 1.8em;
}

.server-label {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff20, #292929);
  color: #fff;
  padding: 0.4em 1em;
  font-size: 0.85em;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

.server-label.general {
  background: linear-gradient(135deg, #ffffff20, #292929);
}

.server-box {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #00000020, #121212);
  padding: 1em;
  border-radius: 10px;
  margin-top: 0.5em;
  gap: 1em;
  box-shadow: 0 0 10px linear-gradient(135deg, #cee21420, #121212);
  transition: transform 0.3s ease;
}

.server-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px #cee21420;
}

.server-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  
  .discord-section {
    flex-direction: column;
  }

  .discord-content h2 {
    margin-left: 0;
    text-align: center;
  }

  .discord-btn {
    margin-left: 0;
    display: block;
    text-align: center;
    margin: 1em auto;
  }

  .discord-image img {
    max-width: 70%;
    margin: 0 auto;
  }
}

.landing-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #ffffff;
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 10px #000000;
  animation: fadeInDown 1.2s ease-in-out;
  pointer-events: none;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .landing-title {
    font-size: 2em;
    top: 15%;
  }
}


.about-section {
  padding: 4em 2em;
  background: linear-gradient(135deg, #cee21420, #121212);
  text-align: center;
}

.about-title {
  font-size: 2.5em;
  margin-bottom: 2em;
  color: #ffffff;
  text-shadow: 0 0 8px #cde21445;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 2em;
  max-width: 300px;
  margin: 0 auto;
}

.about-card {
  background: linear-gradient(135deg, #00000020, #121212);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 0 10px #cee21420;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #cee21420;
}

.about-card h3 {
  margin-bottom: 0.5em;
  color: #ffffff;
}

.about-card p {
  color: #dddddd;
  line-height: 1.5;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}



.cards-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.cards-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  width: 100%;
}

.card {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* proporción 4:3 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-in-out;
  display: block;
}

.card:hover {
  transform: scale(1.03);
}

.card-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
}

.card-large {
  display: grid;
  max-width: 700px;
  width: 100%;
  height: 0;
  padding-bottom: 15%;
  background-position: right center;
}

/* Imágenes de fondo */
.card-general {
  background-image: url('./cards/normativa_general.jpg');
}
.card-negocios {
  background-image: url('./cards/normativa_negocios.jpg');
}
.card-ilegal {
  background-image: url('./cards/normativa_ilegal.jpg');
}
.card-atracos {
  background-image: url('./cards/normativa_atracos.jpg');
}
.card-streaming {
  background-image: url('./cards/normativa_streaming.jpg');
  margin-left: 10rem; /* o 2rem según lo que necesites */
}

/* Responsive */
@media (max-width: 768px) {
  .cards-small {
    grid-template-columns: 1fr;
  }

  .card-large {
    height: 250px;
  }
}



/* Dropdown Nav */
.navbar .nav-links li.dropdown {
  position: relative;
}

.navbar .nav-links li.dropdown .dropdown-menu {
  display: none;
  font-size: smaller;
  position: absolute;
  top: 100%;
  left: -10%;
  background: #fff;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  min-width: 150px;
  z-index: 1000;
}

.navbar .nav-links li.dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.navbar .nav-links li.dropdown .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

.navbar .nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown funcional estilo listado vertical */
.navbar .nav-links li.dropdown {
  position: relative;
}

.navbar .nav-links li.dropdown .dropdown-menu {
  display: none; /* oculto por defecto */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2e2e2e;
  border: 1px solid #444;
  border-radius: 6px;
  min-width: 180px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
}

/* Mostrar el dropdown al hacer hover */
.navbar .nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Asegura disposición en columna */
.navbar .nav-links li.dropdown .dropdown-menu li {
  display: block;
  width: 100%;
}

/* Estilo de cada opción */
.navbar .nav-links li.dropdown .dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  color: #f1f1f1;
  background-color: transparent;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: left;
}

/* Hover de opciones */
.navbar .nav-links li.dropdown .dropdown-menu li a:hover {
  background-color: #2a2a2a;
}



/* Dropdown funcional estilo listado vertical */
.navbar .nav-links li.dropdown {
  position: relative;
}

.navbar .nav-links li.dropdown .dropdown-menu2 {
  display: none; /* oculto por defecto */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2e2e2e;
  border: 1px solid #444;
  border-radius: 6px;
  min-width: 180px;
  width: 10%;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
}

/* Mostrar el dropdown al hacer hover */
.navbar .nav-links li.dropdown:hover .dropdown-menu2 {
  display: block;
}

/* Asegura disposición en columna */
.navbar .nav-links li.dropdown .dropdown-menu2 li {
  display: block;
  width: 100%;
}

/* Estilo de cada opción */
.navbar .nav-links li.dropdown .dropdown-menu2 li a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  color: #f1f1f1;
  background-color: transparent;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: left;
}

/* Hover de opciones */
.navbar .nav-links li.dropdown .dropdown-menu2 li a:hover {
  background-color: #2a2a2a;
}

