/* /assets/css/home-banner.css */
.home-quiz-banner {
    padding: 60px 20px;
    background-color: #ffffff;
}

.quiz-banner-container {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    border-radius: 32px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.quiz-banner-text {
    flex: 1;
    z-index: 2;
}

.quiz-badge {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.quiz-banner-text h2 {
    font-size: 2.8rem;
    color: #1b5e20;
    margin-bottom: 20px;
    line-height: 1.1;
}

.quiz-banner-text p {
    font-size: 1.15rem;
    color: #4a5a4b;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px;
}

.quiz-banner-features {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.quiz-banner-features span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e7d32;
}

.btn-home-quiz {
    display: inline-block;
    background: #2e7d32;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.btn-home-quiz:hover {
    background: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.3);
}

/* Visualización de la Tarjeta */
.quiz-banner-image {
    flex: 0 0 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-card-preview {
    background: #fff;
    width: 260px;
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 2;
    transform: rotate(5deg);
    animation: float 4s ease-in-out infinite;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.preview-header .heart { color: #e74c3c; font-size: 1.2rem; }
.preview-header .percent { 
    background: #ffd700; 
    padding: 2px 8px; 
    border-radius: 10px; 
    font-size: 0.75rem; 
    font-weight: 800; 
}

.quiz-card-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

.preview-footer {
    display: flex;
    flex-direction: column;
}

.preview-footer strong { font-size: 1.1rem; color: #1b5e20; }
.preview-footer span { font-size: 0.8rem; color: #7f8c8d; }

.decoration-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #c8e6c9;
    border-radius: 50%;
    z-index: 1;
}

/* Animaciones */
@keyframes float {
    0% { transform: rotate(5deg) translateY(0px); }
    50% { transform: rotate(7deg) translateY(-15px); }
    100% { transform: rotate(5deg) translateY(0px); }
}

/* Responsive */
@media (max-width: 991px) {
    .quiz-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .quiz-banner-text p { margin-left: auto; margin-right: auto; }
    .quiz-banner-features { justify-content: center; }
    .quiz-banner-image { flex: none; width: 100%; margin-top: 20px; }
    .quiz-banner-text h2 { font-size: 2.2rem; }
}