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

html,
body {
    width: 100%;
    overflow-x: hidden;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--light-gray);
    font-size: 1rem;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.btn-gold {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: 0.3s ease;
}

.btn-gold:hover {
    color: var(--black);
    box-shadow: 0 8px 22px var(--shadow-gold);
}

.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black);
    box-shadow: 0 8px 22px var(--shadow-gold);
}

.section-heading {
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: var(--white);
}

.section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 20px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(var(--black-rgb), 0.45);
    transition: 0.3s ease;
}

.card:hover {
    background-color: var(--color-d4af370e);
    border-color: var(--gold);
}

.navbar {
    top: 0;
    z-index: 999;
    background: var(--rgba-10-10-10-0_96);
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(12px);
}

.navbar-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    align-items: center;
    padding: 1px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
    font-family: "Science Gothic", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 66.9,
        "CTRS" 32;
}

.logo-text span {
    color: var(--gold);
    font-family: "Science Gothic", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 66.9,
        "CTRS" 32;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-gray);
    padding: 28px 0;
}

.nav-link:hover {
    color: var(--gold);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.3s ease;
    box-shadow: 0 16px 35px rgba(var(--black-rgb), 0.55);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    color: var(--light-gray);
    font-size: 0.92rem;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: rgba(var(--gold-rgb), 0.1);
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn-outline,
.nav-actions .btn-gold {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 20px;
    transition: 0.3s ease;
}

.footer {
    background: linear-gradient(180deg, var(--black), var(--black-darker));
    border-top: 1px solid var(--border-gold);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h2 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.7rem;
}

.footer-brand p {
    max-width: 380px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--light-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(var(--gold-rgb), 0.2);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-999999);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .navbar-inner {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background-color: var(--black);
        border: 1px solid var(--border-gold);
        border-top: none;
        border-radius: 0 0 18px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 18px;
        display: none;
    }

    .menu-toggle:checked~.nav-menu {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 13px 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 5px;
        width: 100%;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .mobile-quick-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px 18px 0;
        width: min(100%, 1180px);
        margin: 0 auto;
    }

    .mobile-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px;
        border: 1px solid rgba(var(--gold-rgb), 0.18);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
        color: var(--gold);
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-decoration: none;
    }

    .mobile-nav-btn.active {
        background: linear-gradient(135deg, var(--gold), rgba(212, 175, 55, 0.78));
        color: var(--black);
        border-color: transparent;
    }

    .mobile-nav-btn:hover {
        background: rgba(var(--gold-rgb), 0.12);
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(var(--gold-rgb), 0.16);
    }

    .mobile-auth-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .mobile-auth-actions > a,
    .mobile-auth-actions > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 1 140px;
        width: min(140px, 100%);
        max-width: 140px;
        min-width: 0;
        padding: 10px 14px;
        text-align: center;
        white-space: nowrap;
        border-radius: 999px;
    }

    .article-page {
        padding-top: 24px;
    }

    .article-back-link {
        margin-bottom: 20px;
    }

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

@media (min-width: 901px) {
    .mobile-actions {
        display: none;
    }
}

@media (max-width: 500px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .btn-gold,
    .btn-outline {
        padding: 9px 16px;
        font-size: 0.9rem;
    }
}

.home-hero {
    background: linear-gradient(180deg, var(--black), var(--black-darker));
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 420px;
    max-width: 100%;
    filter: drop-shadow(0 0 26px rgba(var(--gold-rgb), 0.35));
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--light-gray);
    margin-bottom: 20px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.slider-section {
    padding: 55px 0 35px;
    background: linear-gradient(180deg, var(--black-darker), var(--black));
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(var(--gold-rgb), 0.34);
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), transparent 32%),
        var(--black-dark);
    box-shadow:
        0 22px 55px rgba(var(--black-rgb), 0.58),
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        inset 0 0 45px rgba(var(--gold-rgb), 0.035);
}

.slides {
    display: flex;
    transition: transform 0.75s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    background: var(--black-dark);
}

.slide img {
    width: 100%;
    height: clamp(320px, 42vw, 560px);
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.92) contrast(1.08) saturate(1.05);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--black-rgb), 0.42), transparent 38%, rgba(var(--black-rgb), 0.20)),
        linear-gradient(180deg, transparent 62%, rgba(var(--black-rgb), 0.42));
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 44px;
    height: 44px;
    border-radius: 50%;

    border: 1px solid rgba(var(--gold-rgb), 0.58);
    background: rgba(var(--black-rgb), 0.68);
    color: var(--gold);

    font-size: 1.45rem;
    cursor: pointer;

    display: grid;
    place-items: center;

    backdrop-filter: blur(10px);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.slider-btn:hover {
    background: rgba(var(--gold-rgb), 0.95);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.38);
}

.prev-btn {
    left: 18px;
}

.next-btn {
    right: 18px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 6;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(var(--black-rgb), 0.52);
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    backdrop-filter: blur(10px);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(var(--white-rgb), 0.38);
    cursor: pointer;
    transition:
        width 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.dot.active {
    width: 28px;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.55);
}

@media (max-width: 900px) {
    .slider-section {
        padding: 42px 0 28px;
    }

    .slide img {
        height: clamp(280px, 48vw, 420px);
    }

    .slider {
        border-radius: 22px;
    }
}

@media (max-width: 500px) {
    .slider-section {
        padding: 32px 0 22px;
    }

    .slider {
        border-radius: 18px;
    }

    .slide img {
        height: 255px;
        object-position: center;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
        padding: 6px 9px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 21px;
    }
}

.about-section {
    padding: 80px 0;
}

.about-text {
    max-width: 850px;
    margin-bottom: 38px;
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    min-height: 245px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(var(--gold-rgb), 0.1);
    border: 1px solid var(--border-gold);
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.stats-section {
    padding: 80px 0 30px;
    background: linear-gradient(180deg, transparent, rgba(var(--gold-rgb), 0.04), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-box {
    text-align: center;
    padding: 34px 20px;
}

.stat-box h3 {
    color: var(--gold);
    font-size: 2.35rem;
    margin-bottom: 8px;
}

.stat-box p {
    font-weight: 600;
    letter-spacing: 0.4px;
}

@media (max-width: 900px) {
    .home-hero {
        padding: 35px 0 55px;
    }

    .hero-logo {
        width: 190px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .slide img {
        height: 320px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hero-logo {
        width: 330px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .slide img {
        height: 240px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

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

    .stat-box h3 {
        font-size: 2rem;
    }
}

.auth-page {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, var(--black), var(--black-darker));
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 20px 55px rgba(var(--black-rgb), 0.6);
}

.auth-card h1 {
    color: var(--gold);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: var(--light-gray);
    margin-bottom: 28px;
    font-size: 0.96rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 7px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--black-dark);
    color: var(--white);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    border-radius: 12px;
    outline: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.form-group input::placeholder {
    color: var(--color-777777);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.14);
}

.form-group select option {
    background-color: var(--surface);
    color: var(--white);
}

.auth-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    font-size: 1rem;
}

.auth-switch {
    text-align: center;
    margin-top: 22px;
    color: var(--light-gray);
}

.auth-switch a {
    color: var(--gold);
    font-weight: 700;
}

.auth-switch a:hover {
    color: var(--dark-gold);
}

.field-error {
    display: block;
    color: var(--text-danger);
    margin-top: 7px;
    font-size: 0.85rem;
}

.form-message {
    margin-top: 16px;
    text-align: center;
    font-size: 0.92rem;
}

.error-message {
    color: var(--text-danger);
}

.success-message {
    color: var(--success);
}

.navbar-user {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
}

.logout-btn {
    cursor: pointer;
    font-family: inherit;
}

.auth-mobile-actions {
    align-items: center;
    flex-wrap: wrap;
}

.auth-mobile-actions .navbar-user {
    width: 100%;
    padding-bottom: 6px;
}

@media (max-width: 500px) {
    .auth-card {
        padding: 28px 22px;
    }

    .auth-card h1 {
        font-size: 1.7rem;
    }
}

.resource-main {
    width: min(1200px, 92%);
    margin: 40px auto 70px;
}

.resource-hero-box {
    background: linear-gradient(135deg, var(--surface), var(--surface-highlight));
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    border-radius: 26px;
    padding: 45px 35px;
    margin-bottom: 35px;
    box-shadow: 0 18px 45px rgba(var(--black-rgb), 0.35);
}

.resource-badge {
    display: inline-block;
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.resource-hero-box h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 12px;
}

.resource-hero-box p {
    color: var(--text-muted-2);
    max-width: 650px;
    line-height: 1.7;
}

.resource-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.resource-toolbar h2 {
    color: var(--white);
    font-size: 1.6rem;
}

/* =====================================================
   12TH NOTES / PAPERS FILTER BUTTON THEME FIX
   Only changes button color. Keeps existing hover behavior.
===================================================== */

.filter-btn {
    border: 1px solid rgba(212, 175, 55, 0.42);
    background:
        linear-gradient(180deg, rgba(15, 45, 82, 0.92), rgba(4, 15, 29, 0.96));
    color: #f2cf63;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 10px 24px rgba(0, 0, 0, 0.22);
}

.filter-btn:hover,
.filter-btn.active {
    background:
        linear-gradient(135deg, #d4af37, #f2cf63);
    color: #050910;
    border-color: rgba(255, 240, 180, 0.55);
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.24),
        0 12px 28px rgba(0, 0, 0, 0.28);
}

.resource-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
    gap: 24px;
    justify-content: start;
    align-items: stretch;
}

.resource-box-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(var(--black-rgb), 0.25);
}

.resource-box-card:hover {
    /* outline: 1px solid var(--gold); */
    background: rgba(var(--gold-rgb), 0.067);
    border-color: rgba(var(--gold-rgb), 0.65);
    box-shadow: 0 18px 45px rgba(var(--gold-rgb), 0.13);
}

.resource-thumbnail {
    height: 145px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-222), var(--color-3a2d08));
    overflow: hidden;
}

.resource-thumbnail span {
    color: var(--white);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.resource-box-card:hover .resource-thumbnail span {
    transform: scale(0.95);
    transition: transform 0.35s ease;
}

.resource-card-body {
    padding: 22px;
}

.resource-card-body h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.resource-card-body p {
    color: var(--text-muted-4);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.resource-card-info {
    display: flex;
    justify-content: space-between;
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.resource-card-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: var(--gold);
    color: var(--surface);
    padding: 11px 15px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.resource-card-btn:hover {
    background: var(--gold-light);
    transform: scale(1.01);
}

.tamil-bg {
    background: linear-gradient(135deg, var(--accent-red-deep) 0%, var(--accent-red-dark) 45%, var(--accent-red) 100%);
}

.english-bg {
    background: linear-gradient(135deg, var(--surface) 0%, var(--color-334155) 48%, var(--color-94a3b8) 100%);
}

.maths-bg {
    background: linear-gradient(135deg, var(--black-deep) 0%, var(--accent-blue-dark) 48%, var(--accent-blue) 100%);
}

.science-bg {
    background: linear-gradient(135deg, var(--color-031b12) 0%, var(--accent-teal-dark) 48%, var(--accent-teal) 100%);
}

.social-bg {
    background: linear-gradient(135deg, var(--color-1c0f05) 0%, var(--color-7c2d12) 48%, var(--color-b45309) 100%);
}

.general-knowledge-bg {
    background: linear-gradient(135deg, var(--color-0f1028) 0%, var(--accent-indigo) 48%, var(--color-7c3aed) 100%);
}

@media (max-width: 768px) {
    .resource-main {
        margin-top: 90px;
    }

    .resource-hero-box {
        padding: 32px 22px;
    }

    .resource-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-card-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {
    .resource-main {
        width: 94%;
        margin-top: 85px;
    }

    .resource-hero-box h1 {
        font-size: 1.8rem;
    }

    .resource-hero-box p {
        font-size: 0.95rem;
    }

    .resource-thumbnail {
        height: 120px;
    }

    .resource-thumbnail span {
        font-size: 1.8rem;
    }

    .resource-card-body {
        padding: 18px;
    }

    .resource-card-btn {
        padding: 10px 12px;
    }
}

.mcq-container {
    max-width: 850px;
    margin: 40px auto;
    padding: 30px;
    background: var(--surface-alt);
    border-radius: 16px;
    border: 1px solid var(--rgba-255-215-0-0_4);
    box-shadow: 0 4px 15px rgba(var(--black-rgb), 0.4);
    animation: fadeIn 0.6s ease;
}

.mcq-title {
    text-align: center;
    color: var(--gold-muted);
    margin-bottom: 35px;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 1px;
}

.question-box {
    margin-bottom: 28px;
    padding: 24px;
    background: var(--surface-alt-4);
    border-radius: 14px;
    border-left: 4px solid var(--gold);
    transition: 0.3s ease;
}

.question-box:hover {
    background: var(--surface-alt-5);
}

.question {
    font-size: 21px;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 600;
    line-height: 1.5;
}

.option {
    display: flex;
    align-items: center;
    background: var(--surface-alt-6);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 16px;
    color: var(--white-muted);
}

.option:hover {
    background: var(--surface-border);
    border-color: var(--gold);
}

.option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.1);
    cursor: pointer;
    accent-color: var(--gold);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--surface);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

#result {
    margin-top: 28px;
    text-align: center;
    font-size: 28px;
    color: var(--gold-muted);
    font-weight: 700;
}

.answer-box {
    margin-top: 14px;
    font-size: 17px;
    color: var(--gold);
    font-weight: 600;
}

.correct-option {
    background: var(--rgba-34-139-34-0_18);
    border-color: var(--rgba-34-139-34-0_8);
}

.wrong-option {
    background: var(--rgba-220-20-60-0_18);
    border-color: var(--rgba-220-20-60-0_8);
}

.mcq-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(var(--black-rgb), 0.84);
    backdrop-filter: blur(14px);
    display: grid;
    place-items: center;
    padding: 22px;
}

.mcq-modal {
    width: min(500px, 94%);
    max-width: 500px;
    background: linear-gradient(180deg, var(--surface-darker), var(--black-very-dark));
    border: 1px solid rgba(var(--gold-rgb), 0.48);
    border-radius: 30px;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.12),
        0 34px 95px rgba(var(--black-rgb), 0.78),
        inset 0 0 42px rgba(var(--gold-rgb), 0.035);
    padding: 32px 26px 24px;
    position: relative;
    text-align: center;
    animation: mcqModalPop 0.32s ease;
}

.mcq-modal-label {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--gold-soft);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.mcq-modal h2 {
    color: var(--gold);
    font-size: clamp(1.9rem, 4vw, 2.45rem);
    margin-bottom: 18px;
    font-weight: 900;
    text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.22);
}

.mcq-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(var(--gold-rgb), 0.45);
    border-radius: 50%;
    background: rgba(var(--white-rgb), 0.035);
    color: var(--gold);
    font-size: 1.45rem;
    cursor: pointer;
    line-height: 1;
    display: grid;
    place-items: center;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.mcq-modal-close:hover {
    background: rgba(var(--gold-rgb), 0.14);
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.16);
    transform: scale(1.06);
}

.mcq-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: var(--white);
    font-size: 2.35rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08), var(--surface-deep) 72%);
    border: 2px solid var(--gold);
    box-shadow:
        0 0 0 8px rgba(var(--gold-rgb), 0.035),
        0 0 36px rgba(var(--gold-rgb), 0.26),
        inset 0 0 28px rgba(var(--gold-rgb), 0.08);
}

.mcq-performance-text {
    color: var(--color-f1d77a);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.6;
}

.mcq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.mcq-stat-box {
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.055), rgba(var(--white-rgb), 0.018)),
        var(--surface);
    border: 1px solid rgba(var(--gold-rgb), 0.24);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: inset 0 0 24px rgba(var(--gold-rgb), 0.018);
}

.mcq-stat-box span {
    display: block;
    color: var(--text-muted-4);
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mcq-stat-box strong {
    display: block;
    color: var(--gold);
    font-size: 1.65rem;
    font-weight: 900;
}

.mcq-ranking-text,
.mcq-advice-text {
    color: var(--gold-soft);
    font-size: 0.98rem;
    margin-bottom: 18px;
    min-height: 1.5rem;
    line-height: 1.6;
}

.mcq-advice-text {
    margin-bottom: 26px;
    color: var(--white);
    font-size: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.mcq-modal-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mcq-modal-actions .btn-outline,
.mcq-modal-actions .btn-gold {
    min-width: 145px;
    text-align: center;
}

@media (max-width: 520px) {
    .mcq-modal {
        padding: 22px 18px 18px;
    }

    .mcq-score-circle {
        width: 110px;
        height: 110px;
        font-size: 1.8rem;
    }

    .mcq-modal h2 {
        font-size: 1.75rem;
    }

    .mcq-stat-box {
        padding: 14px 12px;
    }

    .mcq-stat-box strong {
        font-size: 1.4rem;
    }

    .mcq-advice-text,
    .mcq-ranking-text {
        font-size: 0.92rem;
    }

    .mcq-modal-actions .btn-outline,
    .mcq-modal-actions .btn-gold {
        min-width: auto;
        padding: 10px 16px;
    }

    .mcq-ranking-text,
    .mcq-advice-text {
        font-size: 0.95rem;
    }
}

@keyframes mcqModalPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 768px) {

    .mcq-container {
        margin: 20px;
        padding: 22px;
    }

    .mcq-title {
        font-size: 30px;
    }

    .question {
        font-size: 18px;
    }

    .option {
        font-size: 15px;
    }

    #result {
        font-size: 24px;
    }
}

.career-hero {
    padding: 70px 8% 35px;
    text-align: center;
    background: var(--black-dark);
    color: var(--white);
}

.career-hero h1 {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.career-hero p {
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-muted-3);
    font-size: 1rem;
    line-height: 1.7;
}

.career-blog-section {
    padding: 50px 8% 80px;
    background: var(--black-dark);
    color: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted-2);
    line-height: 1.6;
}

.career-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.career-blog-card {
    background: var(--surface);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 12px 35px rgba(var(--black-rgb), 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.career-blog-card:hover {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--surface-alt-3), var(--surface-panel-darker));
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.25),
        0 0 28px rgba(var(--gold-rgb), 0.16),
        inset 0 0 35px rgba(var(--gold-rgb), 0.035);
}

.career-blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.career-blog-card:hover img {
    transform: scale(0.96);
    filter: brightness(0.85);
}


.career-blog-content {
    padding: 22px;
}

.career-blog-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.career-blog-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.35;
}

.career-blog-content p {
    color: var(--text-muted-2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.read-more {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .career-hero {
        padding: 55px 6% 30px;
    }

    .career-hero h1 {
        font-size: 2rem;
    }

    .career-blog-section {
        padding: 40px 6% 65px;
    }

    .section-heading h2 {
        font-size: 1.7rem;
    }

    .career-blog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .career-blog-card img {
        height: 180px;
    }
}

.featured-career-guide {
    width: min(1150px, 90%);
    margin: 40px auto 70px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), transparent 35%),
        linear-gradient(180deg, var(--surface-alt-3), var(--black-dark));
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    border-radius: 26px;
    padding: 38px;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        0 24px 60px rgba(var(--black-rgb), 0.55);
    overflow: hidden;
}

.featured-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin: 12px 0 16px;
    letter-spacing: 0.4px;
}

.featured-content p {
    color: var(--text-muted-2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid var(--gold);
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.16);
}

.featured-btn:hover {
    color: var(--black);
    background: var(--gold-light);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.35),
        0 0 28px rgba(var(--gold-rgb), 0.28);
}

.featured-image {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    background: var(--black-darker);
}

.featured-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.featured-career-guide:hover .featured-image img {
    transform: scale(1.06);
    filter: brightness(0.72) contrast(1.15) saturate(1.1);
}

.article-main {
    width: 100%;
    margin: 0;
    padding-bottom: 90px;
    background: linear-gradient(180deg, var(--black-dark), var(--black-darker));
}

.article-hero {
    width: 100%;
    padding: 90px 8% 70px;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.25);
    background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.10), transparent 45%),
        linear-gradient(180deg, var(--surface-alt-3), var(--black-dark));
}

.article-label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    background: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 1050px;
    color: var(--white);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.article-hero p {
    max-width: 900px;
    color: var(--text-muted-3);
    font-size: 1.1rem;
    line-height: 1.85;
}

.article-content {
    width: min(1200px, 90%);
    margin: 60px auto 0;
    padding: 0;
    display: block;
}

.article-body {
    width: 100%;
    max-width: none;
    background: transparent;
}

.article-body h2,
.article-body h3,
.article-body p,
.article-body ul,
.article-note {
    max-width: 1000px;
}

.article-body h2 {
    color: var(--gold);
    font-size: 2rem;
    margin: 54px 0 18px;
    line-height: 1.25;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin: 34px 0 12px;
    line-height: 1.35;
}

.article-body p {
    color: var(--text-muted-3);
    font-size: 1.05rem;
    line-height: 1.95;
    margin-bottom: 20px;
}

.article-body ul {
    margin: 14px 0 26px 24px;
}

.article-body li {
    color: var(--text-muted-3);
    line-height: 1.85;
    margin-bottom: 10px;
}

.article-note {
    margin: 34px 0;
    padding: 26px 28px;
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.13), rgba(var(--gold-rgb), 0.03));
    box-shadow: inset 0 0 35px rgba(var(--gold-rgb), 0.025);
}

.article-note h3 {
    color: var(--gold);
    margin: 0 0 10px;
}

.article-note p {
    margin-bottom: 0;
}

.related-guides {
    width: min(1180px, 88%);
    margin: 70px auto 0;
    padding-top: 35px;
    border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.related-guides h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 22px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.related-card {
    display: block;
    padding: 26px;
    min-height: 150px;
    border-radius: 20px;
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    background: linear-gradient(180deg, var(--surface-alt-2), var(--black-dark));
    box-shadow: 0 18px 45px rgba(var(--black-rgb), 0.42);
}

.related-card:hover {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--surface-alt-4), var(--black-dark));
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.25),
        0 0 30px rgba(var(--gold-rgb), 0.16),
        0 22px 55px rgba(var(--black-rgb), 0.6);
}

.related-card span {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.related-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.4;
}

@media (max-width: 950px) {
    .article-hero {
        padding: 70px 6% 55px;
    }

    .article-content {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

@media (max-width: 520px) {
    .article-hero {
        padding: 55px 6% 45px;
    }

    .article-hero h1 {
        font-size: 2.2rem;
    }

    .article-content,
    .related-guides {
        width: 90%;
    }

    .article-body h2 {
        font-size: 1.55rem;
    }
}

.contact-wheel-main {
    min-height: calc(100vh - 78px);
    background:
        radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.13), transparent 32%),
        radial-gradient(circle at bottom right, rgba(var(--gold-rgb), 0.08), transparent 30%),
        linear-gradient(180deg, var(--surface-panel), var(--black-deep));
    display: grid;
    place-items: center;
    padding: 24px 5%;
    overflow: hidden;
}

.contact-wheel-layout {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 35px;
}

.wheel-intro span {
    display: inline-block;
    color: var(--gold);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    background: rgba(var(--gold-rgb), 0.08);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.wheel-intro h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 14px;
}

.wheel-intro p {
    color: var(--text-muted-2);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-wheel {
    position: relative;
    width: min(560px, 82vh);
    height: min(560px, 82vh);
    margin-left: auto;
}

.contact-wheel::before {
    content: "";
    position: absolute;
    inset: 45px;
    border-radius: 50%;
    border: 1px dashed rgba(var(--gold-rgb), 0.15);
    box-shadow: inset 0 0 55px rgba(var(--gold-rgb), 0.025);
    pointer-events: none;
}

.contact-wheel::after {
    content: "";
    position: absolute;
    inset: 100px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.13);
    pointer-events: none;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 245px;
    min-height: 245px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.32);
    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.14), rgba(var(--gold-rgb), 0.035) 42%, var(--surface-deep) 75%);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.1),
        0 22px 60px rgba(var(--black-rgb), 0.65),
        inset 0 0 45px rgba(var(--gold-rgb), 0.045);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px;
    z-index: 5;
}

#centerMini {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

#centerSymbol {
    color: var(--gold);
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 22px rgba(var(--gold-rgb), 0.28);
}

.wheel-center h2 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.wheel-center h3 {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.wheel-center p {
    color: var(--text-muted-2);
    font-size: 0.82rem;
    line-height: 1.55;
}

.wheel-item {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid rgba(var(--gold-rgb), 0.28);
    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.13), rgba(var(--gold-rgb), 0.035) 46%, var(--surface) 86%);
    box-shadow:
        0 14px 38px rgba(var(--black-rgb), 0.48),
        inset 0 0 28px rgba(var(--gold-rgb), 0.025);
    z-index: 4;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.wheel-item span {
    font-size: 1.8rem;
    line-height: 1;
}

.wheel-item small {
    color: var(--text-muted-2);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wheel-item:hover,
.wheel-item:focus {
    border-color: var(--gold);
    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.22), rgba(var(--gold-rgb), 0.06) 48%, var(--surface-darker) 86%);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.2),
        0 0 34px rgba(var(--gold-rgb), 0.22),
        0 20px 52px rgba(var(--black-rgb), 0.62);
}

.item-1 {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.item-1:hover,
.item-1:focus {
    transform: translateX(-50%) scale(1.08);
}

.item-2 {
    top: 105px;
    right: 38px;
}

.item-2:hover,
.item-2:focus {
    transform: scale(1.08);
}

.item-3 {
    bottom: 115px;
    right: 18px;
}

.item-3:hover,
.item-3:focus {
    transform: scale(1.08);
}

.item-4 {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.item-4:hover,
.item-4:focus {
    transform: translateX(-50%) scale(1.08);
}

.item-5 {
    bottom: 115px;
    left: 18px;
}

.item-5:hover,
.item-5:focus {
    transform: scale(1.08);
}

.item-6 {
    top: 105px;
    left: 38px;
}

.item-6:hover,
.item-6:focus {
    transform: scale(1.08);
}

/* @media (max-width: 850px) {
    .contact-wheel-main {
        min-height: auto;
        overflow: visible;
        padding: 35px 5% 60px;
        display: block;
    }

    .contact-wheel-layout {
        width: 100%;
        display: block;
        text-align: center;
    }

    .wheel-intro {
        margin-bottom: 28px;
    }

    .wheel-intro h1 {
        font-size: 2.1rem;
    }

    .wheel-intro p {
        max-width: 420px;
        margin: 0 auto;
    }

    .contact-wheel {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0 auto;
    }

    .contact-wheel::before,
    .contact-wheel::after {
        display: none;
    }

    .wheel-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        min-height: auto;
        border-radius: 24px;
        padding: 26px 22px;
        margin-bottom: 8px;
    }

    #centerSymbol {
        font-size: 2.1rem;
    }

    .wheel-center h2 {
        font-size: 1.35rem;
    }

    .wheel-center h3 {
        font-size: 0.95rem;
    }

    .wheel-center p {
        max-width: 420px;
        margin: 0 auto;
    }

    .wheel-item,
    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        min-height: 78px;
        border-radius: 18px;
        display: grid;
        grid-template-columns: 52px 1fr;
        place-items: unset;
        align-items: center;
        text-align: left;
        padding: 14px 18px;
    }

    .wheel-item:hover,
    .wheel-item:focus,
    .item-1:hover,
    .item-1:focus,
    .item-4:hover,
    .item-4:focus {
        transform: none;
    }

    .wheel-item span {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        border: 1px solid rgba(var(--gold-rgb), 0.28);
        background: rgba(var(--gold-rgb), 0.08);
        font-size: 1.45rem;
    }

    .wheel-item small {
        font-size: 0.82rem;
        color: var(--white);
    }
} */

/* @media (max-width: 420px) {
    .contact-wheel-main {
        padding: 28px 4% 50px;
    }

    .wheel-intro h1 {
        font-size: 1.85rem;
    }

    .wheel-center {
        padding: 24px 18px;
    }

    .wheel-item,
    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6 {
        min-height: 72px;
        padding: 12px 14px;
        grid-template-columns: 48px 1fr;
    }

    .wheel-item span {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
} */

@media (max-width: 768px) {
    .footer {
        padding: 38px 0 16px;
        margin-top: 45px;
    }

    .footer-grid {
        gap: 26px;
    }

    .footer-brand h2 {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }

    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 7px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-bottom {
        margin-top: 26px;
        padding-top: 14px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 14px;
    }

    .footer-grid {
        gap: 22px;
    }

    .footer-brand h2 {
        font-size: 1.25rem;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact p {
        font-size: 0.84rem;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }
}

.mcq-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: grid !important;
    place-items: center !important;
    padding: 16px !important;
    background: rgba(var(--black-rgb), 0.88) !important;
    backdrop-filter: blur(14px) brightness(0.8) !important;
}

.mcq-modal {
    width: min(560px, 96vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding: 26px 24px 22px !important;
    border-radius: 26px !important;
    text-align: center !important;
    position: relative !important;

    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.055), rgba(var(--white-rgb), 0.012)),
        var(--surface-panel) !important;

    border: 1px solid rgba(var(--gold-rgb), 0.52) !important;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.12),
        0 0 45px rgba(var(--gold-rgb), 0.15),
        0 30px 95px rgba(var(--black-rgb), 0.86),
        inset 0 0 45px rgba(var(--gold-rgb), 0.035) !important;

    animation: mcqGamePopup 0.32s ease both !important;
}

.mcq-modal::-webkit-scrollbar {
    width: 7px;
}

.mcq-modal::-webkit-scrollbar-track {
    background: rgba(var(--white-rgb), 0.04);
    border-radius: 999px;
}

.mcq-modal::-webkit-scrollbar-thumb {
    background: rgba(var(--gold-rgb), 0.45);
    border-radius: 999px;
}

.mcq-modal-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    color: var(--color-f7dc83) !important;
    background: rgba(var(--gold-rgb), 0.10) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.28) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
}

.mcq-modal h2,
#mcqPerformanceTitle {
    color: var(--gold-light) !important;
    font-size: clamp(1.45rem, 4vw, 2.1rem) !important;
    margin: 0 42px 14px !important;
    font-weight: 950 !important;
    letter-spacing: 0.4px !important;
    text-shadow:
        0 0 18px rgba(var(--gold-rgb), 0.26),
        0 0 34px rgba(var(--gold-rgb), 0.12) !important;
}

.mcq-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(var(--gold-rgb), 0.42) !important;
    background: rgba(var(--white-rgb), 0.045) !important;
    color: var(--gold-light) !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    transition: 0.25s ease !important;
}

.mcq-modal-close:hover {
    background: rgba(var(--gold-rgb), 0.15) !important;
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.18) !important;
    transform: scale(1.06) !important;
}

.mcq-score-circle {
    width: 132px !important;
    height: 132px !important;
    margin: 0 auto 18px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;

    color: var(--white) !important;
    font-size: 2rem !important;
    font-weight: 950 !important;

    background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08), var(--surface-panel-darker) 72%) !important;
    border: 2px solid var(--rgba-242-207-91-0_9) !important;
    box-shadow:
        0 0 0 8px rgba(var(--gold-rgb), 0.035),
        0 0 32px rgba(var(--gold-rgb), 0.25),
        inset 0 0 30px rgba(var(--gold-rgb), 0.08) !important;
}

.mcq-performance-text,
#mcqPerformanceText {
    color: var(--gold-soft) !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    margin: 0 auto 18px !important;
    max-width: 92% !important;
}

.mcq-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)) !important;
    gap: 11px !important;
    margin: 18px 0 18px !important;
}

.mcq-stat-box {
    padding: 14px 10px !important;
    border-radius: 17px !important;
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.06), rgba(var(--white-rgb), 0.018)),
        var(--surface) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.22) !important;
    box-shadow:
        inset 0 0 24px rgba(var(--gold-rgb), 0.018),
        0 10px 26px rgba(var(--black-rgb), 0.28) !important;
}

.mcq-stat-box span {
    display: block !important;
    color: var(--text-muted-4) !important;
    margin-bottom: 6px !important;
    font-size: 0.7rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
}

.mcq-stat-box strong {
    display: block !important;
    color: var(--gold-light) !important;
    font-size: 1.32rem !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
}

.mcq-ranking-text,
#mcqBenchmark {
    color: var(--color-dfffe8) !important;
    background: linear-gradient(90deg, var(--rgba-74-222-128-0_12), rgba(var(--gold-rgb), 0.07)) !important;
    border: 1px solid var(--rgba-74-222-128-0_22) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    margin: 16px auto 14px !important;
    max-width: 94% !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    min-height: auto !important;
}

.mcq-advice-text,
#mcqAdviceText {
    color: var(--white) !important;
    background: rgba(var(--white-rgb), 0.045) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.16) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    margin: 0 auto 18px !important;
    max-width: 94% !important;
    font-size: 0.93rem !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}

.mcq-modal-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}

.mcq-modal-actions .btn-outline,
.mcq-modal-actions .btn-gold,
.mcq-modal-actions button {
    min-width: 138px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.mcq-modal-actions .btn-gold,
.mcq-modal-actions button {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--dark-gold)) !important;
    color: var(--surface-panel) !important;
    border: 1px solid var(--rgba-242-207-91-0_8) !important;
    box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.16) !important;
    cursor: pointer !important;
}

.mcq-modal-actions .btn-gold:hover,
.mcq-modal-actions button:hover {
    filter: brightness(1.08) !important;
    transform: scale(1.02) !important;
}

@media (max-width: 520px) {
    .mcq-modal-overlay {
        padding: 10px !important;
        align-items: center !important;
    }

    .mcq-modal {
        width: 96vw !important;
        max-height: 88vh !important;
        padding: 20px 14px 16px !important;
        border-radius: 22px !important;
    }

    .mcq-modal h2,
    #mcqPerformanceTitle {
        margin: 0 36px 10px !important;
        font-size: 1.45rem !important;
    }

    .mcq-modal-label {
        font-size: 0.64rem !important;
        padding: 6px 10px !important;
        margin-bottom: 8px !important;
    }

    .mcq-score-circle {
        width: 96px !important;
        height: 96px !important;
        font-size: 1.55rem !important;
        margin-bottom: 14px !important;
    }

    .mcq-performance-text,
    #mcqPerformanceText {
        font-size: 0.88rem !important;
        margin-bottom: 12px !important;
    }

    .mcq-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 9px !important;
        margin: 12px 0 !important;
    }

    .mcq-stat-box {
        padding: 11px 8px !important;
        border-radius: 14px !important;
    }

    .mcq-stat-box span {
        font-size: 0.62rem !important;
    }

    .mcq-stat-box strong {
        font-size: 1.12rem !important;
    }

    .mcq-ranking-text,
    #mcqBenchmark,
    .mcq-advice-text,
    #mcqAdviceText {
        font-size: 0.84rem !important;
        padding: 10px 11px !important;
        margin-bottom: 10px !important;
    }

    .mcq-modal-actions {
        gap: 8px !important;
    }

    .mcq-modal-actions .btn-outline,
    .mcq-modal-actions .btn-gold,
    .mcq-modal-actions button {
        width: 100% !important;
        min-width: 0 !important;
        padding: 10px 14px !important;
    }

    .mcq-modal-close {
        width: 32px !important;
        height: 32px !important;
        top: 12px !important;
        right: 12px !important;
    }
}

@keyframes mcqGamePopup {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mcq-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: grid !important;
    place-items: center !important;
    padding: 18px !important;
    background: rgba(var(--black-rgb), 0.86) !important;
    backdrop-filter: blur(13px) !important;
}

.mcq-modal {
    width: min(520px, 95vw) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    text-align: center !important;
    padding: 30px 26px 24px !important;
    border-radius: 28px !important;

    background: linear-gradient(180deg, var(--surface-alt-3), var(--black-very-dark)) !important;

    border: 1px solid rgba(var(--gold-rgb), 0.46) !important;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.10),
        0 28px 80px rgba(var(--black-rgb), 0.78),
        inset 0 0 40px rgba(var(--gold-rgb), 0.035) !important;

    animation: mcqKarthificialPop 0.3s ease both !important;
}

.mcq-modal::-webkit-scrollbar {
    width: 6px;
}

.mcq-modal::-webkit-scrollbar-track {
    background: rgba(var(--white-rgb), 0.035);
    border-radius: 999px;
}

.mcq-modal::-webkit-scrollbar-thumb {
    background: rgba(var(--gold-rgb), 0.42);
    border-radius: 999px;
}

.mcq-modal-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    color: var(--gold) !important;
    background: rgba(var(--gold-rgb), 0.09) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.28) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.mcq-modal h2,
#mcqPerformanceTitle {
    color: var(--gold) !important;
    font-size: clamp(1.55rem, 4vw, 2.15rem) !important;
    margin: 0 38px 16px !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.20) !important;
}

.mcq-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    border: 1px solid rgba(var(--gold-rgb), 0.42) !important;
    background: rgba(var(--white-rgb), 0.035) !important;
    color: var(--gold) !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: 0.25s ease !important;
}

.mcq-modal-close:hover {
    background: rgba(var(--gold-rgb), 0.13) !important;
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.18) !important;
    transform: scale(1.05) !important;
}

.mcq-score-circle {
    width: 132px !important;
    height: 132px !important;
    margin: 0 auto 18px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    color: var(--white) !important;
    font-size: 2rem !important;
    font-weight: 900 !important;

    background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.07), var(--surface-deep) 74%) !important;

    border: 2px solid rgba(var(--gold-rgb), 0.92) !important;
    box-shadow:
        0 0 0 8px rgba(var(--gold-rgb), 0.035),
        0 0 30px rgba(var(--gold-rgb), 0.22),
        inset 0 0 28px rgba(var(--gold-rgb), 0.07) !important;
}

.mcq-performance-text,
#mcqPerformanceText {
    color: var(--color-d8d8d8) !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin: 0 auto 18px !important;
    max-width: 92% !important;
}

.mcq-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)) !important;
    gap: 12px !important;
    margin: 18px 0 !important;
}

.mcq-stat-box {
    padding: 14px 10px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.05), rgba(var(--white-rgb), 0.015)),
        var(--surface) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.22) !important;
    box-shadow:
        inset 0 0 22px rgba(var(--gold-rgb), 0.018),
        0 12px 28px rgba(var(--black-rgb), 0.32) !important;
}

.mcq-stat-box span {
    display: block !important;
    margin-bottom: 6px !important;
    color: var(--text-muted-4) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
}

.mcq-stat-box strong {
    display: block !important;
    color: var(--gold) !important;
    font-size: 1.32rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.mcq-ranking-text,
#mcqBenchmark {
    max-width: 94% !important;
    margin: 16px auto 14px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    color: var(--gold-soft) !important;
    background: rgba(var(--gold-rgb), 0.08) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.22) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    min-height: auto !important;
}

.mcq-advice-text,
#mcqAdviceText {
    max-width: 94% !important;
    margin: 0 auto 18px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    color: var(--white) !important;
    background: rgba(var(--white-rgb), 0.04) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.14) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}

.mcq-modal-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}

.mcq-modal-actions .btn-outline,
.mcq-modal-actions .btn-gold,
.mcq-modal-actions button {
    min-width: 140px !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    text-align: center !important;
    cursor: pointer !important;
}

.mcq-modal-actions .btn-gold,
.mcq-modal-actions button {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    color: var(--surface-panel) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.85) !important;
    box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.16) !important;
}

.mcq-modal-actions .btn-gold:hover,
.mcq-modal-actions button:hover {
    filter: brightness(1.08) !important;
    transform: scale(1.02) !important;
}

@media (max-width: 520px) {
    .mcq-modal-overlay {
        padding: 10px !important;
    }

    .mcq-modal {
        width: 96vw !important;
        max-height: 88vh !important;
        padding: 20px 14px 16px !important;
        border-radius: 22px !important;
    }

    .mcq-modal h2,
    #mcqPerformanceTitle {
        margin: 0 34px 12px !important;
        font-size: 1.45rem !important;
    }

    .mcq-modal-label {
        font-size: 0.64rem !important;
        padding: 6px 10px !important;
    }

    .mcq-score-circle {
        width: 96px !important;
        height: 96px !important;
        font-size: 1.55rem !important;
        margin-bottom: 14px !important;
    }

    .mcq-performance-text,
    #mcqPerformanceText {
        font-size: 0.86rem !important;
        margin-bottom: 12px !important;
    }

    .mcq-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 9px !important;
        margin: 12px 0 !important;
    }

    .mcq-stat-box {
        padding: 11px 8px !important;
        border-radius: 14px !important;
    }

    .mcq-stat-box span {
        font-size: 0.62rem !important;
    }

    .mcq-stat-box strong {
        font-size: 1.12rem !important;
    }

    .mcq-ranking-text,
    #mcqBenchmark,
    .mcq-advice-text,
    #mcqAdviceText {
        font-size: 0.84rem !important;
        padding: 10px 11px !important;
        margin-bottom: 10px !important;
    }

    .mcq-modal-actions .btn-outline,
    .mcq-modal-actions .btn-gold,
    .mcq-modal-actions button {
        width: 100% !important;
        min-width: 0 !important;
        padding: 10px 14px !important;
    }

    .mcq-modal-close {
        width: 32px !important;
        height: 32px !important;
        top: 12px !important;
        right: 12px !important;
    }
}

@keyframes mcqKarthificialPop {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nav-inner {
    position: relative !important;
    z-index: 9999 !important;
}

.nav-inner .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 10000 !important;
}

.navbar {
    position: relative !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

.navbar-inner {
    position: relative !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

main,
section,
.resource-main,
.contact-wheel-main,
.mcq-container,
.career-hero,
.career-blog-section,
.article-main,
.featured-career-guide,
.footer {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 900px) {
    .navbar {
        position: relative !important;
        z-index: 999999 !important;
        overflow: visible !important;
    }

    .navbar-inner {
        position: relative !important;
        min-height: 70px !important;
        z-index: 999999 !important;
        overflow: visible !important;
    }

    .nav-menu {
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;

        display: none !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        background: var(--black) !important;
        border: 1px solid rgba(var(--gold-rgb), 0.35) !important;
        border-top: none !important;
        border-radius: 0 0 18px 18px !important;

        padding: 16px 22px 22px !important;
        max-height: 75vh !important;
        overflow-y: auto !important;

        z-index: 999998 !important;
        box-shadow: 0 25px 60px rgba(var(--black-rgb), 0.95) !important;
    }

    .menu-toggle:checked~.nav-menu {
        display: flex !important;
    }

    .dropdown,
    .dropdown-menu {
        position: relative !important;
        z-index: 999999 !important;
    }

    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        display: none !important;
        margin-top: 6px !important;
        background: var(--surface) !important;
        border: 1px solid rgba(var(--gold-rgb), 0.3) !important;
        box-shadow: none !important;
    }

    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .resource-main {
        width: 94% !important;
        margin: 42px auto 60px !important;
    }

    .resource-hero-box {
        padding: 26px 20px !important;
        border-radius: 22px !important;
        margin-bottom: 28px !important;
    }

    .resource-hero-box h1 {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
    }

    .resource-hero-box p {
        font-size: 0.94rem !important;
        line-height: 1.65 !important;
    }

    .resource-toolbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
        margin-bottom: 28px !important;
    }

    .resource-toolbar>div,
    .resource-toolbar .filters,
    .filter-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        row-gap: 14px !important;
    }

    .filter-btn {
        margin: 0 !important;
        padding: 10px 15px !important;
        font-size: 0.86rem !important;
        line-height: 1.2 !important;
    }

    .resource-card-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    .resource-box-card {
        width: 100% !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .resource-thumbnail {
        height: 105px !important;
        padding: 14px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .resource-thumbnail span {
        font-size: clamp(1.35rem, 6vw, 2rem) !important;
        line-height: 1.1 !important;
        letter-spacing: 0.4px !important;
        word-break: break-word !important;
    }

    .resource-card-body {
        padding: 14px !important;
    }

    .resource-card-body h3 {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .resource-card-body p {
        font-size: 0.78rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    .resource-card-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }

    .resource-card-btn {
        padding: 9px 10px !important;
        font-size: 0.78rem !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 420px) {
    .resource-main {
        width: 95% !important;
        margin-top: 35px !important;
    }

    .resource-card-grid {
        gap: 12px !important;
    }

    .resource-thumbnail {
        height: 92px !important;
        padding: 12px 8px !important;
    }

    .resource-thumbnail span {
        font-size: clamp(1.15rem, 7vw, 1.7rem) !important;
    }

    .resource-card-body {
        padding: 12px !important;
    }

    .resource-card-body h3 {
        font-size: 0.88rem !important;
    }

    .resource-card-body p {
        font-size: 0.74rem !important;
        line-height: 1.45 !important;
    }

    .resource-card-btn {
        font-size: 0.74rem !important;
        padding: 8px 8px !important;
    }
}

.auth-card .btn-gold.auth-submit {
    text-align: center;
}

.auth-card .auth-subtitle {
    line-height: 1.7;
}

.auth-card input[type="password"],
.auth-card input[type="email"] {
    letter-spacing: 0.2px;
}

.auth-card .form-message {
    min-height: 22px;
}

.forgot-auth-link {
    margin-top: 14px;
    font-size: 0.92rem;
}

.forgot-auth-link a {
    color: var(--gold);
    font-weight: 800;
}

.auth-card .form-message {
    min-height: 22px;
    line-height: 1.5;
}

.auth-card .btn-gold.auth-submit,
.auth-card .btn-outline.auth-submit {
    text-align: center;
}

.auth-card input[type="email"] {
    letter-spacing: 0.2px;
}

@media (max-width: 500px) {
    .auth-page {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .auth-card .auth-switch {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

.auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.resource-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.resource-box-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--surface);
    border: 1px solid rgba(var(--gold-rgb), 0.24);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 18px 42px rgba(var(--black-rgb), 0.34),
        inset 0 0 22px rgba(var(--gold-rgb), 0.018);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        filter 0.3s ease;
}

.resource-box-card:hover {
    transform: none;
    background: var(--color-131313);
    border-color: rgba(var(--gold-rgb), 0.62);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.14),
        0 0 30px rgba(var(--gold-rgb), 0.13),
        0 24px 56px rgba(var(--black-rgb), 0.5);
    filter: brightness(1.03);
}

.resource-thumbnail {
    height: 165px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.16);
}

.resource-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--black-rgb), 0.04) 0%, rgba(var(--black-rgb), 0.22) 52%, transparent 100%);
    pointer-events: none;
}

.resource-thumbnail span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    line-height: 0;
}

.resource-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 4px;
    display: block;
    filter: saturate(1.08) contrast(1.08);
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.resource-box-card:hover .resource-thumbnail span {
    transform: none;
}

.resource-box-card:hover .resource-thumbnail img {
    transform: scale(1.035);
    filter: brightness(0.92) contrast(1.12) saturate(1.1);
}

.resource-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.resource-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.resource-card-body p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-muted-3);
    margin-bottom: 20px;
}

.resource-card-info {
    margin-top: auto;
    margin-bottom: 18px;
    padding-top: 8px;
    font-weight: 700;
}

.resource-card-btn {
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    border: 1px solid rgba(var(--gold-rgb), 0.9);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.resource-card-btn:hover {
    transform: none;
    color: var(--surface);
    background: linear-gradient(135deg, var(--color-f2d461), var(--gold));
    box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.24);
    filter: brightness(1.05);
}

@media (min-width: 1150px) {
    .resource-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1050px) {
    .resource-card-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }

    .resource-thumbnail {
        height: 155px;
    }
}

@media (max-width: 640px) {
    .resource-card-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .resource-thumbnail {
        height: 145px;
        padding: 12px;
    }

    .resource-card-body {
        padding: 21px 20px 22px;
    }

    .resource-card-body h3 {
        font-size: 1.22rem;
    }

    .resource-card-body p {
        font-size: 0.95rem;
    }
}

.tamil-bg,
.tamil-card-bg {
    background: linear-gradient(135deg, var(--color-5a1717) 0%, var(--color-b4533b) 52%, var(--color-7c2d12) 100%);
}

.english-bg,
.english-card-bg {
    background: linear-gradient(135deg, var(--color-1e293b) 0%, var(--color-64748b) 52%, var(--color-334155) 100%);
}

.maths-bg,
.mathematics-card-bg {
    background: linear-gradient(135deg, var(--color-1e3a8a) 0%, var(--color-3b82f6) 52%, var(--color-1d4ed8) 100%);
}

.science-bg {
    background: linear-gradient(135deg, var(--color-166534) 0%, var(--success) 52%, var(--color-15803d) 100%);
}

.social-bg {
    background: linear-gradient(135deg, var(--color-7c2d12) 0%, var(--color-d97706) 52%, var(--color-92400e) 100%);
}

.general-knowledge-bg {
    background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--color-7c3aed) 52%, var(--accent-violet) 100%);
}

.physics-card-bg {
    background: linear-gradient(135deg, var(--color-075985) 0%, var(--info) 52%, var(--color-0c4a6e) 100%);
}

.chemistry-card-bg {
    background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-purple) 52%, var(--color-581c87) 100%);
}

.biology-card-bg {
    background: linear-gradient(135deg, var(--color-14532d) 0%, var(--success) 52%, var(--color-166534) 100%);
}

.computer-science-card-bg {
    background: linear-gradient(135deg, var(--color-115e59) 0%, var(--color-14b8a6) 52%, var(--color-134e4a) 100%);
}

.commerce-card-bg {
    background: linear-gradient(135deg, var(--color-854d0e) 0%, var(--color-eab308) 52%, var(--color-713f12) 100%);
}

.accountancy-card-bg {
    background: linear-gradient(135deg, var(--color-0c4a6e) 0%, var(--color-0ea5e9) 52%, var(--color-075985) 100%);
}

.economics-card-bg {
    background: linear-gradient(135deg, var(--color-9a3412) 0%, var(--color-fb923c) 52%, var(--color-7c2d12) 100%);
}

.business-maths-card-bg {
    background: linear-gradient(135deg, var(--color-92400e) 0%, var(--gold-muted) 52%, var(--color-78350f) 100%);
}

.paper-tamil-bg {
    background: linear-gradient(135deg, var(--color-4a1f24) 0%, var(--color-9b4d57) 52%, var(--color-6a3038) 100%);
}

.paper-english-bg {
    background: linear-gradient(135deg, var(--color-2a3138) 0%, var(--color-6f7f8d) 52%, var(--color-43505c) 100%);
}

.paper-maths-bg {
    background: linear-gradient(135deg, var(--color-2c3446) 0%, var(--color-5f7ca0) 52%, var(--color-3c4f70) 100%);
}

.paper-science-bg {
    background: linear-gradient(135deg, var(--color-2f3d33) 0%, var(--color-6f9276) 52%, var(--color-465c4a) 100%);
}

.paper-social-bg {
    background: linear-gradient(135deg, var(--color-4b3422) 0%, var(--color-9c7553) 52%, var(--color-6d4f36) 100%);
}

.paper-physics-bg {
    background: linear-gradient(135deg, var(--color-1f3b46) 0%, var(--color-4f95a7) 52%, var(--color-2d5d69) 100%);
}

.paper-chemistry-bg {
    background: linear-gradient(135deg, var(--color-3b2948) 0%, var(--color-7f5ca0) 52%, var(--color-533a69) 100%);
}

.paper-biology-bg {
    background: linear-gradient(135deg, var(--color-31452c) 0%, var(--color-6d9d5c) 52%, var(--color-4b693f) 100%);
}

.paper-cs-bg {
    background: linear-gradient(135deg, var(--color-21403d) 0%, var(--color-4aa29a) 52%, var(--color-2e6862) 100%);
}

.paper-commerce-bg {
    background: linear-gradient(135deg, var(--color-4b4320) 0%, var(--color-9a914f) 52%, var(--color-6d6732) 100%);
}

.paper-accountancy-bg {
    background: linear-gradient(135deg, var(--color-243847) 0%, var(--color-5a89a7) 52%, var(--color-35566c) 100%);
}

.paper-economics-bg {
    background: linear-gradient(135deg, var(--color-4b2d24) 0%, var(--color-a06a56) 52%, var(--color-6c4336) 100%);
}

.paper-business-maths-bg {
    background: linear-gradient(135deg, var(--color-4b3826) 0%, var(--color-9d7b58) 52%, var(--color-6d563d) 100%);
}

.slider {
    position: relative;
}

.slider:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
    background: var(--black-true);
    box-shadow: none;
}

.slider:fullscreen .slides {
    height: 100%;
}

.slider:fullscreen .slide {
    height: 100%;
}

.slider:fullscreen .slide img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    background: var(--black-true);
    filter: none;
}

.slider:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
    background: var(--black-true);
    box-shadow: none;
}

.slider:-webkit-full-screen .slides,
.slider:-webkit-full-screen .slide {
    height: 100%;
}

.slider:-webkit-full-screen .slide img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: var(--black-true);
}

.slider:fullscreen .slider-btn,
.slider:-webkit-full-screen .slider-btn {
    width: 56px;
    height: 56px;
    z-index: 50;
    background: rgba(var(--black-rgb), 0.65);
    border: 1px solid rgba(var(--gold-rgb), 0.65);
    color: var(--gold);
}

.slider:fullscreen .slider-dots,
.slider:-webkit-full-screen .slider-dots {
    z-index: 50;
    bottom: 28px;
    background: rgba(var(--black-rgb), 0.65);
}

.slide img {
    cursor: pointer;
}

.slider:fullscreen,
.slider:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--black-true) !important;
    box-shadow: none !important;
}

.slider:fullscreen .slides,
.slider:fullscreen .slide,
.slider:-webkit-full-screen .slides,
.slider:-webkit-full-screen .slide {
    height: 100% !important;
}

.slider:fullscreen .slide img,
.slider:-webkit-full-screen .slide img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    object-position: center !important;
    background: var(--black-true) !important;
    filter: none !important;
}

.fullscreen-exit-btn {
    display: none;
}

.slider:fullscreen .fullscreen-exit-btn,
.slider:-webkit-full-screen .fullscreen-exit-btn {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: auto !important;
    bottom: 26px !important;
    right: 28px !important;
    left: auto !important;
    z-index: 90 !important;

    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;

    border: 1px solid rgba(var(--gold-rgb), 0.65) !important;
    background: rgba(var(--black-rgb), 0.62) !important;
    color: var(--gold) !important;

    font-size: 1.35rem !important;
    cursor: pointer !important;
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease !important;
}

.slider.show-exit-button:fullscreen .fullscreen-exit-btn,
.slider.show-exit-button:-webkit-full-screen .fullscreen-exit-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.slider:fullscreen .fullscreen-exit-btn:hover,
.slider:-webkit-full-screen .fullscreen-exit-btn:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.38) !important;
}

.slider:fullscreen .slider-dots,
.slider:-webkit-full-screen .slider-dots {
    bottom: 28px !important;
    z-index: 70 !important;
}

.slider.fullscreen-idle:fullscreen .slider-btn,
.slider.fullscreen-idle:fullscreen .slider-dots,
.slider.fullscreen-idle:-webkit-full-screen .slider-btn,
.slider.fullscreen-idle:-webkit-full-screen .slider-dots {
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {

    .slider:fullscreen .fullscreen-exit-btn,
    .slider:-webkit-full-screen .fullscreen-exit-btn {
        bottom: 22px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.15rem !important;
    }

    .slider:fullscreen .slider-dots,
    .slider:-webkit-full-screen .slider-dots {
        bottom: 22px !important;
    }
}

.wheel-item {
    overflow: hidden;
}

.wheel-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.wheel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 6px var(--rgba-255-215-0-0_75)) drop-shadow(0 0 14px var(--rgba-255-215-0-0_45));
    transition: filter 0.25s ease, transform 0.25s ease;
}

.wheel-item:hover .wheel-icon img,
.wheel-item:focus .wheel-icon img {
    transform: scale(1.08);
    filter:
        drop-shadow(0 0 8px var(--rgba-255-215-0-0_95)) drop-shadow(0 0 22px var(--rgba-255-215-0-0_65));
}

.center-icon-box {
    width: 72px;
    height: 72px;
    margin: 10px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 8px var(--rgba-255-215-0-0_75)) drop-shadow(0 0 18px var(--rgba-255-215-0-0_45));
}

.wheel-item img {
    max-width: 64px;
    max-height: 64px;
}

@media (max-width: 768px) {
    .wheel-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 6px;
    }

    .center-icon-box {
        width: 58px;
        height: 58px;
    }

    .wheel-item img {
        max-width: 52px;
        max-height: 52px;
    }
}

.wheel-item {
    overflow: visible !important;
    width: 118px;
    height: 118px;
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    text-align: center;
}

.wheel-icon {
    width: 54px;
    height: 54px;
    margin: 0 0 9px 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-icon img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;

    object-fit: contain;
    display: block;

    border-radius: 12px;

    filter:
        drop-shadow(0 0 6px var(--rgba-255-220-40-0_75)) drop-shadow(0 0 14px var(--rgba-255-220-40-0_45));

    transition: transform 0.25s ease, filter 0.25s ease;
}

.wheel-item small {
    display: block;
    width: 100%;

    font-size: 13px;
    line-height: 1.1;
    letter-spacing: 1px;
    font-weight: 800;

    color: var(--color-f5f5f5);
    text-transform: uppercase;

    white-space: normal;
    overflow: visible;
    text-align: center;
}

.wheel-item:hover .wheel-icon img,
.wheel-item:focus .wheel-icon img {
    transform: scale(1.08);
    filter:
        drop-shadow(0 0 9px var(--rgba-255-220-40-0_95)) drop-shadow(0 0 22px var(--rgba-255-220-40-0_7));
}

.center-icon-box {
    width: 70px;
    height: 70px;
    margin: 10px auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.center-icon-box img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;

    object-fit: contain;
    display: block;

    border-radius: 14px;

    filter:
        drop-shadow(0 0 8px var(--rgba-255-220-40-0_8)) drop-shadow(0 0 18px var(--rgba-255-220-40-0_5));
}

.contact-wheel img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .wheel-item {
        width: 92px;
        height: 92px;
        padding: 10px 7px;
    }

    .wheel-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .wheel-icon img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .wheel-item small {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .center-icon-box {
        width: 56px;
        height: 56px;
    }

    .center-icon-box img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }
}

.wheel-item {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    overflow: visible !important;
    padding: 8px !important;
}

.wheel-icon {
    width: 34px !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
}

.wheel-icon img {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;

    object-fit: contain !important;
    display: block !important;

    border-radius: 0 !important;

    filter:
        drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.85)) drop-shadow(0 0 13px rgba(var(--gold-rgb), 0.45)) !important;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.wheel-item small {
    display: block !important;
    width: 100% !important;

    color: var(--white) !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
    overflow: visible !important;
}

.wheel-item:hover,
.wheel-item:focus {
    transform: scale(1.04) !important;
}

.item-1:hover,
.item-1:focus,
.item-4:hover,
.item-4:focus {
    transform: translateX(-50%) scale(1.04) !important;
}

.wheel-item:hover .wheel-icon img,
.wheel-item:focus .wheel-icon img {
    transform: scale(1.06);
    filter:
        drop-shadow(0 0 7px rgba(var(--gold-rgb), 1)) drop-shadow(0 0 18px rgba(var(--gold-rgb), 0.65)) !important;
}

.center-icon-box,
#centerSymbol {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.center-icon-box img,
#centerSymbol img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;

    object-fit: contain !important;
    display: block !important;

    filter:
        drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.85)) drop-shadow(0 0 16px rgba(var(--gold-rgb), 0.48)) !important;
}

.contact-wheel {
    width: min(560px, 82vh) !important;
    height: min(560px, 82vh) !important;
}

.contact-wheel-layout {
    width: min(1120px, 100%) !important;
    display: grid !important;
    grid-template-columns: 0.75fr 1.25fr !important;
    align-items: center !important;
    gap: 35px !important;
}

@media (max-width: 850px) {

    .wheel-item,
    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6 {
        width: 100% !important;
        height: auto !important;
        min-height: 78px !important;
        border-radius: 18px !important;
    }

    .wheel-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .wheel-icon img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
    }

    .wheel-item small {
        font-size: 0.82rem !important;
        text-align: left !important;
    }

    .center-icon-box,
    #centerSymbol {
        width: 44px !important;
        height: 44px !important;
    }

    .center-icon-box img,
    #centerSymbol img {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }
}

.contact-wheel-main {
    font-family: Arial, Helvetica, sans-serif;
}

.wheel-intro span {
    font-weight: 700 !important;
    letter-spacing: 2.4px !important;
}

.wheel-intro h1 {
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
}

.wheel-intro p {
    font-weight: 400 !important;
    color: var(--color-d8d8d8) !important;
}

.wheel-item small {
    font-weight: 700 !important;
    letter-spacing: 1.4px !important;
    color: var(--color-e6e6e6) !important;
    text-shadow: none !important;
}

#centerMini {
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: rgba(var(--gold-rgb), 0.9) !important;
}

.wheel-center h2 {
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.wheel-center h3 {
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    color: rgba(var(--gold-rgb), 0.9) !important;
}

.wheel-center p {
    font-weight: 400 !important;
    color: var(--color-d6d6d6) !important;
}

.wheel-icon img {
    filter:
        drop-shadow(0 0 2px rgba(var(--gold-rgb), 0.45)) drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.22)) !important;

    opacity: 0.9 !important;
}

.wheel-item:hover .wheel-icon img,
.wheel-item:focus .wheel-icon img {
    transform: scale(1.04) !important;

    filter:
        drop-shadow(0 0 3px rgba(var(--gold-rgb), 0.58)) drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.32)) !important;

    opacity: 1 !important;
}

.wheel-item {
    box-shadow:
        0 12px 32px rgba(var(--black-rgb), 0.45),
        inset 0 0 22px rgba(var(--gold-rgb), 0.018) !important;

    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.08), rgba(var(--gold-rgb), 0.025) 46%, var(--surface) 86%) !important;
}

.wheel-item:hover,
.wheel-item:focus {
    border-color: rgba(var(--gold-rgb), 0.55) !important;

    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.13), rgba(var(--gold-rgb), 0.035) 48%, var(--surface-alt-3) 86%) !important;

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        0 0 18px rgba(var(--gold-rgb), 0.12),
        0 18px 42px rgba(var(--black-rgb), 0.55) !important;
}

#centerSymbol img,
.center-icon-box img {
    filter:
        drop-shadow(0 0 3px rgba(var(--gold-rgb), 0.55)) drop-shadow(0 0 10px rgba(var(--gold-rgb), 0.28)) !important;

    opacity: 0.92 !important;
}

.wheel-center {
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        0 22px 60px rgba(var(--black-rgb), 0.65),
        inset 0 0 32px rgba(var(--gold-rgb), 0.025) !important;

    background:
        radial-gradient(circle, rgba(var(--gold-rgb), 0.09), rgba(var(--gold-rgb), 0.025) 42%, var(--surface-deep) 75%) !important;
}

.contact-wheel::before {
    border-color: rgba(var(--gold-rgb), 0.15) !important;
    box-shadow: inset 0 0 40px rgba(var(--gold-rgb), 0.015) !important;
}

.contact-wheel::after {
    border-color: rgba(var(--gold-rgb), 0.15) !important;
}

.item-5 .wheel-icon img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

.item-5:hover .wheel-icon img,
.item-5:focus .wheel-icon img {
    transform: scale(1.04) !important;
}

input[type="radio"]:checked {
    border-color: var(--gold-light);
}

input[type="radio"]:focus {
    outline: none;
}

label {
    cursor: pointer;
}

/* ================================
   NAVBAR SIDE ALIGNMENT FIX
   Logo left | Menu center | Login right
================================ */

.navbar {
    width: 100%;
}

.navbar-inner {
    width: 100%;
    max-width: none;
    padding: 0 38px;
    margin: 0;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 78px;
}

/* Logo sticks to left */
.logo {
    justify-self: start;
}

/* Menu stays centered */
.nav-menu {
    justify-self: center;
}

/* Login / Signup sticks to right */
.nav-actions {
    justify-self: end;
}

/* ================================
   MOBILE NAV FIX
================================ */

@media (max-width: 900px) {
    .navbar-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;

        width: 100%;
        padding: 0 18px;
        margin: 0;
    }

    .logo {
        margin-right: auto;
    }

    .hamburger {
        margin-left: auto;
    }

    .nav-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .navbar-inner {
        padding: 0 14px;
    }
}

body {
    background:
        /* radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.12) 24%, transparent 52%), */
        linear-gradient(135deg, rgba(var(--gold-rgb), 0.07) 0%, transparent 34%),
        linear-gradient(180deg, var(--surface-deep) 0%, var(--black-very-dark) 52%, var(--black-true) 100%);
    background-attachment: fixed;
}

main,
.home-hero,
.slider-section,
.about-section,
.stats-section {
    background: transparent !important;
}

.home-hero,
.slider-section,
.about-section,
.stats-section {
    position: relative;
}

.home-hero::before,
.slider-section::before,
.about-section::before,
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(var(--black-rgb), 0.18);
    pointer-events: none;
    z-index: 0;
}

.home-hero>*,
.slider-section>*,
.about-section>*,
.stats-section>* {
    position: relative;
    z-index: 1;
}

/* ================================
   NAVBAR TEXT READABILITY ONLY
   No layout / size / shadow changes
================================ */

.nav-link {
    color: var(--color-e8e1cf) !important;
    font-weight: 700;
    letter-spacing: 0.35px;
}

.nav-link:hover {
    color: var(--gold-light) !important;
}

.logo-text {
    color: var(--color-f4f0e4) !important;
}

.logo-text span {
    color: var(--gold) !important;
}

.nav-actions .btn-outline {
    color: var(--color-e7c75a) !important;
}

.nav-actions .btn-outline:hover {
    color: var(--black) !important;
}

.nav-actions .btn-gold {
    color: var(--black-darker) !important;
}

/* Dropdown text only */
.dropdown-menu a {
    color: var(--color-ded6c3) !important;
}

.dropdown-menu a:hover {
    color: var(--gold-light) !important;
}

/* Mobile menu text only */
@media (max-width: 900px) {
    .nav-link {
        color: var(--color-eee6d4) !important;
    }

    .dropdown-menu a {
        color: var(--color-ded6c3) !important;
    }
}

/* ================================
   NAVBAR COLOR TONE ONLY
   Slightly warmer, not fully dark
================================ */

.navbar {
    background: linear-gradient(180deg,
            var(--rgba-18-16-9-0_96) 0%,
            var(--rgba-12-11-7-0_95) 55%,
            var(--rgba-8-8-6-0_96) 100%) !important;

    border-bottom: 1px solid rgba(var(--gold-rgb), 0.42) !important;
}

/* Slight contrast improvement for navbar text only */
.nav-link {
    color: var(--color-e6dcc4) !important;
}

.nav-link:hover {
    color: var(--gold-light) !important;
}

/* Logo text tone */
.logo-text {
    color: var(--color-f1ead9) !important;
}

.logo-text span {
    color: var(--gold) !important;
}

/* Login button text only */
.nav-actions .btn-outline {
    color: var(--color-e2c65a) !important;
}

/* ================================
   GLOBAL VISIBILITY + SOFT BODY GLOW
   No left/right spotlight effect
================================ */

html {
    background: var(--black-darker);
}

body {
    background: linear-gradient(180deg,
            rgba(var(--gold-rgb), 0.035) 0%,
            rgba(var(--gold-rgb), 0.018) 38%,
            rgba(var(--gold-rgb), 0.012) 70%,
            rgba(var(--gold-rgb), 0.025) 100%),
        linear-gradient(180deg,
            var(--black-very-dark) 0%,
            var(--black) 45%,
            var(--black-darker) 100%) !important;

    color: var(--color-f1f1f1);
    background-attachment: fixed;
}

/* ================================
   SECTION VISIBILITY FIX
================================ */

.home-hero,
.slider-section,
.about-section,
.stats-section,
.career-hero,
.career-path-section {
    background: linear-gradient(180deg,
            var(--rgba-8-8-8-0_82),
            rgba(var(--black-rgb), 0.88)) !important;
}

/* ================================
   FOOTER READABILITY + SIZE FIX
================================ */

.footer {
    margin-top: 40px !important;
    padding: 42px 0 18px !important;

    background: linear-gradient(180deg,
            var(--rgba-10-10-10-0_96),
            var(--rgba-4-4-4-0_98)) !important;

    border-top: 1px solid rgba(var(--gold-rgb), 0.28) !important;
}

.footer-grid {
    align-items: start !important;
    gap: 34px !important;
}

.footer-brand h2 {
    color: var(--gold) !important;
    margin-bottom: 10px !important;
}

.footer-brand p,
.footer-links a,
.footer-contact p {
    color: var(--color-e0e0e0) !important;
    line-height: 1.6 !important;
}

.footer-column h3 {
    color: var(--white) !important;
    margin-bottom: 12px !important;
}

.footer-links li {
    margin-bottom: 7px !important;
}

.footer-bottom {
    margin-top: 26px !important;
    padding-top: 14px !important;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .footer {
        margin-top: 30px !important;
        padding: 32px 0 14px !important;
    }

    .footer-grid {
        gap: 22px !important;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    .footer-bottom {
        margin-top: 20px !important;
    }
}

/* ================================
   CLERK AUTH THEME OVERRIDES
================================ */

.auth-page {
    min-height: calc(100vh - 90px);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--black-darker), var(--black-dark)) !important;
}

.auth-card {
    width: 100%;
    max-width: 480px !important;
    padding: 40px 30px !important;
    background: linear-gradient(145deg, var(--surface-panel), var(--color-0e0e0e)) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.35) !important;
    border-radius: 24px !important;
    box-shadow:
        0 0 40px rgba(var(--gold-rgb), 0.15),
        0 20px 60px rgba(var(--black-rgb), 0.8) !important;
}

#clerk-sign-in,
#clerk-sign-up {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cl-rootBox,
.cl-cardBox,
.cl-card {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.cl-rootBox,
.cl-rootBox * {
    font-family: Arial, Helvetica, sans-serif !important;
}

.cl-header {
    margin-bottom: 24px !important;
}

.cl-headerTitle {
    color: var(--gold) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    letter-spacing: 1.5px !important;
    text-transform: none !important;
    text-shadow: 0 0 15px rgba(var(--gold-rgb), 0.2) !important;
}

.cl-headerSubtitle {
    color: var(--color-c9b875) !important;
    font-size: 0.95rem !important;
    margin-top: 6px !important;
}

.cl-formFieldLabel {
    color: var(--color-f5e8b8) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
}

.cl-formFieldInput {
    background-color: var(--surface-alt) !important;
    color: var(--white) !important;
    border: 1.5px solid rgba(var(--gold-rgb), 0.4) !important;
    border-radius: 10px !important;
    height: 46px !important;
    font-size: 0.98rem !important;
    padding: 10px 14px !important;
    transition: all 0.3s ease !important;
}

.cl-formFieldInput:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.45) !important;
    background-color: var(--surface-alt-2) !important;
}

.cl-formFieldInput::placeholder {
    color: var(--color-a89f7c) !important;
    opacity: 0.85 !important;
}

.cl-formFieldInput::-webkit-input-placeholder {
    color: var(--color-a89f7c) !important;
    opacity: 0.85 !important;
}

.cl-formFieldInput::-moz-placeholder {
    color: var(--color-a89f7c) !important;
    opacity: 0.85 !important;
}

.cl-formFieldInput:-ms-input-placeholder {
    color: var(--color-a89f7c) !important;
    opacity: 0.85 !important;
}

.cl-formFieldInput:-moz-placeholder {
    color: var(--color-a89f7c) !important;
    opacity: 0.85 !important;
}

/* Ensure phone country select and dropdown text are fully visible in gold */
.cl-phoneInputCountrySelectButton,
.cl-phoneInputCountrySelectButton * {
    color: var(--color-f5e8b8) !important;
}

.cl-phoneInputCountrySelectButton svg,
.cl-selectButton svg {
    fill: var(--gold) !important;
    color: var(--gold) !important;
}

.cl-formButtonPrimary {
    height: 46px !important;
    background: linear-gradient(135deg, var(--gold), var(--color-ab8922)) !important;
    color: var(--black-true) !important;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(var(--gold-rgb), 0.2) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.cl-formButtonPrimary:hover {
    background: linear-gradient(135deg, var(--gold-muted), var(--gold)) !important;
    box-shadow: 0 6px 20px rgba(var(--gold-rgb), 0.45) !important;
    filter: brightness(1.1) !important;
}

.cl-formButtonPrimary:active {
    filter: brightness(0.95) !important;
}

.cl-socialButtonsBlockButton {
    background-color: var(--surface-alt) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.22) !important;
    color: var(--color-f5e8b8) !important;
    height: 44px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.cl-socialButtonsBlockButton:hover {
    background-color: var(--color-181818) !important;
    border-color: rgba(var(--gold-rgb), 0.45) !important;
    box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.15) !important;
}

.cl-socialButtonsBlockButtonText {
    color: var(--color-f5e8b8) !important;
    font-weight: 600 !important;
}

.cl-dividerLine {
    background-color: rgba(var(--gold-rgb), 0.2) !important;
}

.cl-dividerText {
    color: var(--color-c9b875) !important;
    font-size: 0.85rem !important;
}

.cl-footer {
    background: transparent !important;
    margin-top: 20px !important;
}

.cl-footerAction {
    justify-content: center !important;
}

.cl-footerActionText {
    color: var(--color-c9b875) !important;
}

.cl-footerActionLink {
    color: var(--gold) !important;
    font-weight: 700 !important;
    transition: color 0.25s ease !important;
    text-decoration: none !important;
}

.cl-footerActionLink:hover {
    color: var(--color-f5e8b8) !important;
    text-decoration: underline !important;
}

.cl-internal-1dauvpw,
.cl-internal-1hp5nqm,
.cl-internal-13u79ez {
    display: none !important;
}

.cl-internal-b3fm6y,
.cl-logoBox,
.cl-logoImage {
    opacity: 0.4 !important;
    filter: grayscale(1) sepia(1) hue-rotate(15deg) saturate(1.5) !important;
    transition: opacity 0.3s ease !important;
}

.cl-internal-b3fm6y:hover,
.cl-logoBox:hover {
    opacity: 0.8 !important;
}

.cl-formFieldAction {
    color: var(--gold) !important;
    font-weight: 600 !important;
    transition: color 0.25s ease !important;
}

.cl-formFieldAction:hover {
    color: var(--color-f5e8b8) !important;
}

.cl-formFieldInputShowPasswordButton {
    color: var(--gold) !important;
    opacity: 0.7 !important;
}

.cl-formFieldInputShowPasswordButton:hover {
    opacity: 1 !important;
}

.cl-badge {
    background-color: rgba(var(--gold-rgb), 0.12) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.25) !important;
}

@media (max-width: 600px) {
    .auth-page {
        padding: 40px 14px !important;
    }

    .auth-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }

    .cl-headerTitle {
        font-size: 1.75rem !important;
    }
}

/* ================================
   CLERK OTP / VERIFICATION READABILITY FIX
================================ */

.cl-rootBox,
.cl-card,
.cl-cardBox {
    color: var(--color-f5e8b8) !important;
}

.cl-headerTitle,
.cl-title,
.cl-main {
    color: var(--gold) !important;
}

.cl-headerSubtitle,
.cl-subtitle,
.cl-formHeaderSubtitle,
.cl-footerActionText,
.cl-identityPreviewText,
.cl-alternativeMethodsBlockButton,
.cl-formFieldLabel,
.cl-formFieldHintText,
.cl-formResendCodeLink,
.cl-formFieldAction,
.cl-internal-1eekank,
.cl-internal-1vbdq0x,
.cl-internal-wkkub3 {
    color: var(--color-f5e8b8) !important;
}

.cl-identityPreviewEditButton,
.cl-footerActionLink,
.cl-formResendCodeLink,
.cl-alternativeMethodsBlockButton {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

.cl-otpCodeFieldInput {
    background: var(--surface-panel) !important;
    color: var(--white) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.45) !important;
    border-radius: 14px !important;
}

.cl-otpCodeFieldInput:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.22) !important;
}

.cl-formFieldErrorText,
.cl-alertText,
.cl-error {
    color: var(--text-danger) !important;
}

.cl-footer,
.cl-footerPages,
.cl-internal-1dauvpw,
.cl-internal-1hp5nqm,
.cl-internal-1vbkfwh,
.cl-internal-13u79ez {
    background: var(--black-dark) !important;
    color: var(--color-c9b875) !important;
    border-color: rgba(var(--gold-rgb), 0.16) !important;
}

.cl-badge {
    background: var(--rgba-255-122-24-0_12) !important;
    color: var(--accent-orange) !important;
}

/* ================================
   AUTH NAVBAR STATE
================================ */

.nav-user-greeting {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 1px;
    margin-right: 14px;
    white-space: nowrap;
}

.nav-logout-btn {
    cursor: pointer;
    font-family: inherit;
}

.mobile-actions .nav-user-greeting {
    display: block;
    margin: 0 0 12px;
    text-align: center;
}

/* ================================
   CLERK OTP READABILITY FIX
================================ */

.cl-otpCodeFieldInput {
    background: var(--surface-panel) !important;
    color: var(--white) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.5) !important;
}

.cl-identityPreviewText,
.cl-formHeaderSubtitle,
.cl-formResendCodeLink,
.cl-alternativeMethodsBlockButton,
.cl-footerActionText,
.cl-footerActionLink,
.cl-poweredBy,
.cl-internal-1vbdq0x,
.cl-internal-wkkub3 {
    color: var(--gold);
}

.cl-footer,
.cl-footerPages {
    background: var(--black-dark) !important;
    border-color: rgba(var(--gold-rgb), 0.18) !important;
}

body.auth-checking .nav-actions,
body.auth-checking .mobile-actions {
    opacity: 0;
    visibility: hidden;
}

.nav-actions,
.mobile-actions {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* =========================================
   CLERK VISIBILITY FIX - FOOTER + EMAIL OTP
========================================= */

/* Main Clerk card text */
.cl-rootBox,
.cl-card,
.cl-main,
.cl-headerTitle,
.cl-formFieldLabel,
.cl-formFieldInfoText,
.cl-formFieldSuccessText,
.cl-identityPreviewText {
    color: var(--gold) !important;
}

.cl-headerSubtitle {
    color: white !important;
}

/* Email / OTP input boxes */
.cl-formFieldInput,
.cl-otpCodeFieldInput {
    background: rgba(var(--white-rgb), 0.08) !important;
    color: var(--white) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.45) !important;
    caret-color: var(--gold) !important;
    box-shadow: inset 0 0 12px rgba(var(--gold-rgb), 0.08) !important;
}

/* OTP typed numbers */
.cl-otpCodeFieldInput,
.cl-otpCodeFieldInput[value] {
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    letter-spacing: 1px !important;
}

/* OTP focus glow */
.cl-formFieldInput:focus,
.cl-otpCodeFieldInput:focus {
    border-color: var(--gold) !important;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.8),
        0 0 18px rgba(var(--gold-rgb), 0.35) !important;
}

/* Placeholder text */
.cl-formFieldInput::placeholder {
    color: var(--rgba-245-240-220-0_65) !important;
}

/* "Secured by Clerk" footer */
.cl-footer,
.cl-footer *,
.cl-footerAction,
.cl-footerActionText,
.cl-footerActionLink,
.cl-internal-1dauvpw,
.cl-internal-b3fm6y {
    color: var(--rgba-245-240-220-0_9) !important;
    opacity: 1 !important;
}

/* Clerk logo/icon inside secured text */
.cl-footer svg,
.cl-footer svg *,
.cl-internal-1dauvpw svg,
.cl-internal-b3fm6y svg {
    color: var(--gold) !important;
    fill: var(--gold) !important;
    opacity: 1 !important;
}

/* Footer link hover */
.cl-footerActionLink:hover {
    color: var(--color-ffd86b) !important;
    text-shadow: 0 0 10px rgba(var(--gold-rgb), 0.55) !important;
}

/* ================================
   ZERO DELAY NAV GREETING FIX
================================ */

body.auth-checking .nav-actions,
body.auth-checking .mobile-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-actions,
.mobile-actions {
    transition: none !important;
}

.nav-user-greeting {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}

/* ================================
   ZERO DELAY NAV GREETING FIX
================================ */

body.auth-checking .nav-actions,
body.auth-checking .mobile-actions {
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-user-greeting {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ================================
   AUTH FLASH FIX
   Prevents Login/Signup flash after login
================================ */

body.auth-checking .nav-actions a[href="login.html"],
body.auth-checking .nav-actions a[href="signup.html"],
body.auth-checking .mobile-actions a[href="login.html"],
body.auth-checking .mobile-actions a[href="signup.html"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.auth-checking .nav-user-greeting,
body.auth-ready .nav-user-greeting {
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-actions,
.mobile-actions {
    transition: none !important;
}

@keyframes greetingSweep {
    0% {
        opacity: 0;
        transform: translateX(-18px);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(18px);
    }
}

.mobile-actions .nav-user-greeting {
    margin: 0 0 12px;
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {

    .nav-user-greeting,
    .nav-user-greeting::after,
    .nav-logout-btn {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* =================================
   HIDE CONTACT NAV ONLY IN MOBILE
================================= */

@media screen and (max-width: 768px) {

    /* Hide the last navbar item (Contact) */
    .nav-menu li:nth-last-child(2) {
        display: none !important;
    }

}

main,
.home-hero,
.slider-section,
.about-section,
.stats-section,
.portfolio-section {
    background: transparent !important;
}

/* Hero section */
.home-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 80px 8% 70px;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -180px;
    width: 680px;
    height: 620px;
    /* background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.25) 24%, rgba(212, 175, 55, 0.10) 48%, transparent 76%); */
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -220px;
    bottom: -220px;
    width: 560px;
    height: 560px;
    /* background: radial-gradient(circle at center, rgba(212, 175, 55, 0.16) 0%, transparent 68%); */
    filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo {
    max-width: min(340px, 78vw);
    margin: 0 auto 20px;
    display: block;
    filter:
        drop-shadow(0 0 34px rgba(212, 175, 55, 0.32)) drop-shadow(0 22px 42px rgba(0, 0, 0, 0.78));
}

/* Identity badges */
.karthik-badge-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px auto 16px;
}

.karthik-badge {
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(0, 0, 0, 0.45));
    color: #f9e8a8;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    letter-spacing: 0.45px;
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.12),
        inset 0 0 14px rgba(212, 175, 55, 0.06);
}

/* Hero text */
.hero-title {
    color: #fff5d2;
    font-size: clamp(2.35rem, 7vw, 5.7rem);
    line-height: 0.95;
    text-align: center;
    margin: 24px auto 18px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    text-shadow:
        0 0 24px rgba(212, 175, 55, 0.28),
        0 25px 45px rgba(0, 0, 0, 0.95);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    max-width: 960px;
    margin: 0 auto;
    color: #e7dcc3;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
}

.hero-signature {
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

/* Hero buttons spacing */
.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-buttons .btn-gold,
.hero-buttons .btn-outline {
    min-width: 190px;
    text-align: center;
}

/* Slider premium fix */
.slider-section {
    padding: 30px 8% 75px;
}

.slider {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.65),
        0 0 34px rgba(212, 175, 55, 0.10),
        inset 0 0 30px rgba(212, 175, 55, 0.025);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.08) saturate(1.04);
}

.slider-btn {
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--gold);
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: rgba(212, 175, 55, 0.16);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.20);
}

.dot {
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.dot.active {
    background: var(--gold);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.55);
}

/* Portfolio section */
.portfolio-section {
    padding: 85px 8%;
    position: relative;
}

.profile-panel {
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 30px;
    padding: clamp(24px, 4vw, 48px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.11), rgba(0, 0, 0, 0.16) 38%),
        rgba(8, 8, 8, 0.78);
    box-shadow:
        0 26px 74px rgba(0, 0, 0, 0.58),
        0 0 36px rgba(212, 175, 55, 0.10),
        inset 0 0 30px rgba(212, 175, 55, 0.035);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

.profile-kicker {
    color: var(--gold);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 13px;
}

.profile-panel h2 {
    color: #fff1bd;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.profile-panel p {
    color: #ded2ba;
    line-height: 1.85;
    font-size: 1rem;
}

/* Identity cards */
.identity-list {
    display: grid;
    gap: 14px;
}

.identity-card {
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(0, 0, 0, 0.50));
    border-radius: 18px;
    padding: 18px 20px;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        filter 0.25s ease;
}

.identity-card:hover {
    border-color: rgba(212, 175, 55, 0.50);
    filter: brightness(1.08);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.14);
}

.identity-card h3 {
    color: #ffe7a1;
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.identity-card p {
    color: #cec1a8;
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Feature/service cards */
.feature-card,
.service-card,
.stat-box {
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.075), rgba(0, 0, 0, 0.58));
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.58),
        0 0 28px rgba(212, 175, 55, 0.09),
        inset 0 0 30px rgba(212, 175, 55, 0.025);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.stat-box:hover {
    border-color: rgba(212, 175, 55, 0.48);
    filter: brightness(1.07);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.66),
        0 0 34px rgba(212, 175, 55, 0.17),
        inset 0 0 34px rgba(212, 175, 55, 0.04);
}

.service-card h3,
.feature-card h3,
.stat-box h3 {
    color: var(--gold);
}

.service-card p,
.feature-card p,
.stat-box p,
.about-text {
    color: #d8ccb4;
    line-height: 1.75;
}

/* Founder / entrepreneur strip */
.founder-strip {
    margin-top: 60px;
    padding: 36px;
    border-radius: 26px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.055), rgba(0, 0, 0, 0.55));
    text-align: center;
    box-shadow:
        0 18px 52px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(212, 175, 55, 0.08);
}

.founder-strip h2 {
    color: #fff0b4;
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.founder-strip p {
    color: #d8ccb4;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer polish */
.footer {
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.88), rgba(3, 3, 3, 0.98)) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .home-hero {
        min-height: auto;
        padding: 70px 6% 55px;
    }

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

    .portfolio-section {
        padding: 65px 6%;
    }

    .slider-section {
        padding: 25px 6% 60px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .home-hero {
        padding: 56px 5% 46px;
    }

    .hero-logo {
        max-width: 240px;
    }

    .karthik-badge-row {
        gap: 9px;
        margin-top: 20px;
    }

    .karthik-badge {
        font-size: 0.78rem;
        padding: 8px 12px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 13vw, 3.8rem);
        letter-spacing: 0.6px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-signature {
        font-size: 0.76rem;
        letter-spacing: 1.4px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .slider {
        border-radius: 18px;
    }

    .profile-panel {
        border-radius: 22px;
        padding: 22px;
    }

    .identity-card {
        padding: 16px;
    }

    .founder-strip {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .section-heading {
        text-align: center;
    }
}

/* =========================================================
   HOME PAGE BACKGROUND COLOR BREAK FIX
   Removes harsh horizontal section break
========================================================= */

body {
    background: linear-gradient(180deg,
            #080806 0%,
            #070706 38%,
            #050505 68%,
            #030303 100%) !important;
}

/* Make all homepage sections use same continuous background */
main,
.home-hero,
.slider-section,
.about-section,
.stats-section,
.portfolio-section {
    background: transparent !important;
}

/* Remove the blocky color cut after hero */
.home-hero {
    background: transparent !important;
    padding-bottom: 90px !important;
}

/* Pull slider section slightly upward into same background flow */
.slider-section {
    background: transparent !important;
    margin-top: -35px;
    padding-top: 0 !important;
}

/* Add smooth fade between hero and slider */
.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 180px;
    pointer-events: none;
    z-index: -1;

    background: linear-gradient(180deg,
            transparent 0%,
            rgba(5, 5, 5, 0.45) 45%,
            rgba(3, 3, 3, 0.95) 100%);
}

/* =================================================
   FINAL HERO UPGRADE BASED ON CURRENT HTML
================================================= */

.home-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6% 90px;
}

.hero-content {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    max-width: 320px;
    width: 100%;
    margin: 0 auto 18px;
    display: block;
}

.hero-kicker {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 10px auto 18px;
    font-weight: 700;
}

.hero-main-title {
    color: #fff1bd;
    font-size: clamp(2.2rem, 5.5vw, 5.3rem);
    line-height: 1.02;
    margin: 0 auto 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow:
        0 0 28px rgba(212, 175, 55, 0.28),
        0 28px 55px rgba(0, 0, 0, 0.95);
}

.hero-role-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin: 0 auto 28px;
}

.hero-role-badges span {
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(0, 0, 0, 0.45));
    color: #f5dc8a;
    font-size: 0.86rem;
    letter-spacing: 0.4px;
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.10),
        inset 0 0 14px rgba(212, 175, 55, 0.05);
}

.hero-subtitle {
    max-width: 850px;
    margin: 0 auto;
    color: #eee3ca;
    text-align: center;
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    line-height: 1.75;
    text-wrap: balance;
}

.hero-signature {
    margin: 30px auto 0;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.hero-buttons {
    margin-top: 34px;
}

/* Smooth background continuation into slider */
.slider-section {
    margin-top: -20px;
    padding-top: 0;
    background: transparent !important;
}

/* Mobile fix */
@media (max-width: 700px) {
    .home-hero {
        min-height: auto;
        padding: 58px 5% 62px;
    }

    .hero-logo {
        max-width: 230px;
    }

    .hero-kicker {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-main-title {
        font-size: clamp(2rem, 11vw, 3.5rem);
        line-height: 1.08;
    }

    .hero-role-badges {
        gap: 8px;
        margin-bottom: 22px;
    }

    .hero-role-badges span {
        font-size: 0.76rem;
        padding: 8px 11px;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-signature {
        font-size: 0.76rem;
        letter-spacing: 1.7px;
        line-height: 1.8;

    }
}

/* =========================================================
   HOME PAGE RADIAL BACKGROUND COLOR FIX
========================================================= */
body {
    background: linear-gradient(180deg,
            var(--black-dark) 0%,
            var(--black-very-dark) 42%,
            var(--black-deep) 100%) !important;
}


main,
.home-hero,
.slider-section,
.about-section,
.stats-section {
    background: transparent !important;
}

.hero-logo {
    filter:
        drop-shadow(0 0 32px rgba(var(--gold-rgb), 0.30)) drop-shadow(0 18px 42px rgba(var(--black-rgb), 0.75));
}

.hero-tagline {
    color: var(--white-soft);
    text-shadow:
        0 0 14px rgba(var(--black-rgb), 0.9),
        0 0 18px rgba(var(--gold-rgb), 0.10);
}

.slider,
.feature-card,
.stat-box {
    box-shadow:
        0 18px 48px rgba(var(--black-rgb), 0.58),
        0 0 28px rgba(var(--gold-rgb), 0.09),
        inset 0 0 30px rgba(var(--gold-rgb), 0.025);
}

.footer {
    background: linear-gradient(180deg,
            rgba(var(--black-rgb), 0.88),
            var(--rgba-3-3-3-0_98)) !important;
}

.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}


.hero-content {
    position: relative;
    z-index: 1;
}

.karthik-badge-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px auto 10px;
}

.karthik-badge {
    border: 1px solid rgba(212, 175, 55, 0.38);
    background: rgba(0, 0, 0, 0.42);
    color: #f7e7a6;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.12),
        inset 0 0 16px rgba(212, 175, 55, 0.05);
}

.hero-title {
    color: #fff7d7;
    font-size: clamp(2.25rem, 6vw, 5.4rem);
    line-height: 0.95;
    text-align: center;
    margin: 22px auto 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow:
        0 0 24px rgba(212, 175, 55, 0.26),
        0 22px 45px rgba(0, 0, 0, 0.9);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    max-width: 950px;
    margin: 0 auto;
    color: #e8dfc8;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.8;
}

.hero-signature {
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portfolio-section {
    padding: 80px 8%;
    position: relative;
}

.portfolio-intro {
    max-width: 980px;
    margin: 0 auto 42px;
    text-align: center;
    color: #ddd2b8;
    font-size: 1.05rem;
    line-height: 1.85;
}

.profile-panel {
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 46px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.10), rgba(0, 0, 0, 0.12) 36%),
        rgba(8, 8, 8, 0.78);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.55),
        0 0 34px rgba(212, 175, 55, 0.10),
        inset 0 0 28px rgba(212, 175, 55, 0.035);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: center;
}

.profile-kicker {
    color: var(--gold);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    margin-bottom: 12px;
}

.profile-panel h2 {
    color: #fff2bf;
    font-size: clamp(1.9rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.profile-panel p {
    color: #dfd4bb;
    line-height: 1.85;
    font-size: 1rem;
}

.identity-list {
    display: grid;
    gap: 14px;
}

.identity-card {
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(0, 0, 0, 0.42);
    border-radius: 18px;
    padding: 18px 20px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}

.identity-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    filter: brightness(1.08);
    box-shadow: 0 0 26px rgba(212, 175, 55, 0.13);
}

.identity-card h3 {
    color: #ffe8a3;
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.identity-card p {
    color: #cfc3ab;
    font-size: 0.94rem;
    line-height: 1.65;
}

.service-card h3,
.stat-box h3 {
    color: var(--gold);
}

.service-card p {
    color: #d8ccb4;
    line-height: 1.7;
}

.founder-strip {
    margin-top: 60px;
    padding: 34px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(0, 0, 0, 0.45);
    text-align: center;
}

.founder-strip h2 {
    color: #fff0b4;
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.founder-strip p {
    color: #d8ccb4;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 850px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .karthik-badge-row {
        justify-content: center;
    }

    .portfolio-section {
        padding: 60px 6%;
    }
}

/* =========================================================
   AFTER 12TH PAGE RADIAL BG FIX
========================================================= */
.article-hero {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 100px 60px;
    flex-wrap: wrap;
}

/* LEFT CONTENT */

.article-hero-content {
    flex: 1;
    min-width: 320px;
    max-width: 700px;
}

.article-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--gold-warm);
    border-radius: 999px;
    color: var(--gold-warm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero-content h1 {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 800;
    color: white;
    margin-bottom: 28px;
}

.article-hero-content p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(var(--white-rgb), 0.8);
    max-width: 700px;
}

/* VIDEO SECTION */

.article-video {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-video iframe {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(var(--black-rgb), 0.4);
}

/* MOBILE RESPONSIVE */

@media (max-width: 992px) {

    .article-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px;
    }

    .article-hero-content h1 {
        font-size: 52px;
    }

    .article-video {
        width: 100%;
    }

    .article-video iframe {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .article-hero-content h1 {
        font-size: 42px;
    }

    .article-hero-content p {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* Temporary admin navbar width fix */
.navbar-inner {
    gap: 18px;
}

.nav-menu {
    gap: 22px;
    flex-wrap: nowrap;
}

.nav-link {
    white-space: nowrap;
}

.logo-text {
    white-space: nowrap;
}

.nav-actions {
    flex-shrink: 0;
}

.nav-user-greeting {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 14px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

/* ================================
   ADMIN DASHBOARD STYLE
================================ */

.admin-dashboard {
    background: linear-gradient(180deg, #080808, var(--admin-bg-dark));
}

.admin-header h1 {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-header p {
    color: var(--light-gray);
}

.admin-card {
    border: 1px solid var(--admin-border-gold);
    background: var(--admin-bg-panel);
    box-shadow: 0 0 28px var(--admin-shadow-gold);
}

.admin-card h2 {
    color: var(--gold);
    font-size: 1.25rem;
}

.admin-card p {
    color: var(--light-gray);
}

.admin-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 34px rgba(212, 175, 55, 0.14);
    filter: brightness(1.05);
}

.manager-panel {
    border: 1px solid var(--admin-border-gold);
    border-radius: 18px;
    background: var(--admin-bg-panel);
    box-shadow: 0 0 28px var(--admin-shadow-gold);
    color: var(--light-gray);
}

#toast-container {
    color: var(--gold);
}

/* ================================
   ADMIN MANAGER STYLE
================================ */

.admin-manager {
    background: linear-gradient(180deg, var(--admin-bg-soft), var(--admin-bg-main));
}

.admin-manager-header h1 {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: 0.5px;
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.22);
}

.admin-manager-header p {
    color: var(--light-gray);
}

.admin-form {
    border: 1px solid var(--admin-border);
    background: linear-gradient(145deg, var(--admin-panel-bg-strong), var(--admin-panel-bg)),
        rgba(5, 5, 5, 0.88);
}

.admin-form label {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border: 1px solid var(--admin-input-border);
    background: var(--admin-input-bg);
    color: var(--text-white);
    font-family: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--admin-input-border-focus);
    box-shadow: var(--admin-shadow-focus);
    background: #0d0d0d;
}

.admin-form select option {
    background: #080808;
    color: #ffffff;
}

.admin-actions .btn-gold,
.admin-actions .btn-outline {
    min-width: 150px;
}

/* Admin nav button */
.admin-nav-link {
    border-color: rgba(212, 175, 55, 0.8);
    color: var(--gold);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
}

.admin-nav-link:hover {
    background: var(--gold);
    box-shadow: 0 0 26px rgba(212, 175, 55, 0.22);
}

/* ================================
   ADMIN MCQ MANAGER STYLE
================================ */

.admin-manager {
    background: linear-gradient(180deg, var(--admin-bg-soft), var(--admin-bg-main));
}

.admin-manager-header h1 {
    color: var(--gold);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 1px;
    text-shadow: 0 0 26px rgba(212, 175, 55, 0.24);
}

.admin-manager-header p {
    color: var(--light-gray);
}

.admin-panel {
    border: 1px solid var(--admin-border);
    background: linear-gradient(145deg, var(--admin-bg-card-strong), var(--admin-bg-card)),
        rgba(5, 5, 5, 0.9);
    box-shadow: var(--admin-shadow-soft);
}

.admin-panel-header h2 {
    color: var(--gold);
    font-size: 1.45rem;
}

.admin-panel-header p {
    color: var(--light-gray);
}

.admin-form label {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.4px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border: 1px solid var(--admin-input-border);
    background: var(--admin-input-bg);
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--admin-input-focus);
    box-shadow: var(--admin-shadow-focus);
    background: #0b0b0b;
}

.admin-form select option {
    background: #080808;
    color: #ffffff;
}

.admin-list-card {
    border: 1px solid var(--admin-border);
    background: rgba(255, 255, 255, 0.035);
}

.admin-list-card h3 {
    color: var(--gold);
    margin: 0;
}

.admin-list-card p {
    color: var(--light-gray);
    margin: 0;
    line-height: 1.6;
}

.admin-empty-text {
    color: var(--light-gray);
    opacity: 0.85;
}

.admin-delete-btn {
    border: 1px solid rgba(255, 90, 90, 0.55);
    color: #ff8f8f;
    background: rgba(255, 90, 90, 0.08);
}

.admin-delete-btn:hover {
    background: rgba(255, 90, 90, 0.55);
    box-shadow: 0 0 20px rgba(255, 90, 90, 0.16);
}

/* Admin nav link */
.admin-nav-link {
    border-color: rgba(212, 175, 55, 0.85);
    color: var(--gold);
}

.admin-nav-link:hover {
    background: var(--gold);
    color: rgba(0, 0, 0, 0);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

/* Logout should look like a proper nav action */
.nav-logout-btn {
    border: 1px solid rgba(212, 175, 55, 0.75);
    color: var(--gold);
    background: transparent;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.nav-logout-btn:hover {
    background: var(--gold);
    color: rgba(0, 0, 0, 0);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

.nav-user-greeting {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.8px;
}

/* ================================
   DYNAMIC MCQ SECTION
================================ */

.mcq-toolbar-subtitle {
    margin-top: 8px;
    color: var(--light-gray);
    line-height: 1.6;
}

.mcq-loading-card {
    min-height: 220px;
    display: flex;
    align-items: center;
}

.resource-box-card {
    overflow: hidden;
}

.resource-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-card-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resource-card-info span {
    white-space: nowrap;
}

/* ================================
   AUTO MCQ GRADIENT THUMBNAILS
================================ */

.mcq-gradient-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%);
    pointer-events: none;
}

.mcq-gradient-thumb::after {
    content: "MCQ";
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 2px;
}

/* ================================
   MCQ GENERATED SUBJECT THUMBNAILS
================================ */

.resource-thumbnail.mcq-gradient-thumb {
    height: 200px;
    min-height: 200px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    isolation: isolate;
}

.resource-thumbnail.mcq-gradient-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%);
    pointer-events: none;
    z-index: 1;
}

.resource-thumbnail.mcq-gradient-thumb::after {
    content: "MCQ";
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    z-index: 1;
}


.mcq-gradient-content h4 {
    margin: 8px 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mcq-gradient-kicker,
.mcq-gradient-tag {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mcq-gradient-tag {
    color: rgba(255, 255, 255, 0.82);
}

/* ================================
   MCQ GENERATED GRADIENT THUMBNAILS
================================ */

.admin-optional-text {
    color: var(--light-gray);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
}

.resource-thumbnail.mcq-gradient-thumb {
    height: 200px;
    min-height: 200px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    isolation: isolate;
}

.resource-thumbnail.mcq-gradient-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 48%);
    pointer-events: none;
    z-index: 1;
}

.resource-thumbnail.mcq-gradient-thumb::after {
    content: "MCQ";
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    z-index: 1;
}

.mcq-gradient-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 42px);
    min-height: 118px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.38);
    box-shadow:
        0 0 26px rgba(0, 0, 0, 0.22),
        inset 0 0 18px rgba(255, 255, 255, 0.06);
}

.mcq-gradient-content h4 {
    margin: 8px 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    word-break: break-word;
}

.mcq-gradient-kicker,
.mcq-gradient-tag {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.mcq-gradient-tag {
    color: rgba(255, 255, 255, 0.82);
}

/* ================================
   MCQ CARD THUMBNAIL FIX
================================ */

.resource-thumbnail {
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.resource-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient fallback thumbnail */
.resource-thumbnail.mcq-gradient-thumb {
    height: 200px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* soft shine */
.resource-thumbnail.mcq-gradient-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 48%);
    z-index: 1;
    pointer-events: none;
}

/* small watermark */
.resource-thumbnail.mcq-gradient-thumb::after {
    content: "MCQ";
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.13);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    z-index: 1;
}

/* subject box */
.mcq-gradient-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 0 22px rgba(0, 0, 0, 0.22),
        inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.mcq-gradient-kicker,
.mcq-gradient-tag {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.mcq-gradient-tag {
    color: rgba(255, 255, 255, 0.78);
}

.mcq-gradient-content h4 {
    margin: 8px 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    word-break: normal;
    overflow-wrap: break-word;
}

.resource-box-card .resource-thumbnail img,
.resource-box-card .mcq-image-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ================================
   MCQ THUMBNAIL FINAL OVERRIDE
   Image thumbnail first, gradient fallback second
================================ */

.resource-box-card .resource-thumbnail,
.resource-box-card .mcq-image-thumb,
.resource-box-card .mcq-gradient-thumb {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 18px 18px 0 0;
}

/* Image thumbnail must always fill the box */
.resource-box-card .mcq-image-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Extra protection if old thumbnail image styles affect dynamic cards */
.resource-box-card .resource-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Stop old span wrapper rules from affecting image thumbnails */
.resource-box-card .mcq-image-thumb span {
    display: none;
}

/* Gradient fallback thumbnail */
.resource-box-card .mcq-gradient-thumb {
    display: grid;
    place-items: center;
    padding: 20px;
    isolation: isolate;
}

/* Gradient light texture */
.resource-box-card .mcq-gradient-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 48%);
    z-index: 1;
    pointer-events: none;
}

/* Small MCQ watermark */
.resource-box-card .mcq-gradient-thumb::after {
    content: "MCQ";
    position: absolute;
    right: 16px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.12);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* Subject text box inside fallback thumbnail */
.resource-box-card .mcq-gradient-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 115px;
    padding: 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.24),
        inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.resource-box-card .mcq-gradient-content h4 {
    margin: 7px 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    word-break: normal;
}

.resource-box-card .mcq-gradient-kicker,
.resource-box-card .mcq-gradient-tag {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.resource-box-card .mcq-gradient-tag {
    color: rgba(255, 255, 255, 0.78);
}

/* ================================
   MCQ THUMBNAIL SIMPLE FIX
================================ */

.resource-box-card .resource-thumbnail {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* Image thumbnail should fill the rectangle */
.resource-box-card .mcq-image-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Gradient thumbnail uses the same rectangle */
.resource-box-card .mcq-gradient-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Simple gradient text */
.mcq-gradient-simple {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.mcq-gradient-simple span {
    display: block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mcq-gradient-simple strong {
    display: block;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.mcq-gradient-simple small {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ================================
   MCQ CARD THUMBNAIL FINAL FIX
   Keep rectangle shape + force image fit
================================ */

/* Make the card clip the thumbnail cleanly */
.resource-card-grid .resource-box-card {
    overflow: hidden !important;
}

/* Keep thumbnail as one clean rectangle */
.resource-card-grid .resource-box-card>.resource-thumbnail {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    overflow: hidden !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    border-radius: 0 !important;
}

/* Uploaded image thumbnail: fill the rectangle */
.resource-card-grid .resource-box-card>.mcq-image-thumb img,
.resource-card-grid .resource-box-card>.resource-thumbnail img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove old span wrapper effect if any old card uses span */
.resource-card-grid .resource-box-card>.resource-thumbnail span {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================================
   MCQ GRADIENT FALLBACK CLEAN DESIGN
================================ */

.resource-thumbnail.mcq-gradient-thumb,
.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    display: grid !important;
    place-items: center !important;
    padding: 22px !important;
    isolation: isolate !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(145deg, #030303 0%, #090909 42%, #111111 72%, #181407 100%) !important;
    background-blend-mode: normal !important;
}

.resource-thumbnail.mcq-gradient-thumb::before,
.resource-thumbnail.mcq-gradient-thumb::after,
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::before,
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.resource-card-grid .resource-box-card>.mcq-image-thumb img,
.resource-card-grid .resource-box-card>.resource-thumbnail img,
.resource-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* New simple gradient text container */
.mcq-gradient-simple {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    text-align: center !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Class text */
.mcq-gradient-simple span {
    color: var(--gold) !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
}

/* Subject text */
.mcq-gradient-simple strong {
    max-width: 100% !important;

    color: #ffffff !important;
    font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* MCQ Practice text */
.mcq-gradient-simple small {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
}

/* ================================
   MCQ THUMBNAIL FINAL CLEAN FIX
   Keeps old box size + fixes image fit
================================ */

/* Keep card clipping clean */
.resource-card-grid .resource-box-card {
    overflow: hidden !important;
}

/* Keep the old-style thumbnail rectangle */
.resource-card-grid .resource-box-card>.resource-thumbnail {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    overflow: hidden !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    border-radius: 0 !important;
    background: transparent !important;
}

/* Remove old decorative thumbnail outline */
.resource-card-grid .resource-box-card>.resource-thumbnail::before,
.resource-card-grid .resource-box-card>.resource-thumbnail::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Kill old span spacing if any image still uses span */
.resource-card-grid .resource-box-card>.resource-thumbnail span {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    position: absolute !important;
    inset: 0 !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Uploaded thumbnail image must fill the old rectangle */
.resource-card-grid .resource-box-card>.resource-thumbnail img,
.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Slight crop only for uploaded thumbnails, not gradient */
.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    transform: scale(1.04) !important;
}

/* Gradient fallback: keep selected admin gradient */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    background-size: cover !important;
    background-position: center !important;
}

/* Remove noisy old watermark */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::after {
    content: none !important;
}

/* Keep only soft shine over the selected gradient */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 55%) !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Simple gradient text */
.mcq-gradient-simple {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    text-align: center !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.mcq-gradient-simple span {
    color: var(--gold) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
}

.mcq-gradient-simple strong {
    max-width: 100% !important;

    color: #ffffff !important;
    font-size: clamp(1.35rem, 1.8vw, 1.65rem) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mcq-gradient-simple small {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
}

/* ================================
   MCQ THUMBNAIL PATCH
   Replaces old MCQ thumbnail CSS
================================ */

/* Card should clip thumbnail cleanly */
.resource-card-grid .resource-box-card {
    overflow: hidden !important;
}

/* Keep old thumbnail-like box size */
.resource-card-grid .resource-box-card>.resource-thumbnail {
    width: 100% !important;
    height: 185px !important;
    min-height: 185px !important;
    max-height: 185px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    overflow: hidden !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    background: transparent !important;
}

/* Remove old decorative pseudo effects */
.resource-card-grid .resource-box-card>.resource-thumbnail::after {
    content: none !important;
}

/* Remove weird old span spacing if present */
.resource-card-grid .resource-box-card>.resource-thumbnail span {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Uploaded image thumbnail should fully fit */
.resource-card-grid .resource-box-card>.resource-thumbnail img,
.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    position: absolute !important;
    inset: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Slight crop so weird uploaded images fit better */
.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    transform: scale(1.03) !important;
}

/* Gradient fallback thumbnail */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 18px 22px !important;
    isolation: isolate !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    background-size: cover !important;
    background-position: center !important;
}

/* Clean fallback text wrapper */
.mcq-gradient-simple {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    gap: 8px !important;

    padding: 6px 10px !important;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Class level */
.mcq-gradient-simple span {
    color: var(--gold) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* Subject */
.mcq-gradient-simple strong {
    max-width: 100% !important;

    color: #ffffff !important;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem) !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;

    margin: 0 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* MCQ Practice */
.mcq-gradient-simple small {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* ================================
   MCQ THUMBNAIL CLEAN FINAL
   Image thumbnail clean + gradient only for fallback
================================ */

.resource-card-grid .resource-box-card {
    overflow: hidden !important;
}

/* Shared thumbnail box */
.resource-card-grid .resource-box-card>.resource-thumbnail {
    width: 100% !important;
    height: 185px !important;
    min-height: 185px !important;
    max-height: 185px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    overflow: hidden !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    background: transparent !important;
}

/* IMPORTANT: no overlay on normal image thumbnails */
.resource-card-grid .resource-box-card>.resource-thumbnail::before,
.resource-card-grid .resource-box-card>.resource-thumbnail::after {
    content: none !important;
}

/* Remove old span spacing */
.resource-card-grid .resource-box-card>.resource-thumbnail span {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Uploaded image must fill the thumbnail cleanly */
.resource-card-grid .resource-box-card>.mcq-image-thumb img,
.resource-card-grid .resource-box-card>.resource-thumbnail img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    position: absolute !important;
    inset: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Slight crop only for uploaded images */
.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    transform: scale(1.03) !important;
}

/* Gradient fallback only */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 18px 22px !important;
    isolation: isolate !important;

    background-size: cover !important;
    background-position: center !important;
}

/* Overlay ONLY for gradient fallback */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;

    background: transparent;
}

/* No watermark */
.resource-card-grid .resource-box-card>.mcq-gradient-thumb::after {
    content: none !important;
}

/* Gradient text */
.mcq-gradient-simple {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    text-align: center !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.mcq-gradient-simple span {
    color: var(--gold) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
}

.mcq-gradient-simple strong {
    max-width: 100% !important;

    color: #ffffff !important;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mcq-gradient-simple small {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
}

/* ================================
   MCQ DYNAMIC THUMBNAILS ONLY
   Scoped to mcq.html dynamic admin-created cards
================================ */

#dynamicMcqSets.resource-card-grid .resource-box-card {
    overflow: hidden;
}

#dynamicMcqSets.resource-card-grid .resource-box-card>.resource-thumbnail {
    width: 100%;
    height: 145px;
    min-height: 145px;
    max-height: 145px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Remove overlays only from uploaded MCQ image thumbnails */
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-image-thumb::before,
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-image-thumb::after {
    content: none;
}

/* Uploaded MCQ image thumbnails should fill their box */
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-image-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Gradient fallback only for MCQ cards without image URL */
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background-size: cover;
    background-position: center;
}

/* No extra overlay/watermark on MCQ gradient fallback */
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb::before,
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb::after {
    content: none;
}

#dynamicMcqSets .mcq-gradient-simple {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

#dynamicMcqSets .mcq-gradient-simple span {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

#dynamicMcqSets .mcq-gradient-simple strong {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#dynamicMcqSets .mcq-gradient-simple small {
    color: rgba(var(--white-rgb), 0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    #dynamicMcqSets.resource-card-grid .resource-box-card>.resource-thumbnail {
        height: 120px;
        min-height: 120px;
        max-height: 120px;
    }

    #dynamicMcqSets .mcq-gradient-simple strong {
        font-size: 1rem;
        white-space: normal;
    }
}

/* ================================
   MCQ SET PAGE STYLING
   For mcq-set.html
================================ */

.mcq-set-main {
    width: min(1050px, 92%);
    margin: 42px auto 80px;
    min-height: 70vh;
}

.mcq-set-hero {
    padding: 38px 34px;
    margin-bottom: 34px;
    border-radius: 26px;
    border: 1px solid rgba(var(--gold-rgb), 0.32);
    background: linear-gradient(135deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        var(--surface);
    box-shadow:
        0 18px 48px rgba(var(--black-rgb), 0.42),
        inset 0 0 38px rgba(var(--gold-rgb), 0.025);
}

.mcq-back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--light-gray);
    font-weight: 700;
}

.mcq-back-link:hover {
    color: var(--gold);
}

.mcq-set-hero .resource-badge {
    margin-left: 10px;
    margin-bottom: 16px;
}

.mcq-set-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 12px;
    letter-spacing: 0.6px;
}

.mcq-set-hero p {
    max-width: 720px;
    color: var(--text-muted-2);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

.mcq-set-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mcq-set-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.28);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.mcq-question-container {
    display: grid;
    gap: 22px;
}

.mcq-set-form {
    display: grid;
    gap: 22px;
}

.mcq-question-card {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(var(--gold-rgb), 0.24);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        var(--surface);
    box-shadow:
        0 16px 42px rgba(var(--black-rgb), 0.34),
        inset 0 0 28px rgba(var(--gold-rgb), 0.018);
}

.mcq-question-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.mcq-question-top span,
.mcq-question-top small {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mcq-question-top small {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.24);
}

.mcq-question-card h2 {
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.35;
    margin-bottom: 20px;
}

.mcq-option-list {
    display: grid;
    gap: 12px;
}

.mcq-set-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(var(--gold-rgb), 0.18);
    background: rgba(var(--white-rgb), 0.035);
    color: var(--text-muted-2);
    cursor: pointer;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.mcq-set-option:hover {
    border-color: rgba(var(--gold-rgb), 0.55);
    background: rgba(var(--gold-rgb), 0.075);
    box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.08);
}

.mcq-set-option input {
    width: 17px;
    height: 17px;
    accent-color: var(--gold);
    cursor: pointer;
}

.mcq-set-option span {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
}

.mcq-set-option.correct-answer {
    border-color: rgba(74, 222, 128, 0.7);
    background: rgba(74, 222, 128, 0.12);
}

.mcq-set-option.wrong-answer {
    border-color: rgba(248, 113, 113, 0.75);
    background: rgba(248, 113, 113, 0.12);
}

.mcq-submit-set-btn {
    width: min(260px, 100%);
    justify-self: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    padding: 13px 28px;
}

.mcq-set-result {
    display: none;
    padding: 26px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid rgba(var(--gold-rgb), 0.36);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        var(--surface);
    box-shadow: 0 18px 45px rgba(var(--black-rgb), 0.38);
}

.mcq-set-result:not(:empty) {
    display: block;
}

.mcq-set-result h2 {
    color: var(--gold);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.mcq-set-result p {
    color: var(--text-muted-2);
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 700px) {
    .mcq-set-main {
        width: 94%;
        margin: 28px auto 60px;
    }

    .mcq-set-hero {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .mcq-set-hero .resource-badge {
        margin-left: 0;
    }

    .mcq-set-meta {
        gap: 9px;
    }

    .mcq-set-meta span {
        font-size: 0.78rem;
        padding: 7px 12px;
    }

    .mcq-question-card {
        padding: 20px;
        border-radius: 18px;
    }

    .mcq-question-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .mcq-set-option {
        align-items: flex-start;
        padding: 13px 14px;
    }

    .mcq-set-option span {
        font-size: 0.95rem;
    }
}

/* ================================
   MCQ FALLBACK THUMBNAIL TEXT SPACING
   Scoped only to dynamic MCQ cards
================================ */

#dynamicMcqSets .mcq-gradient-simple {
    height: 100%;
    width: 100%;
    padding: 18px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* 10th / 12th Standard */
#dynamicMcqSets .mcq-gradient-simple span {
    display: block;
    margin-bottom: 12px;

    color: var(--gold);
    font-size: clamp(0.72rem, 1vw, 0.85rem);
    font-weight: 900;
    letter-spacing: 1.8px;
    line-height: 1;
    text-transform: uppercase;
}

/* Subject name */
#dynamicMcqSets .mcq-gradient-simple strong {
    display: block;
    margin-bottom: 14px;

    color: var(--white);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;

    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MCQ Practice */
#dynamicMcqSets .mcq-gradient-simple small {
    display: block;

    color: rgba(var(--white-rgb), 0.82);
    font-size: clamp(0.72rem, 1vw, 0.85rem);
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1;
    text-transform: uppercase;
}

/* Mobile: slightly tighter but still spaced */
@media (max-width: 480px) {
    #dynamicMcqSets .mcq-gradient-simple {
        padding: 14px 12px;
    }

    #dynamicMcqSets .mcq-gradient-simple span {
        margin-bottom: 9px;
    }

    #dynamicMcqSets .mcq-gradient-simple strong {
        margin-bottom: 10px;
        font-size: 1.25rem;
    }
}

/* ================================
   MCQ FALLBACK THUMBNAIL TEXT SPACING
   Only for dynamic MCQ cards
================================ */

#dynamicMcqSets .mcq-gradient-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
}

#dynamicMcqSets .mcq-gradient-simple {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* 10th Standard / 12th Standard */
#dynamicMcqSets .mcq-gradient-class {
    display: block;
    margin-bottom: 14px;

    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

/* Mathematics / Tamil / Science etc. */
#dynamicMcqSets .mcq-gradient-subject {
    display: block;
    margin-bottom: 16px;

    color: var(--white);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MCQ Practice */
#dynamicMcqSets .mcq-gradient-label {
    display: block;

    color: rgba(var(--white-rgb), 0.84);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

/* Mobile */
@media (max-width: 480px) {
    #dynamicMcqSets .mcq-gradient-thumb {
        padding: 14px 16px;
    }

    #dynamicMcqSets .mcq-gradient-class {
        margin-bottom: 10px;
        font-size: 0.68rem;
    }

    #dynamicMcqSets .mcq-gradient-subject {
        margin-bottom: 11px;
        font-size: 1.22rem;
        letter-spacing: 1px;
    }

    #dynamicMcqSets .mcq-gradient-label {
        font-size: 0.68rem;
    }
}

/* ================================
   MCQ RESULT POPUP MODAL
================================ */

body.mcq-result-open {
    overflow: hidden;
}

.mcq-result-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(var(--black-rgb), 0.86);
    backdrop-filter: blur(14px);
}

.mcq-result-modal {
    width: min(760px, 96vw);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid rgba(var(--gold-rgb), 0.46);
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.055), rgba(var(--white-rgb), 0.018)),
        var(--surface);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.12),
        0 30px 90px rgba(var(--black-rgb), 0.82),
        inset 0 0 45px rgba(var(--gold-rgb), 0.035);
    animation: mcqResultPop 0.28s ease both;
}

.mcq-result-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.45);
    background: rgba(var(--white-rgb), 0.04);
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.mcq-result-close:hover {
    background: rgba(var(--gold-rgb), 0.14);
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.18);
}

.mcq-result-top {
    text-align: center;
    margin-bottom: 24px;
}

.mcq-result-label {
    display: inline-flex;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.32);
    background: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mcq-result-top h2 {
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 10px;
    text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.2);
}

.mcq-result-top p {
    color: var(--text-muted-2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.mcq-result-score-ring {
    width: 170px;
    height: 170px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.08) 48%, var(--surface) 74%);
    box-shadow:
        0 0 0 8px rgba(var(--gold-rgb), 0.035),
        0 0 36px rgba(var(--gold-rgb), 0.22),
        inset 0 0 30px rgba(var(--gold-rgb), 0.08);
}

.mcq-result-score-ring strong {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 950;
    line-height: 1;
}

.mcq-result-score-ring span {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 900;
    margin-top: -48px;
}

.mcq-result-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.mcq-result-stats article {
    padding: 16px 12px;
    border-radius: 18px;
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.055), rgba(var(--white-rgb), 0.018)),
        rgba(var(--black-rgb), 0.22);
    text-align: center;
}

.mcq-result-stats span {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.mcq-result-stats strong {
    display: block;
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 950;
}

.mcq-result-bar-wrap {
    margin-bottom: 24px;
}

.mcq-result-bar-label {
    display: flex;
    justify-content: space-between;
    color: var(--light-gray);
    font-weight: 800;
    margin-bottom: 9px;
}

.mcq-result-bar-label strong {
    color: var(--gold);
}

.mcq-result-bar {
    height: 13px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(var(--white-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.16);
}

.mcq-result-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.28);
}

.mcq-result-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mcq-result-actions .btn-gold,
.mcq-result-actions .btn-outline {
    min-width: 170px;
    text-align: center;
    border: 1px solid var(--gold);
    cursor: pointer;
    font-family: inherit;
}

@keyframes mcqResultPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 700px) {
    .mcq-result-modal {
        padding: 28px 20px 22px;
        border-radius: 24px;
    }

    .mcq-result-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mcq-result-score-ring {
        width: 135px;
        height: 135px;
    }

    .mcq-result-score-ring strong {
        font-size: 1.8rem;
    }

    .mcq-result-score-ring span {
        margin-top: -36px;
    }
}

/* ================================
   MCQ GAMIFIED RESULT MODAL
   BIGGER SCOREBOARD + CLEANER STATS
================================ */

body.mcq-result-open {
    overflow: hidden;
}

.mcq-result-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(var(--black-rgb), 0.88);
    backdrop-filter: blur(16px) brightness(0.78);
}

.mcq-result-modal {
    width: min(980px, 96vw);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 36px 32px;
    border-radius: 34px;
    border: 1px solid rgba(var(--gold-rgb), 0.42);
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        var(--surface);
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.10),
        0 36px 90px rgba(var(--black-rgb), 0.82),
        inset 0 0 42px rgba(var(--gold-rgb), 0.03);
    animation: mcqResultPop 0.28s ease both;
}

.mcq-result-modal::-webkit-scrollbar {
    width: 7px;
}

.mcq-result-modal::-webkit-scrollbar-track {
    background: rgba(var(--white-rgb), 0.05);
    border-radius: 999px;
}

.mcq-result-modal::-webkit-scrollbar-thumb {
    background: rgba(var(--gold-rgb), 0.45);
    border-radius: 999px;
}

.mcq-result-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.45);
    background: rgba(var(--white-rgb), 0.04);
    color: var(--gold);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.mcq-result-close:hover {
    background: rgba(var(--gold-rgb), 0.14);
    box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.18);
    transform: scale(1.06);
}

/* ================================
   TOP SECTION
================================ */

.mcq-result-top {
    text-align: center;
    margin-bottom: 26px;
}

.mcq-result-label {
    display: inline-flex;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.32);
    background: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mcq-result-top h2 {
    color: var(--gold);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 10px;
    text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.22);
}

.mcq-result-top p {
    color: var(--text-muted-2);
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================
   BENCHMARK SECTION
================================ */

.mcq-game-benchmark {
    margin: 0 auto 30px;
    padding: 24px 22px;
    border-radius: 24px;
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    background: rgba(var(--black-rgb), 0.22);
}

.mcq-game-benchmark h3 {
    max-width: 720px;
    margin: 0 auto 18px;
    color: var(--white);
    font-size: clamp(1.15rem, 2.8vw, 1.75rem);
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.3px;
}

.mcq-benchmark-track {
    position: relative;
    width: 100%;
    height: 18px;
    overflow: visible;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.22), rgba(139, 92, 246, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.mcq-benchmark-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
    box-shadow:
        0 0 18px rgba(34, 211, 238, 0.18),
        0 0 26px rgba(168, 85, 247, 0.16);
}

.mcq-benchmark-marker {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #ffffff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.48);
}

.mcq-benchmark-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--text-muted-4);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mcq-benchmark-meta strong {
    color: var(--gold);
}

.mcq-struggle-line {
    max-width: 660px;
    margin: 15px auto 0;
    color: var(--gold-soft);
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ================================
   BIGGER GAME SCORE RING
================================ */

.mcq-result-score-ring {
    width: 220px;
    height: 220px;
    margin: 0 auto 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow:
        0 0 0 10px rgba(var(--gold-rgb), 0.03),
        0 0 40px rgba(var(--gold-rgb), 0.18),
        inset 0 0 34px rgba(var(--gold-rgb), 0.06);
    background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.05) 0%, rgba(var(--gold-rgb), 0.05) 52%, var(--surface) 74%);
}

.mcq-result-score-ring strong {
    color: var(--white);
    font-size: 4rem;
    font-weight: 950;
    line-height: 1;
}

.mcq-result-score-ring span {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: -64px;
}

/* ================================
   SMALLER / CLEANER STAT BOXES
================================ */

.mcq-result-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.mcq-result-stats article {
    min-height: 104px;
    padding: 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(var(--gold-rgb), 0.18);
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.04), rgba(var(--white-rgb), 0.012)),
        rgba(var(--black-rgb), 0.18);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mcq-result-stats span {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mcq-result-stats strong {
    display: block;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

/* ================================
   PROGRESS BAR
================================ */

.mcq-result-bar-wrap {
    margin-bottom: 26px;
}

.mcq-result-bar-label {
    display: flex;
    justify-content: space-between;
    color: var(--light-gray);
    font-weight: 800;
    margin-bottom: 9px;
}

.mcq-result-bar-label strong {
    color: var(--gold);
}

.mcq-result-bar {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(var(--white-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.16);
}

.mcq-result-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.28);
}

/* ================================
   ACTION BUTTONS
================================ */

.mcq-result-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mcq-result-actions .btn-gold,
.mcq-result-actions .btn-outline {
    min-width: 180px;
    text-align: center;
    border: 1px solid var(--gold);
    cursor: pointer;
    font-family: inherit;
}

/* ================================
   ANIMATION
================================ */

@keyframes mcqResultPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 900px) {
    .mcq-result-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .mcq-result-modal {
        padding: 28px 20px 22px;
        border-radius: 24px;
    }

    .mcq-result-score-ring {
        width: 170px;
        height: 170px;
    }

    .mcq-result-score-ring strong {
        font-size: 2.9rem;
    }

    .mcq-result-score-ring span {
        margin-top: -48px;
    }

    .mcq-game-benchmark {
        padding: 20px 16px;
    }

    .mcq-result-stats article {
        min-height: 92px;
        padding: 12px 10px;
    }

    .mcq-result-stats strong {
        font-size: 1.6rem;
    }
}

/* ================================
   ADMIN MCQ SHUFFLE TOGGLES
================================ */

.admin-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(var(--gold-rgb), 0.26);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        rgba(var(--black-rgb), 0.22);
    cursor: pointer;
}

.admin-toggle-card strong {
    display: block;
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.admin-toggle-card span {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.82rem;
    line-height: 1.45;
}

.admin-toggle-card input {
    width: 46px;
    height: 24px;
    flex: 0 0 auto;
    accent-color: var(--gold);
    cursor: pointer;
}

@media (max-width: 700px) {
    .admin-toggle-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADMIN INLINE MCQ SHUFFLE CONTROLS
================================ */

.admin-inline-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.admin-inline-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    background: rgba(var(--white-rgb), 0.035);
    cursor: pointer;
}

.admin-inline-toggle strong {
    display: block;
    color: var(--gold);
    font-size: 0.86rem;
    margin-bottom: 3px;
}

.admin-inline-toggle small {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.admin-inline-toggle input {
    width: 42px;
    height: 22px;
    accent-color: var(--gold);
    cursor: pointer;
}

@media (max-width: 700px) {
    .admin-inline-toggle-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   MCQ RADIO LOCK AFTER SUBMIT
================================ */

.mcq-set-option.mcq-option-locked {
    cursor: not-allowed;
    opacity: 0.95;
}

.mcq-set-option.mcq-option-locked input {
    cursor: not-allowed;
}

.mcq-set-option.mcq-option-locked:hover {
    border-color: rgba(var(--gold-rgb), 0.18);
    background: rgba(var(--white-rgb), 0.035);
    box-shadow: none;
}

/* ================================
   MCQ RESULT ANALYTICS GRAPHS
================================ */

.mcq-result-analytics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.mcq-analytics-card {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.04), rgba(var(--white-rgb), 0.012)),
        rgba(var(--black-rgb), 0.2);
}

.mcq-analytics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.mcq-analytics-head h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
}

.mcq-analytics-head span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.mcq-graph-row {
    display: grid;
    grid-template-columns: 92px 1fr 42px;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}

.mcq-graph-row:last-child {
    margin-bottom: 0;
}

.mcq-graph-row span {
    color: var(--text-muted-4);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mcq-graph-row strong {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 950;
    text-align: right;
}

.mcq-graph-track {
    height: 11px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(var(--white-rgb), 0.075);
    border: 1px solid rgba(var(--white-rgb), 0.08);
}

.mcq-graph-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
}

.mcq-graph-fill.correct {
    background: linear-gradient(90deg, #22c55e, #86efac);
}

.mcq-graph-fill.wrong {
    background: linear-gradient(90deg, #ef4444, #fca5a5);
}

.mcq-graph-fill.unanswered {
    background: linear-gradient(90deg, #64748b, #cbd5e1);
}

.mcq-graph-fill.base {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.mcq-graph-fill.difficulty {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.mcq-graph-fill.speed {
    background: linear-gradient(90deg, #22d3ee, #67e8f9);
}

@media (max-width: 800px) {
    .mcq-result-analytics {
        grid-template-columns: 1fr;
    }

    .mcq-graph-row {
        grid-template-columns: 86px 1fr 36px;
    }
}

/* ================================
   ADMIN QUESTION ANALYSIS
================================ */

.admin-analysis-card {
    border-color: rgba(var(--gold-rgb), 0.28);
}

.admin-answer-distribution {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-distribution-row {
    display: grid;
    grid-template-columns: 36px 1fr 90px;
    align-items: center;
    gap: 12px;
}

.admin-distribution-row span {
    color: var(--text-muted-4);
    font-weight: 900;
}

.admin-distribution-row strong {
    color: var(--text-muted-4);
    font-size: 0.82rem;
    text-align: right;
}

.admin-distribution-row.correct-option span,
.admin-distribution-row.correct-option strong {
    color: var(--gold);
}

.admin-distribution-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(var(--white-rgb), 0.08);
    border: 1px solid rgba(var(--white-rgb), 0.08);
}

.admin-distribution-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gold);
}

.admin-distribution-row.correct-option .admin-distribution-track i {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

@media (max-width: 520px) {
    .admin-distribution-row {
        grid-template-columns: 28px 1fr 74px;
        gap: 8px;
    }

    .admin-distribution-row strong {
        font-size: 0.72rem;
    }
}

/* ================================
   ADMIN PERFORMANCE SUMMARY
================================ */

.admin-performance-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.admin-performance-summary article {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        rgba(var(--black-rgb), 0.22);
}

.admin-performance-summary span {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 8px;
}

.admin-performance-summary strong {
    display: block;
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.1;
}

@media (max-width: 800px) {
    .admin-performance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-performance-summary {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADMIN WHOLE STUDENT PERFORMANCE
================================ */

.admin-student-performance-card {
    border-color: rgba(var(--gold-rgb), 0.28);
}

.admin-student-performance-card h3 {
    color: var(--gold);
}

/* ================================
   ADMIN STUDENT DETAIL VIEW
================================ */

.admin-student-performance-card {
    border-color: rgba(var(--gold-rgb), 0.28);
    background: linear-gradient(145deg, rgba(var(--gold-rgb), 0.045), rgba(var(--white-rgb), 0.018)),
        rgba(var(--black-rgb), 0.24);
}

.admin-student-performance-card h3 {
    color: var(--gold);
}

.admin-student-performance-card .admin-list-card-actions {
    margin-top: 16px;
}

/* Student detail attempt cards */
.mcq-student-detail-card {
    border-color: rgba(var(--gold-rgb), 0.24);
}

/* Better spacing for student detail page */
.admin-section-title+.admin-performance-summary {
    margin-top: 20px;
}

/* Make performance cards cleaner */
.admin-performance-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.admin-performance-summary article {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(var(--gold-rgb), 0.22);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.045), rgba(var(--white-rgb), 0.015)),
        rgba(var(--black-rgb), 0.22);
}

.admin-performance-summary span {
    display: block;
    color: var(--text-muted-4);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 8px;
}

.admin-performance-summary strong {
    display: block;
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.1;
    word-break: break-word;
}

/* Student details button alignment */
.admin-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Mobile */
@media (max-width: 800px) {
    .admin-performance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-performance-summary {
        grid-template-columns: 1fr;
    }

    .admin-performance-summary article {
        padding: 16px;
    }

    .admin-performance-summary strong {
        font-size: 1.15rem;
    }

    .admin-list-card-actions {
        flex-direction: column;
    }

    .admin-list-card-actions .btn-outline,
    .admin-list-card-actions .btn-gold,
    .admin-list-card-actions .admin-delete-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   ADMIN DELETE BUTTON - RED OUTLINE
================================ */

.admin-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 12px 18px;

    border: 1px solid rgba(248, 113, 113, 0.55);
    border-radius: 999px;

    background: transparent;
    color: #fca5a5;

    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        inset 0 0 0 1px rgba(248, 113, 113, 0.08),
        0 0 18px rgba(248, 113, 113, 0.08);

    transition:
        border-color 0.22s ease,
        color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.admin-delete-btn:hover {
    border-color: rgba(248, 113, 113, 0.9);
    color: rgb(23, 23, 23);
    background: rgba(248, 113, 113, 0.9);
    filter: brightness(1.08);
}

.admin-delete-btn:active {
    filter: brightness(0.94);
}

.admin-delete-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.25);
    box-shadow: none;
}

/* Mobile */
@media (max-width: 520px) {
    .admin-delete-btn {
        width: 100%;
        min-height: 46px;
        padding: 13px 16px;
    }
}

/* ================================
   ADMIN WHOLE PERFORMANCE MODAL
================================ */

.admin-performance-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(14px);
}

.admin-performance-modal {
    width: min(1120px, 96vw);
    max-height: 88vh;
    overflow-y: auto;

    position: relative;

    padding: 34px;
    border-radius: 30px;

    border: 1px solid rgba(var(--gold-rgb), 0.34);

    background: linear-gradient(180deg, var(--surface-darker), var(--black-very-dark));

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        0 34px 100px rgba(0, 0, 0, 0.78),
        inset 0 0 44px rgba(var(--gold-rgb), 0.035);
}

.admin-performance-close {
    position: sticky;
    top: 0;
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.32);

    background: rgba(0, 0, 0, 0.55);
    color: var(--gold);

    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    z-index: 2;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.admin-performance-close:hover {
    color: #ffffff;
    border-color: rgba(var(--gold-rgb), 0.7);
    background: rgba(var(--gold-rgb), 0.12);
    box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.18);
    filter: brightness(1.08);
}

.admin-performance-modal-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.admin-performance-modal-header span {
    display: inline-flex;
    margin-bottom: 10px;

    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.admin-performance-modal-header h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 950;
    line-height: 1;
    margin-bottom: 12px;
}

.admin-performance-modal-header p,
.admin-performance-modal-loading p {
    color: var(--text-muted-4);
    line-height: 1.7;
}

.admin-performance-modal-loading {
    min-height: 280px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.admin-performance-modal-loading h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.admin-performance-modal-summary {
    margin-bottom: 28px;
}

.admin-performance-modal-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-performance-modal-list .admin-list-card {
    margin: 0;
}

/* Mobile */
@media (max-width: 850px) {
    .admin-performance-modal-overlay {
        padding: 14px;
        align-items: flex-start;
    }

    .admin-performance-modal {
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: 24px;
    }

    .admin-performance-modal-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .admin-performance-modal-header h2 {
        font-size: 1.9rem;
    }

    .admin-performance-close {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }
}

/* ================================
   ADMIN PERFORMANCE MODAL SCROLLBAR
================================ */

.admin-performance-modal {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--gold-rgb), 0.65) rgba(var(--white-rgb), 0.06);
}

/* Chrome / Edge / Safari */
.admin-performance-modal::-webkit-scrollbar {
    width: 10px;
}

.admin-performance-modal::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.035), rgba(var(--black-rgb), 0.22));
    border-radius: 999px;
}

.admin-performance-modal::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
    border: 2px solid rgba(var(--black-rgb), 0.85);
    box-shadow:
        0 0 10px rgba(var(--gold-rgb), 0.22),
        inset 0 0 8px rgba(var(--white-rgb), 0.16);
}

.admin-performance-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold-light), var(--gold));
    box-shadow:
        0 0 16px rgba(var(--gold-rgb), 0.34),
        inset 0 0 10px rgba(var(--white-rgb), 0.22);
}

/* Keep modal scrolling smooth */
.admin-performance-modal {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

/* ================================
   ADMIN MCQ MANAGEMENT STRUCTURE
================================ */

.admin-section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    width: 100%;
    margin: 0 0 24px;
    padding: 0 0 22px;

    border-bottom: 1px solid rgba(var(--gold-rgb), 0.18);
}

.admin-section-title h3 {
    color: var(--white);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 950;
    line-height: 1.1;
    margin: 0;
}

.admin-section-title p {
    color: var(--text-muted-4);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.admin-section-title .btn-gold,
.admin-section-title .btn-outline {
    margin-top: 4px;
}

/* Existing MCQ set list spacing */
#mcqSetsList {
    display: grid;
    gap: 18px;
}

/* MCQ set card structure */
#mcqSetsList .admin-list-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 24px;
    border-radius: 22px;

    border: 1px solid rgba(var(--gold-rgb), 0.2);
    background: linear-gradient(145deg, rgba(var(--white-rgb), 0.04), rgba(var(--white-rgb), 0.012)),
        rgba(var(--black-rgb), 0.22);
}

#mcqSetsList .admin-list-card h3 {
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1.2;
    margin: 0;
}

#mcqSetsList .admin-list-card p {
    color: var(--text-muted-4);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

#mcqSetsList .admin-list-card p strong {
    color: var(--white);
}

/* Actions alignment */
.admin-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-top: 10px;
}

/* Keep buttons same width style on desktop */
.admin-list-card-actions .btn-outline,
.admin-list-card-actions .btn-gold,
.admin-list-card-actions .admin-delete-btn {
    min-width: 150px;
}

/* Mobile */
@media (max-width: 620px) {
    .admin-section-title {
        gap: 9px;
        padding-bottom: 18px;
    }

    .admin-section-title .btn-gold,
    .admin-section-title .btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #mcqSetsList .admin-list-card {
        padding: 20px;
        border-radius: 18px;
    }

    .admin-list-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-list-card-actions .btn-outline,
    .admin-list-card-actions .btn-gold,
    .admin-list-card-actions .admin-delete-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ================================
   REUSABLE ADMIN POPUP WINDOW
================================ */

.admin-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(14px);
}

.admin-popup {
    width: min(1100px, 96vw);
    max-height: 88vh;
    overflow-y: auto;

    position: relative;

    padding: 34px;
    border-radius: 30px;

    border: 1px solid rgba(var(--gold-rgb), 0.34);

    background: linear-gradient(180deg, var(--surface-darker), var(--black-very-dark));

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.08),
        0 34px 100px rgba(0, 0, 0, 0.78),
        inset 0 0 44px rgba(var(--gold-rgb), 0.035);

    scrollbar-width: thin;
    scrollbar-color: rgba(var(--gold-rgb), 0.65) rgba(var(--white-rgb), 0.06);

    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

.admin-popup-large {
    width: min(1120px, 96vw);
}

.admin-popup-close {
    position: sticky;
    top: 0;
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.32);

    background: rgba(0, 0, 0, 0.55);
    color: var(--gold);

    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    z-index: 2;
}

.admin-popup-close:hover {
    color: #ffffff;
    border-color: rgba(var(--gold-rgb), 0.7);
    background: rgba(var(--gold-rgb), 0.12);
    box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.18);
}

.admin-popup-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
}

.admin-popup-header span {
    display: inline-flex;
    margin-bottom: 10px;

    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.admin-popup-header h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 950;
    line-height: 1;
    margin-bottom: 12px;
}

.admin-popup-header p {
    color: var(--text-muted-4);
    line-height: 1.7;
}

.admin-popup-body {
    display: grid;
    gap: 18px;
}

/* Scrollbar */
.admin-popup::-webkit-scrollbar {
    width: 10px;
}

.admin-popup::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(var(--white-rgb), 0.035), rgba(var(--black-rgb), 0.22));
    border-radius: 999px;
}

.admin-popup::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
    border: 2px solid rgba(var(--black-rgb), 0.85);
    box-shadow:
        0 0 10px rgba(var(--gold-rgb), 0.22),
        inset 0 0 8px rgba(var(--white-rgb), 0.16);
}

.admin-popup::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-soft), var(--gold-light), var(--gold));
}

/* Mobile */
@media (max-width: 850px) {
    .admin-popup-overlay {
        padding: 14px;
        align-items: flex-start;
    }

    .admin-popup {
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: 24px;
    }
}

/* ================================
   ADMIN DELETE BUTTON MATCH OUTLINE BUTTONS
================================ */

.admin-list-card-actions .admin-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5.5px 22px;
    min-height: auto;
    width: auto;
    min-width: 0;

    border-radius: 30px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.6;

    text-transform: none;

    background: transparent;
    color: #ffb4b4;
    border: 1px solid rgba(248, 113, 113, 0.65);
    box-shadow: none;
}

.admin-list-card-actions .admin-delete-btn:hover {
    background: rgba(248, 113, 113, 0.95);
    color: rgb(15, 15, 15);
    border-color: rgba(248, 113, 113, 0.95);
    box-shadow: 0 8px 22px rgba(248, 113, 113, 0.12);
}

select option {
    background: #050505;
    color: #f7f3e8;
}

select option:checked {
    background: #d4af37;
    color: #050505;
}

.navbar,
.navbar a,
.navbar button,
.admin-greeting {
    font-family: "Montserrat", sans-serif;
}

.admin-greeting {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #d4af37;
}

.admin-btn,
.logout-btn {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #d4af37;
    font-family: Arial, Helvetica, sans-serif;
}

body.admin-checking main {
    display: none;
}

.career-admin-page {
    min-height: 100vh;
    padding: 90px 8%;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 34%),
        linear-gradient(180deg, #080808, #050505);
}

.career-admin-header {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.career-admin-eyebrow {
    margin-bottom: 12px;
    color: var(--gold, #d4af37);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.career-admin-header h1 {
    margin-bottom: 14px;
    color: var(--text-white, #ffffff);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
}

.career-admin-header p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted, #c9bea8);
    line-height: 1.8;
}

.career-admin-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.career-admin-panel {
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        #101010;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.career-admin-panel-header {
    padding: 24px 26px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.career-admin-panel-header h2 {
    color: var(--gold, #d4af37);
    font-size: 1.45rem;
    font-weight: 900;
}

.career-admin-panel-header p {
    margin-top: 8px;
    color: var(--text-muted, #c9bea8);
    font-size: 0.94rem;
    line-height: 1.6;
}

.career-admin-form {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.career-admin-field {
    display: grid;
    gap: 8px;
}

.career-admin-field label {
    color: var(--text-main, #f7f3e8);
    font-size: 0.9rem;
    font-weight: 800;
}

.career-admin-field input,
.career-admin-field select,
.career-admin-field textarea {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 15px;
    background: #070707;
    color: #ffffff;
    padding: 13px 15px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.career-admin-field textarea {
    resize: vertical;
    min-height: 120px;
}

.career-admin-field textarea.article-body-input {
    min-height: 260px;
    line-height: 1.7;
}

.career-admin-field input:focus,
.career-admin-field select:focus,
.career-admin-field textarea:focus {
    border-color: var(--gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.career-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.career-admin-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    cursor: pointer;
    transition: filter 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.career-admin-btn.primary {
    background: linear-gradient(135deg, #f2cf63, #d4af37, #9f7620);
    color: #080808;
}

.career-admin-btn.secondary {
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: transparent;
    color: var(--gold, #d4af37);
}

.career-admin-btn.danger {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: transparent;
    color: #f87171;
}

.career-admin-btn:hover {
    filter: brightness(1.08);
}

.career-admin-list {
    display: grid;
    gap: 16px;
    padding: 22px;
    max-height: 820px;
    overflow-y: auto;
}

.career-admin-empty {
    border: 1px dashed rgba(212, 175, 55, 0.24);
    border-radius: 18px;
    padding: 26px;
    color: var(--text-muted, #c9bea8);
    text-align: center;
}

.career-admin-item {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    padding: 14px;
}

.career-admin-item img {
    width: 132px;
    height: 86px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: #050505;
}

.career-admin-item-content {
    min-width: 0;
}

.career-admin-item-tag {
    display: inline-flex;
    margin-bottom: 8px;
    border: 1px solid rgba(212, 175, 55, 0.26);
    border-radius: 999px;
    padding: 4px 9px;
    color: var(--gold, #d4af37);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.career-admin-item h3 {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 7px;
}

.career-admin-item p {
    display: -webkit-box;
    color: var(--text-muted, #c9bea8);
    font-size: 0.85rem;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.career-admin-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.career-admin-mini-btn {
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
}

.career-admin-status {
    margin-top: 14px;
    color: var(--text-muted, #c9bea8);
    font-size: 0.9rem;
    min-height: 20px;
}

@media (max-width: 980px) {
    .career-admin-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .career-admin-page {
        padding: 70px 5%;
    }

    .career-admin-form,
    .career-admin-list {
        padding: 18px;
    }

    .career-admin-item {
        grid-template-columns: 1fr;
    }

    .career-admin-item img {
        width: 100%;
        height: 190px;
    }
}

/* =====================================================
   CAREER GUIDANCE - ADMIN MANAGED ARTICLE HUB
===================================================== */

.career-article-hub {
    width: min(1180px, 92%);
    margin: 40px auto 70px;
    padding: 34px;

    background:
        linear-gradient(180deg, var(--surface-alt-2), var(--black-dark));

    border: 1px solid rgba(var(--gold-rgb), 0.22);
    border-radius: 28px;

    box-shadow:
        0 24px 70px rgba(var(--black-rgb), 0.62),
        inset 0 0 42px rgba(var(--gold-rgb), 0.025);
}

.career-article-controls {
    margin-bottom: 32px;
}

.career-search-box {
    width: 100%;
    margin-bottom: 18px;
}

.career-search-box input {
    width: 100%;
    padding: 16px 20px;

    background: rgba(var(--black-rgb), 0.72);
    color: var(--white);

    border: 1px solid rgba(var(--gold-rgb), 0.22);
    border-radius: 18px;

    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;

    outline: none;

    box-shadow:
        inset 0 0 24px rgba(var(--black-rgb), 0.42),
        0 0 0 rgba(var(--gold-rgb), 0);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.career-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.career-search-box input:focus {
    border-color: var(--gold);
    background: var(--black-true);

    box-shadow:
        0 0 0 3px rgba(var(--gold-rgb), 0.11),
        0 0 24px rgba(var(--gold-rgb), 0.09);
}

.career-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.career-filter-btn {
    border: 1px solid rgba(var(--gold-rgb), 0.24);
    border-radius: 999px;

    background: rgba(var(--black-rgb), 0.38);
    color: var(--text-muted-2);

    padding: 10px 15px;

    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.career-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);

    box-shadow:
        0 0 18px rgba(var(--gold-rgb), 0.12);
}

.career-filter-btn.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    border-color: var(--gold);
    color: var(--black-true);

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.3),
        0 0 24px rgba(var(--gold-rgb), 0.18);
}

.career-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.career-article-card {
    position: relative;
    isolation: isolate;

    overflow: hidden;
    min-height: 100%;

    background:
        linear-gradient(180deg, var(--surface-alt-2), var(--surface-panel));

    border: 1px solid rgba(var(--gold-rgb), 0.22);
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(var(--black-rgb), 0.45),
        inset 0 0 35px rgba(var(--gold-rgb), 0.02);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        filter 0.3s ease;
}

.career-article-card:hover {
    border-color: var(--gold);
    background:
        linear-gradient(180deg, var(--surface-alt-4), var(--black-dark));

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.28),
        0 0 32px rgba(var(--gold-rgb), 0.14),
        0 24px 60px rgba(var(--black-rgb), 0.65),
        inset 0 0 42px rgba(var(--gold-rgb), 0.04);

    filter: brightness(1.04);
}

.career-article-thumb {
    width: 100%;
    height: 225px;

    background: var(--black-true);
    overflow: hidden;

    border-bottom: 1px solid rgba(var(--gold-rgb), 0.14);
}

.career-article-thumb img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
    object-position: center;

    background: var(--black-true);
    padding: 18px 0;

    transform: none !important;
    filter: none !important;

    transition: none !important;
}

.career-article-card:hover .career-article-thumb img {
    transform: none !important;
    filter: none !important;
}

.career-article-body {
    display: flex;
    flex-direction: column;
    min-height: 235px;
    padding: 23px;
}

.career-article-tag {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    margin-bottom: 13px;
    padding: 6px 11px;

    border: 1px solid rgba(var(--gold-rgb), 0.35);
    border-radius: 999px;

    background: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.career-article-body h3 {
    margin-bottom: 11px;

    color: var(--white);
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 900;
}

.career-article-body p {
    display: -webkit-box;

    color: var(--text-muted-2);
    font-size: 0.93rem;
    line-height: 1.72;

    overflow: hidden;
    -webkit-box-orient: vertical;
}

.career-article-link {
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;

    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.3px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease,
        letter-spacing 0.25s ease;
}

.career-article-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.45);
}

.career-article-empty {
    grid-column: 1 / -1;

    padding: 34px 24px;

    border: 1px dashed rgba(var(--gold-rgb), 0.28);
    border-radius: 22px;

    background: rgba(var(--black-rgb), 0.3);
    color: var(--text-muted-2);

    text-align: center;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
    .career-article-hub {
        width: 92%;
        padding: 26px;
        margin-top: 34px;
    }

    .career-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .career-article-thumb {
        height: 210px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .career-article-hub {
        width: 94%;
        padding: 20px;
        border-radius: 22px;
        margin: 32px auto 60px;
    }

    .career-category-filters {
        gap: 8px;
    }

    .career-filter-btn {
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .career-article-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .career-article-thumb {
        height: 205px;
    }

    .career-article-body {
        min-height: auto;
        padding: 21px;
    }
}

@media (max-width: 380px) {
    .career-article-thumb {
        height: 180px;
    }
}

/* =====================================================
   ADMIN CAREER - CATEGORY + DATE INPUT FIX
===================================================== */

.career-admin-field input[list],
.career-admin-field input[type="date"],
.career-admin-field input[type="url"],
.career-admin-field input[type="text"],
.career-admin-field select {
    min-height: 50px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        var(--black-true);

    color: var(--white);

    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 15px;

    padding: 13px 15px;

    font-size: 0.95rem;
    font-weight: 700;

    outline: none;

    box-shadow:
        inset 0 0 18px rgba(var(--black-rgb), 0.4);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.career-admin-field input[list]:focus,
.career-admin-field input[type="date"]:focus,
.career-admin-field input[type="url"]:focus,
.career-admin-field input[type="text"]:focus,
.career-admin-field select:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(var(--gold-rgb), 0.12),
        0 0 24px rgba(var(--gold-rgb), 0.08),
        inset 0 0 18px rgba(var(--black-rgb), 0.4);
}

.career-admin-field input[list]::placeholder,
.career-admin-field input[type="url"]::placeholder,
.career-admin-field input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

/* Category datalist input */
#careerCategory {
    text-transform: capitalize;
}

/* Date input */
#careerPublishedDate {
    color-scheme: dark;
    cursor: pointer;
}

#careerPublishedDate::-webkit-calendar-picker-indicator {
    cursor: pointer;

    opacity: 0.85;

    filter:
        invert(78%) sepia(66%) saturate(562%) hue-rotate(358deg) brightness(98%) contrast(91%);
}

#careerPublishedDate::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Small helper text below date */
.career-admin-field small {
    display: block;
    margin-top: 2px;

    color: var(--text-muted-2, #c9bea8);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.55;
}

/* Better category suggestions visual area */
.career-admin-field datalist {
    background: var(--black-true);
    color: var(--white);
}

.career-article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.career-article-card:hover {
    text-decoration: none;
}

.career-article-card .career-article-link {
    display: inline-block;
}

/* ===============================
   CAREER ARTICLE THUMBNAIL FIX
   PC + MOBILE
================================ */

.career-article-thumb {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #050505;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.18);
}

.career-article-thumb img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    padding: 0 !important;
    background: transparent !important;

    transform: none !important;
    filter: none !important;
    transition: none !important;
}

.career-article-card:hover .career-article-thumb img {
    transform: none !important;
    filter: none !important;
}

/* ===============================
   CAREER ARTICLE THUMBNAIL FIX
   No black frame on left/right
================================ */

.career-article-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;

    background: #050505;
    padding: 16px 0;

    overflow: hidden;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.22);
}

.career-article-thumb img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    padding: 0 !important;
    background: transparent !important;

    transform: none !important;
    filter: none !important;
    transition: none !important;
}

@media (max-width: 768px) {
    .career-article-thumb {
        aspect-ratio: 16 / 9;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .career-article-thumb {
        aspect-ratio: 16 / 9;
        padding: 10px 0;
    }
}

/* =====================================================
   ARTICLE PAGE - REAL BLOG ARTICLE LOOK
===================================================== */

.article-page {
    width: 100%;
    padding: 110px 6% 90px;
}

.article-back-link {
    display: block;
    width: min(980px, 100%);
    margin: 0 auto 34px;

    color: var(--gold);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-decoration: none;
}

.article-back-link:hover {
    color: var(--gold-light);
    text-decoration: none;
}

/* Main article shell */
.article-container {
    width: min(980px, 100%);
    margin: 0 auto;

    border: 1px solid rgba(var(--gold-rgb), 0.26);
    border-radius: 28px;
    overflow: hidden;

    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(3, 3, 3, 1));

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.75),
        inset 0 0 50px rgba(var(--gold-rgb), 0.025);
}

/* =====================================================
   ADMIN CAREER - RICH TEXT EDITOR
===================================================== */

.career-editor-wrap {
    overflow: hidden;

    border: 1px solid rgba(var(--gold-rgb), 0.22);
    border-radius: 16px;

    background: var(--black-true);

    box-shadow:
        inset 0 0 22px rgba(var(--black-rgb), 0.45);
}

/* Toolbar */
.career-editor-wrap .ql-toolbar {
    border: none;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.18);

    background:
        linear-gradient(180deg, rgba(var(--gold-rgb), 0.08), rgba(var(--gold-rgb), 0.025)),
        var(--black-dark);
}

/* Toolbar buttons */
.career-editor-wrap .ql-toolbar button,
.career-editor-wrap .ql-toolbar .ql-picker {
    color: var(--text-muted-2);
}

.career-editor-wrap .ql-toolbar button svg {
    filter: invert(1);
    opacity: 0.78;
}

.career-editor-wrap .ql-toolbar button:hover svg,
.career-editor-wrap .ql-toolbar button.ql-active svg {
    opacity: 1;
    filter:
        invert(78%) sepia(66%) saturate(562%) hue-rotate(358deg) brightness(98%) contrast(91%);
}

/* Dropdown text */
.career-editor-wrap .ql-picker-label {
    color: var(--text-muted-2);
}

.career-editor-wrap .ql-picker-options {
    background: var(--black-true);
    border: 1px solid rgba(var(--gold-rgb), 0.22);
}

.career-editor-wrap .ql-picker-item {
    color: var(--white);
}

/* Editor area */
.career-editor-wrap .ql-container {
    min-height: 280px;

    border: none;

    background: var(--black-true);
    color: var(--text-light);

    font-family: inherit;
    font-size: 1rem;
}

.career-editor-wrap .ql-editor {
    min-height: 280px;
    padding: 18px;

    color: var(--text-light);
    line-height: 1.8;
}

.career-editor-wrap .ql-editor.ql-blank::before {
    color: rgba(255, 255, 255, 0.38);
    font-style: normal;
}

.career-editor-wrap .ql-editor h1,
.career-editor-wrap .ql-editor h2,
.career-editor-wrap .ql-editor h3 {
    color: var(--gold);
}

.career-editor-wrap .ql-editor a {
    color: var(--gold-light);
}

/* =====================================================
   QUILL DROPDOWN FIX - DARK THEME
===================================================== */

.career-editor-wrap .ql-toolbar .ql-picker {
    color: var(--text-light);
}

.career-editor-wrap .ql-toolbar .ql-picker-label {
    color: var(--text-light) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.28);
    border-radius: 8px;
    background: var(--black-true);
}

.career-editor-wrap .ql-toolbar .ql-picker-label:hover {
    color: var(--gold-light) !important;
}

.career-editor-wrap .ql-toolbar .ql-picker-label::before {
    color: var(--text-light) !important;
}

.career-editor-wrap .ql-toolbar .ql-picker-label svg {
    filter: invert(1);
    opacity: 0.85;
}

/* The opened dropdown box */
.career-editor-wrap .ql-toolbar .ql-picker.ql-expanded .ql-picker-options {
    background: var(--black-true) !important;
    border: 1px solid rgba(var(--gold-rgb), 0.32) !important;
    border-radius: 12px;
    padding: 8px;

    box-shadow:
        0 18px 45px rgba(var(--black-rgb), 0.65),
        0 0 22px rgba(var(--gold-rgb), 0.12);
}

/* Dropdown items */
.career-editor-wrap .ql-toolbar .ql-picker-options .ql-picker-item {
    color: var(--text-light) !important;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Hover option */
.career-editor-wrap .ql-toolbar .ql-picker-options .ql-picker-item:hover {
    background: rgba(var(--gold-rgb), 0.12) !important;
    color: var(--gold-light) !important;
}

/* Selected option */
.career-editor-wrap .ql-toolbar .ql-picker-options .ql-picker-item.ql-selected {
    background: rgba(var(--gold-rgb), 0.18) !important;
    color: var(--gold) !important;
}

/* Fix heading labels inside dropdown */
.career-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
    content: "Heading 1";
}

.career-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
    content: "Heading 2";
}

.career-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    content: "Heading 3";
}

.career-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-item::before,
.career-editor-wrap .ql-snow .ql-picker.ql-header .ql-picker-label::before {
    color: inherit !important;
}

.career-editor-wrap .ql-editor {
    background: #050505;
    color: var(--text-light) !important;
}

.career-editor-wrap .ql-editor p,
.career-editor-wrap .ql-editor li {
    color: var(--text-light) !important;
}

.career-editor-wrap .ql-editor.ql-blank::before {
    color: rgba(255, 255, 255, 0.42) !important;
}

/* =====================================================
   ARTICLE BODY - FULLER PREMIUM CONTENT LOOK
===================================================== */

.article-main-content {
    min-height: 620px;
    padding: 46px 52px;
}

.article-body {
    max-width: 820px;
    width: 100%;

    color: var(--text-muted-2);
    font-size: 1.08rem;
    line-height: 1.9;

    letter-spacing: 0.1px;
}

.article-body p {
    margin: 0 0 22px;

    color: var(--text-muted-2);
    font-size: 1.06rem;
    line-height: 1.9;
}

.article-body h1,
.article-body h2,
.article-body h3 {
    color: var(--gold);
    font-weight: 900;
    line-height: 1.25;
}

.article-body h1 {
    margin: 42px 0 20px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.article-body h2 {
    margin: 42px 0 18px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.article-body h3 {
    margin: 34px 0 16px;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.article-body ul,
.article-body ol {
    margin: 20px 0 30px 28px;
    padding-left: 18px;
}

.article-body li {
    margin-bottom: 14px;
    padding-left: 6px;

    color: var(--text-muted-2);
    line-height: 1.85;
}

.article-body li::marker {
    color: var(--gold);
    font-weight: 900;
}

.article-body strong {
    color: var(--white);
    font-weight: 900;
}

.article-body blockquote {
    margin: 34px 0;
    padding: 24px 26px;

    background:
        linear-gradient(135deg, rgba(var(--gold-rgb), 0.09), rgba(var(--gold-rgb), 0.025)),
        rgba(var(--black-rgb), 0.35);

    border-left: 4px solid var(--gold);
    border-radius: 18px;

    color: var(--text-light);

    box-shadow:
        inset 0 0 28px rgba(var(--gold-rgb), 0.025),
        0 16px 38px rgba(var(--black-rgb), 0.32);
}

/* Give the article box a more filled visual feel */
.article-view {
    background:
        radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.075), transparent 34%),
        radial-gradient(circle at bottom right, rgba(var(--gold-rgb), 0.045), transparent 38%),
        linear-gradient(180deg, var(--surface-alt-2), var(--black-dark));

    border: 1px solid rgba(var(--gold-rgb), 0.26);
    box-shadow:
        0 26px 80px rgba(var(--black-rgb), 0.7),
        0 0 34px rgba(var(--gold-rgb), 0.045),
        inset 0 0 45px rgba(var(--gold-rgb), 0.025);
}

/* Mobile */
@media (max-width: 700px) {
    .article-main-content {
        min-height: auto;
        padding: 28px 22px;
    }

    .article-body {
        max-width: 100%;
        font-size: 0.99rem;
        line-height: 1.82;
    }

    .article-body p {
        font-size: 0.98rem;
        line-height: 1.82;
    }

    .article-body h2 {
        margin-top: 32px;
        font-size: 1.45rem;
    }

    .article-body h3 {
        font-size: 1.2rem;
    }
}

/* Future ad space inside right sidebar */
.future-ad-slot {
    min-height: 220px;

    margin-top: 22px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px dashed rgba(var(--gold-rgb), 0.28);
    border-radius: 20px;

    background:
        radial-gradient(circle at center, rgba(var(--gold-rgb), 0.07), transparent 42%),
        rgba(var(--black-rgb), 0.34);

    text-align: center;

    box-shadow:
        inset 0 0 28px rgba(var(--gold-rgb), 0.025);
}

.future-ad-slot span {
    display: block;

    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.future-ad-slot p {
    margin-top: 10px;

    color: var(--text-muted-2);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* =====================================================
   CAREER GUIDANCE ARTICLE HUB - POLISH FIX
===================================================== */

.career-article-hub {
    width: min(1180px, 92%);
    margin: 42px auto 72px;
    padding: 46px 48px 54px;

    background:
        radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.06), transparent 34%),
        linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));

    border: 1px solid rgba(var(--gold-rgb), 0.24);
    border-radius: 30px;

    box-shadow:
        0 28px 80px rgba(var(--black-rgb), 0.62),
        inset 0 0 42px rgba(var(--gold-rgb), 0.025);
}

/* Header */
.career-article-header {
    margin-bottom: 30px;
}

.career-article-header .career-blog-tag,
.career-article-header span {
    display: inline-flex;
    width: fit-content;

    margin-bottom: 18px;
    padding: 8px 18px;

    border: 1px solid rgba(var(--gold-rgb), 0.34);
    border-radius: 999px;

    background: rgba(var(--gold-rgb), 0.07);
    color: var(--gold);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.career-article-header h2 {
    margin-bottom: 8px;

    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.career-article-header p {
    max-width: 760px;
    color: var(--text-muted-2);
    font-size: 1rem;
    line-height: 1.65;
}

/* Controls wrapper */
.career-article-controls {
    margin-bottom: 34px;
}

/* Search */
.career-search-box {
    width: 100%;
    margin-bottom: 22px;
}

.career-search-box input {
    width: 100%;
    height: 62px;

    padding: 0 24px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
        var(--black-true);

    color: var(--white);

    border: 1px solid rgba(var(--gold-rgb), 0.28);
    border-radius: 20px;

    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;

    outline: none;

    box-shadow:
        inset 0 0 28px rgba(var(--black-rgb), 0.52),
        0 0 0 rgba(var(--gold-rgb), 0);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.career-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 800;
}

.career-search-box input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(var(--gold-rgb), 0.12),
        0 0 28px rgba(var(--gold-rgb), 0.1),
        inset 0 0 28px rgba(var(--black-rgb), 0.52);
}

/* Filter buttons */
.career-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.career-filter-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(var(--gold-rgb), 0.24);
    border-radius: 999px;

    background: rgba(var(--black-rgb), 0.38);
    color: var(--text-muted-2);

    padding: 0 20px;

    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.4px;

    cursor: pointer;

    box-shadow:
        inset 0 0 18px rgba(var(--black-rgb), 0.38);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.career-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);

    box-shadow:
        0 0 18px rgba(var(--gold-rgb), 0.12),
        inset 0 0 18px rgba(var(--black-rgb), 0.38);
}

.career-filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black-true);

    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb), 0.32),
        0 0 24px rgba(var(--gold-rgb), 0.18);
}

/* Fix first All button looking too tiny */
.career-filter-btn[data-category="All"] {
    min-width: 74px;
}

/* Grid spacing below filters */
.career-article-grid {
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 700px) {
    .career-article-hub {
        width: 94%;
        margin: 34px auto 64px;
        padding: 30px 20px 34px;
        border-radius: 24px;
    }

    .career-article-header {
        margin-bottom: 24px;
    }

    .career-search-box input {
        height: 56px;
        padding: 0 18px;
        font-size: 0.92rem;
    }

    .career-category-filters {
        gap: 9px;
    }

    .career-filter-btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.78rem;
    }
}

/* =====================================================
   CAREER GUIDANCE - MATCH FEATURED + ARTICLE HUB SIZE
===================================================== */

/* Same outer width for both main blocks */
.featured-career-guide,
.career-article-hub {
    width: min(1350px, 86%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Reduce the huge gap between the two sections */
.featured-career-guide {
    margin-bottom: 42px !important;
}

.career-article-hub {
    padding: 42px !important;

    border-radius: 26px;
    border: 1px solid rgba(var(--gold-rgb), 0.28);

    background:
        radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.055), transparent 34%),
        linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));

    box-shadow:
        0 24px 70px rgba(var(--black-rgb), 0.62),
        0 0 30px rgba(var(--gold-rgb), 0.035),
        inset 0 0 42px rgba(var(--gold-rgb), 0.025);
}

/* Make article hub heading feel less oversized compared to hero */
.career-article-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    line-height: 1.12;
}

/* Keep search box contained nicely */
.career-search-box input {
    height: 58px;
    border-radius: 18px;
}

/* Match mobile widths too */
@media (max-width: 900px) {

    .featured-career-guide,
    .career-article-hub {
        width: min(92%, 620px) !important;
    }

    .career-article-hub {
        padding: 28px 24px !important;
    }
}

@media (max-width: 600px) {

    .featured-career-guide,
    .career-article-hub {
        width: 94% !important;
    }

    .featured-career-guide {
        margin-bottom: 34px !important;
    }

    .career-article-hub {
        padding: 24px 18px !important;
        border-radius: 22px;
    }

    .career-article-header h2 {
        font-size: clamp(2rem, 9vw, 2.7rem) !important;
    }
}

/* =====================================================
   STATIC ARTICLE DEMO PAGE - SIZE FIX
   For after-12th.html using article.html classes
===================================================== */

.static-article-page .article-title,
.article-page.static-demo .article-title {
    max-width: 820px;

    font-size: clamp(2.4rem, 4vw, 4.4rem) !important;
    line-height: 1.08;
    letter-spacing: -1px;
}

.static-article-page .article-date,
.article-page.static-demo .article-date {
    margin-bottom: 28px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 800;
}

/* .static-article-page .article-video,
.article-page.static-demo .article-video {
    max-width: 900px;
    margin: 34px 0 42px;

    border-radius: 24px;
    overflow: hidden;

    background: var(--black-true);
    border: 1px solid rgba(var(--gold-rgb), 0.24);

    box-shadow:
        0 18px 48px rgba(var(--black-rgb), 0.52),
        0 0 24px rgba(var(--gold-rgb), 0.06);
} */

.static-article-page .article-video iframe,
.article-page.static-demo .article-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: unset !important;
    display: block;
}

.static-article-page .article-main-content,
.article-page.static-demo .article-main-content {
    padding-top: 44px;
}

@media (max-width: 700px) {

    .static-article-page .article-title,
    .article-page.static-demo .article-title {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }

    .static-article-page .article-video,
    .article-page.static-demo .article-video {
        margin: 26px 0 34px;
        border-radius: 18px;
    }
}

.wrong-question-list {
    display: grid;
    gap: 16px;
}

.wrong-question-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 18px;
    background: rgba(5, 8, 14, 0.86);
}

.wrong-question-rank {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold);
    font-weight: 800;
}

.wrong-question-main h3 {
    margin: 0 0 12px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.5;
}

.wrong-question-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.wrong-question-stats span,
.wrong-question-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wrong-question-stats strong,
.wrong-question-meta strong {
    color: var(--gold-light);
}

@media (max-width: 600px) {
    .wrong-question-card {
        grid-template-columns: 1fr;
    }

    .wrong-question-rank {
        width: max-content;
        height: auto;
        padding: 8px 12px;
        border-radius: 999px;
    }
}

.admin-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.admin-confirm-box {
    width: min(430px, 100%);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(15, 20, 32, 0.98), rgba(5, 8, 14, 0.98));
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(212, 175, 55, 0.12);
    text-align: center;
}

.admin-confirm-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
    color: #ff6b6b;
    font-size: 1.7rem;
    font-weight: 900;
}

.admin-confirm-box h2 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 1.45rem;
}

.admin-confirm-box p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.admin-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.admin-confirm-cancel,
.admin-confirm-delete {
    min-width: 120px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-confirm-cancel {
    border-color: var(--gold-border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.admin-confirm-delete {
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(185, 28, 28, 0.75);
    color: #ffffff;
}

.admin-confirm-cancel:hover {
    color: rgb(13, 17, 28);
    background: var(--gold);
}

.admin-confirm-delete:hover {
    color: rgb(13, 17, 28);
    filter: brightness(1.12);
    background: var(--error-border);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.38);
}

@media (max-width: 520px) {
    .admin-confirm-box {
        padding: 24px 18px;
    }

    .admin-confirm-actions {
        flex-direction: column;
    }

    .admin-confirm-cancel,
    .admin-confirm-delete {
        width: 100%;
    }
}

/* ::selection {
    background: #f7f3e8;
    color: #050505;
}

::-moz-selection {
    background: #f7f3e8;
    color: #050505;
} */

::selection {
    background: var(--gold);
    color: #050505;
}

::-moz-selection {
    background: var(--gold);
    color: #050505;
}


/* ::selection {
    background: rgba(125, 211, 252, 0.32);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(125, 211, 252, 0.32);
    color: #ffffff;
} */

/* ================================
   NAVBAR CENTER FIX ONLY
   Does not change colors, hover, buttons, logo
================================ */

.navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.logo {
    justify-self: start;
}

.nav-menu {
    justify-self: center;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu .nav-link {
    white-space: nowrap;
}

.nav-actions {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 14px;
}

@media (max-width: 1250px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-menu .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .navbar-inner {
        display: flex;
    }

    .nav-menu {
        justify-self: unset;
    }
}

.hero-logo {
    max-width: min(340px, 78vw);
    margin: 0 auto 20px;
    display: block;
    filter:
        drop-shadow(0 0 34px rgba(212, 175, 55, 0.32)) drop-shadow(0 22px 42px rgba(0, 0, 0, 0.78));
}

/* MCQ thumbnail upload button spacing */
#setThumbnailUrl+button,
#setThumbnailUrl+.btn-outline {
    margin-top: 12px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* .admin-header{
    margin:0px !important;
} */

/* ================================
   FIX LARGE GAP BELOW NAVBAR
================================ */

main {
    padding-top: 0;
}

main>section:first-child,
main>.admin-dashboard:first-child,
main>.career-admin-header:first-child,
main>.resource-main:first-child {
    margin-top: 0;
}

/* Admin dashboard spacing fix */
.admin-dashboard {
    padding-top: 55px;
}

/* Admin pages spacing fix */
.career-admin-page,
.admin-page,
.admin-main {
    padding-top: 45px;
}

/* Resource pages spacing fix */
.resource-main {
    margin-top: 32px;
}

/* Contact page spacing fix */
.contact-wheel-main {
    padding-top: 38px;
}

/* Home page hero spacing fix */
.home-hero {
    padding-top: 45px;
}

/* =====================================================
   MCQ ANALYTICS DANGER ZONE
===================================================== */

.mcq-danger-zone {
    margin-top: 32px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.22), rgba(8, 8, 8, 0.92)),
        var(--bg-card);
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.08);
}

.mcq-danger-zone .admin-panel-header h2 {
    color: #fecaca;
}

.mcq-danger-zone .admin-panel-header p {
    color: var(--text-muted);
}

.mcq-danger-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.mcq-danger-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 18px;
    background: rgba(8, 8, 8, 0.42);
}

.mcq-danger-card h3 {
    margin: 0 0 8px;
    color: #fee2e2;
    font-size: 1rem;
}

.mcq-danger-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.danger-btn {
    border-color: rgba(239, 68, 68, 0.75) !important;
    color: #fecaca !important;
    background: rgba(127, 29, 29, 0.18) !important;
}

.danger-btn:hover {
    color: #ffffff !important;
    border-color: rgba(248, 113, 113, 0.95) !important;
    background: rgba(185, 28, 28, 0.36) !important;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.28);
}

/* Mobile */
@media (max-width: 900px) {
    .mcq-danger-grid {
        grid-template-columns: 1fr;
    }

    .mcq-danger-card {
        padding: 18px;
    }
}

/* =====================================================
   MCQ ANALYTICS RESET SELECTION UI
===================================================== */

.mcq-danger-card .admin-input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(239, 68, 68, 0.38);
    border-radius: 12px;
    background: rgba(10, 10, 14, 0.88);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.mcq-danger-card .admin-input:focus {
    border-color: rgba(248, 113, 113, 0.9);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.mcq-danger-card .admin-input option {
    background: #111111;
    color: #ffffff;
}


/* =====================================================
   MCQ ANALYTICS RESET CONFIRMATION MODAL
===================================================== */

.analytics-reset-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(10px);
}

.analytics-reset-modal {
    width: min(520px, 100%);
    padding: 30px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(239, 68, 68, 0.18), transparent 36%),
        linear-gradient(145deg, rgba(20, 20, 24, 0.98), rgba(6, 6, 8, 0.98));
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 32px rgba(239, 68, 68, 0.16);
    position: relative;
    text-align: center;
}

.analytics-reset-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
}

.analytics-reset-close:hover {
    border-color: rgba(248, 113, 113, 0.8);
    background: rgba(239, 68, 68, 0.18);
}

.analytics-reset-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(127, 29, 29, 0.34);
    color: #fecaca;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.2);
}

.analytics-reset-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.analytics-reset-modal h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.analytics-reset-modal p {
    margin: 0 auto 18px;
    max-width: 430px;
    color: var(--text-muted);
    line-height: 1.7;
}

.analytics-reset-warning {
    margin: 18px 0 14px;
    padding: 14px;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.22);
    color: #fee2e2;
    font-size: 0.94rem;
}

.analytics-reset-warning strong {
    color: #ffffff;
    letter-spacing: 0.08em;
}

.analytics-reset-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    text-align: center;
    letter-spacing: 0.05em;
}

.analytics-reset-input:focus {
    border-color: rgba(248, 113, 113, 0.95);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.analytics-reset-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.analytics-reset-cancel,
.analytics-reset-confirm {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.analytics-reset-cancel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.analytics-reset-cancel:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.analytics-reset-confirm {
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(185, 28, 28, 0.75);
    color: #ffffff;
}

.analytics-reset-confirm:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    filter: grayscale(1);
}

.analytics-reset-confirm:not(:disabled):hover {
    color: rgb(13, 17, 28);
    filter: brightness(1.12);
    background: var(--error-border);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.38);
}

@media (max-width: 600px) {
    .analytics-reset-modal {
        padding: 26px 20px;
    }

    .analytics-reset-actions {
        flex-direction: column;
    }

    .analytics-reset-cancel,
    .analytics-reset-confirm {
        width: 100%;
    }
}

/* =====================================================
   MCQ ANALYTICS RESET SUCCESS MODAL
===================================================== */

.analytics-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.analytics-success-modal {
    width: min(460px, 100%);
    padding: 30px;
    border: 1px solid rgba(34, 197, 94, 0.42);
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(18, 22, 20, 0.98), rgba(6, 8, 7, 0.98));
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(34, 197, 94, 0.14);
    text-align: center;
}

.analytics-success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.72);
    background: rgba(22, 101, 52, 0.28);
    color: #bbf7d0;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.analytics-success-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.analytics-success-modal h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.35rem, 4vw, 1.9rem);
}

.analytics-success-modal p {
    margin: 0 auto 22px;
    max-width: 380px;
    color: var(--text-muted);
    line-height: 1.7;
}

.analytics-success-btn {
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid rgba(34, 197, 94, 0.58);
    border-radius: 999px;
    background: rgba(22, 101, 52, 0.38);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.analytics-success-btn:hover {
    background: rgba(22, 163, 74, 0.52);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.22);
}

/* =====================================================
   ADMIN CUSTOM MESSAGE MODAL
===================================================== */

.admin-message-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.admin-message-modal {
    width: min(440px, 100%);
    position: relative;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.15), transparent 36%),
        linear-gradient(145deg, rgba(18, 18, 22, 0.98), rgba(5, 5, 7, 0.98));
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 28px rgba(212, 175, 55, 0.12);
    text-align: center;
}

.admin-message-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold, #d4af37);
    font-size: 1.35rem;
    font-weight: 900;
    cursor: pointer;
}

.admin-message-close:hover {
    border-color: rgba(212, 175, 55, 0.7);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
}

.admin-message-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.65);
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold, #d4af37);
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
}

.admin-message-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light, #f2cf63);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-message-modal h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.admin-message-modal p {
    margin: 0 auto 22px;
    max-width: 360px;
    color: var(--text-muted);
    line-height: 1.7;
}

.admin-message-btn {
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid rgba(212, 175, 55, 0.58);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light, #f2cf63);
    font-weight: 900;
    cursor: pointer;
}

.admin-message-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

/* Danger variant */
.admin-message-danger .admin-message-modal {
    border-color: rgba(239, 68, 68, 0.45);
    background:
        radial-gradient(circle at top, rgba(239, 68, 68, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(20, 20, 24, 0.98), rgba(6, 6, 8, 0.98));
}

.admin-message-danger .admin-message-icon,
.admin-message-danger .admin-message-close,
.admin-message-danger .admin-message-btn {
    border-color: rgba(239, 68, 68, 0.55);
    color: #fecaca;
}

.admin-message-danger .admin-message-label {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

/* Success variant */
.admin-message-success .admin-message-modal {
    border-color: rgba(34, 197, 94, 0.42);
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.14), transparent 36%),
        linear-gradient(145deg, rgba(18, 22, 20, 0.98), rgba(6, 8, 7, 0.98));
}

.admin-message-success .admin-message-icon,
.admin-message-success .admin-message-close,
.admin-message-success .admin-message-btn {
    border-color: rgba(34, 197, 94, 0.55);
    color: #bbf7d0;
}

.admin-message-success .admin-message-label {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

/* =====================================================
   CAREER ADMIN DELETE CONFIRM MODAL
===================================================== */

.career-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.career-confirm-box {
    width: min(460px, 100%);
    position: relative;
    padding: 30px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 24px;
    background:
        radial-gradient(circle at top, rgba(239, 68, 68, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(20, 20, 24, 0.98), rgba(6, 6, 8, 0.98));
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 28px rgba(239, 68, 68, 0.14);
    text-align: center;
}

.career-confirm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(239, 68, 68, 0.38);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fecaca;
    font-size: 1.35rem;
    font-weight: 900;
    cursor: pointer;
}

.career-confirm-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(127, 29, 29, 0.34);
    color: #fecaca;
    font-size: 2rem;
    font-weight: 900;
}

.career-confirm-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.career-confirm-box h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.35rem, 4vw, 1.9rem);
}

.career-confirm-box p {
    margin: 0 auto 22px;
    max-width: 370px;
    color: var(--text-muted);
    line-height: 1.7;
}

.career-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.career-confirm-cancel,
.career-confirm-delete {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.career-confirm-cancel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.career-confirm-delete {
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(185, 28, 28, 0.75);
    color: #ffffff;
}

.career-confirm-delete:hover {
    color: rgb(13, 17, 28);
    filter: brightness(1.12);
    background: var(--error-border);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.38);
}

@media (max-width: 600px) {
    .career-confirm-box {
        padding: 26px 20px;
    }

    .career-confirm-actions {
        flex-direction: column;
    }

    .career-confirm-cancel,
    .career-confirm-delete {
        width: 100%;
    }
}

/* =====================================================
   MOBILE AUTH BUTTON ALIGNMENT
===================================================== */

@media (max-width: 900px) {
    .nav-menu .mobile-actions {
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 24px;
    }

    .nav-menu .mobile-actions .admin-nav-link {
        margin-right: auto;
    }

    .nav-menu .mobile-actions .nav-logout-btn {
        margin-left: auto;
    }
}

/* =====================================================
   CONTACT RESPONSIVE EXPERIENCE
   Desktop = wheel, Mobile/Tablet = simple cards
===================================================== */

.contact-simple-mobile {
    display: none;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {
    .contact-desktop-experience {
        display: none !important;
    }

    .contact-simple-mobile {
        display: block;
        width: min(680px, 100%);
        margin: 0 auto;
        padding: 90px 20px 60px;
    }

    .simple-contact-header {
        text-align: center;
        margin-bottom: 28px;
    }

    .simple-contact-header span {
        display: inline-flex;
        margin-bottom: 10px;
        padding: 7px 14px;
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 999px;
        background: rgba(212, 175, 55, 0.08);
        color: var(--gold-light, #f2cf63);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .simple-contact-header h1 {
        margin: 0 0 12px;
        color: var(--text-main);
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.05;
    }

    .simple-contact-header p {
        max-width: 520px;
        margin: 0 auto;
        color: var(--text-muted);
        line-height: 1.7;
    }

    .simple-contact-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .simple-contact-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 18px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
            rgba(8, 8, 12, 0.78);
        color: inherit;
        text-decoration: none;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    }

    .simple-contact-card:hover {
        border-color: rgba(212, 175, 55, 0.5);
        background:
            linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.025)),
            rgba(8, 8, 12, 0.88);
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.34),
            0 0 18px rgba(212, 175, 55, 0.12);
    }

    .simple-contact-icon {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(212, 175, 55, 0.22);
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.35);
    }

    .simple-contact-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .simple-contact-card strong {
        display: block;
        margin-bottom: 4px;
        color: var(--text-main);
        font-size: 1rem;
    }

    .simple-contact-card small {
        display: block;
        color: var(--text-muted);
        font-size: 0.86rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

/* Small mobile */
@media (max-width: 520px) {
    .contact-simple-mobile {
        padding-top: 76px;
    }

    .simple-contact-card {
        padding: 14px;
        border-radius: 16px;
    }

    .simple-contact-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .simple-contact-icon img {
        width: 25px;
        height: 25px;
    }
}

/* =====================================================
   MOBILE HAMBURGER DROPDOWN + SCROLL FIX
   Keeps dropdown closed until hover/focus
===================================================== */

@media (max-width: 900px) {

    .nav-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu .dropdown {
        width: 100%;
        position: relative;
    }

    .nav-menu .dropdown>.nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu .dropdown-menu {
        position: static !important;
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        max-height: 0;
        overflow: hidden;

        margin: 0 !important;
        padding: 0 8px !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: none !important;

        border-radius: 14px;
        background: rgba(0, 0, 0, 0.28);
        border: 1px solid rgba(212, 175, 55, 0.12);

        transition:
            max-height 0.28s ease,
            opacity 0.22s ease,
            padding 0.22s ease,
            margin 0.22s ease;
    }

    .nav-menu .dropdown:hover .dropdown-menu,
    .nav-menu .dropdown:focus-within .dropdown-menu,
    .nav-menu .dropdown.open .dropdown-menu {
        max-height: 180px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        margin: 8px 0 0 !important;
        padding: 8px !important;
    }

    .nav-menu .dropdown-menu li {
        display: block !important;
        width: 100% !important;
    }

    .nav-menu .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        padding: 10px 14px !important;
        border-radius: 10px;
        color: var(--text-main) !important;
        text-decoration: none !important;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-light, #f2cf63) !important;
    }
}

/* =====================================================
   MOBILE HAMBURGER DROPDOWN FIX
   Keeps dropdown closed until tap/hover
===================================================== */

@media (max-width: 900px) {

    .navbar .nav-menu {
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .navbar .nav-menu>li {
        width: 100%;
        flex-shrink: 0;
    }

    .navbar .nav-menu .dropdown {
        position: relative;
        width: 100%;
    }

    .navbar .nav-menu .dropdown>.nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .nav-menu .dropdown-menu {
        position: static !important;
        inset: auto !important;

        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;

        max-height: 0;
        overflow: hidden;

        margin: 0 !important;
        padding: 0 10px !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: none !important;

        border: 1px solid rgba(212, 175, 55, 0.14);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.34);

        transition:
            max-height 0.25s ease,
            opacity 0.2s ease,
            padding 0.2s ease,
            margin 0.2s ease;
    }

    .navbar .nav-menu .dropdown:hover>.dropdown-menu,
    .navbar .nav-menu .dropdown:focus-within>.dropdown-menu,
    .navbar .nav-menu .dropdown.open>.dropdown-menu {
        max-height: 220px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        margin: 10px 0 0 !important;
        padding: 10px !important;
    }

    .navbar .nav-menu .dropdown-menu li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar .nav-menu .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        border-radius: 10px;

        color: var(--text-main) !important;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .navbar .nav-menu .dropdown-menu a:hover {
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-light, #f2cf63) !important;
    }
}

/* =====================================================
   CONTACT RESPONSIVE EXPERIENCE
   Desktop = wheel, Mobile/Tablet = simple cards
===================================================== */

.contact-simple-mobile {
    display: none;
}

/* Desktop */
@media (min-width: 1025px) {
    .contact-desktop-experience {
        display: grid;
    }

    .contact-simple-mobile {
        display: none !important;
    }
}

/* Tablet + Mobile */
@media (max-width: 1024px) {
    .contact-wheel-main {
        min-height: auto;
        display: block;
        padding: 72px 5% 60px;
        overflow: visible;
    }

    .contact-desktop-experience {
        display: none !important;
    }

    .contact-simple-mobile {
        display: block !important;
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .simple-contact-header {
        text-align: center;
        margin-bottom: 28px;
    }

    .simple-contact-header span {
        display: inline-flex;
        margin-bottom: 10px;
        padding: 7px 14px;
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 999px;
        background: rgba(212, 175, 55, 0.08);
        color: var(--gold-light, #f2cf63);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .simple-contact-header h1 {
        margin: 0 0 12px;
        color: var(--text-main);
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.05;
    }

    .simple-contact-header p {
        max-width: 520px;
        margin: 0 auto;
        color: var(--text-muted);
        line-height: 1.7;
    }

    .simple-contact-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .simple-contact-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 18px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
            rgba(8, 8, 12, 0.78);
        color: inherit;
        text-decoration: none;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    }

    .simple-contact-card:hover {
        border-color: rgba(212, 175, 55, 0.5);
        background:
            linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.025)),
            rgba(8, 8, 12, 0.88);
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.34),
            0 0 18px rgba(212, 175, 55, 0.12);
    }

    .simple-contact-icon {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(212, 175, 55, 0.22);
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.35);
    }

    .simple-contact-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .simple-contact-card strong {
        display: block;
        margin-bottom: 4px;
        color: var(--text-main);
        font-size: 1rem;
    }

    .simple-contact-card small {
        display: block;
        color: var(--text-muted);
        font-size: 0.86rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

/* Small mobile */
@media (max-width: 520px) {
    .contact-wheel-main {
        padding: 62px 4% 50px;
    }

    .simple-contact-card {
        padding: 14px;
        border-radius: 16px;
    }

    .simple-contact-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .simple-contact-icon img {
        width: 25px;
        height: 25px;
    }
}

/* =====================================================
   MOBILE NAV FINAL VISIBILITY FIX
===================================================== */

@media (max-width: 900px) {
    .navbar .nav-menu {
        max-height: calc(100vh - 78px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .navbar .nav-menu>li {
        display: block !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .navbar .nav-menu a[href="contact.html"] {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .navbar .nav-menu a[href="index.html"].nav-link {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* =====================================================
   CAREER GUIDANCE MOBILE THUMBNAIL FIX ONLY
===================================================== */

@media (max-width: 768px) {
    .career-blog-card {
        overflow: hidden;
    }

    .career-blog-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: contain !important;
        object-position: center;
        background: #050505;
        padding: 8px;
        border-bottom: 1px solid rgba(var(--gold-rgb), 0.16);
    }

    .career-blog-card:hover img {
        transform: none !important;
        filter: brightness(0.95);
    }

    .featured-image {
        background: #050505;
    }

    .featured-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: contain !important;
        object-position: center;
        padding: 8px;
    }
}

/* =====================================================
   CAREER MOBILE THUMBNAIL FIX
   Fill card properly. No black frame. No padding.
===================================================== */

@media (max-width: 768px) {

    /* Normal career article cards */
    .career-blog-card {
        overflow: hidden;
    }

    .career-blog-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;

        padding: 0 !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(var(--gold-rgb), 0.16);
    }

    .career-blog-card:hover img {
        transform: none !important;
        filter: brightness(0.95) !important;
    }

    /* Featured career guide card */
    .featured-career-guide {
        grid-template-columns: 1fr !important;
        width: min(92%, 520px) !important;
        margin: 32px auto 55px !important;
        padding: 14px !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    .featured-image {
        width: 100% !important;
        border-radius: 18px 18px 0 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        border: none !important;
    }

    .featured-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;

        padding: 0 !important;
        background: transparent !important;
    }

    .featured-career-guide:hover .featured-image img {
        transform: none !important;
        filter: brightness(0.95) !important;
    }

    .featured-content {
        padding: 24px 14px 10px !important;
    }
}



/* =====================================================
   CAREER CARD FULL CLICK FEEDBACK
===================================================== */

.featured-career-guide,
.career-blog-card,
.career-article-card {
    cursor: pointer;
}

/* =====================================================
   DYNAMIC CAREER ARTICLE CARD CLICK FEEDBACK
===================================================== */

.career-article-card {
    cursor: pointer;
}

.career-article-card .career-article-link {
    pointer-events: auto;
}

/* =========================================================
   HOME HERO BLUE PREMIUM REDESIGN
   Matches desired deep academic blue + gold look
   Add this at the VERY BOTTOM of style.css
========================================================= */

body {
    background:
        radial-gradient(circle at 50% 18%, rgba(32, 92, 158, 0.28), transparent 34%),
        radial-gradient(circle at 0% 45%, rgba(24, 86, 155, 0.22), transparent 32%),
        radial-gradient(circle at 100% 48%, rgba(15, 58, 112, 0.22), transparent 30%),
        linear-gradient(180deg, #06111f 0%, #071a2d 45%, #04101d 100%) !important;
    color: #f7f3e8;
}

/* Navbar should stay normal/static, not sticky */
.navbar {
    background: rgba(2, 8, 17, 0.92) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Main hero blue visual base */
.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: calc(100vh - 86px);
    background:
        radial-gradient(circle at 50% 18%, rgba(25, 85, 145, 0.38), transparent 34%),
        radial-gradient(circle at 7% 40%, rgba(21, 73, 132, 0.32), transparent 34%),
        radial-gradient(circle at 95% 42%, rgba(15, 57, 105, 0.26), transparent 30%),
        linear-gradient(180deg, #081a2f 0%, #061526 50%, #030b14 100%) !important;
}

/* Dotted academic texture */
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        radial-gradient(circle, rgba(65, 141, 223, 0.38) 1.3px, transparent 1.3px);
    background-size: 22px 22px;
    mask-image:
        linear-gradient(90deg, black 0%, transparent 28%, transparent 72%, black 100%);
}

/* Diagonal royal-blue/gold streaks */
.home-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -18% -10%;
    height: 58%;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(32deg, transparent 0 36%, rgba(212, 175, 55, 0.85) 36.2%, transparent 36.7%),
        linear-gradient(32deg, transparent 0 39%, rgba(41, 118, 215, 0.55) 39.2%, transparent 40.2%),
        linear-gradient(-34deg, transparent 0 40%, rgba(212, 175, 55, 0.70) 40.2%, transparent 40.7%),
        linear-gradient(-34deg, transparent 0 43%, rgba(31, 94, 177, 0.55) 43.1%, transparent 44%);
    opacity: 0.9;
}

/* Hero content should sit above all effects */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Subtle premium glow around main logo */
.hero-logo {
    filter:
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.34)) drop-shadow(0 0 38px rgba(10, 37, 73, 0.75));
}

/* Tagline refinement */
.hero-kicker,
.hero-tagline,
.hero-signature {
    color: #f1d27a !important;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
}

/* Role buttons like desired image */
.hero-role-badges {
    gap: 24px;
}

.hero-role-badges span {
    color: #f3cf68 !important;
    border: 1px solid rgba(212, 175, 55, 0.82) !important;
    background:
        linear-gradient(180deg, rgba(17, 45, 80, 0.42), rgba(4, 15, 29, 0.62)) !important;
    box-shadow:
        inset 0 0 18px rgba(212, 175, 55, 0.06),
        0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-role-badges span:hover {
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(10, 31, 58, 0.78)) !important;
    box-shadow:
        0 0 22px rgba(212, 175, 55, 0.22),
        0 14px 36px rgba(0, 0, 0, 0.36);
    transform: scale(1.01);
}

/* Paragraph like the desired blue screenshot */
.hero-subtitle {
    color: rgba(247, 243, 232, 0.82) !important;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

/* Keep sections after hero from breaking the blue flow */
.slider-section,
.about-section,
.portfolio-section,
.stats-section {
    background:
        linear-gradient(180deg, #030b14 0%, #061526 52%, #071a2d 100%) !important;
}

/* Mobile safety */
@media (max-width: 768px) {
    .home-hero {
        min-height: auto;
        padding-top: 56px;
        padding-bottom: 70px;
    }

    .hero-role-badges {
        gap: 12px;
    }

    .hero-role-badges span {
        width: 100%;
        justify-content: center;
    }
}

.home-hero::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   GLOBAL BLUE CARD THEME FIX
   Converts old black cards/sections into deep blue premium look
   Add at the VERY BOTTOM of style.css
========================================================= */

/* Main page sections */
.slider-section,
.about-section,
.stats-section,
.portfolio-section,
.notes-section,
.papers-section,
/* .mcq-section, */
.career-section,
.contact-section,
.resources-section,
.admin-dashboard,
.admin-manager,
.auth-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(22, 76, 135, 0.22), transparent 36%),
        linear-gradient(180deg, #030b14 0%, #061526 48%, #071a2d 100%) !important;
}

/* General card fix */
.card,
.feature-card,
.stat-box,
.resource-card,
.service-card,
.admin-card,
.admin-list-card,
.manager-panel,
.admin-panel,
.admin-form,
.auth-card,
.career-article-card,
.article-card,
.related-article-card,
.mcq-loading-card,
.paper-card,
.note-card,
.contact-card {
    background:
        linear-gradient(180deg, rgba(18, 52, 91, 0.92), rgba(6, 20, 38, 0.96)) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    color: #f7f3e8 !important;
}

/* Card hover: premium glow, no upward movement */
.card:hover,
.feature-card:hover,
.stat-box:hover,
.resource-card:hover,
.service-card:hover,
.admin-card:hover,
.admin-list-card:hover,
.career-article-card:hover,
.article-card:hover,
.related-article-card:hover,
.paper-card:hover,
.note-card:hover,
.contact-card:hover {
    /* border-color: rgba(242, 207, 99, 0.58) !important;
    box-shadow:
        0 0 24px rgba(212, 175, 55, 0.16),
        0 20px 50px rgba(0, 0, 0, 0.42) !important; */
    transform: none !important;
}

/* Headings inside cards */
.card h1,
.card h2,
.card h3,
.card h4,
.feature-card h3,
.stat-box h3,
.resource-card h3,
.service-card h3,
.admin-card h2,
.admin-list-card h3,
.career-article-card h3,
.article-card h3,
.related-article-card h3,
.paper-card h3,
.note-card h3,
.contact-card h3 {
    color: #f2cf63 !important;
}

/* Paragraphs and secondary text */
.card p,
.feature-card p,
.stat-box p,
.resource-card p,
.service-card p,
.admin-card p,
.admin-list-card p,
.career-article-card p,
.article-card p,
.related-article-card p,
.paper-card p,
.note-card p,
.contact-card p,
.resource-card-info span,
.admin-empty-text,
.mcq-toolbar-subtitle {
    color: rgba(247, 243, 232, 0.78) !important;
}

/* Icons / small badges */
.feature-icon,
.resource-icon,
.contact-icon,
.admin-card-icon {
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(16, 56, 102, 0.65)) !important;
    border: 1px solid rgba(212, 175, 55, 0.42) !important;
    color: #f2cf63 !important;
}

/* Slider container black fix */
.slider {
    background:
        linear-gradient(180deg, rgba(12, 38, 70, 0.88), rgba(3, 12, 24, 0.96)) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42) !important;
}

/* Forms and inputs */
input,
select,
textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    background: rgba(4, 15, 29, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    color: #f7f3e8 !important;
}

input:focus,
select:focus,
textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: rgba(242, 207, 99, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12) !important;
    outline: none !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(247, 243, 232, 0.45) !important;
}

/* Dropdown/menu old black fix */
.dropdown-menu {
    background: rgba(4, 15, 29, 0.98) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45) !important;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #f2cf63 !important;
}

/* Footer old black fix */
.footer {
    background:
        linear-gradient(180deg, #030b14 0%, #020812 100%) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.28) !important;
}

/* Tables / admin lists if present */
table,
.admin-table {
    background: rgba(8, 26, 48, 0.92) !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    color: #f7f3e8 !important;
}

th {
    background: rgba(18, 52, 91, 0.95) !important;
    color: #f2cf63 !important;
}

td {
    border-color: rgba(212, 175, 55, 0.16) !important;
}

/* =========================================================
   PROFILE / PLATFORM FEATURES BLUE THEME FIX
   Only visual colors. Does NOT touch hover/animation.
========================================================= */

.portfolio-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(22, 76, 135, 0.20), transparent 36%),
        linear-gradient(180deg, #030b14 0%, #061526 52%, #071a2d 100%) !important;
}

.profile-panel {
    background:
        radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.08), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(31, 94, 177, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(10, 31, 56, 0.96), rgba(3, 12, 24, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.30) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.profile-kicker {
    color: #f2cf63 !important;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.18);
}

.profile-panel h2 {
    color: #fff4bd !important;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.profile-panel p {
    color: rgba(247, 243, 232, 0.82) !important;
}

.identity-card {
    background:
        linear-gradient(180deg, rgba(15, 45, 82, 0.88), rgba(4, 15, 29, 0.92)) !important;
    border: 1px solid rgba(212, 175, 55, 0.26) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 14px 38px rgba(0, 0, 0, 0.26) !important;
}

.identity-card h3 {
    color: #f2cf63 !important;
}

.identity-card p {
    color: rgba(247, 243, 232, 0.78) !important;
}

/* =========================================================
   FOUNDER STRIP / MANAGED PLATFORM BLUE THEME FIX
   Only colors/background/border/shadow/text.
   No hover or animation changes.
========================================================= */

.founder-strip {
    background:
        radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.07), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(31, 94, 177, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(10, 31, 56, 0.96), rgba(3, 12, 24, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.30) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.founder-strip h2 {
    color: #fff4bd !important;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.founder-strip p {
    color: rgba(247, 243, 232, 0.82) !important;
}

/* =========================================================
   FOOTER GOLDEN LINK HOVER EFFECT
   Only hover color/shadow. No animation override.
========================================================= */

/* .footer a {
    transition: color 0.25s ease, text-shadow 0.25s ease;
} */

.footer a:hover {
    color: var(--gold) !important;
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.35),
        0 0 22px rgba(212, 175, 55, 0.18);
}

/* =========================================================
   RESOURCE SUBJECT CARDS BLUE COLOR FIX
   Only colors/background/border/shadow/text.
   No hover or animation override.
========================================================= */

.resource-toolbar h2 {
    color: #f7f3e8 !important;
}

.resource-card-grid .resource-box-card {
    background:
        linear-gradient(180deg, rgba(15, 45, 82, 0.94), rgba(4, 15, 29, 0.96)) !important;
    border: 1px solid rgba(212, 175, 55, 0.30) !important;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    color: #f7f3e8 !important;
}

.resource-card-grid .resource-card-body {
    background:
        linear-gradient(180deg, rgba(10, 31, 56, 0.95), rgba(3, 12, 24, 0.96)) !important;
}

.resource-card-grid .resource-card-body h3 {
    color: #fff4bd !important;
}

.resource-card-grid .resource-card-body p {
    color: rgba(247, 243, 232, 0.80) !important;
}

.resource-card-grid .resource-card-info span {
    color: rgba(247, 243, 232, 0.82) !important;
}

/* Thumbnail area color only — does not fix sizing yet */
.resource-card-grid .resource-thumbnail {
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(18, 52, 91, 0.92), rgba(3, 12, 24, 0.96)) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
}

/* Button color polish */
.resource-card-grid .resource-card-btn {
    background: linear-gradient(135deg, #d4af37, #f2cf63) !important;
    color: #050910 !important;
    border: 1px solid rgba(255, 240, 180, 0.42) !important;
}

/* =========================================================
   RESOURCE HERO BOX BLUE THEME FIX
   Only colors/background/border/shadow/text.
   No hover or animation changes.
========================================================= */

/* =========================================================
   RESOURCE PAGE BACKGROUND FIX
   Removes boxed blue rectangle behind cards.
   Does not touch hover or animation.
========================================================= */

body:has(.resource-main) {
    background:
        radial-gradient(circle at 50% 0%, rgba(22, 76, 135, 0.18), transparent 38%),
        linear-gradient(180deg, #061526 0%, #071a2d 48%, #030b14 100%) !important;
}

.resource-main {
    background: transparent !important;
}

.resource-hero-box {
    background:
        /* radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.07), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(31, 94, 177, 0.18), transparent 40%), */
        linear-gradient(135deg, rgba(10, 31, 56, 0.96), rgba(3, 12, 24, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.30) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.resource-badge {
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.13), rgba(10, 31, 56, 0.72)) !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    color: #f2cf63 !important;
}

.resource-hero-box h1 {
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.resource-hero-box p {
    color: rgba(247, 243, 232, 0.82) !important;
}

.resource-box-card:hover {
    transform: scale(1.01);
    /* transition: transform 0.35s ease; */
}

/* =====================================================
   MCQ SET OPTION RADIO FIX
   Fixes weird square around radio button.
   Does not touch hover/animation.
===================================================== */

/* .mcq-set-option input[type="radio"]:focus {
    outline: 1px solid rgba(0, 0, 0, 0) !important;
    outline-offset: 3px !important;
} */

.mcq-set-option input[type="radio"]:focus,
.mcq-set-option input[type="radio"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* =====================================================
   CAREER GUIDANCE ARTICLE CARD BLACK FIX
   Only affects career article cards.
   Does not touch hover/animation.
===================================================== */

.career-article-card {
    background:
        linear-gradient(180deg, #05070b, #02050a) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

.career-article-card .career-article-content {
    background:
        linear-gradient(180deg, #05070b, #02050a) !important;
}

.career-article-card h3,
.career-article-card .career-article-title {
    color: #f2cf63 !important;
}

.career-article-card p,
.career-article-card .career-article-excerpt {
    color: rgba(247, 243, 232, 0.78) !important;
}

.career-article-card .career-article-tag,
.career-article-card .career-category {
    color: #f2cf63 !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    background: rgba(212, 175, 55, 0.10) !important;
}

.career-article-card .read-more,
.career-article-card .career-article-link {
    color: #f2cf63 !important;
}

/* =====================================================
   CONTACT PAGE GLOW CLEANUP
   Reduces harsh yellow glow and fits blue-gold theme.
===================================================== */

.contact-wheel-main {
    background:
        radial-gradient(circle at top left, rgba(22, 76, 135, 0.20), transparent 34%),
        radial-gradient(circle at bottom right, rgba(31, 94, 177, 0.16), transparent 34%),
        linear-gradient(180deg, #061526 0%, #071a2d 48%, #030b14 100%) !important;
}

/* Center circle: remove heavy gold glow */
.wheel-center {
    background:
        radial-gradient(circle, rgba(22, 76, 135, 0.22), rgba(10, 31, 56, 0.78) 45%, rgba(3, 12, 24, 0.96) 78%) !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

/* Outer icons: reduce yellow burn */
.wheel-item {
    color: rgba(242, 207, 99, 0.86) !important;
    background:
        radial-gradient(circle, rgba(22, 76, 135, 0.20), rgba(10, 31, 56, 0.76) 48%, rgba(3, 12, 24, 0.96) 86%) !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

/* Icon text */
.wheel-item span,
#centerSymbol {
    color: rgba(242, 207, 99, 0.82) !important;
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.18) !important;
}

.wheel-item small,
#centerMini {
    color: rgba(247, 243, 232, 0.78) !important;
}

/* Hover: keep premium glow, not radioactive */
.wheel-item:hover,
.wheel-item:focus {
    border-color: rgba(242, 207, 99, 0.45) !important;
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.10), rgba(22, 76, 135, 0.30) 48%, rgba(3, 12, 24, 0.96) 86%) !important;
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.14),
        0 20px 52px rgba(0, 0, 0, 0.48) !important;
}

/* Orbit lines: make them subtle */
.contact-wheel::before,
.contact-wheel::after {
    border-color: rgba(212, 175, 55, 0.10) !important;
    box-shadow: none !important;
}

/* =====================================================
   CONTACT PAGE FOOTER GAP FIX
===================================================== */

.contact-wheel-main {
    min-height: calc(100vh - 78px) !important;
    padding: 40px 5% 55px !important;
}

.footer {
    margin-top: 0 !important;
}

/* Only nudge Instagram and Telegram slightly */
.item-3 {
    bottom: 112px !important;
    /* was lower */
    right: 26px !important;
    /* move slightly inward */
}

.item-5 {
    bottom: 112px !important;
    /* was lower */
    left: 26px !important;
    /* move slightly inward */
}

/* =====================================================
   MCQ MANAGER CUSTOM SELECT UI
   Fixes ugly default option dropdown look.
===================================================== */

.mcq-manager select,
.admin-mcq-manager select,
.mcq-form select,
.admin-form select {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 100%;
    min-height: 52px;

    padding: 13px 46px 13px 16px;

    background:
        linear-gradient(180deg, rgba(15, 45, 82, 0.96), rgba(4, 15, 29, 0.98)) !important;

    border: 1px solid rgba(212, 175, 55, 0.42) !important;
    border-radius: 14px !important;

    color: #f7f3e8 !important;
    font-size: 0.98rem;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;

    background-image:
        linear-gradient(45deg, transparent 50%, #f2cf63 50%),
        linear-gradient(135deg, #f2cf63 50%, transparent 50%),
        linear-gradient(180deg, rgba(15, 45, 82, 0.96), rgba(4, 15, 29, 0.98)) !important;

    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 15px) 50%,
        0 0 !important;

    background-size:
        7px 7px,
        7px 7px,
        100% 100% !important;

    background-repeat: no-repeat !important;
}

.mcq-manager select:hover,
.admin-mcq-manager select:hover,
.mcq-form select:hover,
.admin-form select:hover {
    border-color: rgba(242, 207, 99, 0.68) !important;
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.14),
        0 12px 30px rgba(0, 0, 0, 0.32) !important;
}

.mcq-manager select:focus,
.admin-mcq-manager select:focus,
.mcq-form select:focus,
.admin-form select:focus {
    outline: none !important;
    border-color: rgba(242, 207, 99, 0.78) !important;
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.12),
        0 0 22px rgba(212, 175, 55, 0.16) !important;
}

/* Dropdown option colors */
.mcq-manager select option,
.admin-mcq-manager select option,
.mcq-form select option,
.admin-form select option {
    background: #061526 !important;
    color: #f7f3e8 !important;
    font-weight: 700;
}

/* Disabled placeholder option */
.mcq-manager select option:disabled,
.admin-mcq-manager select option:disabled,
.mcq-form select option:disabled,
.admin-form select option:disabled {
    color: rgba(247, 243, 232, 0.45) !important;
}

/* =====================================================
   ADMIN ANALYSIS CARDS - MATCH BLACK PANEL
   Only color changes. No layout changes.
===================================================== */

/* Question analysis cards + student performance cards */
.admin-performance-modal article,
.admin-performance-modal .admin-list-card,
.admin-performance-modal .admin-student-performance-card,
.admin-performance-modal .mcq-question-card,
.admin-performance-modal .question-card,
.admin-performance-modal [class*="card"],
.admin-performance-modal [class*="Card"],
.admin-performance-modal [id*="List"]>div,
.admin-performance-modal [id*="list"]>div {
    background: #0b0b0b !important;
    background-color: #0b0b0b !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    color: #f7f3e8 !important;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

/* Remove inner blue backgrounds */
.admin-performance-modal article *,
.admin-performance-modal .admin-list-card *,
.admin-performance-modal .admin-student-performance-card *,
.admin-performance-modal .mcq-question-card *,
.admin-performance-modal .question-card * {
    background-color: transparent;
}

/* Card titles/questions */
.admin-performance-modal article h3,
.admin-performance-modal article h4,
.admin-performance-modal .admin-list-card h3,
.admin-performance-modal .admin-student-performance-card h3,
.admin-performance-modal .mcq-question-card h3,
.admin-performance-modal .question-card h3 {
    color: #f2cf63 !important;
}

/* Normal text */
.admin-performance-modal article p,
.admin-performance-modal article span,
.admin-performance-modal article small,
.admin-performance-modal .admin-list-card p,
.admin-performance-modal .admin-list-card span,
.admin-performance-modal .admin-list-card small,
.admin-performance-modal .admin-student-performance-card p,
.admin-performance-modal .admin-student-performance-card span,
.admin-performance-modal .admin-student-performance-card small,
.admin-performance-modal .mcq-question-card p,
.admin-performance-modal .mcq-question-card span,
.admin-performance-modal .mcq-question-card small,
.admin-performance-modal .question-card p,
.admin-performance-modal .question-card span,
.admin-performance-modal .question-card small {
    color: rgba(247, 243, 232, 0.76) !important;
}

/* Important values */
.admin-performance-modal article strong,
.admin-performance-modal .admin-list-card strong,
.admin-performance-modal .admin-student-performance-card strong,
.admin-performance-modal .mcq-question-card strong,
.admin-performance-modal .question-card strong {
    color: #f7f3e8 !important;
}

/* =====================================================
   ADMIN PERFORMANCE CARD CLEAN FIX
   Removes weird wrapper border behind buttons.
===================================================== */

/* Only actual performance cards */
.admin-performance-modal .admin-list-card,
.admin-performance-modal .admin-student-performance-card,
.admin-performance-modal .mcq-student-detail-card,
.admin-performance-modal .performance-card,
.admin-performance-modal article {
    background: #0b0b0b !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    color: #f7f3e8 !important;
}

/* Remove accidental borders/backgrounds from inner wrappers */
.admin-performance-modal .admin-list-card>div,
.admin-performance-modal .admin-student-performance-card>div,
.admin-performance-modal .performance-card>div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Button itself stays clean */
.admin-performance-modal .btn-outline,
.admin-performance-modal button {
    background: transparent !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    color: #f2cf63 !important;
}

/* =====================================================
   ADMIN COLOR CLEANUP PATCH
   Uses old admin variables.
   Keeps old buttons.
   Keeps OG Danger Zone red.
===================================================== */

/* Admin pages only */
body.admin-checking,
.admin-dashboard,
.admin-manager {
    background: var(--admin-bg-main) !important;
    color: var(--text-primary) !important;
}

/* Normal admin panels only — exclude Danger Zone */
.admin-panel:not(.mcq-danger-zone),
.admin-form,
.admin-card,
.manager-panel {
    background: var(--admin-bg-soft) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--admin-shadow-soft, var(--admin-shadow)) !important;
}

/* Normal admin generated cards — exclude Danger Zone cards */
.admin-list-card:not(.mcq-danger-card),
.admin-performance-summary article,
.admin-student-performance-card,
.mcq-student-detail-card,
.mcq-question-card,
.admin-question-card,
.question-card,
.performance-card,
.attempt-card,
.student-card {
    background: var(--admin-bg-card) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--admin-shadow-soft, var(--admin-shadow)) !important;
}

/* Admin modals */
.admin-performance-modal,
.admin-performance-modal-content,
.admin-modal,
.admin-modal-content {
    background: var(--admin-bg-soft) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--text-primary) !important;
}

/* Cards inside admin modal */
.admin-performance-modal .admin-list-card,
.admin-performance-modal .admin-student-performance-card,
.admin-performance-modal .mcq-student-detail-card,
.admin-performance-modal .mcq-question-card,
.admin-performance-modal .question-card,
.admin-performance-modal .performance-card,
.admin-performance-modal article {
    background: var(--admin-bg-card) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--text-primary) !important;
}

/* Remove accidental wrapper boxes inside modal cards */
.admin-performance-modal .admin-list-card>div,
.admin-performance-modal .admin-student-performance-card>div,
.admin-performance-modal .mcq-student-detail-card>div,
.admin-performance-modal .performance-card>div,
.admin-performance-modal article>div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Admin headings */
.admin-header h1,
.admin-manager-header h1,
.admin-section-title h2,
.admin-panel:not(.mcq-danger-zone) h1,
.admin-panel:not(.mcq-danger-zone) h2,
.admin-card h2,
.admin-performance-modal h1,
.admin-performance-modal h2,
.admin-performance-modal-header h2 {
    color: var(--text-primary) !important;
}

/* Admin labels / card headings */
.admin-kicker,
.admin-performance-modal .admin-kicker,
.admin-list-card h3,
.admin-student-performance-card h3,
.mcq-student-detail-card h3,
.mcq-question-card h3,
.admin-question-card h3,
.question-card h3,
.performance-card h3,
.attempt-card h3,
.student-card h3 {
    color: var(--gold) !important;
}

/* Admin normal text */
.admin-header p,
.admin-manager-header p,
.admin-section-title p,
.admin-panel:not(.mcq-danger-zone) p,
.admin-card p,
.admin-list-card p,
.admin-performance-modal p,
.admin-performance-modal span,
.admin-performance-modal small,
.admin-student-performance-card p,
.mcq-student-detail-card p,
.mcq-question-card p,
.admin-question-card p,
.question-card p,
.performance-card p,
.attempt-card p,
.student-card p {
    color: var(--text-muted-2) !important;
}

/* Admin stat labels */
.admin-performance-summary span {
    color: var(--text-muted-4) !important;
}

/* Admin stat values */
.admin-performance-summary strong,
.admin-list-card strong,
.admin-student-performance-card strong,
.mcq-student-detail-card strong,
.mcq-question-card strong,
.admin-question-card strong,
.question-card strong,
.performance-card strong,
.attempt-card strong,
.student-card strong {
    color: var(--gold) !important;
}

/* Admin inputs only — buttons are NOT touched */
.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-panel input,
.admin-panel select,
.admin-panel textarea {
    background: var(--admin-input-bg) !important;
    border: 1px solid var(--admin-input-border) !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-panel input:focus,
.admin-panel select:focus,
.admin-panel textarea:focus {
    border-color: var(--admin-input-focus, var(--admin-input-border-focus)) !important;
    outline: none !important;
    box-shadow: var(--admin-shadow-focus) !important;
}

/* =====================================================
   OG DANGER ZONE PROTECTION
   Keep this AFTER admin cleanup.
===================================================== */

.mcq-danger-zone {
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.22), rgba(8, 8, 8, 0.92)),
        var(--bg-card) !important;
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.08) !important;
}

.mcq-danger-zone .admin-panel-header h2 {
    color: #fecaca !important;
}

.mcq-danger-card {
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
    background: rgba(8, 8, 8, 0.42) !important;
}

.mcq-danger-card h3 {
    color: #fee2e2 !important;
}

.mcq-danger-card p {
    color: var(--text-muted) !important;
}

.danger-btn {
    border-color: rgba(239, 68, 68, 0.75) !important;
    color: #fecaca !important;
    background: rgba(127, 29, 29, 0.18) !important;
}

.danger-btn:hover {
    color: #ffffff !important;
    border-color: rgba(248, 113, 113, 0.95) !important;
    background: rgba(185, 28, 28, 0.36) !important;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.28) !important;
}

/* =====================================================
   ADMIN NAVBAR THEME FIX ONLY
   Applies to all admin pages using body.admin-checking.
   Does not touch public navbar.
   Does not touch old buttons.
   Does not touch Danger Zone.
===================================================== */

body.admin-checking .admin-navbar {
    background: #1a1a1a !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.26) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: blur(12px);
}

/* Navbar inner spacing stays same, only admin navbar look */
body.admin-checking .admin-navbar .navbar-inner {
    background: transparent !important;
}

/* Logo */
body.admin-checking .admin-navbar .logo-text {
    color: #f7f3e8 !important;
}

body.admin-checking .admin-navbar .logo-text span {
    color: var(--gold) !important;
}

/* Admin nav links */
body.admin-checking .admin-navbar .admin-nav-menu .nav-link {
    color: rgba(247, 243, 232, 0.72) !important;
    font-weight: 700;
}

/* Hover + active */
body.admin-checking .admin-navbar .admin-nav-menu .nav-link:hover,
body.admin-checking .admin-navbar .admin-nav-menu .nav-link.active {
    color: var(--gold) !important;
}

/* Simple active indicator */
body.admin-checking .admin-navbar .admin-nav-menu .nav-link.active {
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.18);
}

/* Mobile menu for admin navbar */
@media (max-width: 900px) {
    body.admin-checking .admin-navbar .admin-nav-menu {
        background: #1a1a1a !important;
        border: 1px solid rgba(212, 175, 55, 0.26) !important;
        border-top: none !important;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
    }

    body.admin-checking .admin-navbar .admin-nav-menu .nav-link {
        color: rgba(247, 243, 232, 0.78) !important;
    }

    body.admin-checking .admin-navbar .admin-nav-menu .nav-link:hover,
    body.admin-checking .admin-navbar .admin-nav-menu .nav-link.active {
        color: var(--gold) !important;
    }
}

/* =====================================================
   CAREER GUIDANCE SEARCH BAR COLOR FIX
   Slightly lighter search input only.
===================================================== */

.career-search-input,
#careerArticleSearch,
.career-article-search,
.career-guidance-search input {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    color: #f7f3e8 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.career-search-input::placeholder,
#careerArticleSearch::placeholder,
.career-article-search::placeholder,
.career-guidance-search input::placeholder {
    color: rgba(247, 243, 232, 0.48) !important;
}

.career-search-input:focus,
#careerArticleSearch:focus,
.career-article-search:focus,
.career-guidance-search input:focus {
    background: #202020 !important;
    border-color: rgba(212, 175, 55, 0.48) !important;
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.08),
        0 14px 32px rgba(0, 0, 0, 0.26) !important;
    outline: none !important;
}

/* =====================================================
   ADMIN NAVBAR — MATCH ADMIN DASHBOARD THEME
   Applies only to admin pages.
   Public website navbar is untouched.
===================================================== */

body.admin-checking .navbar {
    background: #151515 !important;
    background-color: #151515 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    backdrop-filter: blur(12px);
}

/* Prevent navbar-inner from adding any different layer */
body.admin-checking .navbar .navbar-inner {
    background: transparent !important;
}

/* Admin logo text */
body.admin-checking .navbar .logo-text {
    color: #f7f3e8 !important;
}

body.admin-checking .navbar .logo-text span {
    color: var(--gold) !important;
}

/* Admin nav links */
body.admin-checking .navbar .nav-link {
    color: rgba(247, 243, 232, 0.78) !important;
    font-weight: 800;
}

/* Hover / active links */
body.admin-checking .navbar .nav-link:hover,
body.admin-checking .navbar .nav-link.active {
    color: var(--gold) !important;
}

/* Admin user name */
body.admin-checking .navbar .navbar-user {
    color: var(--gold) !important;
}

/* Admin mobile menu */
@media (max-width: 900px) {
    body.admin-checking .navbar .nav-menu {
        background: #151515 !important;
        border: 1px solid rgba(212, 175, 55, 0.28) !important;
        border-top: none !important;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
    }
}

/* =====================================================
   ADMIN NAVBAR FINAL FIX
   Uses permanent .admin-navbar class.
   Does not depend on body.admin-checking.
   Works after admin auth/loading finishes.
===================================================== */

.navbar.admin-navbar {
    background: #151515 !important;
    background-color: #151515 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    backdrop-filter: blur(12px) !important;
}

/* Keep inner area clean */
.navbar.admin-navbar .navbar-inner {
    background: transparent !important;
}

/* Logo */
.navbar.admin-navbar .logo-text {
    color: #f7f3e8 !important;
}

.navbar.admin-navbar .logo-text span {
    color: var(--gold) !important;
}

/* Admin nav links */
.navbar.admin-navbar .nav-link {
    color: rgba(247, 243, 232, 0.78) !important;
}

.navbar.admin-navbar .nav-link:hover,
.navbar.admin-navbar .nav-link.active {
    color: var(--gold) !important;
}

/* Admin greeting */
.navbar.admin-navbar .navbar-user,
.navbar.admin-navbar .admin-greeting {
    color: var(--gold) !important;
}

/* Keep admin nav buttons matching old button style */
.navbar.admin-navbar .btn-outline {
    background: transparent !important;
    color: var(--gold) !important;
    border-color: rgba(212, 175, 55, 0.55) !important;
}

.navbar.admin-navbar .btn-outline:hover {
    background: var(--gold) !important;
    color: #050505 !important;
}

.navbar.admin-navbar .btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    color: #050505 !important;
    border-color: var(--gold) !important;
}

/* Mobile admin menu */
@media (max-width: 900px) {
    .navbar.admin-navbar .nav-menu {
        background: #151515 !important;
        border: 1px solid rgba(212, 175, 55, 0.28) !important;
        border-top: none !important;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
    }

    .navbar.admin-navbar .nav-link {
        color: rgba(247, 243, 232, 0.78) !important;
    }

    .navbar.admin-navbar .nav-link:hover,
    .navbar.admin-navbar .nav-link.active {
        color: var(--gold) !important;
    }
}

/* =====================================================
   MOBILE NAV FIX
   Cleaner mobile dropdown + logout stays right
   Applies to public + admin navbars
===================================================== */

@media (max-width: 900px) {

    /* Keep top navbar items aligned */
    .navbar-inner {
        width: 94% !important;
        min-height: 74px !important;
        gap: 12px;
    }

    /* Keep logo left */
    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-text {
        white-space: nowrap;
    }

    /* Keep hamburger near right */
    .hamburger {
        margin-left: auto;
    }

    /* Show nav actions on mobile header */
    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: 8px;
    }

    /* Hide username on small mobile so buttons fit */
    .nav-actions .navbar-user {
        display: none !important;
    }

    /* Keep Admin / Logout buttons compact */
    .nav-actions .btn-outline,
    .nav-actions .btn-gold,
    .logout-btn {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
        border-radius: 999px !important;
        white-space: nowrap;
    }

    /* Main dropdown panel */
    .nav-menu {
        position: absolute !important;
        top: 74px !important;
        left: 0 !important;
        width: 100% !important;

        background: #111111 !important;
        border: 1px solid rgba(212, 175, 55, 0.22) !important;
        border-top: none !important;
        border-radius: 0 0 18px 18px !important;

        padding: 14px 18px 18px !important;
        gap: 0 !important;

        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45) !important;
        z-index: 9999 !important;
    }

    /* Reduce huge vertical spacing */
    .nav-menu li {
        width: 100%;
        margin: 0 !important;
    }

    .nav-link {
        padding: 11px 0 !important;
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
    }

    /* Dropdown inside mobile menu */
    .dropdown-menu {
        margin-top: 4px !important;
        padding: 6px 0 !important;
        background: #171717 !important;
        border: 1px solid rgba(212, 175, 55, 0.18) !important;
        border-radius: 12px !important;
    }

    .dropdown-menu a {
        padding: 9px 14px !important;
        font-size: 0.9rem !important;
    }

    /* Bottom mobile actions inside dropdown */
    .mobile-actions,
    .auth-mobile-actions {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 8px !important;
        margin-top: 16px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(212, 175, 55, 0.16);
    }

    .mobile-actions .btn-outline,
    .mobile-actions .btn-gold,
    .auth-mobile-actions .btn-outline,
    .auth-mobile-actions .btn-gold {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
    }
}

/* Extra small screens */
@media (max-width: 520px) {
    .logo-mark {
        width: 34px !important;
        height: 34px !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    .hamburger span {
        width: 25px !important;
    }

    .nav-actions .btn-outline,
    .nav-actions .btn-gold,
    .logout-btn {
        padding: 7px 12px !important;
        font-size: 0.74rem !important;
    }
}

/* =====================================================
   ADMIN MCQ SHUFFLE TOGGLE PADDING FIX
   Small spacing fix only.
===================================================== */

.admin-toggle-card,
.admin-inline-toggle {
    padding-bottom: 22px !important;
}

.admin-toggle-card input[type="checkbox"],
.admin-inline-toggle input[type="checkbox"] {
    margin-top: 8px !important;
}

/* =====================================================
   DANGER ZONE SELECT FIX
   Makes Danger Zone dropdown match the red danger theme.
===================================================== */

.mcq-danger-zone select,
.mcq-danger-zone .admin-form select,
.mcq-danger-zone .admin-panel select {
    background: rgba(8, 8, 8, 0.72) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    color: #fee2e2 !important;
    box-shadow: none !important;
}

.mcq-danger-zone select:focus {
    border-color: rgba(248, 113, 113, 0.9) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.mcq-danger-zone select option {
    background: #111111 !important;
    color: #fee2e2 !important;
}

/* =====================================================
   ADMIN CAREER PAGE COLOR FIX
   Makes Career Article Manager match admin dashboard.
   Only color/background/border/shadow changes.
===================================================== */

.career-admin-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.035), transparent 34%),
        linear-gradient(180deg, #121212 0%, #151515 48%, #101010 100%) !important;
    color: #f7f3e8 !important;
}

/* Header area */
.career-admin-header {
    background: transparent !important;
}

.career-admin-eyebrow {
    color: var(--gold) !important;
}

.career-admin-header h1 {
    color: #f7f3e8 !important;
}

.career-admin-header p {
    color: rgba(247, 243, 232, 0.78) !important;
}

/* Main panels */
.career-admin-panel {
    background: #171717 !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

/* Panel header */
.career-admin-panel-header {
    background: #1a1a1a !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16) !important;
}

.career-admin-panel-header h2 {
    color: var(--gold) !important;
}

.career-admin-panel-header p {
    color: rgba(247, 243, 232, 0.72) !important;
}

/* Form area */
.career-admin-form {
    background: #171717 !important;
}

.career-admin-field label {
    color: #f7f3e8 !important;
}

/* Inputs */
.career-admin-field input,
.career-admin-field select,
.career-admin-field textarea {
    background: #101010 !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    color: #f7f3e8 !important;
    box-shadow: none !important;
}

.career-admin-field input::placeholder,
.career-admin-field textarea::placeholder {
    color: rgba(247, 243, 232, 0.42) !important;
}

.career-admin-field input:focus,
.career-admin-field select:focus,
.career-admin-field textarea:focus {
    background: #121212 !important;
    border-color: rgba(212, 175, 55, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10) !important;
}

/* Existing articles list */
.career-admin-list {
    background: #171717 !important;
}

/* Article item cards */
.career-admin-item {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.20) !important;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

.career-admin-item h3 {
    color: #f7f3e8 !important;
}

.career-admin-item p {
    color: rgba(247, 243, 232, 0.72) !important;
}

.career-admin-item-tag {
    background: rgba(212, 175, 55, 0.10) !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    color: var(--gold) !important;
}

/* Thumbnail preview box */
.career-admin-item img {
    background: #101010 !important;
    border: 1px solid rgba(212, 175, 55, 0.14) !important;
}

/* Editor wrapper if present */
.career-editor-wrap,
.ql-toolbar,
.ql-container {
    background: #101010 !important;
    border-color: rgba(212, 175, 55, 0.22) !important;
    color: #f7f3e8 !important;
}

.ql-editor {
    background: #101010 !important;
    color: #f7f3e8 !important;
}

.ql-editor.ql-blank::before {
    color: rgba(247, 243, 232, 0.42) !important;
}

/* =====================================================
   ADMIN PAPERS PAGE COLOR FIX
   Matches admin dashboard dark theme.
   Only color/background/border/shadow changes.
===================================================== */

/* Page background */
body:has(#paper-form) {
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.035), transparent 34%),
        linear-gradient(180deg, #121212 0%, #151515 48%, #101010 100%) !important;
    color: #f7f3e8 !important;
}

/* Main paper manager card */
body:has(#paper-form) .admin-card {
    background: #171717 !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    color: #f7f3e8 !important;
}

/* Heading */
body:has(#paper-form) .admin-card h1 {
    color: #f7f3e8 !important;
}

/* Labels */
body:has(#paper-form) .form-group label {
    color: #f7f3e8 !important;
}

/* Inputs + selects */
body:has(#paper-form) input,
body:has(#paper-form) select,
body:has(#paper-form) textarea {
    background: #101010 !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    color: #f7f3e8 !important;
    box-shadow: none !important;
}

/* Placeholder */
body:has(#paper-form) input::placeholder,
body:has(#paper-form) textarea::placeholder {
    color: rgba(247, 243, 232, 0.42) !important;
}

/* Focus */
body:has(#paper-form) input:focus,
body:has(#paper-form) select:focus,
body:has(#paper-form) textarea:focus {
    background: #121212 !important;
    border-color: rgba(212, 175, 55, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10) !important;
    outline: none !important;
}

/* Native dropdown options */
body:has(#paper-form) select option {
    background: #151515 !important;
    color: #f7f3e8 !important;
}

/* Generated paper list/cards if shown below */
body:has(#paper-form) .paper-list,
body:has(#paper-form) .paper-item,
body:has(#paper-form) .admin-list,
body:has(#paper-form) .admin-list-card {
    background: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.20) !important;
    color: #f7f3e8 !important;
}

/* =====================================================
   FEATURED CAREER GUIDE FINAL COLOR FIX
   Fixes the big "Confused After 12th?" section.
   Solution: warm dark section + image blend overlay.
   Does not change hover animation behavior.
===================================================== */

.featured-career-guide {
    background:
        radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.10), transparent 34%),
        linear-gradient(135deg, #1a1a1a 0%, #171717 48%, #111111 100%) !important;

    border: 1px solid rgba(212, 175, 55, 0.30) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;

    overflow: hidden !important;
}

/* Text side: keep it clean and readable */
.featured-content {
    position: relative;
    z-index: 2;
}

/* Image container: stop the blue image looking disconnected */
.featured-image {
    position: relative;
    background:
        linear-gradient(135deg, #151515, #101010) !important;

    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

/* Add a warm/dark cinematic tint over the blue thumbnail */
.featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.20), transparent 40%),
        linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(0, 0, 0, 0.10));

    mix-blend-mode: multiply;
    opacity: 0.75;
}

/* Image itself: reduce cold blue slightly without changing image file */
.featured-image img {
    background: #101010 !important;
    filter: saturate(0.82) brightness(0.88) contrast(1.08) !important;
}

/* Keep hover from becoming too dark */
.featured-career-guide:hover .featured-image img {
    filter: saturate(0.82) brightness(0.82) contrast(1.10) !important;
}

/* Small label */
.featured-content .resource-badge,
.featured-content .article-label,
.featured-content span:first-child {
    background: rgba(212, 175, 55, 0.09) !important;
    border: 1px solid rgba(212, 175, 55, 0.30) !important;
}

/* Mobile: image blends better as top block */
@media (max-width: 900px) {
    .featured-career-guide {
        background:
            linear-gradient(180deg, #1a1a1a 0%, #151515 54%, #101010 100%) !important;
    }

    .featured-image {
        border-radius: 20px 20px 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }

    .featured-image img {
        filter: saturate(0.84) brightness(0.90) contrast(1.05) !important;
    }
}

/* =====================================================
   ADMIN MOBILE NAVBAR FINAL FIX
   Compact dropdown + logout stays right.
   Admin pages only.
===================================================== */

@media (max-width: 900px) {

    /* Header row */
    .navbar.admin-navbar .navbar-inner {
        width: 94% !important;
        min-height: 72px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Logo stays left */
    .navbar.admin-navbar .logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .navbar.admin-navbar .logo-text {
        font-size: 1rem !important;
        white-space: nowrap !important;
    }

    .navbar.admin-navbar .logo-mark {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
    }

    /* Hamburger near right */
    .navbar.admin-navbar .hamburger {
        display: flex !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }

    .navbar.admin-navbar .hamburger span {
        width: 25px !important;
        height: 3px !important;
    }

    /* Keep top right buttons visible */
    .navbar.admin-navbar .nav-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        margin-left: 4px !important;
        flex: 0 0 auto !important;
    }

    /* Hide greeting on mobile so Logout has space */
    .navbar.admin-navbar .navbar-user {
        display: none !important;
    }

    /* Compact Admin / Logout buttons */
    .navbar.admin-navbar .nav-actions .btn-outline,
    .navbar.admin-navbar .nav-actions .btn-gold,
    .navbar.admin-navbar .nav-actions .logout-btn {
        padding: 7px 12px !important;
        font-size: 0.74rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    /* Dropdown menu panel */
    .navbar.admin-navbar .nav-menu {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-height: calc(100vh - 72px) !important;

        display: none;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;

        padding: 18px 18px 20px !important;
        margin: 0 !important;

        background: #151515 !important;
        border: 1px solid rgba(212, 175, 55, 0.22) !important;
        border-top: 1px solid rgba(212, 175, 55, 0.14) !important;
        border-radius: 0 0 18px 18px !important;

        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48) !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
    }

    .navbar.admin-navbar .menu-toggle:checked~.nav-menu {
        display: flex !important;
    }

    /* Compact links */
    .navbar.admin-navbar .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar.admin-navbar .nav-menu .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 10px 0 !important;
        margin: 0 !important;

        color: rgba(247, 243, 232, 0.82) !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
    }

    .navbar.admin-navbar .nav-menu .nav-link:hover,
    .navbar.admin-navbar .nav-menu .nav-link.active {
        color: var(--gold) !important;
    }

    /* Bottom actions inside dropdown */
    .navbar.admin-navbar .nav-menu .mobile-actions,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;

        margin-top: 12px !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid rgba(212, 175, 55, 0.14) !important;
    }

    /* Make Logout stick right inside dropdown too */
    .navbar.admin-navbar .nav-menu .mobile-actions .logout-btn,
    .navbar.admin-navbar .nav-menu .mobile-actions .nav-logout-btn,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .logout-btn,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .nav-logout-btn {
        margin-left: auto !important;
    }

    .navbar.admin-navbar .nav-menu .mobile-actions .btn-outline,
    .navbar.admin-navbar .nav-menu .mobile-actions .btn-gold,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .btn-outline,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .btn-gold {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }
}

/* Extra small screen protection */
@media (max-width: 420px) {

    .navbar.admin-navbar .nav-actions .btn-outline,
    .navbar.admin-navbar .nav-actions .btn-gold,
    .navbar.admin-navbar .nav-actions .logout-btn {
        padding: 7px 10px !important;
        font-size: 0.7rem !important;
    }

    .navbar.admin-navbar .logo-text {
        font-size: 0.92rem !important;
    }
}

/* =====================================================
   ADMIN MOBILE NAVBAR CLEAN FINAL FIX
   Fixes: offset menu, boxed dropdown, hamburger alignment.
   Admin navbar only.
===================================================== */

@media (max-width: 900px) {

    /* Make navbar itself the positioning parent */
    .navbar.admin-navbar {
        position: relative !important;
        background: #151515 !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
        z-index: 9999 !important;
    }

    /* Stop .navbar-inner from controlling dropdown width */
    .navbar.admin-navbar .navbar-inner {
        position: static !important;
        width: 94% !important;
        min-height: 72px !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 36px auto !important;
        align-items: center !important;
        column-gap: 10px !important;
    }

    /* Logo */
    .navbar.admin-navbar .logo {
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .navbar.admin-navbar .logo-mark {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
    }

    .navbar.admin-navbar .logo-text {
        font-size: 0.92rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Hamburger fixed in center column */
    .navbar.admin-navbar .hamburger {
        grid-column: 2 !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .navbar.admin-navbar .hamburger span {
        width: 26px !important;
        height: 3px !important;
        margin: 0 !important;
    }

    /* Top Admin / Logout buttons */
    .navbar.admin-navbar .nav-actions {
        grid-column: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        margin: 0 !important;
        min-width: max-content !important;
    }

    .navbar.admin-navbar .navbar-user {
        display: none !important;
    }

    .navbar.admin-navbar .nav-actions .btn-outline,
    .navbar.admin-navbar .nav-actions .btn-gold,
    .navbar.admin-navbar .nav-actions .logout-btn {
        padding: 7px 11px !important;
        font-size: 0.68rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    /* Full-width dropdown attached to navbar, not navbar-inner */
    .navbar.admin-navbar .nav-menu {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;
        max-height: calc(100vh - 72px) !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;

        padding: 18px 20px 20px !important;
        margin: 0 !important;

        background: #151515 !important;
        border: 1px solid rgba(212, 175, 55, 0.20) !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(212, 175, 55, 0.12) !important;
        border-radius: 0 0 16px 16px !important;

        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 99999 !important;
    }

    .navbar.admin-navbar .menu-toggle:checked~.nav-menu {
        display: flex !important;
    }

    .navbar.admin-navbar .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar.admin-navbar .nav-menu .nav-link {
        width: 100% !important;
        display: block !important;
        padding: 9px 0 !important;
        margin: 0 !important;

        color: rgba(247, 243, 232, 0.82) !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
    }

    .navbar.admin-navbar .nav-menu .nav-link:hover,
    .navbar.admin-navbar .nav-menu .nav-link.active {
        color: var(--gold) !important;
    }

    /* Bottom buttons inside dropdown */
    .navbar.admin-navbar .nav-menu .mobile-actions,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;

        margin-top: 14px !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid rgba(212, 175, 55, 0.14) !important;
    }

    .navbar.admin-navbar .nav-menu .mobile-actions .btn-outline,
    .navbar.admin-navbar .nav-menu .mobile-actions .btn-gold,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .btn-outline,
    .navbar.admin-navbar .nav-menu .auth-mobile-actions .btn-gold {
        padding: 8px 14px !important;
        font-size: 0.76rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .navbar.admin-navbar .nav-menu .mobile-actions .logout-btn,
    .navbar.admin-navbar .nav-menu .mobile-actions .nav-logout-btn {
        margin-left: auto !important;
    }
}

/* Very narrow mobile protection */
@media (max-width: 420px) {
    .navbar.admin-navbar .navbar-inner {
        width: 95% !important;
        grid-template-columns: minmax(0, 1fr) 34px auto !important;
        column-gap: 7px !important;
    }

    .navbar.admin-navbar .logo-text {
        font-size: 0.82rem !important;
    }

    .navbar.admin-navbar .logo-mark {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }

    .navbar.admin-navbar .hamburger {
        width: 34px !important;
        height: 34px !important;
    }

    .navbar.admin-navbar .hamburger span {
        width: 24px !important;
    }

    .navbar.admin-navbar .nav-actions .btn-outline,
    .navbar.admin-navbar .nav-actions .btn-gold,
    .navbar.admin-navbar .nav-actions .logout-btn {
        padding: 7px 9px !important;
        font-size: 0.66rem !important;
    }
}

/* =====================================================
   PUBLIC MOBILE NAVBAR BLUE THEME FIX
   Normal website pages only.
   Does NOT affect admin navbar.
===================================================== */

@media (max-width: 900px) {

    /* Public navbar only */
    body:not(.admin-checking) .navbar:not(.admin-navbar) {
        position: relative !important;
        background:
            linear-gradient(180deg, #07111f 0%, #061526 100%) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.24) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
    }

    /* Stop navbar-inner from trapping dropdown width */
    body:not(.admin-checking) .navbar:not(.admin-navbar) .navbar-inner {
        position: static !important;
        width: 94% !important;
        min-height: 72px !important;
    }

    /* Public mobile dropdown */
    body:not(.admin-checking) .navbar:not(.admin-navbar) .nav-menu {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        background:
            linear-gradient(180deg, #0b1a2e 0%, #07111f 100%) !important;

        border: 1px solid rgba(212, 175, 55, 0.22) !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(212, 175, 55, 0.14) !important;

        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46) !important;

        padding: 18px 22px 20px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 99999 !important;
    }

    /* Links */
    body:not(.admin-checking) .navbar:not(.admin-navbar) .nav-menu .nav-link {
        color: rgba(247, 243, 232, 0.84) !important;
        font-weight: 800 !important;
        padding: 10px 0 !important;
    }

    body:not(.admin-checking) .navbar:not(.admin-navbar) .nav-menu .nav-link:hover,
    body:not(.admin-checking) .navbar:not(.admin-navbar) .nav-menu .nav-link.active {
        color: var(--gold) !important;
    }

    /* Dropdowns inside mobile menu */
    body:not(.admin-checking) .navbar:not(.admin-navbar) .dropdown-menu {
        background: #102642 !important;
        border: 1px solid rgba(212, 175, 55, 0.18) !important;
        border-radius: 14px !important;
    }

    body:not(.admin-checking) .navbar:not(.admin-navbar) .dropdown-menu a {
        color: rgba(247, 243, 232, 0.82) !important;
    }

    body:not(.admin-checking) .navbar:not(.admin-navbar) .dropdown-menu a:hover {
        background: rgba(212, 175, 55, 0.10) !important;
        color: var(--gold) !important;
    }

    /* Bottom Admin / Logout area inside public dropdown */
    body:not(.admin-checking) .navbar:not(.admin-navbar) .mobile-actions,
    body:not(.admin-checking) .navbar:not(.admin-navbar) .auth-mobile-actions {
        border-top: 1px solid rgba(212, 175, 55, 0.16) !important;
        padding-top: 14px !important;
        margin-top: 14px !important;
    }
}

/* =====================================================
   NAV BUTTON SAME SIZE FIX
   Makes Admin and Logout buttons equal width.
===================================================== */

.nav-actions .btn-outline,
.nav-actions .btn-gold,
.nav-actions .logout-btn,
.mobile-actions .btn-outline,
.mobile-actions .btn-gold,
.mobile-actions .logout-btn {
    min-width: 86px !important;
    text-align: center !important;
    justify-content: center !important;
}

/* =====================================================
   CLERK AUTH COLOR FIX ONLY
   No spacing/layout changes.
   Fixes Google button + Clerk orange/dev text.
===================================================== */

/* Google button color */
.cl-socialButtonsBlockButton {
    background: rgb(4, 14, 23) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    color: #f7f3e8 !important;
    box-shadow: none !important;
}

.cl-socialButtonsBlockButton:hover {
    background: #171717 !important;
    border-color: rgba(212, 175, 55, 0.48) !important;
}

/* Google button text */
.cl-socialButtonsBlockButtonText {
    color: #f7f3e8 !important;
}

/* Divider text */
.cl-dividerText {
    color: rgba(247, 243, 232, 0.72) !important;
}

/* Clerk footer/sign-in text */
.cl-footerActionText {
    color: rgba(247, 243, 232, 0.78) !important;
}

.cl-footerActionLink {
    color: #f2cf63 !important;
}

/* Clerk secured/dev mode area */
.cl-footer,
.cl-footerPages,
.cl-internal-b3fm6y,
.cl-internal-uyu30o,
.cl-internal-1dauvpw,
.cl-internal-1hp5nqm,
.cl-internal-13zhnx0 {
    color: rgba(247, 243, 232, 0.72) !important;
}

/* Clerk orange logo / dev badge text tone-down */
.cl-internal-13zhnx0,
.cl-internal-1dauvpw svg,
.cl-internal-uyu30o svg,
.cl-footer svg {
    color: #d4af37 !important;
    fill: #d4af37 !important;
}

/* Bottom Clerk footer background */
.cl-footer {
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.92), rgba(16, 38, 66, 0.82)) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.16) !important;
}

/* Input text color only */
.cl-formFieldInput {
    background: rgba(247, 243, 232, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.28) !important;
    color: #f7f3e8 !important;
}

.cl-formFieldInput::placeholder {
    color: rgba(247, 243, 232, 0.46) !important;
}

/* =====================================================
   MCQ DEFAULT THUMBNAIL FINAL FIX
   Only fixes fallback thumbnails without uploaded images.
===================================================== */

#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 18px 20px !important;
    overflow: hidden !important;
    position: relative !important;

    background:
        linear-gradient(135deg, #102642 0%, #07111f 55%, #061526 100%) !important;

    border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
}

/* Remove old watermark/extra overlays */
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb::before,
#dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb::after {
    content: none !important;
}

/* Center fallback text properly */
#dynamicMcqSets .mcq-gradient-simple {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;
    padding: 0 !important;
    text-align: center !important;
}

/* 10th Standard */
#dynamicMcqSets .mcq-gradient-simple span,
#dynamicMcqSets .mcq-gradient-class {
    color: #f2cf63 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Subject */
#dynamicMcqSets .mcq-gradient-simple strong,
#dynamicMcqSets .mcq-gradient-subject {
    max-width: 92% !important;

    color: #f7f3e8 !important;
    font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
    font-weight: 950 !important;
    letter-spacing: 2px !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* MCQ Practice */
#dynamicMcqSets .mcq-gradient-simple small,
#dynamicMcqSets .mcq-gradient-label {
    color: rgba(247, 243, 232, 0.84) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.8px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Mobile */
@media (max-width: 480px) {
    #dynamicMcqSets.resource-card-grid .resource-box-card>.mcq-gradient-thumb {
        height: 135px !important;
        min-height: 135px !important;
        max-height: 135px !important;
        padding: 14px !important;
    }

    #dynamicMcqSets .mcq-gradient-simple {
        gap: 7px !important;
    }

    #dynamicMcqSets .mcq-gradient-simple strong,
    #dynamicMcqSets .mcq-gradient-subject {
        font-size: 1.12rem !important;
        white-space: normal !important;
        line-height: 1.1 !important;
    }
}

/* =====================================================
   ADMIN MOBILE NAVBAR FINAL OVERRIDE
   Admin only: Logo left | Hamburger center | Admin/Logout right
===================================================== */

@media (max-width: 900px) {
    .navbar.admin-navbar {
        position: relative !important;
        z-index: 9999 !important;
    }

    .navbar.admin-navbar .navbar-inner {
        width: 100% !important;
        max-width: none !important;
        min-height: 76px !important;
        margin: 0 !important;
        padding: 0 14px !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 38px auto !important;
        align-items: center !important;
        column-gap: 10px !important;

        position: static !important;
    }

    .navbar.admin-navbar .logo {
        grid-column: 1 !important;
        min-width: 0 !important;
        justify-self: start !important;
    }

    .navbar.admin-navbar .logo-mark {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
    }

    .navbar.admin-navbar .logo-text {
        font-size: 0.92rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .navbar.admin-navbar .hamburger {
        grid-column: 2 !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: center !important;
    }

    .navbar.admin-navbar .hamburger span {
        width: 26px !important;
        height: 3px !important;
    }

    .navbar.admin-navbar .nav-actions {
        grid-column: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;

        margin: 0 !important;
        min-width: max-content !important;
        justify-self: end !important;
    }

    .navbar.admin-navbar .navbar-user {
        display: none !important;
    }

    .navbar.admin-navbar .nav-actions .btn-outline,
    .navbar.admin-navbar .nav-actions .btn-gold,
    .navbar.admin-navbar .nav-actions .logout-btn,
    .navbar.admin-navbar .nav-actions .nav-logout-btn {
        padding: 7px 11px !important;
        font-size: 0.68rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    .navbar.admin-navbar .nav-menu {
        position: absolute !important;
        top: 76px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;

        z-index: 99999 !important;
    }

    .navbar.admin-navbar .mobile-actions,
    .navbar.admin-navbar .auth-mobile-actions {
        display: none !important;
    }
}

/* ===============================
   STUDY INFO CLEANUP
================================ */

.study-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px 32px;
    margin:26px 0;
}

.info-item{
    display:flex;
    flex-direction:column;
}

.info-label{
    font-size:12px;
    font-weight:700;
    color:#d4af37;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:6px;
}

.info-value{
    color:#ffffff;
    font-size:16px;
    line-height:1.5;
}

.info-item.description{
    grid-column:1 / -1;
}

.info-item.description .info-value{
    color:#d8dde6;
    max-width:100%;
}

/* Make the button stay at bottom */

.study-actions{
    margin-top:24px;
}

/* Remove default spacing */

.study-info p,
.study-info h4,
.study-info span{
    margin:0;
}

/* Mobile */

@media(max-width:768px){

    .study-info{
        grid-template-columns:1fr;
        gap:18px;
    }

    .info-item.description{
        grid-column:auto;
    }

}

/* Top section */

.study-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:28px;
}

.study-tags{
    display:flex;
    gap:10px;
}

.study-meta{
    display:flex;
    gap:22px;
    align-items:center;
}

.study-meta span{
    color:#d8dde6;
    font-size:14px;
    font-weight:600;
}

.study-meta strong{
    color:#d4af37;
    margin-right:6px;
}

/* Info */

.study-info{
    margin-top:8px;
}

.info-item{
    margin-bottom:18px;
}

.info-label{
    display:block;
    color:#d4af37;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    font-weight:700;
    margin-bottom:6px;
}

.info-value{
    color:#edf2f7;
    font-size:16px;
    line-height:1.6;
}

.study-description{
    margin:12px 0 20px;
    padding:12px 16px;
    border-radius:12px;

    color:#b8c5d4;
    font-size:14px;
    line-height:1.6;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    overflow:hidden;
    text-overflow:ellipsis;

    min-height:48px;
}

.mcq-page{

    padding:60px 20px;

}


/* ===========================
   MCQ PAGE
=========================== */

.mcq-page {
    min-height: 100vh;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    /* background:
        radial-gradient(circle at top, rgba(32,59,94,.35), transparent 55%),
        #08111d; */
}

/* ===========================
   CARD
=========================== */

.mcq-card {

    width: 100%;
    max-width: 1100px;

    background:
        radial-gradient(circle at top left, rgba(212,175,55,0.08), transparent 28%),
        #121212;

    border: 1px solid rgba(212,175,55,0.18);

    border-radius: 22px;

    padding: 42px;

    /* box-shadow:
        0 24px 60px rgba(0,0,0,0.32); */

}

/* ===========================
   TITLE
=========================== */

.mcq-card h1{

    font-size:44px;

    color:#ffffff;

    margin-bottom:10px;

    font-weight:800;

    line-height:1.05;

}

.mcq-subtitle{

    color:#c8c8c8;

    font-size:19px;

    margin-bottom:24px;

    line-height:1.75;

    max-width:760px;

    letter-spacing:0.01em;

    position:relative;

    padding-bottom:16px;

}

.mcq-subtitle::after{

    content:'';

    position:absolute;

    left:0;

    bottom:0;

    width:100px;

    height:1px;

    background:rgba(212,175,55,0.18);

}

/* ===========================
   FORM
=========================== */

.form-group{

    margin-bottom:28px;

}

.form-group label{

    display:block;

    color:#ffffff;

    font-size:19px;

    font-weight:600;

    margin-bottom:12px;

}

/* ===========================
   DROPDOWN
=========================== */

select{

    width:100%;

    height:60px;

    border-radius:14px;

    background:#081a2f;

    color:#ffffff;

    border:1px solid rgba(212,175,55,0.28);

    padding:0 20px;

    font-size:18px;

    outline:none;

    transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;

}

select:focus{

    border-color:rgba(212,175,55,0.68);

    box-shadow:0 0 0 4px rgba(212,175,55,0.14);

}

/* ===========================
   CHAPTER
=========================== */

.chapter-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.chapter-actions{

    display:flex;

    gap:10px;

}

.chapter-actions button{

    min-height:48px;

    padding:0 18px;

    background:#101820;

    border:1px solid rgba(212,175,55,0.42);

    color:#ffffff;

    border-radius:14px;

    cursor:pointer;

    font-weight:700;

    /* transition:background .25s ease, color .25s ease, transform .25s ease; */

}

.chapter-actions button:hover{

    background:#d4af37;

    color:#050910;

    /* transform:translateY(-1px); */

}

#chapterContainer{

    min-height:150px;

    border-radius:16px;

    border:1px solid rgba(212,175,55,0.18);

    /* background:#081a2f; */

    padding:24px;

    display:flex;

    flex-direction:column;

    gap:16px;

}

/* ===========================
   QUESTION COUNT
=========================== */

.question-count{

    display:flex;

    gap:16px;

    align-items:center;

}

.question-count button{

    width:64px;

    height:64px;

    border-radius:16px;

    background:#081a2f;

    color:#d4af37;

    border:1px solid rgba(212,175,55,0.35);

    font-size:28px;

    font-weight:700;

    cursor:pointer;

    /* transition:background .25s ease, transform .25s ease, box-shadow .25s ease; */

}

.question-count button:hover{

    background:#d4af37;

    color:#050910;

    /* transform:translateY(-1px); */

}

.question-count input{

    flex:1;

    height:64px;

    border-radius:16px;

    border:1px solid rgba(212,175,55,0.25);

    background:#081a2f;

    color:#ffffff;

    font-size:28px;

    text-align:center;

    padding:0;

    outline:none;

}

/* .question-count input:focus{

    border-color:rgba(212,175,55,0.68);

    box-shadow:0 0 0 4px rgba(212,175,55,0.14);

} */

#availableQuestions{

    display:block;

    margin-top:14px;

    color:#d4af37;

    font-size:15px;

    line-height:1.5;

}

/* ===========================
   SHUFFLE
=========================== */

.shuffle-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:24px;

}

.shuffle-item{

    display:flex;

    gap:18px;

    align-items:flex-start;

    padding:20px;

    border-radius:18px;

    border:1px solid rgba(212,175,55,0.18);

    background:#081a2f;

}

.shuffle-item input{

    width:24px;

    height:24px;

    margin-top:4px;

    accent-color:#d4af37;

}

.shuffle-title{

    color:white;

    font-size:18px;

    font-weight:600;

}

.shuffle-desc{

    color:#c2c2c2;

    font-size:15px;

    margin-top:8px;

    line-height:1.7;

}

/* ===========================
   BUTTON
=========================== */

#startQuizBtn{

    margin-top:32px;

    width:100%;

    height:72px;

    border:none;

    border-radius:18px;

    background:#d4af37;

    color:#050910;

    font-size:20px;

    font-weight:800;

    cursor:pointer;

    transition:transform .25s ease, box-shadow .25s ease;

}

#startQuizBtn:hover{

    transform:translateY(-1px);

    /* box-shadow:0 20px 45px rgba(212,175,55,0.22); */

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

    .mcq-card{

        padding:25px;

    }

    .mcq-card h1{

        font-size:38px;

    }

    .shuffle-grid{

        grid-template-columns:1fr;

    }

}

#quizProgress{

    color:#d4af37;

    font-size:18px;

    margin-bottom:25px;

}

#questionText{

    color:white;

    font-size:28px;

    line-height:1.5;

    margin-bottom:35px;

}

.option-card{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    margin-bottom:15px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:12px;

    cursor:pointer;

    transition:.25s;

    color:white;

}

.option-card:hover{

    border-color:#d4af37;

}

.option-card input{

    width:20px;

    height:20px;

}

.quiz-actions{

    display:flex;

    justify-content:space-between;

    margin-top:35px;

}

.quiz-actions button{

    width:180px;

    height:55px;

    border:none;

    border-radius:12px;

    background:#d4af37;

    color:#111;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

}

.question-count{
    display:flex;
    align-items:center;
    gap:20px;
}

.question-count input{
    flex:1;
    text-align:center;
    pointer-events:auto;
}

.question-count button{
    width:70px;
    height:56px;
    cursor:pointer;
    z-index:9999;
    position:relative;
    pointer-events:auto;
}

#plusBtn,
#minusBtn{
    cursor:pointer !important;
    pointer-events:auto !important;
    position:relative !important;
    z-index:99999 !important;
}

.question-input{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(212,175,55,.3);
    background:#08121f;
    color:#fff;
    text-align:center;
    font-size:20px;
}

/* =====================================================
   MOBILE NAVBAR HAMBURGER OVERLAP FIX
===================================================== */
@media (max-width: 900px) {
    .navbar-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 94% !important;
        min-height: 72px !important;
        padding: 0 !important;
        gap: 0 !important;
        position: relative !important;
    }

    /* Logo stays LEFT */
    .logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 120px) !important;
        order: 1 !important;
    }

    .logo-text {
        font-size: 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .logo-mark {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
    }

    /* Hamburger stays RIGHT of logo, LEFT of buttons */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        cursor: pointer !important;
        order: 3 !important;
        flex: 0 0 auto !important;
        margin-left: 10px !important;
        z-index: 10 !important;
        position: relative !important;
    }

    .hamburger span {
        width: 26px !important;
        height: 3px !important;
        background-color: var(--gold) !important;
        border-radius: 20px !important;
        display: block !important;
    }

    /* Login/Signup buttons stay FAR RIGHT */
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        order: 2 !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .nav-actions .btn-outline,
    .nav-actions .btn-gold {
        padding: 7px 11px !important;
        font-size: 0.72rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    /* Dropdown full width below navbar */
    .nav-menu {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 9999 !important;
    }

    /* Hide mobile-actions from dropdown when not needed */
    .mobile-actions {
        display: flex !important;
        gap: 10px !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(212, 175, 55, 0.16) !important;
    }
}

/* Extra small screens */
@media (max-width: 420px) {
    .logo-text {
        font-size: 0.85rem !important;
    }

    .logo-mark {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
    }

    .nav-actions .btn-outline,
    .nav-actions .btn-gold {
        padding: 6px 9px !important;
        font-size: 0.66rem !important;
    }
}

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin-bottom:24px;

}

@media(max-width:768px){

    .form-row{

        grid-template-columns:1fr;

    }

}

/* Chapter Container */

#chapterContainer{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    margin-top:18px;

}

/* Chapter Card */

.chapter-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    background:#101826;

    border:1px solid rgba(212,175,55,.25);

    border-radius:12px;

    cursor:pointer;

    transition:.25s;

    color:#fff;

    font-weight:500;

}

.chapter-item:hover{

    border-color:#d4af37;

    background:#162033;

    /* transform:translateY(-2px); */

}

.chapter-item input{

    width:18px;

    height:18px;

    accent-color:#d4af37;

    cursor:pointer;

    flex-shrink:0;

}

#toast {
    position: fixed;
    top: 25px;
    right: 25px;

    min-width: 280px;
    max-width: 360px;

    padding: 14px 18px;

    background: #1b1b1b;
    color: #fff;

    border-left: 4px solid #d4af37;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0,0,0,.35);

    opacity: 0;
    transform: translateX(120%);
    transition: .35s ease;

    z-index: 99999;

    font-weight: 600;
}

#toast.show{
    opacity:1;
    transform:translateX(0);
}

#toast.success{
    border-left-color:#2ecc71;
}

#toast.error{
    border-left-color:#e74c3c;
}

#toast.warning{
    border-left-color:#f39c12;
}

#toast.info{
    border-left-color:#3498db;
}

.result-score{

    text-align:center;

    margin:30px 0;

}

.result-score h2{

    font-size:48px;

    color:#d4af37;

}

.result-score p{

    font-size:22px;

    color:#bbb;

}

.result-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin:30px 0;

}

.stat-card{

    background:#101826;

    border:1px solid rgba(212,175,55,.25);

    border-radius:12px;

    padding:20px;

    text-align:center;

}

.stat-card h3{

    color:#d4af37;

    font-size:36px;

    margin-bottom:8px;

}

.stat-card span{

    color:#ccc;

}

/* ADMIN mobile fix */
@media (max-width:900px){

    .admin-navbar{
        position:relative;
    }

    .admin-navbar .navbar-inner{
        height:70px !important;
        min-height:70px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        position:relative !important;
    }

    .admin-navbar .hamburger{
        display:flex !important;
        position:absolute !important;
        top:18px !important;
        left:30% !important;
        transform:translateX(-50%) !important;
        margin:0 !important;
        padding:0 !important;
        z-index:9999 !important;
    }

    .admin-navbar .nav-menu{
        top:70px !important;
    }
}

/* Equal width for Admin and Logout buttons */
.nav-actions .btn-outline,
.nav-actions .btn-gold {
    width: 110px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

/* ===========================
   Quiz Header
=========================== */

.quiz-top{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-bottom:24px;
}

.quiz-subject{

color:#d4af37;

font-size:.9rem;

font-weight:700;

letter-spacing:.5px;

margin-bottom:6px;

text-transform:uppercase;

}

#quizProgress{

font-size:1.15rem;

font-weight:700;

color:#fff;

}

/* ===========================
   Progress Bar
=========================== */

.progress-bar{

width:100%;

height:10px;

background:#242424;

border-radius:999px;

overflow:hidden;

margin-bottom:30px;

border:1px solid rgba(212,175,55,.15);

}

.progress-fill{

width:0%;

height:100%;

background:linear-gradient(90deg,#d4af37,#f6d76b);

border-radius:999px;

transition:width .35s ease;

box-shadow:0 0 12px rgba(212,175,55,.35);

}

.quiz-container{
    width:min(900px,92vw);
    margin:40px auto;
    padding:40px;
    background:#151515;
    border:1px solid rgba(212,175,55,.15);
    border-radius:24px;
    box-shadow:
        0 20px 60px rgba(0,0,0,.45);
}

.option{

display:flex;

align-items:center;

gap:18px;

padding:20px 22px;

margin-bottom:16px;

border:1px solid rgba(255,255,255,.08);

border-radius:18px;

background:#1b1b1b;

cursor:pointer;

transition:.25s;

}

.option:hover{

border-color:#d4af37;

background:#232323;

transform:translateY(-2px);

}

.option input{

display:none;

}

.option-letter{

width:42px;

height:42px;

border-radius:50%;

background:#242424;

border:2px solid #444;

display:flex;

align-items:center;

justify-content:center;

font-weight:700;

color:#fff;

flex-shrink:0;

}

.option.selected{

border-color:#d4af37;

background:rgba(212,175,55,.08);

}

.option.selected .option-letter{

background:#d4af37;

color:#111;

border-color:#d4af37;

}

.quiz-footer{

display:flex;

justify-content:space-between;

margin-top:30px;

}

.quiz-footer button{

min-width:170px;

height:52px;

border-radius:999px;

font-size:16px;

font-weight:700;

}

/* Quiz container */

#mcq-quiz .mcq-card{

    width:min(1100px,95vw);

    max-width:1100px;

    margin:0 auto;

    padding:32px 40px;

}

/* Question */

#questionText{

    font-size:1.5rem;

    font-weight:700;

    line-height:1.5;

    margin:20px 0 30px;

    color:#fff;

}

/* Options */

#optionsContainer{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.option-card{

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px 22px;

    font-size:1rem;

    line-height:1.5;

    border-radius:16px;

    cursor:pointer;

}

/* Footer */

.quiz-footer{

    margin-top:30px;

    display:flex;

    justify-content:space-between;

}

.quiz-footer button{

    min-width:150px;

}

/* Large screens */

@media (min-width:1400px){

    #mcq-quiz .mcq-card{

        max-width:1250px;

    }

    #questionText{

        font-size:1.65rem;

    }

}

/* ===========================
      RESULT PAGE
=========================== */

.quiz-result{

width:min(900px,95vw);

margin:40px auto;

}

.result-card{

background:#171717;

border-radius:24px;

padding:50px;

border:1px solid rgba(212,175,55,.18);

text-align:center;

}

.result-icon{

font-size:70px;

margin-bottom:15px;

}

.result-card h2{

font-size:34px;

margin-bottom:20px;

}

.result-score{

font-size:64px;

font-weight:800;

color:#d4af37;

margin-bottom:10px;

}

#resultText{

font-size:20px;

opacity:.8;

margin-bottom:35px;

}

.result-stats{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

margin-bottom:35px;

}

.result-stats div{

background:#1f1f1f;

padding:20px;

border-radius:16px;

}

.result-stats h3{

font-size:34px;

color:#d4af37;

margin-bottom:6px;

}

.recommendation-box{

background:#202020;

padding:22px;

border-radius:18px;

margin-bottom:35px;

text-align:left;

}

.recommendation-box h4{

margin-bottom:12px;

color:#d4af37;

}

.result-buttons{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:18px;

}

.result-buttons button{

height:58px;

font-size:17px;

font-weight:700;

}

/* ==========================
   PERFORMANCE BAR
========================== */

.performance-section{

margin:35px 0 45px;

}

.performance-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:12px;

font-size:18px;

font-weight:700;

}

.performance-header span:first-child{

color:#d7d7d7;

letter-spacing:.5px;

}

#performancePercent{

font-size:22px;

color:#fff;

font-weight:800;

}

.performance-track{

height:18px;

background:#262626;

border-radius:100px;

overflow:hidden;

border:1px solid rgba(255,255,255,.08);

box-shadow:
inset 0 2px 10px rgba(0,0,0,.4);

}

.performance-fill{

    width:0%;
    height:100%;
    border-radius:999px;

    background:linear-gradient(
        90deg,
        #f9e27d 0%,
        #f3c623 35%,
        #d4af37 65%,
        #b8860b 100%
    );

    box-shadow:
        0 0 10px rgba(243,198,35,.45),
        0 0 25px rgba(212,175,55,.35);

    transition:width .9s ease;

    position:relative;

    overflow:hidden;

}

.performance-fill::before{

    content:"";

    position:absolute;

    top:0;
    left:-40%;

    width:40%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    animation:goldShine 2.2s linear infinite;

}

@keyframes goldShine{

    from{

        left:-40%;

    }

    to{

        left:120%;

    }

}

/* ==========================================================
   QP GENERATOR
========================================================== */

.paper-generator{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:28px;
    align-items:start;
    margin-top:30px;
}

.paper-config{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:24px;
    position:sticky;
    top:90px;
}

.paper-config h2{
    margin:0 0 24px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

.form-group label{
    margin-bottom:8px;
    font-weight:600;
}

.form-group select,
.form-group input{
    width:100%;
    background:var(--dark-bg);
    color:var(--text);
    border:1px solid var(--border);
    border-radius:10px;
    padding:12px 14px;
    font-size:15px;
}

.form-group select:focus,
.form-group input:focus{
    outline:none;
    border-color:var(--gold);
}

.science-badge{
    margin-top:8px;
    color:var(--gold);
    font-size:.82rem;
}

.config-section{
    margin-top:28px;
}

.config-section h3{
    margin-bottom:15px;
}

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

.radio-option{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    cursor:pointer;
}

.radio-option input{
    accent-color:var(--gold);
}

.marks-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.marks-grid label{
    display:block;
    margin-bottom:6px;
    font-size:.9rem;
}

#total-marks-display{
    margin-top:16px;
    font-weight:700;
    color:var(--gold);
}

.chip-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.chip{
    padding:9px 15px;
    border-radius:999px;
    border:1px solid var(--border);
    background:transparent;
    color:var(--light-gray);
    cursor:pointer;
    transition:.2s;
    user-select:none;
}

.chip:hover{
    border-color:var(--gold);
}

.chip.selected{
    color:var(--gold);
    border-color:var(--gold);
    background:rgba(212,175,55,.12);
}

.text-btn{
    background:none;
    border:none;
    color:var(--gold);
    cursor:pointer;
    padding:0;
    font-size:.9rem;
}

.inline-error{
    display:none;
    margin-top:20px;
    padding:12px;
    border-radius:10px;
    background:rgba(255,0,0,.08);
    border:1px solid rgba(255,0,0,.3);
    color:#ff6b6b;
}

.inline-error.show{
    display:block;
}

#generate-btn{
    width:100%;
    margin-top:24px;
}

.paper-preview{
    display:flex;
    flex-direction:column;
    gap:20px;
}

#paper-preview-content{
    background:#fff;
    color:#111;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    min-height:900px;
    padding:45px;
    overflow:auto;
}

.preview-placeholder{
    text-align:center;
    margin-top:180px;
    color:#666;
}

.preview-placeholder h2{
    color:#111;
    margin-bottom:15px;
}

.paper-header{
    text-align:center;
    border-bottom:2px solid #111;
    padding-bottom:18px;
    margin-bottom:30px;
}

.paper-header h1{
    margin:0;
    font-size:28px;
}

.paper-meta{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    font-size:.95rem;
}

.paper-section{
    margin-top:30px;
}

.paper-section h2{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:15px;
}

.paper-question{
    margin-bottom:16px;
    line-height:1.7;
}

#download-btn{
    align-self:flex-end;
}

@media(max-width:1024px){

.paper-generator{
grid-template-columns:1fr;
}

.paper-config{
position:static;
}

#paper-preview-content{
min-height:700px;
}

}

@media(max-width:700px){

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

.paper-config{
padding:18px;
}

#paper-preview-content{
padding:25px;
}

}

@media print{

body *{
visibility:hidden;
}

#paper-preview-wrapper,
#paper-preview-wrapper *{
visibility:visible;
}

#paper-preview-wrapper{
position:absolute;
left:0;
top:0;
width:100%;
background:#fff;
}

#paper-preview-content{
box-shadow:none;
border:none;
padding:30px;
font-family:"Times New Roman",serif;
color:#000;
}

.paper-section h2{
color:#000;
}

#download-btn,
.paper-config{
display:none!important;
}

}

.paper-warning{

margin:15px 0;

padding:12px;

border-left:4px solid orange;

background:#fff5e6;

color:#aa5b00;

border-radius:6px;

}

.question-image{

max-width:350px;

display:block;

margin:12px 0;

border-radius:8px;

}

.spinner{
    width:16px;
    height:16px;
    border:2px solid rgba(255,255,255,.3);
    border-top-color:#fff;
    border-radius:50%;
    display:inline-block;
    margin-right:8px;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.paper-summary{

margin:20px 0;

padding:12px;

background:#f7f7f7;

border-left:4px solid var(--gold);

font-weight:600;

}
.qb-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 100000;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}
.qb-modal-overlay.show {
    display: flex;
}
.qb-modal-box {
    background: #181818;
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 18px;
    padding: 28px;
    max-width: 1300px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* @media (min-width:901px){

    .mobile-quick-nav{
        display:none !important;
    }

    .mobile-actions{
        display:none !important;
    }

    .nav-menu{
        position:static !important;
        width:auto !important;
        max-width:none !important;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        z-index:auto !important;
    }

    .navbar-inner{
        display:flex !important;
    }

} */

