@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
  --color-primary: #c4c341;
  /* IMPORTANTE: Reemplaza este enlace por el link real de tu imagen del arma */
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg"); 
}

body {
  font-family: Lato, sans-serif;
}

body::before {
  content: "";
  position: fixed; /* Cambiado de 'absolute' a 'fixed' para que el fondo no se mueva al hacer scroll */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh; /* Se asegura de cubrir el 100% del alto de la pantalla */
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  /* Hemos eliminado el 'max-height: 400px' y el 'mask-image' que cortaban la imagen */
  pointer-events: none;
  
  /* OPCIONAL: Si el fondo es muy brillante y no se leen bien las letras, descomenta la siguiente línea quitando las diagonales y asteriscos */
  /* filter: brightness(0.4); */
}

 
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 5px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

.category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}

.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 5px;
}
.media-slider .open-lightbox {
  border-radius: 2px;
}

.popup.popup-media-slider .thumb {
  border-radius: 5px;
}
.popup.popup-media-slider .popup-close {
  border-radius: 5px;
}

/* --- INICIO DE TRANSPARENCIAS PERSONALIZADAS --- */

.site-home-categories .category,
.category-description,
.store-text,
.store-products-list .store-product,
.store-products-images .store-product,
.store-product-full,
.widget,
.store-category-tiered,
.site-header-inner,
.site-header {
    /* El 0.6 es el nivel de transparencia (60% sólido, 40% transparente) */
    background-color: rgba(15, 15, 15, 0.6) !important; 
    
    /* Esto da el efecto de cristal empañado para que el texto se lea bien */
    backdrop-filter: blur(8px); 
    
    /* Un borde sutil para que los cuadros no se pierdan en el fondo */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ajuste para que el fondo del header no sea doble */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
}

/* --- FIN DE TRANSPARENCIAS --- */

/* --- CABECERA TOTALMENTE TRANSPARENTE --- */

/* Esto quita el fondo de la franja superior completa */
.site-header, 
.site-header-inner, 
.site-header-inner .info,
.site-header-inner .info .image {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important; /* Quita sombras que puedan verse como líneas */
    border: none !important;     /* Quita bordes que delimiten el cuadro */
}

/* Si el logo o la imagen de usuario tiene un fondo blanco o gris, esto lo limpia */
.site-header-inner .info .image img {
    background: transparent !important;
}

/* Opcional: Si quieres que el texto de la IP y Discord resalte más al no tener fondo */
.site-header-inner .info .text h1, 
.site-header-inner .info .text p,
.site-header-inner .info .text a {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Agrega una sombra al texto para que sea legible */
}

