/* assets/css/style.css */

/* 1. Definir la fuente base */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
}

/* 2. Estilos para el video de fondo FIJO */
.video-background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background-fixed video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 3. Estilo para el contenedor del texto del Hero */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

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

/* 4. ESTILOS PARA TÍTULOS PRINCIPALES (UNIFICADO Y CORREGIDO) */
.hero-text-content h1,
.page-hero h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.8);
    paint-order: stroke fill;
}

.hero-text-content p,
.page-hero p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* 5. Estilos para la sección "Why Winwinpay" */
#why-winwinpay {
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

/* ===== ESTILOS DEL REPRODUCTOR DE VIDEO (MODIFICADO) ===== */
.video-player-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 720px; /* Ancho máximo reducido para un tamaño más compacto */
    margin-left: auto;
    margin-right: auto;
}

.video-player-card video {
    width: 100%;
    height: auto;
    display: block;
}

/* 6. Estilos para la sección "Ecosystem" */
.ecosystem-card {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ecosystem-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.7);
}

.ecosystem-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B42;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.ecosystem-button:hover {
    background-color: #ffc700;
}

/* 7. Estilos para páginas internas */
.page-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.page-content {
    background-color: transparent;
    position: relative;
    z-index: 5;
}

.info-card {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

/* 8. Estilos para Tokenomics.html */
.utility-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.8), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(17, 94, 189, 0.5);
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-weight: 600;
    color: #FFF;
    transition: all 0.3s ease-in-out;
}

.utility-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(145deg, rgba(17, 94, 189, 0.3), rgba(30, 41, 59, 0.3));
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

.utility-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

/* 9. Estilos para Super-App.html */
.feature-card-app {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #FFF;
    backdrop-filter: blur(5px);
}

.feature-card-app:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.7);
    color: #FFD700;
}

/* 10. Estilos para Modal "Únete Ahora" */
.modal-content-container {
    animation: fadeIn 0.3s ease-in-out;
}

.modal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFF;
    transition: all 0.3s ease;
}

.modal-button:hover {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.8);
    color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.modal-icon {
    width: 1.25rem;
    height: 1.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* 11. Estilos para FAQ.HTML */
.faq-container {
    background-color: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.faq-item[open] {
    background-color: rgba(255, 215, 0, 0.1);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    color: #FFF;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: #d1d5db;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 1rem;
}

/* 12. Estilos para Soporte.html */
.tutorial-card {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    text-align: center;
}

.tutorial-card h3 {
    color: #FFD700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ===== 13. ESTILOS PARA LANDING PAGES (EMBUDO DE VIDEO) - CORREGIDO ===== */
.landing-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* Padding reducido para dar más espacio al video */
    position: relative;
    z-index: 5;
}

.landing-content-wrapper {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 95vw; /* Ancho máximo relativo a la pantalla */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-title {
    color: #FFD700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.landing-subtitle {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* NUEVO CONTENEDOR PARA CONTROLAR TAMAÑO DE VIDEO */
.video-wrapper {
    width: 100%;
    max-width: 800px; /* Ancho máximo del video en pantallas grandes */
    max-height: 50vh; /* Altura máxima del video (50% de la altura de la pantalla) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-card {
    border-radius: 0.75rem; /* Bordes un poco más sutiles */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%; /* El video llenará el wrapper */
    aspect-ratio: 16 / 9; /* Mantiene la proporción 16:9 */
}

.video-player-card video {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B42;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    opacity: 0;
    transform: scale(0.5) translateY(100px);
    visibility: hidden;
}
/* ... (Todos los estilos anteriores se mantienen igual) ... */

/* ===== 14. ESTILOS PARA EL CONTADOR DE REGISTROS (CORREGIDO) ===== */
#live-counter {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.4); /* Borde rojo */
    border-radius: 9999px;
    padding: 0.75rem 1.5rem; /* Más grande */
    backdrop-filter: blur(5px);
    font-size: 1.125rem; /* Más grande (18px) */
    line-height: 1.75rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); /* Sombra roja */
}

#counter-number {
    display: inline-block;
    min-width: 60px;
    text-align: left;
    color: #EF4444; /* Color rojo (Tailwind red-500) */
}
/* ===== 15. ESTILOS PARA VERIFICACION.HTML ===== */
.news-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFF;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.news-button:hover {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    color: #FFD700;
}
/* ... (Todos los estilos anteriores se mantienen igual) ... */

/* ===== 15. ESTILOS PARA LA PÁGINA DE CTA (video4.html) ===== */
.cta-button-primary {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #1A2B42;
    font-weight: 800; /* Extra bold */
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem; /* Bordes menos redondeados para más seriedad */
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite; /* Animación de pulso para llamar la atención */
}
.cta-button-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cta-button-secondary {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFF;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.cta-button-secondary:hover {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    color: #FFD700;
}

.video-review-gallery {
    width: 100%;
    max-width: 600px;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.video-thumbnail-card {
    display: block;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.video-thumbnail-card:hover {
    transform: scale(1.1);
}
.video-thumbnail-card img {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
}
/* ===== 15. ESTILOS PARA LA PÁGINA DE CTA (video4.html) - CORREGIDO ===== */
.cta-button-primary {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #1A2B42;
    font-weight: 800;
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.cta-button-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cta-button-secondary {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFF;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.cta-button-secondary:hover {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    color: #FFD700;
}

/* NUEVA CLASE PARA BOTONES DE WHATSAPP */
.cta-button-whatsapp {
    background-color: #25D366; /* Color verde de WhatsApp */
    border-color: #128C7E; /* Borde más oscuro */
    color: #FFF;
}
.cta-button-whatsapp:hover {
    background-color: #1AD55E; /* Verde más brillante al pasar el ratón */
    border-color: #FFF;
    color: #FFF;
}

/* GALERÍA DE VIDEOS MEJORADA */
.video-review-gallery {
    width: 100%;
    max-width: 800px; /* Ancho máximo para la galería */
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.video-thumbnail-card {
    display: block;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 200px; /* Aumenta el tamaño máximo de cada miniatura */
}
.video-thumbnail-card:hover {
    transform: scale(1.1);
}
.video-thumbnail-card img {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
}