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

:root {
    --primary-color: #e8a4a4;
    --secondary-color: #f8d7da;
    --text-color: #2d2d2d;
    --bg-color: #faf8f6;
    --white: #ffffff;
    --container-bg: #fff5f5;
    --option-bg: #fff9f9;
    --transition: all 0.3s ease;
    --gradient-bg: linear-gradient(135deg, #fff0f0 0%, #ffe6e6 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(232, 164, 164, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 164, 164, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 800px;
    width: 90%;
    background: var(--container-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(232, 164, 164, 0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(232, 164, 164, 0.05);
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    color: #c17a7a;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.7rem;
    text-shadow: 2px 2px 4px rgba(193, 122, 122, 0.15);
    text-align: center;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #c17a7a;
    border-radius: 2px;
}

.header p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
}

.question {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    padding: 0 1rem;
}

.question.active {
    display: block;
}

.question h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.4;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.question h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.option {
    background: var(--option-bg);
    border: 2px solid #ffe6e6;
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 164, 164, 0.1);
    border-color: var(--primary-color);
    background: var(--white);
}

.option.selected {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.option.selected .option-text {
    color: var(--primary-color);
}

.option input[type="radio"] {
    display: none;
}

.option-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

.video-container {
    width: 220px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(232, 164, 164, 0.2);
    border-radius: 3px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress {
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navigation-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.navigation-buttons button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100px;
    text-align: center;
}

#prevBtn {
    background: #eee;
    color: var(--text-color);
    border: 1px solid #ddd;
}

#prevBtn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#nextBtn {
    background: var(--primary-color);
    color: var(--white);
    min-width: 180px; 
    padding: 12px 24px;
    font-size: 1rem;
    white-space: normal;
}

#nextBtn:hover {
    background: #d48f8f;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(232, 164, 164, 0.2);
}

.recommendation {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(232, 164, 164, 0.1);
}

.recommendation .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}

.product-recommendation img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 18px;
    border: 4px solid #f8d7da;
    box-shadow: 0 8px 32px rgba(232, 164, 164, 0.18), 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    animation: fadeInScale 0.8s cubic-bezier(.4,2,.6,1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-recommendation img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(232, 164, 164, 0.25), 0 4px 16px rgba(0,0,0,0.10);
}

.recommendation .product-title {
    font-family: 'Playfair Display', serif;
    color: #c17a7a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 1px 2px 8px #f8d7da44;
}

.product-description {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0 1rem;
}

.recommendation p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.recommendation h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.4;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.recommendation h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-media a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-media a:hover {
    color: #d48f8f;
    transform: translateY(-3px);
}

/* Colores específicos para cada red social */
.social-media a[href*="tiktok"] {
    color: #000000;
}

.social-media a[href*="instagram"] {
    color: #E1306C;
}

.social-media a[href*="whatsapp"] {
    color: #25D366;
}

.restart-btn {
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--option-bg);
    color: var(--text-color);
    border: 1px solid #ffe6e6;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.restart-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(232, 164, 164, 0.1);
}

.restart-btn i {
    font-size: 1.1rem;
}

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

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .question h2 {
        font-size: 1.5rem;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .video-container {
        max-width: 220px;
        height: 150px;
    }

    .navigation-buttons {
        padding: 0;
    }

    .navigation-buttons button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .recommendation {
        padding: 1rem;
    }

    .recommendation p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        max-width: 220px;
        height: 150px;
    }
}

.options.image-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.btn.buy-now {
    display: inline-block;
    background: linear-gradient(90deg, #e8a4a4 0%, #f8d7da 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(232, 164, 164, 0.18);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,2,.6,1);
    margin: 1.5rem auto 0 auto;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn.buy-now:hover {
    background: linear-gradient(90deg, #f8d7da 0%, #e8a4a4 100%);
    color: #c17a7a;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 164, 164, 0.25);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 