/* Reset y base */
body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background: #0f0f0f;
  color: white;
}
header {
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
header h2 {
  margin: 0;
  color: #00ffc8;
  font-weight: 700;
}
nav button {
  background: #00ffc8;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
nav button:hover {
  background: #00cc9b;
}
.main-wrapper {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}
h1 {
  text-align: center;
  color: #fff;
}
.description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #ccc;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.game-icon {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s;
  cursor: pointer;
}
.game-icon:hover {
  background: #292929;
  transform: translateY(-5px);
}
.icon-emoji {
  font-size: 2.5rem;
}
.game-name {
  margin-top: 10px;
  font-weight: bold;
  color: #00ffc8;
}
.info-anuncio-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.boton-unir{
  background: #00ffc8;
  margin: 20px;
  padding: 20px 100px;
  font-size: 20px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
}
.boton-unir:hover{
  background: #069c7c;
}
.ad-column,
.info-column {
  flex: 1;
  min-width: 280px;
  background: #161616;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.ad-column h3,
.info-column h3 {
  color: #00ffc8;
  margin-top: 0;
  margin-bottom: 15px;
}
.info-column ul {
  list-style: none;
  padding: 0;
}
.info-column li {
  margin-bottom: 10px;
  color: #ccc;
}
.site-info {
  background: #161616;
  padding: 20px;
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 30px;
}
.site-info h2 {
  margin-top: 0;
  color: #00ffc8;
}
.payment-methods li {
  margin-left: 20px;
}

footer {
  background: #111;
  padding: 15px 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;  /* Centra todo horizontalmente */
  align-items: center;      /* Centra verticalmente */
  gap: 15px;                /* Espacio entre elementos */
  flex-wrap: nowrap;        /* Para que no se parta en varias líneas */
  border-top: 1px solid #222;
  text-align: center;
}

footer p,
footer a {
  color: #00ffc8;
  text-decoration: none;
  margin: 0;
}

footer a:hover {
  text-decoration: underline;
}

.fondo-coins {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.coin {
  position: absolute;
  bottom: -60px;
  width: 30px;
  height: 30px;
  background-image: url('/img/coin.png'); /* Asegurate de que esté en la carpeta */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  animation: subirCoin 20s linear infinite; /* 🔁 ahora es 20s, antes era 10s */
}

#overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(6px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 20px;
    }
	
    #modal {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 30px 25px;
      max-width: 380px;
      width: 85%;
      text-align: center;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
      animation: zoomIn 0.4s ease;
    }

    #modal h2 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    #modal p {
      color: #ccc;
      font-size: 1rem;
      margin-bottom: 25px;
    }

    #modal button {
      padding: 12px 24px;
      font-size: 1rem;
      background: #00c851;
      color: white;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.3s ease;
      width: 100%;
    }

    #modal button:hover {
      background: #007e33;
    }

    @keyframes zoomIn {
      from { transform: scale(0.85); opacity: 0; }
      to   { transform: scale(1);    opacity: 1; }
    }

    @media (max-width: 480px) {
      #modal h2 {
        font-size: 1.5rem;
      }

      #modal p {
        font-size: 0.95rem;
      }
    }

@keyframes popup {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes subirCoin {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) scale(0.7);
    opacity: 0;
  }
}