/* Importación de tipografías personalizadas */
@font-face {
    font-family: 'Manier';
    src: url('fonts/Manier-Black.woff2') format('woff2'); /* Asegúrate de tener los archivos */
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Penting';
    src: url('fonts/Penting.woff2') format('woff2'); /* Asegúrate de tener los archivos */
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Fondo base con profundidad radial */
    background: radial-gradient(circle at 50% 0%, #12002b 0%, #080808 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 480px; /* Limitado a ancho móvil para mejor visualización */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Contenedor de fondo aislado para evitar que afecte al scroll del contenido */
.bg-ambient-layer {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    contain: strict; /* Optimización de rendimiento para capas fijas */
}

/* Capa de ruido sutil para acabado premium */
.bg-ambient-layer::before {
    content: "";
    position: absolute;
    inset: -100%; /* Más grande para permitir movimiento */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: noiseMovement 1s steps(4) infinite;
}

@keyframes noiseMovement {
    0% { transform: translate(0,0); }
    25% { transform: translate(-5%,-5%); }
    50% { transform: translate(-10%,5%); }
    75% { transform: translate(5%,-10%); }
    100% { transform: translate(0,0); }
}

/* Aseguramos que el contenido principal esté por encima de los elementos flotantes */
header, .hero, .features, footer, .reviews, .final-cta {
    position: relative;
    z-index: 2;
}

/* Elementos flotantes para efecto 3D */
.floating-item {
    position: absolute;
    pointer-events: none;
    z-index: 1; 
    opacity: 0.18;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.3s ease;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.4);
}

/* Variaciones de profundidad optimizadas (sin transformaciones Z costosas en scroll) */
.depth-near { filter: blur(2px); opacity: 0.1; }
.depth-mid { filter: blur(1px); opacity: 0.15; }
.depth-far { filter: blur(0px); opacity: 0.2; }

.coin-1 {
    top: 15%;
    right: 5%;
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.diamond-1 {
    top: 45%;
    left: 2%;
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.coin-2 {
    top: 75%;
    right: 15%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Estilos para el efecto Parallax */
.parallax-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Desenfoque reducido para mejorar el fill-rate de la GPU */
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    opacity: 0.4;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 0, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -200px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
    bottom: -100px;
    right: -250px;
}

.glow-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.04) 0%, transparent 70%);
    top: 30%;
    left: 40%;
}

.urgency-tag {
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.social-proof {
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: liveStatusPulse 2s infinite;
}

@keyframes liveStatusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

#player-count {
    display: inline-block;
    transition: color 0.3s ease;
}

.count-update {
    animation: countPop 0.4s ease-out;
    color: #ffffff !important;
}

@keyframes countPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 25px;
    border-radius: 100px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    margin-left: 0px;
}

.header-logo {
    height: 25px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo span {
    color: #00d4ff;
}

.logo:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.badge-18 {
    margin-right: 15px;
    border: 2px solid #ff4444;
    color: #ff4444;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}

.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-logo-img {
    height: 12rem;
    width: auto;
    display: block;
    margin: -35px auto -45px;
    max-width: 95%;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: logoFloatGlow 4s ease-in-out infinite;
}

@keyframes logoFloatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    50% {
        transform: translateY(-5px) scale(1.03);
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.8));
    }
}

.wa-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    margin-right: 8px;
    vertical-align: middle;
}

.bonus-limit-container {
    margin-top: 10px;
    padding: 0 20px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 92%;
    height: 100%;
    background: linear-gradient(90deg, #6a00ff, #00d4ff);
    border-radius: 10px;
    animation: progressSlow 30s infinite alternate;
}

.hero p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 30px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    transition: transform 0.2s;
    cursor: pointer;
}

/* Fix: Asegura que el texto e iconos dentro de los botones hereden el puntero */
.btn * {
    cursor: pointer;
}

.features {
    margin-top: 40px;
    display: grid;
    gap: 15px;
}

.btn-main-cta {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #6a00ff, #0055ff);
    color: white;
    padding: 22px;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(106, 0, 255, 0.3);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: calc(100% - 20px);
    margin: 0 auto;
    will-change: transform, box-shadow;
    transform: skewX(-12deg); /* Forma de paralelogramo */
}

.btn-main-cta .main-text {
    font-size: 1.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewX(12deg) translateZ(0); /* Deshace la inclinación y estabiliza */
    position: relative;
    z-index: 2;
    backface-visibility: hidden;
}

.btn-main-cta .sub-text {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
    transform: skewX(12deg) translateZ(0); /* Deshace la inclinación y estabiliza */
    position: relative;
    z-index: 2;
    backface-visibility: hidden;
}

.limited-slots {
    font-size: 0.85rem;
    color: #00d4ff;
    margin-top: 10px;
    font-weight: 700;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    20%, 100% { transform: translateX(200%) skewX(-15deg); }
}

.btn-main-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.winner-toast {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    width: calc(100% - 40px);
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.winner-toast.big-win {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(10, 15, 25, 0.8);
}

.winner-toast.show {
    bottom: 30px;
}

.winner-content {
    font-size: 0.85rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.big-win .live-indicator {
    background: #bd00ff;
}

.live-indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid inherit;
    background: inherit;
    border-radius: 50%;
    opacity: 0.4;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

.winner-info {
    flex-grow: 1;
}

.winner-name {
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.winner-amount {
    font-weight: 900;
    color: #00d4ff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-main-cta:active {
    transform: scale(0.95) skewX(-12deg);
    animation: none;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #6a00ff;
}

.reviews {
    margin-top: 60px;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #00d4ff;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a00ff, #00d4ff);
    box-shadow: 0 0 15px rgba(106, 0, 255, 0.4);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.verified-badge {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.timestamp {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    margin-left: 5px;
    font-weight: 400;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 6rem;
    color: rgba(0, 212, 255, 0.07);
    font-family: 'Manier', serif;
    line-height: 1;
}

.stars {
    color: #00d4ff;
    margin-top: 2px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.testimonial-card p {
    font-style: italic;
    color: #e0e0e0;
    margin: 10px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-family: 'Manier', serif;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.final-cta {
    margin: 60px 0;
    text-align: center;
}

.btn-secondary-cta {
    background: rgba(106, 0, 255, 0.2);
    border: 2px solid #6a00ff;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(106, 0, 255, 0.2);
}

.final-note {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.6;
}

footer {
    margin-top: auto;
    padding: 40px 0 20px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

.disclaimer {
    color: #ff4444;
    font-weight: bold;
    margin: 10px 0;
    font-size: 0.75rem;
}

.profile-bg-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 600px;
    z-index: 0; /* Por debajo de todo el contenido interactivo */
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    animation: profileFadeIn 2s ease-out 0.5s forwards;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.profile-bottom-img {
    width: 450px; /* Tamaño aumentado */
    height: auto;
    filter: brightness(0.6) contrast(1.1);
    mask-image: linear-gradient(to top, black 60%, transparent);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent);
}

@keyframes profileFadeIn {
    from { opacity: 0; filter: blur(20px); transform: scale(1.1); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}