/* ================================
   PITIUPI PRESENTATION - SLIDE 6 STYLES
   Validación de Mercado (Efecto Cartas Neón + Autoridad)
   ================================ */

   .slide[data-slide="6"] {
    cursor: pointer;
    padding: 2rem !important;
}

.slide-6-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start !important;
    padding-top: 0rem !important;
    width: 100%;
    height: 100%;
    gap: 3rem;
}

/* ================================
   ESTADOS DE OCULTACIÓN (PASOS)
   ================================ */
.slide[data-slide="6"] .step-1,
.slide[data-slide="6"] .step-2,
.slide[data-slide="6"] .step-3,
.slide[data-slide="6"] .step-4,
.slide[data-slide="6"] .step-5 {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Revelado progresivo */
.slide[data-slide="6"][data-step="1"] .step-1,
.slide[data-slide="6"][data-step="2"] .step-1,
.slide[data-slide="6"][data-step="3"] .step-1,
.slide[data-slide="6"][data-step="4"] .step-1,
.slide[data-slide="6"][data-step="5"] .step-1 { display: block; pointer-events: auto; }

.slide[data-slide="6"][data-step="2"] .step-2,
.slide[data-slide="6"][data-step="3"] .step-2,
.slide[data-slide="6"][data-step="4"] .step-2,
.slide[data-slide="6"][data-step="5"] .step-2 { display: flex; pointer-events: auto; }

.slide[data-slide="6"][data-step="3"] .step-3,
.slide[data-slide="6"][data-step="4"] .step-3,
.slide[data-slide="6"][data-step="5"] .step-3 { display: flex; pointer-events: auto; }

.slide[data-slide="6"][data-step="4"] .step-4,
.slide[data-slide="6"][data-step="5"] .step-4 { display: flex; pointer-events: auto; }

.slide[data-slide="6"][data-step="5"] .step-5 { display: block; pointer-events: auto; }

/* Ocultar indicador al final */
.slide[data-slide="6"][data-step="5"] .click-indicator { display: none; }

/* ================================
   ANIMACIONES DE ENTRADA
   ================================ */
.slide[data-slide="6"] .step-1 { animation: slideDownTitle 0.8s ease-out forwards; }
.slide[data-slide="6"] .step-2 { animation: cardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.slide[data-slide="6"] .step-3 { animation: cardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.slide[data-slide="6"] .step-4 { animation: cardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.slide[data-slide="6"] .step-5 { animation: insightFade 1s ease-in-out forwards; }

@keyframes slideDownTitle {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cardPop {
    0% { opacity: 0; transform: translateY(50px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes insightFade {
    0% { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ================================
   TÍTULO PRINCIPAL
   ================================ */
.market-title {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px var(--primary);
    margin-bottom: 0;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* ================================
   CONTENEDOR DE TARJETAS
   ================================ */
.competitor-cards {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

/* ================================
   ESTILO DE TARJETA INDIVIDUAL
   ================================ */
.comp-card {
    background: rgba(3, 0, 46, 0.6);
    border: 1px solid rgba(51, 204, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    width: 32%; /* Ajuste para que quepan 3 */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.comp-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon);
    box-shadow: 0 15px 40px rgba(51, 204, 0, 0.4);
}

/* Brillo interno de la tarjeta */
.comp-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.comp-card:hover .comp-glow { opacity: 1; }

.comp-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

/* ================================
   BADGES (Etiquetas de Autoridad)
   ================================ */
.comp-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.sony-badge {
    background: linear-gradient(90deg, #003399, #0066cc); /* Azul PlayStation */
    color: white;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.6);
    border: 1px solid #66b3ff;
}

.pvp-badge {
    background: rgba(51, 204, 0, 0.15);
    color: var(--neon);
    border: 1px solid var(--primary);
}

.vet-badge {
    background: rgba(255, 0, 128, 0.15);
    color: #ff66b3;
    border: 1px solid var(--secondary);
}

/* ================================
   LISTA DE CARACTERÍSTICAS
   ================================ */
.comp-features {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.comp-features li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comp-features li span { font-size: 1.2rem; }

/* ================================
   INSIGHT FINAL (TEXTO SUTIL)
   ================================ */
.market-insight {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-left: 4px solid var(--neon);
    border-radius: 0 10px 10px 0;
    width: 100%;
    max-width: 900px;
}

.market-insight p {
    font-size: 1.4rem;
    font-weight: 500;
    color: #a0aec0;
    margin: 0;
    text-align: center;
}

.market-insight span {
    color: var(--neon);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(51, 204, 0, 0.6);
}

/* ================================
   CLICK INDICATOR
   ================================ */

.slide[data-slide="6"] .click-indicator {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    animation: pulseIndicator 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(51, 204, 0, 0.6);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .competitor-cards { flex-wrap: wrap; }
    .comp-card { width: 45%; }
}

@media (max-width: 768px) {
    .slide-6-wrapper { padding-top: 2rem !important; gap: 1.5rem; }
    .market-title { font-size: 2rem; text-align: center; }
    .competitor-cards { flex-direction: column; align-items: center; gap: 1rem; }
    .comp-card { width: 90%; padding: 1.5rem; }
    .market-insight p { font-size: 1.1rem; }
}