/*
Theme Name: CryptoPlay
Theme URI: https://www.ciegoshop.com/
Author: Yasser
Author URI: https://www.ciegoshop.com/
Description: Tema personalizado para apuestas, predicciones y juegos con USDT.
Version: 1.0
License: GPLv2 or later
Text Domain: cryptoplay
*/

:root {
  --verde: #00A86B;
  --dorado: #FFD700;
  --negro: #111111;
  --blanco: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--negro);
  color: var(--blanco);
}

/* ====== Cabecera ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--verde);
  padding: 10px 20px;
}

header .logo a {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--dorado);
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin-left: 15px;
}

header nav ul li a {
  color: var(--blanco) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.3s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

header nav ul li a:hover {
  color: var(--dorado) !important;
}

/* ====== Saldo ====== */
header .saldo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.saldo-usdt {
  color: var(--dorado);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.saldo-bonos {
  color: var(--negro);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
}

.saldo-login {
  color: #ccc;
}

/* ====== Menú Usuario ====== */
.user-menu {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

.user-icon {
  font-size: 1.6em;
  cursor: pointer;
  color: var(--blanco);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background: var(--verde);
  list-style: none;
  padding: 10px;
  margin: 0;
  border-radius: 5px;
  min-width: 140px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.user-dropdown li {
  margin: 5px 0;
}

.user-dropdown li a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 500;
}

.user-dropdown li a:hover {
  color: var(--dorado);
}

.user-menu:hover .user-dropdown {
  display: block;
  opacity: 1;
}

/* ====== Banner Hero ====== */
.hero {
  background: url('banner.webp') no-repeat center center;
  background-size: cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.hero-btn {
  background: var(--dorado);
  color: var(--negro);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: var(--blanco);
}

/* ====== Beneficios ====== */
.beneficios {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background: #1a1a1a;
}

.beneficio {
  text-align: center;
  color: var(--blanco);
}

.beneficio i {
  font-size: 2em;
  color: var(--dorado);
  margin-bottom: 10px;
}

/* ====== Cómo funciona ====== */
.como-funciona {
  padding: 40px 20px;
  text-align: center;
}

.como-funciona h2 {
  margin-bottom: 20px;
  color: var(--dorado);
}

.pasos {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.paso {
  background: var(--verde);
  color: var(--blanco);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* ====== Testimonios ====== */
.testimonios {
  padding: 40px 20px;
  background: #111;
  text-align: center;
}

.testimonios h2 {
  color: var(--dorado);
  margin-bottom: 20px;
}

.testimonios blockquote {
  font-style: italic;
  margin: 10px auto;
  max-width: 600px;
  color: var(--blanco);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 15px;
  background: var(--verde);
  color: var(--blanco);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links ul li a {
  color: var(--negro) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--dorado) !important;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .user-dropdown {
    right: auto;
    left: 0;
  }

  .beneficios {
    flex-direction: column;
    gap: 20px;
  }

  .pasos {
    flex-direction: column;
    gap: 15px;
  }
}
.saldo-login a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  margin: 0 5px;
  transition: color 0.3s;
}

.saldo-login a:hover {
  color: var(--dorado);
}
/* Formularios WooCommerce */
.woocommerce form.login,
.woocommerce form.register {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 8px;
  color: var(--blanco);
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.woocommerce form.login input,
.woocommerce form.register input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #222;
  color: var(--blanco);
}

.woocommerce form.login button,
.woocommerce form.register button {
  background: var(--dorado);
  color: var(--negro);
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.woocommerce form.login button:hover,
.woocommerce form.register button:hover {
  background: var(--blanco);
}
.crypto-login-form,
.crypto-register-form {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 8px;
  color: var(--blanco);
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  max-width: 400px;
  margin: 20px auto;
}

.crypto-login-form label,
.crypto-register-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.crypto-login-form input,
.crypto-register-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #222;
  color: var(--blanco);
}

.crypto-login-form button,
.crypto-register-form button {
  background: var(--dorado);
  color: var(--negro);
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  transition: background 0.3s;
  cursor: pointer;
}

.crypto-login-form button:hover,
.crypto-register-form button:hover {
  background: var(--blanco);
}
/* Bloque social login/register */
.social-login,
.social-register {
  text-align: center;
  margin-top: 20px;
}

.social-login p,
.social-register p {
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--dorado);
}

/* Botón de Google */
.nsl-container .nsl-button-google {
  display: inline-block;
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  background: #fff !important;
  color: #333 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nsl-container .nsl-button-google:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

/* Mensajes de error */
.crypto-error {
  text-align: center;
  margin-top: 15px;
  color: #ff4d4d;
  font-weight: bold;
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
/* Centrar el botón de Google */
.nsl-container {
  text-align: center !important;
  margin-top: 15px;
}

.nsl-container .nsl-button-google {
  display: inline-block !important;
  margin: 0 auto !important;
}
/* Ajuste del botón de Google */
.nsl-container {
  text-align: center !important;
  margin-top: 15px;
}

.nsl-container .nsl-button-google {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important; /* evita que se expanda demasiado */
  min-width: 220px;       /* tamaño razonable */
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  background: #fff !important;
  color: #333 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nsl-container .nsl-button-google:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
/* Mensajes de error estilo validación */
.crypto-error {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #ff4d4d;
  font-weight: 500;
}