:root {
    --ilovemcq-primary: #6366f1; /* Premium Indigo */
    --ilovemcq-brand-dark: #1e1b4b; /* Deep Indigo for Dark Themes/Sections */
    --ilovemcq-secondary: #111827; /* Near Black */
    --ilovemcq-bg: #f9fafb;
    --ilovemcq-text: #1e293b;
    --ilovemcq-white: #ffffff;
    --ilovemcq-font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--ilovemcq-font-stack);
    background-color: var(--ilovemcq-bg);
    color: var(--ilovemcq-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ilovemcq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1440px) {
    .ilovemcq-container {
        max-width: 1400px;
    }
}

.ilovemcq-header {
    background: var(--ilovemcq-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ilovemcq-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .ilovemcq-header-content {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem 0.5rem;
        padding-bottom: 0.5rem;
    }
    .ilovemcq-logo-wrapper {
        flex: 0 1 auto;
        min-width: 0;
    }
    .ilovemcq-header-actions {
        order: 1;
        flex: 0 0 auto;
    }
    .ilovemcq-search-container {
        order: 2;
        width: 100%;
        flex: 0 0 100%;
        margin-top: 0.25rem;
    }
}

.ilovemcq-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000000;
}

.ilovemcq-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ilovemcq-logo-text span {
    color: #4f46e5; /* Distinct blue for .com */
}

/* ---- start of search bar ---- */
.ilovemcq-search-container {
    flex: 1;
    max-width: 500px;
}

@media (max-width: 768px) {
    .ilovemcq-search-container {
        width: 100%;
        max-width: 100%;
    }
}

.ilovemcq-search-form {
    display: flex;
    position: relative;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.25rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ilovemcq-search-form:focus-within {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

@media (max-width: 480px) {
    .ilovemcq-search-form {
        padding: 0.1rem;
    }
    .ilovemcq-search-input {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    .ilovemcq-search-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
    .ilovemcq-logo-text {
        font-size: 1.4rem;
    }
}

.ilovemcq-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    color: var(--ilovemcq-text);
    outline: none;
}

.ilovemcq-search-btn {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ilovemcq-search-btn:hover {
    background: #4338ca;
    transform: scale(1.02);
}
/* ---- End of search bar ---- */

/* ---- start of master grid ---- */
.ilovemcq-grid-board {
    columns: 3 300px;
    column-gap: 2rem;
    padding: 0.5rem 0 0;
}

.ilovemcq-category-card {
    display: inline-block;
    width: 100%;
    background: var(--ilovemcq-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    margin-bottom: 2.5rem;
    break-inside: avoid;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* For header flush background */
}

.ilovemcq-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.ilovemcq-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 1.5rem 2rem;
    margin: -2rem -2rem 1.5rem -2rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-bottom: 3px solid #fbbf24;
}

.ilovemcq-category-header:hover {
    padding-left: 2.25rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.ilovemcq-category-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: white !important;
    letter-spacing: -0.01em;
}

.ilovemcq-category-header i {
    color: #fbbf24;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.ilovemcq-category-header:hover i {
    transform: translateX(5px);
}


.ilovemcq-subject-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ilovemcq-subject-link {
    font-size: 0.875rem;
    color: var(--ilovemcq-primary); /* Hyperlink Blue */
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    background: var(--ilovemcq-bg);
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.ilovemcq-subject-link:hover {
    background: var(--ilovemcq-primary);
    color: var(--ilovemcq-white);
}
/* ---- End of master grid ---- */

/* ---- start of gamified flow ---- */
.ilovemcq-quiz-container {
    max-width: 900px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    color: white;
    position: relative;
    overflow: hidden;
}

.ilovemcq-quiz-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ilovemcq-question-block {
    display: none;
}

.ilovemcq-question-block.ilovemcq-active {
    display: block;
    animation: ilovemcq-fadein 0.4s ease-out;
}

/* Millionaire Hexagon Shapes */
.ilovemcq-hex-box {
    position: relative;
    background: #0f172a;
    border: 2px solid #6366f1;
    padding: 1.5rem 3rem;
    margin: 2rem 0;
    text-align: center;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Related MCQs Horizontal Slider */
.ilovemcq-related-section {
    margin-top: 5rem;
    text-align: left;
    overflow: hidden;
}

.ilovemcq-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.ilovemcq-related-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ilovemcq-secondary);
    position: relative;
    display: inline-block;
}

.ilovemcq-related-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background: #fbbf24;
    border-radius: 2px;
}

.ilovemcq-slider-controls {
    display: flex;
    gap: 0.75rem;
}

.ilovemcq-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--ilovemcq-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ilovemcq-slider-btn:hover {
    background: var(--ilovemcq-primary);
    color: white;
    border-color: var(--ilovemcq-primary);
    transform: scale(1.1);
}

.ilovemcq-related-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 3rem 0.5rem;
    margin-left: -0.5rem;
    scrollbar-width: none; /* Firefox */
}

.ilovemcq-related-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.ilovemcq-related-card {
    min-width: calc(25% - 1.125rem); /* 4 cards on desktop */
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 1.25rem;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    scroll-snap-align: start;
    flex-shrink: 0;
}

.ilovemcq-related-card:hover {
    transform: translateY(-8px);
    border-color: var(--ilovemcq-primary);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
}

.ilovemcq-related-badge {
    background: #eff6ff;
    color: var(--ilovemcq-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    margin-bottom: 1rem;
}

.ilovemcq-related-exam-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ilovemcq-secondary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ilovemcq-related-action {
    color: var(--ilovemcq-primary);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ilovemcq-related-action span {
    transition: transform 0.2s ease;
}

.ilovemcq-related-card:hover .ilovemcq-related-action span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ilovemcq-related-card {
        min-width: calc(33.33% - 1rem);
    }
}

@media (max-width: 768px) {
    .ilovemcq-related-card {
        min-width: calc(85% - 1rem);
    }
}
.ilovemcq-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ilovemcq-option-hex {
    position: relative;
    background: #0f172a;
    border: 2px solid #4f46e5;
    padding: 1rem 2rem;
    color: white;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    transition: all 0.2s;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ilovemcq-option-hex:hover {
    background: #312e81;
    border-color: #818cf8;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    transform: scale(1.02);
}

.ilovemcq-option-hex span.label {
    color: #818cf8;
    font-weight: 800;
}

.ilovemcq-option-correct {
    background: #064e3b !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6) !important;
}

.ilovemcq-option-wrong {
    background: #7f1d1d !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6) !important;
}

/* Timer & HUD */
.ilovemcq-quiz-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.ilovemcq-timer {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-family: monospace;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.ilovemcq-progress-text {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Landing Page */
.ilovemcq-landing-container {
    max-width: 700px;
    margin: 4rem auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .ilovemcq-landing-container {
        margin: 2rem auto;
        padding: 2.5rem 1rem;
        border-radius: 0.75rem;
    }
}

@media (min-width: 1200px) {
    .ilovemcq-landing-container {
        max-width: 1100px;
    }
}

@media (min-width: 1440px) {
    .ilovemcq-landing-container {
        max-width: 1200px;
    }
}

.ilovemcq-entry-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    padding: 1.1rem 3.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    margin-top: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    letter-spacing: 0.02em;
}

.ilovemcq-entry-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
}

/* Results Page Refinement */
.ilovemcq-results-page {
    text-align: center;
    padding: 3rem 2rem;
    animation: ilovemcq-fadein 0.5s ease-out;
}

.ilovemcq-score-ring {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 8px solid #f3f4f6;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.ilovemcq-score-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ilovemcq-secondary);
}

.ilovemcq-score-label {
    font-size: 1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ilovemcq-result-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--ilovemcq-secondary);
}

.ilovemcq-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #64748b;
    color: white;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 1rem;
    vertical-align: middle;
}

.ilovemcq-result-msg {
    color: #059669;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.ilovemcq-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ilovemcq-btn-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ilovemcq-btn-retake { background: #f59e0b; color: white; }
.ilovemcq-btn-cert { background: #10b981; color: white; }
.ilovemcq-btn-answers { background: #06b6d4; color: white; }
.ilovemcq-btn-bookmark { 
    background: #eff6ff; 
    color: #1e40af; 
    border: 1px solid #dbeafe;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.ilovemcq-btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Modal for name entry */
.ilovemcq-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ilovemcq-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@keyframes ilovemcq-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation Buttons */
.ilovemcq-quiz-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.ilovemcq-nav-btn {
    padding: 0.75rem 2.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ilovemcq-btn-prev { background: rgba(255,255,255,0.1); color: #94a3b8; }
.ilovemcq-btn-next { background: #4f46e5; color: white; }
.ilovemcq-btn-next:hover { background: #6366f1; box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
/* Premium Card FAQ Accordion (Matched to reference) */
.ilovemcq-accordion {
    margin-top: 2rem;
}

.ilovemcq-accordion-item {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ilovemcq-accordion-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.ilovemcq-accordion-item.active {
    border-color: var(--ilovemcq-primary);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.1);
}

.ilovemcq-accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    outline: none;
}

/* Number Badge */
.ilovemcq-faq-num {
    background: #f3f0ff;
    color: #7c3aed;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Question Icon */
.ilovemcq-faq-q-icon {
    color: var(--ilovemcq-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Question Text */
.ilovemcq-faq-text {
    flex-grow: 1;
    font-weight: 700;
    padding-left: 0.5rem;
    color: var(--ilovemcq-secondary);
    font-size: 1.05rem;
}

/* Chevron */
.ilovemcq-faq-chevron {
    color: #94a3b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ilovemcq-accordion-item.active .ilovemcq-faq-chevron {
    transform: rotate(180deg);
    color: var(--ilovemcq-primary);
}

.ilovemcq-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

.ilovemcq-accordion-item.active .ilovemcq-accordion-body {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
}

.ilovemcq-accordion-item:not(.active) .ilovemcq-accordion-content {
    padding-top: 0;
    padding-bottom: 0;
}

.ilovemcq-accordion-content {
    min-height: 0;
    padding: 0 1.5rem 1.5rem 4.5rem; /* Indented for readability */
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
    transition: padding 0.3s ease; /* Match the row transition */
}

.ilovemcq-subject-details h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ilovemcq-secondary);
    border-bottom: 3px solid #fbbf24;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.ilovemcq-subject-details p {
    margin-bottom: 1.5rem;
}

/* ---- End of gamified flow ---- */

/* Sample Questions Section */
.ilovemcq-sample-questions-section {
    margin-top: 6rem;
    padding-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

@media (min-width: 1200px) {
    .ilovemcq-sample-questions-section {
        max-width: 1100px;
    }
}

@media (min-width: 1440px) {
    .ilovemcq-sample-questions-section {
        max-width: 1200px;
    }
}

.ilovemcq-sample-badge {
    background: #eef2ff;
    color: var(--ilovemcq-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ilovemcq-sample-badge span {
    background: var(--ilovemcq-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.ilovemcq-sample-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--ilovemcq-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ilovemcq-sample-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.ilovemcq-sample-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ilovemcq-sample-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ilovemcq-sample-item.active {
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.ilovemcq-board-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: white;
    overflow: hidden; /* Prevent clipping */
}

@media (max-width: 768px) {
    .ilovemcq-board-header {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    .ilovemcq-board-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
.trending .ilovemcq-board-header { background: linear-gradient(135deg, #ff4b4b 0%, #ff7676 100%); }
.arrivals .ilovemcq-board-header { background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%); }

.ilovemcq-board-col {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.ilovemcq-board-icon {
    font-size: 1.75rem;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}
.ilovemcq-board-header h3 { margin: 0 !important; font-size: 1.25rem !important; font-weight: 700 !important; color: white !important; }
.ilovemcq-board-header span { font-size: 0.85rem; opacity: 0.9; }

.ilovemcq-board-list { padding: 0.5rem 0; }
.ilovemcq-board-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4.5rem 1rem 1.5rem;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}
.ilovemcq-board-item:last-child { border-bottom: none; }
.ilovemcq-board-item:hover { background: #f8fafc; }

.il-item-left { display: flex; align-items: center; gap: 1rem; flex: 1; }
.il-item-icon {
    color: #ef4444;
    background: #fef2f2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}
.il-item-icon.secondary { color: #6366f1; background: #eef2ff; }
.il-item-title { font-weight: 500; font-size: 0.95rem; line-height: 1.4; color: #1e293b; }

.il-item-right { text-align: right; min-width: 100px; display: flex; flex-direction: column; align-items: flex-end; }
.il-item-count { display: block; font-weight: 800; font-size: 1.1rem; color: #1e293b; line-height: 1; }
.il-item-label { font-size: 0.65rem; font-weight: 700; color: #94a3b8; }

.il-badge-new {
    background: #fbbf24;
    color: #78350f;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.ilovemcq-sample-q-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: #fdfdff;
}

.ilovemcq-sample-item.active .ilovemcq-sample-q-header {
    background: #f5f3ff;
}

.ilovemcq-sample-q-header .num {
    background: #4f46e5;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.ilovemcq-sample-q-header .text {
    flex-grow: 1;
    font-weight: 700;
    color: #4338ca;
    font-size: 1.1rem;
}

.ilovemcq-sample-q-header .chevron {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.ilovemcq-sample-item.active .chevron {
    transform: rotate(180deg);
}

.ilovemcq-sample-q-body {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.ilovemcq-sample-item.active .ilovemcq-sample-q-body {
    display: block;
}

.ilovemcq-instruction {
    font-size: 0.9rem;
    color: #64748b;
    margin: 1rem 0;
    font-weight: 600;
}

.ilovemcq-sample-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ilovemcq-sample-opt {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.ilovemcq-sample-opt:hover:not(.correct):not(.wrong) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ilovemcq-sample-opt .circle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.ilovemcq-sample-opt .label {
    background: #f1f5f9;
    color: #475569;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
}

.ilovemcq-sample-opt .opt-text {
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
}

/* Feedback States */
.ilovemcq-sample-opt.correct {
    background: #f0fdf4;
    border-color: #22c55e;
}
.ilovemcq-sample-opt.correct .circle {
    border-color: #22c55e;
    background: #22c55e;
}
.ilovemcq-sample-opt.correct .label {
    background: #22c55e;
    color: white;
}

.ilovemcq-sample-opt.wrong {
    background: #fef2f2;
    border-color: #ef4444;
}
.ilovemcq-sample-opt.wrong .circle {
    border-color: #ef4444;
    background: #ef4444;
}
.ilovemcq-sample-opt.wrong .label {
    background: #ef4444;
    color: white;
}

.ilovemcq-sample-feedback {
    margin-top: 1.5rem;
    animation: fadeInSample 0.3s ease;
}

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

.ilovemcq-feedback-msg {
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1rem;
}

.res-correct { color: #15803d; background: #dcfce7; padding: 0.5rem 1rem; border-radius: 0.5rem; border-left: 4px solid #15803d; display: block; }
.res-wrong { color: #b91c1c; background: #fee2e2; padding: 0.5rem 1rem; border-radius: 0.5rem; border-left: 4px solid #b91c1c; display: block; }

.ilovemcq-explanation-box {
    background: #f0f9ff;
    border-radius: 0.75rem;
    border-left: 4px solid #0ea5e9;
    padding: 1.25rem;
    margin-top: 1rem;
}

.exp-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0369a1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.exp-content {
    color: #0c4a6e;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}
@media (max-width: 640px) { .ilovemcq-footer-content { grid-template-columns: 1fr; gap: 2.5rem; } .ilovemcq-footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; } }

/* --- Footer Styles --- */
.ilovemcq-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.ilovemcq-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .ilovemcq-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .ilovemcq-footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.ilovemcq-footer-brand .ilovemcq-logo-wrapper {
    margin-bottom: 1.5rem;
}

.ilovemcq-footer-brand .ilovemcq-logo-text {
    color: #000000;
}

.ilovemcq-footer-brand .ilovemcq-logo-text span {
    color: #4f46e5;
}

.ilovemcq-footer-desc {
    color: var(--ilovemcq-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.7;
}

.ilovemcq-footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ilovemcq-text);
    margin-bottom: 1.75rem;
}

.ilovemcq-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ilovemcq-footer-links li {
    margin-bottom: 0.875rem;
}

.ilovemcq-footer-links a {
    color: var(--ilovemcq-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    opacity: 0.6;
}

.ilovemcq-footer-links a:hover {
    color: var(--ilovemcq-primary);
    opacity: 1;
}

.ilovemcq-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .ilovemcq-footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

/* ---- start of ad bridge ---- */
#ilovemcq-ad-footer-bridge {
    min-height: 90px;
    text-align: center;
    background-color: #f3f4f6; /* Subtle light gray */
    margin: 3rem auto 2rem;
    display: block;
    width: 100%;
    max-width: 1200px;
    padding: 1.5rem 0;
    clear: both;
}

@media (max-width: 768px) {
    #ilovemcq-ad-footer-bridge {
        margin: 2rem auto 1rem;
        min-height: 100px;
    }
}
/* ---- End of ad bridge ---- */

/* My Subjects Global Bookmark Button */
.add-to-desk-card-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.add-to-desk-card-btn:hover {
    background: #eff6ff;
    color: #3b82f6;
    border-color: #3b82f6;
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}
.ilovemcq-search-result-card:hover .add-to-desk-card-btn,
.ilovemcq-modern-card:hover .add-to-desk-card-btn {
    border-color: #3b82f6;
    color: #3b82f6;
}
