/* main.css — Exams Page — Futuristic Edition */

/* =========================================
   GLOBAL
   ========================================= */
body {
    background: #f0f2f8;
}

/* =========================================
   WRAPPER
   ========================================= */
.exam-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 24px 100px;
    position: relative;
    z-index: 1;
}

.exam-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background-image: radial-gradient(rgba(33, 40, 66, 0.25) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.15;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.exam-wrapper::after {
    content: '';
    position: absolute;
    top: -120px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(33, 40, 66, 0.07) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   HERO  (split layout)
   ========================================= */
.exam-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 72px;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(33, 40, 66, 0.07);
    color: #212842;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid rgba(33, 40, 66, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    width: fit-content;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #212842;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(33, 40, 66, 0.18);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(33, 40, 66, 0.18);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(33, 40, 66, 0.06);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.08;
    color: #212842;
    margin: 0;
}

.hero-title-accent {
    background: linear-gradient(135deg, #212842 0%, #3d5080 50%, #212842 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(33, 40, 66, 0.52);
    line-height: 1.75;
    max-width: 440px;
    margin: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 100px;
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(33, 40, 66, 0.35);
    transition: all 0.28s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(33, 40, 66, 0.45);
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid rgba(33, 40, 66, 0.18);
    color: #212842;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(33, 40, 66, 0.04);
    transition: all 0.25s ease;
}

.hero-btn-ghost:hover {
    border-color: #212842;
    background: rgba(33, 40, 66, 0.08);
    transform: translateY(-2px);
}

/* Right column */
.hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(33, 40, 66, 0.07);
    pointer-events: none;
    animation: ringPulse 6s ease-in-out infinite;
}

.hero-ring-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-ring-2 {
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(33, 40, 66, 0.03);
    animation-delay: 1.5s;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: .6;
        transform: translate(-50%, -50%) scale(1)
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03)
    }
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 28px rgba(33, 40, 66, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
}

.hero-stat-card:nth-child(2) {
    margin-top: 28px;
}

.hero-stat-card:nth-child(4) {
    margin-top: 28px;
}

.hsc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hsc-indigo .hsc-icon {
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
    box-shadow: 0 6px 18px rgba(33, 40, 66, 0.28);
}

.hsc-amber .hsc-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.hsc-teal .hsc-icon {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
    box-shadow: 0 6px 18px rgba(20, 184, 166, 0.35);
}

.hsc-rose .hsc-icon {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: #fff;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
}

.hsc-indigo:hover {
    box-shadow: 0 16px 40px rgba(33, 40, 66, 0.12);
}

.hsc-amber:hover {
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.16);
}

.hsc-teal:hover {
    box-shadow: 0 16px 40px rgba(20, 184, 166, 0.16);
}

.hsc-rose:hover {
    box-shadow: 0 16px 40px rgba(244, 63, 94, 0.16);
}

.hsc-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hsc-num {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #212842;
    line-height: 1;
}

.hsc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(33, 40, 66, 0.42);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   FILTER ROW
   ========================================= */
.exam-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.exam-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.exam-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 100px;
    border: 1.5px solid rgba(33, 40, 66, 0.1);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(33, 40, 66, 0.55);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(33, 40, 66, 0.04);
}

.exam-tab:hover {
    border-color: #212842;
    color: #212842;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(33, 40, 66, 0.1);
}

.exam-tab.active {
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(33, 40, 66, 0.28);
}

.exam-search {
    position: relative;
    flex-shrink: 0;
}

.exam-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(33, 40, 66, 0.35);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s;
}

.exam-search input {
    width: 270px;
    padding: 12px 20px 12px 44px;
    border-radius: 100px;
    border: 1.5px solid rgba(33, 40, 66, 0.1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    font-family: inherit;
    font-size: 0.9rem;
    color: #212842;
    outline: none;
    box-shadow: 0 2px 12px rgba(33, 40, 66, 0.05);
    transition: all 0.25s ease;
}

.exam-search input::placeholder {
    color: rgba(33, 40, 66, 0.35);
}

.exam-search input:focus {
    border-color: #212842;
    box-shadow: 0 0 0 4px rgba(33, 40, 66, 0.08);
}

.exam-search:focus-within i {
    color: #212842;
}

/* =========================================
   EXAM GRID
   ========================================= */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* =========================================
   X-CARD  (futuristic card)
   ========================================= */
.xcard {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 30px rgba(33, 40, 66, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.xcard:hover {
    transform: translateY(-8px) scale(1.01);
}

.xcard.hidden {
    display: none;
}

/* Animated ambient glow blob behind card */
.xcard-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: -60px;
    right: -60px;
    background: radial-gradient(circle, rgba(33, 40, 66, 0.1), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s;
    opacity: 0;
}

.xglow-amber {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
}

.xglow-teal {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
}

.xcard:hover .xcard-glow {
    opacity: 1;
}

/* Hover border glow */
.xcard[data-type="muellim"]:hover {
    box-shadow: 0 20px 60px rgba(33, 40, 66, 0.18), 0 0 0 1.5px rgba(33, 40, 66, 0.18);
}

.xcard[data-type="merkez"]:hover {
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.2), 0 0 0 1.5px rgba(245, 158, 11, 0.25);
}

.xcard[data-type="istifadeci"]:hover {
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.2), 0 0 0 1.5px rgba(20, 184, 166, 0.25);
}

/* ── PANEL (header area) ── */
.xcard-panel {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-height: 190px;
    justify-content: center;
}

/* Navy panel */
.xpanel-navy {
    background: linear-gradient(145deg, #212842 0%, #1a2038 60%, #0f1628 100%);
}

/* Amber panel */
.xpanel-amber {
    background: linear-gradient(145deg, #78400a 0%, #5c3008 60%, #3d1e03 100%);
}

/* Teal panel */
.xpanel-teal {
    background: linear-gradient(145deg, #0c4a45 0%, #093936 60%, #062b29 100%);
}

/* Scan-line overlay */
.xcard-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.015) 0px,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 4px);
    pointer-events: none;
    z-index: 1;
}

/* Moving scan beam */
.xcard-scan::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: scanBeam 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scanBeam {
    0% {
        top: -60px;
    }

    100% {
        top: 110%;
    }
}

/* Circuit/grid decorative lines */
.xcard-circuit {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Type badge pill (top right corner of panel) */
.xtype-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 3;
}

.xbadge-navy {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.xbadge-amber {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 200, 100, 0.9);
    border: 1px solid rgba(255, 200, 100, 0.22);
}

.xbadge-teal {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(100, 240, 220, 0.9);
    border: 1px solid rgba(100, 240, 220, 0.22);
}

/* Icon wrapper with spinning rings */
.xcard-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    z-index: 2;
}

.xicon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    animation: spinRing 8s linear infinite;
}

.xcard-icon-wrap .xicon-ring:first-child {
    width: 72px;
    height: 72px;
}

.xicon-ring2 {
    width: 90px;
    height: 90px;
    border-color: rgba(255, 255, 255, 0.08);
    animation-direction: reverse;
    animation-duration: 12s;
}

.xring-amber {
    border-color: rgba(251, 191, 36, 0.3);
}

.xring-amber.xicon-ring2 {
    border-color: rgba(251, 191, 36, 0.12);
}

.xring-teal {
    border-color: rgba(45, 212, 191, 0.3);
}

.xring-teal.xicon-ring2 {
    border-color: rgba(45, 212, 191, 0.12);
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.xbig-icon {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

.xpanel-amber .xbig-icon {
    color: rgba(253, 224, 110, 0.95);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.xpanel-teal .xbig-icon {
    color: rgba(110, 245, 230, 0.95);
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.4));
}

/* Meta strip — below icon */
.xcard-meta-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.xcard-meta-strip>span {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.xdot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

/* Difficulty pills */
.xdiff {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.xdiff-easy {
    background: rgba(34, 197, 94, 0.2);
    color: rgba(134, 239, 172, 0.9) !important;
}

.xdiff-mid {
    background: rgba(251, 191, 36, 0.2);
    color: rgba(253, 224, 110, 0.9) !important;
}

.xdiff-hard {
    background: rgba(239, 68, 68, 0.2);
    color: rgba(252, 165, 165, 0.9) !important;
}

/* ── CARD BODY ── */
.xcard-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xauthor-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.xavatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.xav-navy {
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
}

.xav-amber {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}

.xav-teal {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
}

.xauthor-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.xauthor-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #212842;
    line-height: 1.2;
}

.xauthor-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(33, 40, 66, 0.42);
}

.xtags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.xtag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(33, 40, 66, 0.06);
    color: rgba(33, 40, 66, 0.52);
    border: 1px solid rgba(33, 40, 66, 0.08);
}

.xcard-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #212842;
    line-height: 1.4;
    margin: 0;
}

.xcard-desc {
    font-size: 0.82rem;
    color: rgba(33, 40, 66, 0.5);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Progress bar */
.xprogress-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.xprogress-track {
    height: 4px;
    border-radius: 100px;
    background: rgba(33, 40, 66, 0.08);
    overflow: hidden;
}

.xprogress-fill {
    height: 100%;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: width 0.8s ease;
}

.xfill-navy {
    background: linear-gradient(90deg, #212842, #3d5080);
}

.xfill-amber {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.xfill-teal {
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

/* shimmer sweep on fill */
.xprogress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: fillSweep 2.5s ease-in-out infinite;
}

@keyframes fillSweep {
    0% {
        left: -60%
    }

    100% {
        left: 160%
    }
}

.xprogress-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(33, 40, 66, 0.38);
}

/* ── CARD FOOTER ── */
.xcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(33, 40, 66, 0.06);
    background: rgba(248, 249, 255, 0.6);
}

.xfooter-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(33, 40, 66, 0.38);
}

.xrating i {
    font-size: 0.72rem;
    color: #212842;
}

.xrating strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: #212842;
    margin: 0 2px 0 4px;
}

.xr-count {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(33, 40, 66, 0.35);
}

.xbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.xbtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.25s;
}

.xbtn:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.xbtn:hover {
    transform: translateY(-2px) scale(1.04);
}

.xbtn-navy {
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
    box-shadow: 0 6px 20px rgba(33, 40, 66, 0.3);
}

.xbtn-amber {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.xbtn-teal {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

/* ── NO RESULTS ── */
.exam-no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
    color: rgba(33, 40, 66, 0.3);
}

.exam-no-results i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.exam-no-results p {
    font-size: 1rem;
    font-weight: 600;
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width:1100px) {
    .exam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:900px) {
    .exam-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-right {
        max-width: 480px;
    }

    .hero-ring {
        display: none;
    }
}

@media (max-width:768px) {
    .exam-wrapper {
        padding: 130px 16px 70px;
    }

    .exam-filter-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .exam-search input {
        width: 100%;
    }

    .exam-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-stat-card:nth-child(2),
    .hero-stat-card:nth-child(4) {
        margin-top: 0;
    }
}

/* =========================================
   CREATE EXAM BUTTON (Admin only)
   ========================================= */
.exam-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #212842, #2f3d60);
    color: #fff;
    padding: 11px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(33, 40, 66, 0.28);
    white-space: nowrap;
    flex-shrink: 0;
}

.exam-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(33, 40, 66, 0.38);
}