:root {
    --bg-color: #0b0b0b;
    --card-bg: rgba(18, 18, 18, 0.85);
    --red-glow: #ff0000;
    --green-glow: #00ff2b;
    --green-accent: #00cc22;
    --yellow-glow: #ffcc00;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
}

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

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at center, rgba(15, 15, 15, 0.4) 0%, rgba(5, 5, 5, 0.9) 100%), url('https://i.ibb.co/99SMQZDP/ba78e557364b1f2b7bb234cbf7ce74f8.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 {
    margin: 10px 0;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.highlight-red { color: var(--red-glow); }
.highlight-green { color: var(--green-glow); }
.highlight-yellow { color: var(--yellow-glow); }
.bold-white { color: #ffffff; font-weight: bold; }

.logo-free-container {
    width: 100%;
    max-width: 160px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-free-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.subtitle {
    font-size: 13px;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 5px;
}

@keyframes pulse3D {
    0% { box-shadow: 0 0 10px #ff0000, inset 0 0 5px #ff0000; border-color: #ff0000; }
    50% { box-shadow: 0 0 22px #ff3333, inset 0 0 12px #ff3333; border-color: #ff5555; background-color: #260303; }
    100% { box-shadow: 0 0 10px #ff0000, inset 0 0 5px #ff0000; border-color: #ff0000; }
}

.warning-box-3d {
    border: 3px solid var(--red-glow);
    background-color: rgba(20, 2, 2, 0.95);
    padding: 8px 15px;
    border-radius: 8px;
    margin: 15px auto;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    animation: pulse3D 2s infinite ease-in-out;
    text-shadow: 0 0 5px #ff0000;
    display: inline-block;
}

/* ==========================================================================
   ILUMINACIÓN Y DIMENSIONAMIENTO EXACTO DEL CONTENEDOR DE YOUTUBE
   ========================================================================== */
.video-container-main {
    width: 100%;
    margin: 20px 0;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 1px solid #252525;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.35);
    position: relative;
}

#mainYouTubeVideo {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none; /* Bloquea clics accidentales nativos de pausa en móviles */
}

/* Capa flotante interactiva de audio */
.audio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.audio-btn-box {
    background: #ff0000;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.85);
    text-transform: uppercase;
    border: 1px solid #ff5555;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.mute-icon {
    width: 36px;
    height: 36px;
}

/* Barra inferior de carga de video */
.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000, 0 0 4px #ff0000;
}

/* ==========================================================================
   ESTILOS ORIGINALES RESTAURADOS EN SU TOTALIDAD
   ========================================================================== */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    margin: 15px 0;
    box-sizing: border-box;
}

.btn-green {
    background: var(--green-accent);
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 43, 0.4);
}

.alert-box {
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 14px;
    padding: 22px;
    margin: 30px 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.95) 40%, rgba(58, 4, 4, 0.95) 100%);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}

@keyframes textGlow3D {
    0% { text-shadow: 0 0 8px #ff0000, 0 0 15px #ff0000; color: #ff0000; }
    50% { text-shadow: 0 0 22px #ff3333, 0 0 45px #ff0000; color: #ff6666; }
    100% { text-shadow: 0 0 8px #ff0000, 0 0 15px #ff0000; color: #ff0000; }
}

.neon-mentira {
    animation: textGlow3D 1.5s infinite ease-in-out;
    font-weight: 900;
    display: inline-block;
}

.feature-card {
    background: #000000; 
    border: 2px solid var(--red-glow); 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); 
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    backdrop-filter: blur(4px);
}

.feature-image-free {
    width: 100%;
    max-width: 55px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    object-fit: contain;
}

.transition-text {
    border: 1px dashed var(--red-glow);
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 13px;
    margin: 35px 0;
    background: rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.optimizer-section-block {
    width: 100%;
    margin: 35px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes imageGlowPulse {
    0% { filter: drop-shadow(0 0 2px var(--red-glow)) drop-shadow(0 0 4px var(--red-glow)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 6px var(--red-glow)) drop-shadow(0 0 12px var(--red-glow)); transform: scale(1.03); }
    100% { filter: drop-shadow(0 0 2px var(--red-glow)) drop-shadow(0 0 4px var(--red-glow)); transform: scale(1); }
}

.optimizer-card-style {
    background: transparent; 
    width: 100%;
    max-width: 320px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.optimizer-card-style img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(1.5px 1.5px 0px var(--red-glow)) 
            drop-shadow(-1.5px -1.5px 0px var(--red-glow)) 
            drop-shadow(-1.5px 1.5px 0px var(--red-glow)) 
            drop-shadow(1.5px -1.5px 0px var(--red-glow));
    animation: imageGlowPulse 3.5s infinite ease-in-out;
}

.optimizer-under-text {
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.4;
    padding: 0 10px;
    letter-spacing: 0.5px;
}

@keyframes textGlow3DRed {
    0% { text-shadow: 0 0 6px #ff0000, 0 0 12px #ff0000; color: #ff0000; }
    50% { text-shadow: 0 0 20px #ff3333, 0 0 35px #ff0000, 0 2px 4px rgba(0,0,0,0.8); color: #ff4d4d; }
    100% { text-shadow: 0 0 6px #ff0000, 0 0 12px #ff0000; color: #ff0000; }
}

.neon-red-phrase {
    animation: textGlow3DRed 2s infinite ease-in-out;
    font-weight: 900;
    display: inline-block;
}

.carousel-container {
    width: 100%;
    margin: 40px 0 20px 0;
    text-align: center;
}

.carousel-view {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
    border: 2px solid var(--red-glow);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border-radius: 14px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.video-target {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-target iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: opacity 0.3s ease, z-index 0.3s;
}

.video-cover::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.btn-watch {
    position: relative;
    z-index: 4;
    background: #ff0000;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-watch:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: var(--red-glow);
    border-color: var(--red-glow);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--red-glow);
    box-shadow: 0 0 6px var(--red-glow);
}

.carousel-footer-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 42px;
    padding: 35px 20px 25px 20px;
    margin: 45px 0 25px 0;
    position: relative;
    backdrop-filter: blur(4px);
}

.pro-version { border: 2px solid var(--red-glow); box-shadow: 0 0 30px rgba(255, 0, 0, 0.55); }
.ultra-version { border: 2px solid var(--yellow-glow); box-shadow: 0 0 30px rgba(255, 204, 0, 0.4); }

.badge-top {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #161616;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}
.pro-version .badge-top { border: 2px solid var(--red-glow); background: var(--red-glow); color: white; }
.ultra-version .badge-top { border: 2px solid var(--yellow-glow); color: var(--yellow-glow); }

.best-option {
    background: var(--green-accent) !important;
    color: white !important;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 10px 0;
    font-weight: bold;
}

.product-image-free {
    width: 100%;
    max-width: 180px; 
    height: auto;
    margin: 15px auto 10px auto;
    display: block;
    object-fit: contain;
}

.features-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 13px;
}

.features-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-fuego-img-box, .icon-check-img-box {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-fuego-img-box img, .icon-check-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.price-old { text-decoration: line-through; color: #555; font-size: 13px; }
.price-new { font-size: 36px; font-weight: bold; margin: 5px 0 15px 0; }

@keyframes rotatingMechanism {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.garantia-box {
    background: rgba(17, 2, 2, 0.9);
    border-radius: 24px;
    padding: 35px 20px;
    margin: 40px 0;
    border: 3px solid var(--red-glow);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.45), inset 0 0 15px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.circle-container-axis {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-center {
    position: absolute;
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 12px var(--red-glow);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.static-center span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: -6px;
}

.spinning-svg-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotatingMechanism 10s linear infinite;
    z-index: 2;
}

.spinning-svg-wheel text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 9.5px;
    fill: #ff3333;
    letter-spacing: 2.2px;
}

.garantia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.garantia-item {
    background: rgba(24, 24, 24, 0.85);
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.creator-section {
    margin: 50px 0 20px 0;
    text-align: center;
}

.creator-top-photo-box {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: center;
}

.creator-top-photo-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.creator-info-gradient-card {
    background: linear-gradient(180deg, rgba(9, 9, 9, 0.95) 30%, rgba(70, 0, 0, 0.95) 100%);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: left;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.creator-info-gradient-card p {
    font-size: 13.5px;
    margin-bottom: 14px;
    color: #e4e4e4;
    line-height: 1.6;
}

.faq-section {
    margin: 40px 0 20px 0;
    text-align: left;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 25px;
}

details {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

summary {
    padding: 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    color: var(--red-glow);
    font-size: 18px;
    font-weight: bold;
}

details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 12px 16px 16px 16px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    border-top: 1px solid #1a1a1a;
    background: rgba(0,0,0,0.2);
}

footer {
    margin-top: 40px;
    padding: 20px 0;
    font-size: 11px;
    color: #555;
    border-top: 1px solid #181818;
    width: 100%;
    text-align: center;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(4px);
}
