@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Cinzel+Decorative:wght@400;700;900&family=Roboto+Condensed:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
    --wow-blue-primary: #0074e0;
    --wow-blue-light: #00aeff;
    --wow-blue-dark: #004a99;
    --wow-blue-bg: #0a0e1a;
    --wow-gold: #ffd100;
    --wow-gold-dark: #b8860b;
    --wow-red: #b91c1c;
    --text-primary: #e6e6e6;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(10, 14, 26, 0.85);
    --card-bg: rgba(15, 23, 42, 0.9);
}

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

body {
    font-family: Open Sans, sans-serif;
    background: var(--wow-blue-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.wow-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
    overflow: hidden;
}

.wow-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
}

.wow-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.7) 70%, rgba(10,14,26,0.95) 100%);
    pointer-events: none;
}

.wow-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 5, 12, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--wow-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wow-navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.wow-logo {
    font-family: Cinzel Decorative, serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--wow-gold);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 209, 0, 0.5);
    transition: all 0.3s ease;
}

.wow-logo:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 209, 0, 0.8);
}

.wow-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.wow-nav-link {
    font-family: Roboto Condensed, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.wow-nav-link:hover {
    color: var(--wow-gold);
    border-bottom-color: var(--wow-gold);
}

.wow-btn {
    font-family: Roboto Condensed, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.wow-btn-primary {
    background: var(--wow-blue-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 116, 224, 0.4);
}

.wow-btn-primary:hover {
    background: var(--wow-blue-light);
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.6);
    transform: translateY(-2px);
}

.wow-btn-gold {
    background: linear-gradient(135deg, var(--wow-gold) 0%, var(--wow-gold-dark) 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 209, 0, 0.4);
}

.wow-btn-gold:hover {
    box-shadow: 0 0 25px rgba(255, 209, 0, 0.7);
    transform: translateY(-2px);
    color: #000;
}

.wow-btn-outline {
    background: transparent;
    border: 2px solid var(--wow-gold);
    color: var(--wow-gold);
}

.wow-btn-outline:hover {
    background: rgba(255, 209, 0, 0.1);
    color: #fff;
    border-color: #fff;
}

.wow-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 80px;
}

.wow-hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.wow-hero-badge {
    font-family: Roboto Condensed, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--wow-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 209, 0, 0.5);
}

.wow-hero-title {
    font-family: Cinzel Decorative, serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(0, 116, 224, 0.8),
        0 0 40px rgba(0, 116, 224, 0.4),
        0 0 60px rgba(0, 116, 224, 0.2);
    margin-bottom: 15px;
    line-height: 1.1;
}

.wow-hero-subtitle {
    font-family: Cinzel, serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.wow-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.wow-hero-btn {
    padding: 18px 40px;
    font-size: 1rem;
}

.wow-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 209, 0, 0.3);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.wow-card:hover {
    border-color: var(--wow-gold);
    box-shadow: 0 0 20px rgba(255, 209, 0, 0.2);
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .wow-navbar-container {
        padding: 0 15px;
        height: 60px;
    }
    .wow-logo {
        font-size: 1.4rem;
    }
    .wow-nav-menu {
        display: none;
    }
    .wow-hero {
        padding-top: 100px;
    }
    .wow-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .wow-btn {
        width: 200px;
    }
}

/* FIX: Botones clickeables */
.wow-video-container {
    z-index: -1000;
}

.wow-video-overlay {
    z-index: -999;
}

.wow-navbar {
    z-index: 1000 !important;
}

.wow-navbar a, .wow-navbar button {
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
}

.wow-hero {
    position: relative;
    z-index: 1;
}

.wow-hero-content a {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
}

/* FIX: Video fallback si no existe archivo */
.wow-video-container video {
    background: url(https://images.blz-contentstack.com/v3/assets/blt9c12f249594b3/blt2263080e227f4d2f/65e100f898393539e6022e03/tww-pre-alpha-header-desktop.jpg) center/cover no-repeat;
}

/* ============================================
   FIXES PARA VIDEO Y BOTONES
   ============================================ */

/* Video con fallback a imagen si no carga */
.wow-video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* Overlay solo afecta al video, no a los botones */
.wow-video-overlay {
    pointer-events: none;
}

/* Asegurar que navbar esté por encima */
.wow-navbar {
    z-index: 9999 !important;
}

/* Navbar container clickeable */
.wow-navbar-container {
    position: relative;
    z-index: 10000;
}

/* Todos los links del navbar clickeables */
.wow-navbar a,
.wow-navbar a:hover,
.wow-navbar a:focus,
.wow-navbar a:active {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10001;
}

/* Hero section con z-index apropiado */
.wow-hero {
    position: relative;
    z-index: 100;
}

/* Botones del hero clickeables */
.wow-hero-buttons a,
.wow-hero-buttons a:hover,
.wow-hero-buttons a:focus,
.wow-hero-buttons a:active {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 101;
}

/* Efectos hover mejorados */
.wow-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* ============================================
   FIXES FINALES - VIDEO Y BOTONES
   ============================================ */

/* Asegurar que el video cubra todo el fondo */
.wow-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1000 !important;
    overflow: hidden !important;
}

.wow-video-container video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Overlay semi-transparente */
.wow-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 26, 0.3) 0%,
        rgba(10, 14, 26, 0.6) 50%,
        rgba(10, 14, 26, 0.9) 100%
    );
    z-index: -999;
    pointer-events: none;
}

/* FIX CRÍTICO: Navbar por encima de todo */
.wow-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(0, 5, 12, 0.95) !important;
    backdrop-filter: blur(12px) !important;
}

/* FIX CRÍTICO: Todos los links clickeables */
.wow-navbar a,
.wow-nav-link,
.wow-btn {
    position: relative !important;
    z-index: 100000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Hero content también clickeable */
.wow-hero {
    position: relative;
    z-index: 1000;
}

.wow-hero-content a {
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Asegurar que los botones funcionen */
a.wow-btn,
a.wow-btn-primary,
a.wow-btn-gold,
a.wow-btn-outline {
    display: inline-block !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Hover states */
.wow-btn:hover,
.wow-nav-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ============================================
   FIXES VIDEO DE FONDO - FORZAR VISIBILIDAD
   ============================================ */

/* Forzar video visible */
.wow-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1000 !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wow-video-container video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: -999 !important;
}

/* Overlay más transparente para ver el video */
.wow-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 26, 0.4) 0%,
        rgba(10, 14, 26, 0.5) 50%,
        rgba(10, 14, 26, 0.8) 100%
    );
    z-index: -998;
    pointer-events: none;
}

/* ============================================
   PÁGINAS DE USUARIO - FONDO OSCURO
   ============================================ */

/* Fondo oscuro para todas las páginas de auth */
.uk-section,
.uk-section-default,
.uk-card-default,
.uk-card {
    background: rgba(15, 23, 42, 0.95) !important;
    color: #e6e6e6 !important;
}

/* Inputs con fondo oscuro */
.uk-input,
.uk-select,
.uk-textarea {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255, 209, 0, 0.3) !important;
    color: #fff !important;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    border-color: var(--wow-gold) !important;
    box-shadow: 0 0 10px rgba(255, 209, 0, 0.3) !important;
}

/* Labels con color dorado */
.uk-form-label,
.uk-label {
    color: var(--wow-gold) !important;
    font-weight: 600;
}

/* Títulos de páginas */
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5 {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(0, 116, 224, 0.5);
}

/* Links en dorado */
.uk-link,
a.uk-link-text {
    color: var(--wow-gold) !important;
}

.uk-link:hover,
a.uk-link-text:hover {
    color: #fff !important;
}

/* Botones primarios estilo WoW */
.uk-button-primary {
    background: var(--wow-blue-primary) !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(0, 116, 224, 0.4) !important;
}

.uk-button-primary:hover {
    background: var(--wow-blue-light) !important;
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.6) !important;
}

/* Cards con borde dorado */
.uk-card {
    border: 1px solid rgba(255, 209, 0, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.uk-card:hover {
    border-color: rgba(255, 209, 0, 0.5) !important;
}

/* Fondo del body para páginas sin video */
body {
    background: var(--wow-blue-bg) !important;
}

/* Texto secundario */
.uk-text-muted {
    color: #94a3b8 !important;
}

/* Alertas y mensajes */
.uk-alert {
    background: rgba(185, 28, 28, 0.2) !important;
    border: 1px solid rgba(185, 28, 28, 0.5) !important;
    color: #fff !important;
}

.uk-alert-success {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
}

.uk-alert-warning {
    background: rgba(234, 179, 8, 0.2) !important;
    border-color: rgba(234, 179, 8, 0.5) !important;
}

/* Tablas oscuras */
.uk-table {
    color: #e6e6e6 !important;
}

.uk-table th {
    color: var(--wow-gold) !important;
    border-bottom: 2px solid rgba(255, 209, 0, 0.3) !important;
}

.uk-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Paginación */
.uk-pagination > * > * {
    color: var(--wow-gold) !important;
}

.uk-pagination > .uk-active > * {
    background: var(--wow-gold) !important;
    color: #000 !important;
}

/* Navbar secundario */
.uk-navbar-container {
    background: rgba(0, 5, 12, 0.95) !important;
    border-bottom: 1px solid rgba(255, 209, 0, 0.3) !important;
}

/* Dropdowns oscuros */
.uk-dropdown {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 1px solid rgba(255, 209, 0, 0.2) !important;
}

.uk-dropdown-nav > li > a {
    color: #e6e6e6 !important;
}

.uk-dropdown-nav > li > a:hover {
    color: var(--wow-gold) !important;
}

/* ============================================
   FALLBACK: FONDO ANIMADO CSS (SI VIDEO FALLA)
   ============================================ */

/* Si el video no carga, mostrar gradiente animado */
.wow-video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        -45deg,
        #0a0e1a,
        #1a1f3a,
        #0f172a,
        #1e3a5f
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1001;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efecto de partículas/polvillo dorado */
.wow-video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,209,0,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0,174,255,0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,209,0,0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(0,174,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 20s linear infinite;
    z-index: -1000;
    pointer-events: none;
}

@keyframes sparkle {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* ============================================
   FIX CRÍTICO PARA VIDEO VISIBLE
   ============================================ */

/* El body debe ser transparente para ver el video */
body {
    background: transparent !important;
    min-height: 100vh;
}

/* Solo aplicar fondo oscuro en páginas específicas (no home) */
body:not(.home-page) {
    background: var(--wow-blue-bg) !important;
}

/* El hero section debe ser transparente */
.wow-hero {
    background: transparent !important;
}

/* Secciones de contenido con fondo oscuro semi-transparente */
section:not(.wow-hero) {
    background: rgba(10, 14, 26, 0.95) !important;
    position: relative;
    z-index: 1;
}

/* Forzar que el video esté visible */
video {
    display: block !important;
}

/* Para móviles, usar imagen estática si el video no funciona */
@media (max-width: 768px) {
    .wow-video-container video {
        display: none !important;
    }
    .wow-video-container {
        background: url(https://images.blz-contentstack.com/v3/assets/blt9c12f249594b3/blt2263080e227f4d2f/65e100f898393539e6022e03/tww-pre-alpha-header-desktop.jpg) center/cover no-repeat;
    }
}

/* Clase para forzar video visible - agregar al body vía JS si es necesario */
.video-bg-enabled .wow-video-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================
   FIX PARA TEXTO EN TIENDA - FORZAR BLANCO
   ============================================ */

/* Forzar texto blanco en toda la tienda */
.uk-card,
.uk-card-default,
.uk-card-body,
.uk-card-footer {
    color: #ffffff !important;
}

.uk-card .uk-h5,
.uk-card .uk-text-bold,
.uk-card-title {
    color: #ffd100 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.uk-card .uk-text-meta,
.uk-card .uk-text-small {
    color: #e6e6e6 !important;
}

/* Links en tarjetas */
.uk-card a {
    color: #00aeff !important;
}

.uk-card a:hover {
    color: #ffd100 !important;
}

/* Precios más visibles */
.bc-dp-points {
    color: #00aeff !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,174,255,0.5);
}

.bc-vp-points {
    color: #a855f7 !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(168,85,247,0.5);
}

/* Forzar color blanco en navegación de tienda */
.uk-nav-default > li > a {
    color: #e6e6e6 !important;
}

.uk-nav-default > li > a:hover {
    color: #ffd100 !important;
}

.uk-nav-default > li.uk-active > a {
    color: #ffd100 !important;
}

/* Breadcrumb */
.uk-breadcrumb > li > a {
    color: #94a3b8 !important;
}

.uk-breadcrumb > li > a:hover {
    color: #ffd100 !important;
}

/* ============================================
   BOTONES DE LA TIENDA - ESTILO LLAMATIVO
   ============================================ */

/* Botón Añadir al Carrito - Dorado brillante */
.ajax-add-cart,
button[type="submit"],
.uk-button-primary {
    background: linear-gradient(135deg, #ffd100 0%, #b8860b 100%) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: 2px solid #ffd100 !important;
    box-shadow: 0 0 15px rgba(255, 209, 0, 0.5), 0 4px 10px rgba(0,0,0,0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.ajax-add-cart:hover,
button[type="submit"]:hover,
.uk-button-primary:hover {
    background: linear-gradient(135deg, #ffdf33 0%, #d4a520 100%) !important;
    color: #000 !important;
    box-shadow: 0 0 25px rgba(255, 209, 0, 0.8), 0 6px 15px rgba(0,0,0,0.4) !important;
    transform: translateY(-2px) !important;
}

.ajax-add-cart:active,
button[type="submit"]:active,
.uk-button-primary:active {
    transform: translateY(1px) !important;
    box-shadow: 0 0 10px rgba(255, 209, 0, 0.4) !important;
}

/* Botón Ver Producto - Azul */
.uk-button-default:not(.ajax-add-cart) {
    background: linear-gradient(135deg, #0074e0 0%, #004a99 100%) !important;
    color: #fff !important;
    border: 2px solid #0074e0 !important;
    box-shadow: 0 0 10px rgba(0, 116, 224, 0.4) !important;
    transition: all 0.3s ease !important;
}

.uk-button-default:not(.ajax-add-cart):hover {
    background: linear-gradient(135deg, #00aeff 0%, #0074e0 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(0, 174, 255, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Animación de pulso para botones importantes */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 15px rgba(255, 209, 0, 0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 209, 0, 0.8), 0 0 35px rgba(255, 209, 0, 0.4); }
    100% { box-shadow: 0 0 15px rgba(255, 209, 0, 0.5); }
}

.ajax-add-cart {
    animation: pulse-gold 2s infinite !important;
}

.ajax-add-cart:hover {
    animation: none !important;
}

/* Texto en botones */
.ajax-add-cart span {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

/* ============================================
   FIX URGENTE: BOTONES CLICKEABLES
   ============================================ */

/* Forzar que todos los botones del navbar funcionen */
.wow-navbar a,
.wow-navbar a:link,
.wow-navbar a:visited,
.wow-navbar a:hover,
.wow-navbar a:active,
.wow-btn,
a.wow-btn,
a.wow-btn-primary,
a.wow-btn-gold {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100000 !important;
    display: inline-block !important;
}

/* Asegurar que el contenedor de botones no bloquee */
.wow-navbar-container {
    position: relative !important;
    z-index: 100000 !important;
}

/* Fix para enlaces de la tienda */
.uk-card a,
.uk-card a:link,
.uk-card a:visited {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
}

.uk-card a:hover {
    z-index: 101 !important;
}

/* Fix específico para botón de producto */
a[href*="store/product"] {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: block !important;
}
