.gs-quiz-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gs-quiz-header {
    padding: 20px;
    color: #fff;
	background: #3073F1;
}

.gs-quiz-header.ssc { background: #3b82f6; }
.gs-quiz-header.railway { background: #22c55e; }
.gs-quiz-header.police { background: #6366f1; }
.gs-quiz-header.upsc { background: #8b5cf6; }

.gs-category {
    font-size: 14px;
    opacity: 0.9;
}
.gs-difficulty {
    float: right;
    background: #fff;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.gs-quiz-body {
    padding: 20px;
}

.gs-topics span,
.gs-topics li {
    display: inline-block;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 4px;
    font-size: 12px;
}

.gs-quiz-footer {
    padding: 15px;
    text-align: center;
}

.gs-start-btn {
    background: #2563eb;
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    display: inline-block;
}
/* Tabs */
.gs-tabs {
    margin-bottom: 25px;
}

.gs-tab {
    background: #555;
    color: #fff;
    border: none;
    padding: 10px 18px;
    margin-right: 6px;
    cursor: pointer;
}

.gs-tab.active {
    background: #2563eb;
}

/* Loader */
.gs-load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.gs-load-more-wrap.loading::after {
    content: "Loading...";
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}

/* Load more button */
#gs-load-more {
    padding: 10px 25px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Difficulty colors */
.gs-difficulty.easy {
    background: #dcfce7;
    color: #166534;
}

.gs-difficulty.medium {
    background: #fef9c3;
    color: #854d0e;
}

.gs-difficulty.hard {
    background: #fee2e2;
    color: #991b1b;
}


/* =========================
 * Quiz Listing Styles
 * ========================= */

.gs-quiz-listing-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 0px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header Section */
.gs-quiz-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.gs-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #5856d6;
    margin: 0 0 15px 0;
}

.gs-main-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

/* Tabs */
.gs-quiz-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: #f5f5f7;
    padding: 10px;
    border-radius: 12px;
}

.gs-tab-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.gs-tab-btn:hover {
    background: #fff;
    color: #5856d6;
}

.gs-tab-btn.active {
    background: #5856d6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(88, 86, 214, 0.3);
}

/* Quiz Grid */
.gs-quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Quiz Card */
.gs-quiz-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gs-quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card Header */
.gs-quiz-header {
    padding: 20px;
    color: #fff;
    position: relative;
}

.gs-quiz-header.gs-ssc {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gs-quiz-header.gs-railway {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.gs-quiz-header.gs-police {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.gs-quiz-header.gs-upsc {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gs-quiz-header.gs-general {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gs-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gs-category {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gs-difficulty {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.gs-quiz-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Card Body */
.gs-quiz-body {
    padding: 20px;
    flex: 1;
}

.gs-quiz-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.gs-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

.gs-icon {
    font-size: 1.1rem;
}

.gs-topics {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.gs-topics p {
    margin: 0 0 8px 0;
}

.gs-topics strong {
    color: #333;
}

/* Card Footer */
.gs-quiz-footer {
    padding: 0 20px 20px;
}

.gs-start-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #5856d6;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.gs-start-btn:hover {
    background: #4745b5;
    transform: scale(1.02);
}

/* Load More Button */
.gs-load-more-wrapper {
    text-align: center;
    margin: 40px 0;
}

.gs-load-more-btn {
    padding: 14px 40px;
    background: #5856d6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gs-load-more-btn:hover {
    background: #4745b5;
    transform: scale(1.05);
}

.gs-load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Loading Spinner */
.gs-loading {
    text-align: center;
    padding: 40px;
}

.gs-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5856d6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gs-quiz-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gs-main-title {
        font-size: 2rem;
    }

    .gs-main-subtitle {
        font-size: 1rem;
    }

    .gs-quiz-grid {
        grid-template-columns: 1fr;
    }

    .gs-quiz-tabs {
        justify-content: center;
    }

    .gs-tab-btn {
        flex: 0 1 auto;
    }
}

/* Empty State */
.gs-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.gs-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gs-empty-state p {
    font-size: 1rem;
}