
.quiz-sets-wrapper {
    font-family: 'Inter', system-ui, sans-serif;
    padding: 1rem;
    /*background: #f8f9fc;*/
    /*min-height: 100vh;*/
    display: flex; /* Use flexbox for row layout */
    justify-content: center;
    gap: 1rem; /* Add spacing between cards */
}

.quiz-sets-card {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.quiz-sets-card:hover {
    transform: translateY(-5px);
}

.ocean-theme .quiz-sets-header {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    padding: 1.5rem;
    color: white;
}

.ocean-theme .start-btn {
    background: #0077b6;
}

.ocean-theme .feature-icon {
    background: #00b4d8;
}

.ocean-theme .offer-tag {
    background: #90e0ef;
}

.quiz-sets-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #4895ef);
    color: white;
    position: relative;
}

.quiz-sets-offer-tag {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #ffd60a;
    color: #2b2d42;
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quiz-sets-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.quiz-sets-title {
    /*font-size: 1.25rem;*/
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quiz-sets-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.quiz-sets-content {
    padding: 0.9rem;
    background: #b6c0de;
}

.quiz-sets-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quiz-sets-info-item {
    background: #96a9e3;
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
}

.quiz-sets-info-label {
    font-size: 0.75rem;
    color: #065588;
    margin-bottom: 0.25rem;
}

.quiz-sets-info-value {
    font-weight: 600;
    color: #2b2d42;
}


.quiz-sets-footer {
    padding: 1.0rem;
    background: #dae3ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (min-width: 500px) and (max-width: 1200px) {
    .quiz-sets-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.quiz-sets-start-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.quiz-sets-start-btn:hover {
    background: #3651d4;
    transform: translateX(5px);
}

.quiz-sets-stats-pill {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quiz-sets-stats-value {
    color: #2b2d42;
    font-weight: 600;
}


.qsn-badge {
    position: absolute;
    top: 13px;
    right: -96px;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}


/*QUIZ COMPLETED BUTTON*/


.quiz-sets-completed-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.quiz-sets-completed-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #078071 0%, #96c93d 100%);
}

.text-container {
    position: relative;
    width: 82px;
    height: 24px;
    overflow: hidden;
}

.text-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content {
    animation: slideLoop 6s infinite;
}

@keyframes slideLoop {
    0%, 33% {
        transform: translateY(0);
        opacity: 1;
    }
    41% {
        transform: translateY(-100%);
        opacity: 0;
    }
    42% {
        transform: translateY(100%);
        opacity: 0;
    }
    50%, 83% {
        transform: translateY(0);
        opacity: 1;
        content: 'Preview';
    }
    91% {
        transform: translateY(-100%);
        opacity: 0;
    }
    92% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.text-content::before {
    content: 'Completed';
    position: absolute;
    width: 100%;
    text-align: center;
}

.text-content.animate::before {
    animation: textChange 6s infinite;
}

@keyframes textChange {
    0%, 33% {
        content: 'Completed';
        opacity: 1;
    }
    41% {
        opacity: 0;
    }
    50%, 83% {
        content: 'Preview';
        opacity: 1;
    }
    91% {
        opacity: 0;
    }
    100% {
        content: 'Completed';
        opacity: 1;
    }
}

.icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .quiz-sets-completed-btn {
        padding: 0.75rem 1.25rem;
    }

    .icon-wrapper {
        width: 24px;
        height: 24px;
    }
}
