/* ============================================
   PROJECT SHOWCASE - GRID + MODAL DESIGN
   ============================================ */

:root {
    --navy-900: #0a0e27;
    --navy-800: #0f172a;
    --navy-700: #1a2342;
    --navy-600: #1e3a5f;
    --gold-500: #dc2626;
    --gold-400: #ef4444;
    --gold-300: #f87171;
    --teal-500: #14b8a6;
    --teal-400: #2dd4bf;
    --blue-500: #0ea5e9;
    --blue-400: #38bdf8;
    --blue-300: #7dd3fc;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --shadow-card: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
    --shadow-card-hover: 0 8px 32px rgba(0,0,0,.12), 0 16px 48px rgba(0,0,0,.16);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #eef2f7;
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.showcase-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.showcase-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-logo-kev {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-left: 10px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

.nav-link-btn {
    background: linear-gradient(135deg, #1e6b3a, #22883e);
    color: white !important;
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
}

.nav-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 107, 58, 0.25);
    background: linear-gradient(135deg, #22883e, #2a9d46);
}

.nav-link-btn i { margin-right: 6px; }

/* Teacher/Student header override for showcase page */
body {
    background: #fff !important;
}
.sc-header-override {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.sc-header-override .main-nav .nav-link {
    font-size: 16px;
}
.teacher-main, .student-main {
    padding: 0 !important;
    max-width: none !important;
}

/* Login durumunda tam menü */
.sc-nav-full {
    flex: 1;
    justify-content: center;
}
.sc-nav-full .nav-link {
    font-size: 13px;
    padding: 6px 12px;
}

/* Kullanıcı avatar menüsü */
.sc-user-menu {
    position: relative;
}
.sc-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(0,0,0,0.08);
    transition: box-shadow .2s, border-color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e6b3a, #22883e);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.sc-user-avatar:hover {
    border-color: rgba(30,107,58,0.3);
    box-shadow: 0 0 0 3px rgba(30,107,58,0.12);
}
.sc-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 2000;
    overflow: hidden;
}
.sc-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sc-dd-header {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}
.sc-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sc-dd-item:hover {
    background: #f8fafc;
    color: #0f172a;
}
.sc-dd-item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
}
.sc-dd-logout {
    color: #dc2626;
    border-top: 1px solid #f1f5f9;
}
.sc-dd-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* ============================================
   HERO SECTION - AWARDS CEREMONY
   ============================================ */
.showcase-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 100%, #1e3a8a 0%, transparent 60%),
        linear-gradient(160deg, #0b1a4a 0%, #122a6b 35%, #1a3a8e 70%, #1e3a8a 100%);
    padding: 90px 24px 70px;
}

/* PARLA tarzi noktali yildiz pattern */
.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 28% 35%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 55% 12%, rgba(251,191,36,0.6), transparent),
        radial-gradient(1px 1px at 72% 28%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 88% 45%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.2px 1.2px at 18% 65%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 45% 78%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1.4px 1.4px at 68% 60%, rgba(251,191,36,0.5), transparent),
        radial-gradient(1px 1px at 92% 85%, rgba(255,255,255,0.45), transparent),
        radial-gradient(1px 1px at 8% 90%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.2px 1.2px at 38% 50%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 78% 75%, rgba(255,255,255,0.5), transparent);
    background-size: 100% 100%;
    animation: starsTwinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes starsTwinkle {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}

/* Ortadaki sicak parilti */
.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 50% at 50% 32%, rgba(251,191,36,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(56,189,248,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating Photo Bubbles (14 positions) */
.hero-float-circles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 2px solid rgba(255,255,255,0.18);
    animation: floatDrift 12s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.fc-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.75;
}

.fc-1  { width: 64px; height: 64px; top: 5%;  left: 3%;  animation-delay: 0s;    animation-duration: 15s; }
.fc-2  { width: 52px; height: 52px; top: 8%;  right: 5%; animation-delay: -2s;   animation-duration: 12s; }
.fc-3  { width: 46px; height: 46px; top: 45%; left: 1%;  animation-delay: -4s;   animation-duration: 14s; }
.fc-4  { width: 58px; height: 58px; bottom: 8%; right: 3%; animation-delay: -6s; animation-duration: 16s; }
.fc-5  { width: 40px; height: 40px; top: 22%; left: 9%;  animation-delay: -3s;   animation-duration: 11s; }
.fc-6  { width: 50px; height: 50px; top: 6%;  left: 48%; animation-delay: -5s;   animation-duration: 13s; }
.fc-7  { width: 38px; height: 38px; bottom: 18%; left: 10%; animation-delay: -7s; animation-duration: 17s; }
.fc-8  { width: 56px; height: 56px; top: 35%; right: 6%; animation-delay: -1s;   animation-duration: 14s; }
.fc-9  { width: 44px; height: 44px; top: 3%;  left: 22%; animation-delay: -8s;   animation-duration: 16s; }
.fc-10 { width: 48px; height: 48px; bottom: 5%; left: 25%; animation-delay: -3.5s; animation-duration: 13s; }
.fc-11 { width: 36px; height: 36px; top: 55%; right: 12%; animation-delay: -9s;  animation-duration: 15s; }
.fc-12 { width: 42px; height: 42px; top: 15%; right: 18%; animation-delay: -4.5s; animation-duration: 12s; }
.fc-13 { width: 34px; height: 34px; bottom: 15%; right: 20%; animation-delay: -6.5s; animation-duration: 18s; }
.fc-14 { width: 54px; height: 54px; top: 60%; left: 18%; animation-delay: -2.5s; animation-duration: 14s; }

@keyframes floatDrift {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
    25% { transform: translateY(-14px) translateX(8px) scale(1.03); opacity: 0.9; }
    50% { transform: translateY(-5px) translateX(-5px) scale(0.97); opacity: 0.6; }
    75% { transform: translateY(-18px) translateX(12px) scale(1.01); opacity: 0.8; }
}

/* Founder ve anayasa scroll PARLA tarzina gectik, gizlendi */
.hero-founder, .hero-anayasa-scroll { display: none !important; }

/* Anayasa Scrolling Quotes */
.hero-anayasa-scroll {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 65%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 65%, transparent 90%);
}

.anayasa-track {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 24px 20px 32px;
    animation: anayasaScroll 50s linear infinite;
}

.anayasa-line {
    display: block;
    font-size: 11px;
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.22);
    text-align: left;
    line-height: 1.7;
    max-width: 240px;
    letter-spacing: 0.2px;
    white-space: normal;
    border-left: 1px solid rgba(245, 158, 11, 0.15);
    padding-left: 12px;
}

@keyframes anayasaScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Award Emblem */
.hero-award-emblem {
    margin-bottom: 10px;
}

.emblem-ring {
    width: 68px;
    height: 68px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f59e0b, #fbbf24, #fde68a, #fbbf24, #f59e0b, #d97706, #f59e0b);
    padding: 3px;
    animation: emblemSpin 12s linear infinite;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), 0 0 60px rgba(245, 158, 11, 0.08);
}

.emblem-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #0c1a4a, #142454);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fbbf24;
    position: relative;
}

.emblem-inner::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

@keyframes emblemSpin { to { transform: rotate(360deg); } }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(14px, 1.7vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 920px;
    margin: 0 auto;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 22px 28px 18px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(5, 13, 46, 0.25);
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-stat:hover::before { opacity: 1; }

.hero-stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}

.stat-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fbbf24;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 12px rgba(251, 191, 36, 0.25);
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 10px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(2px); }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* ============================================
   FILTER SECTION
   ============================================ */
.filter-section {
    background: white;
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 64px;
    z-index: 100;
    transition: box-shadow var(--transition-base);
}

.filter-section.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 140px;
}

.filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.filter-group label i {
    margin-right: 4px;
    color: var(--slate-400);
}

.filter-group select,
.filter-group input[type="text"] {
    width: 100%;
    padding: 9px 14px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    color: var(--slate-700);
    background: var(--slate-50);
    cursor: pointer;
    transition: var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background-color: white;
}

.filter-group input[type="text"] {
    cursor: text;
}

.filter-group input[type="text"]::placeholder {
    color: var(--slate-400);
    font-weight: 400;
}

/* === Ozel Combobox (Ogrenci filtresi) === */
.combo {
    position: relative;
    width: 100%;
}

.combo-input-wrap {
    position: relative;
}

.combo-input {
    width: 100%;
    padding: 9px 38px 9px 14px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    color: var(--slate-700);
    background: var(--slate-50);
    transition: var(--transition-base);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.combo-input::placeholder {
    color: var(--slate-400);
    font-weight: 400;
}

.combo-input:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background-color: white;
}

.combo.open .combo-input {
    background-color: white;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.combo-clear {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background: var(--slate-300);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 9px;
    transition: var(--transition-base);
    padding: 0;
}

.combo-clear:hover {
    background: var(--slate-500);
}

.combo-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px;
    background: white;
    border: 2px solid var(--blue-400);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.18);
    z-index: 1000;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--slate-300) transparent;
}

.combo.open .combo-list {
    display: block;
    animation: comboOpen 0.15s ease-out;
}

@keyframes comboOpen {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.combo-list::-webkit-scrollbar { width: 6px; }
.combo-list::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
.combo-list::-webkit-scrollbar-track { background: transparent; }

.combo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.combo-item:hover,
.combo-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(20, 184, 166, 0.08));
}

.combo-item.active {
    background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
    color: white;
}

.combo-avatar {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-400), var(--teal-400));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.combo-item.active .combo-avatar {
    background: rgba(255, 255, 255, 0.25);
}

.combo-avatar-icon {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-size: 11px;
}

.combo-name {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.combo-item.active .combo-name {
    color: white;
}

.combo-empty {
    padding: 16px;
    text-align: center;
    color: var(--slate-400);
    font-size: 13px;
    font-style: italic;
    list-style: none;
}

/* === /Combobox === */

.filter-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    min-width: auto;
    align-items: flex-end;
}

.filter-btn-apply {
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.filter-btn-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.filter-btn-apply i { margin-right: 6px; }

.filter-btn-reset {
    padding: 9px 14px;
    background: var(--slate-100);
    color: var(--slate-500);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
}

.filter-btn-reset:hover {
    background: var(--slate-200);
    color: var(--slate-700);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.showcase-main { padding: 36px 0 80px; }
.project-count-info { margin-bottom: 24px; }

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    font-size: 14px;
    color: var(--slate-600);
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.count-badge i { color: var(--blue-500); }
.count-badge strong { color: var(--slate-800); font-weight: 700; }

/* ============================================
   PROJECT BOX CARDS (3-column grid)
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-box {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-box:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.box-scope-ribbon {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.box-scope-ribbon i { font-size: 10px; }

.box-content {
    padding: 18px 20px 14px;
    flex: 1;
}

.box-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--slate-800);
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.box-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: var(--tag-color, #0ea5e9);
    opacity: 0.85;
    white-space: nowrap;
}

.box-tag-more {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-500);
    background: var(--slate-100);
}

.box-desc {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.box-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.box-meta-item {
    font-size: 11px;
    color: var(--slate-400);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-meta-item i {
    margin-right: 4px;
    font-size: 10px;
    color: var(--slate-300);
}

.box-stats {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.box-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--slate-50);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-500);
}

.box-stat i { font-size: 10px; color: var(--slate-400); }

/* ============================================
   PROJECT DETAIL MODAL
   ============================================ */
.project-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.project-modal-overlay.showing {
    opacity: 1;
}

.project-modal {
    background: transparent;
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 960px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-modal-overlay.showing .project-modal {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    backdrop-filter: blur(4px);
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: rotate(90deg);
}

/* Modal Body Layout */
.modal-body {
    display: flex;
    flex-direction: column;
}

/* Modal Main Dark Section */
.modal-dark-section {
    background: linear-gradient(135deg, #0c1445 0%, #162456 35%, #1a3a6c 65%, #1e5277 100%);
    padding: 36px 32px 32px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.modal-dark-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.modal-layout {
    display: flex;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.modal-left { flex: 1; min-width: 0; }
.modal-right {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.modal-project-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Modal Competency Tags */
.modal-comp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.modal-comp-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--tag-color, #0ea5e9);
    opacity: 0.9;
    transition: var(--transition-base);
    white-space: nowrap;
}

.modal-comp-tag:hover { opacity: 1; transform: translateY(-1px); }

/* Modal Description */
.modal-desc-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    max-height: 300px;
    overflow-y: auto;
}

.modal-desc-box::-webkit-scrollbar { width: 5px; }
.modal-desc-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.modal-desc-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

/* Modal Meta Bar */
.modal-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.modal-meta-item i { color: rgba(255, 255, 255, 0.35); font-size: 12px; }

/* Modal Scope Badge */
.modal-scope-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    color: white;
}

.modal-scope-badge i { font-size: 11px; }

/* Modal Oscar Awards Panel */
.modal-oscar-panel {
    width: 100%;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.modal-oscar-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(245, 158, 11, 0.03) 60deg, transparent 120deg, rgba(245, 158, 11, 0.02) 180deg, transparent 240deg, rgba(245, 158, 11, 0.03) 300deg, transparent 360deg);
    animation: oscarShimmer 8s linear infinite;
    pointer-events: none;
}

@keyframes oscarShimmer { to { transform: rotate(360deg); } }

.oscar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.oscar-trophy-glow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, #f59e0b 0%, #d97706 60%, #92400e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), 0 0 40px rgba(245, 158, 11, 0.15), inset 0 -2px 4px rgba(0,0,0,0.2);
    flex-shrink: 0;
    position: relative;
}

.oscar-trophy-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.3);
    animation: oscarPulse 2s ease-in-out infinite;
}

@keyframes oscarPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.oscar-title {
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
    position: relative;
}

.oscar-award-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #92400e, #b45309, #d97706);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(146, 64, 14, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.oscar-award-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: oscarSweep 3s ease-in-out infinite;
}

@keyframes oscarSweep {
    0% { left: -60%; }
    100% { left: 160%; }
}

.oscar-award-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fde68a;
    flex-shrink: 0;
}

.oscar-award-text {
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
}

.oscar-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.oscar-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-align: center;
    position: relative;
}

.oscar-badge-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.oscar-badge-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
    border: 2px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 12px rgba(245, 158, 11, 0.08);
    position: relative;
    transition: var(--transition-base);
}

.oscar-badge-card:hover .oscar-badge-ring {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(245, 158, 11, 0.15);
}

.oscar-badge-ring img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
}

.oscar-badge-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.oscar-badge-name {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oscar-badge-points {
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.oscar-badge-points i { font-size: 10px; color: #f59e0b; }

/* Modal Expandable Sections (Light BG) */
.modal-expand-sections { background: white; border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); }
.modal-body > .modal-dark-section:last-child { border-radius: var(--radius-2xl); }

.modal-expand-section { border-top: 1px solid var(--slate-100); }

.modal-expand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 32px;
    user-select: none;
    transition: background var(--transition-base);
}

.modal-expand-header:hover { background: var(--slate-50); }

.modal-expand-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-expand-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.modal-students-icon { background: linear-gradient(135deg, #dbeafe, #eff6ff); color: #2563eb; }
.modal-comp-icon { background: linear-gradient(135deg, #ccfbf1, #ecfdf5); color: #0d9488; }

.modal-expand-chevron {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--slate-500);
    font-size: 11px;
    transition: var(--transition-base);
}

.modal-expand-header.open .modal-expand-chevron {
    transform: rotate(180deg);
    background: var(--blue-500);
    color: white;
}

.modal-expand-body {
    overflow: hidden;
    max-height: 3000px;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, padding 0.3s;
    padding: 0 32px 24px;
}

.modal-expand-body.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0 32px;
}

/* Students in modal */
.modal-students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.modal-student-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: var(--transition-base);
}

.modal-student-chip:hover {
    background: white;
    border-color: var(--slate-200);
    transform: translateX(4px);
}

.modal-student-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--avatar-hue, 210), 55%, 50%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    text-transform: uppercase;
}

.modal-student-info { display: flex; flex-direction: column; min-width: 0; }

.modal-student-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-student-detail {
    font-size: 11px;
    color: var(--slate-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Students Button */
.modal-students-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin: 12px 0 4px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-lg);
    color: #38bdf8;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-students-btn:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

.modal-students-btn i { font-size: 14px; }

.modal-students-count {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

/* Students Sub-Modal */
.students-sub-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.students-sub-modal.active {
    display: flex;
}

.students-sub-inner {
    background: white;
    border-radius: var(--radius-2xl);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.3s ease-out;
}

.students-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--slate-100);
}

.students-sub-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-800);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.students-sub-header h3 i { color: #38bdf8; }

.students-sub-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--slate-100);
    border-radius: 50%;
    color: var(--slate-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-base);
}

.students-sub-close:hover {
    background: var(--slate-200);
    color: var(--slate-700);
}

.students-sub-body {
    padding: 20px 24px;
    overflow-y: auto;
}

/* Competencies in modal */
.modal-competencies-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.modal-comp-progress-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-comp-card {
    padding: 14px 16px;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: var(--transition-base);
}

.modal-comp-card:hover {
    background: white;
    border-color: var(--slate-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.modal-comp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.modal-comp-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: white;
    background: var(--comp-color);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--comp-color) 30%, transparent);
}

.modal-comp-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.modal-comp-text strong { font-size: 13px; font-weight: 700; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-comp-text small { font-size: 11px; color: var(--slate-400); font-weight: 500; }

.modal-comp-count {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-progress-bar {
    height: 5px;
    background: var(--slate-100);
    border-radius: 100px;
    overflow: hidden;
}

.modal-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--comp-color), color-mix(in srgb, var(--comp-color) 70%, white));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-progress-fill.animated { width: var(--fill-pct); }

/* Modal Chart */
.modal-chart-container { position: sticky; top: 100px; }

.modal-chart-card {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-lg);
    padding: 20px;
    color: white;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-chart-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
    pointer-events: none;
}

.modal-chart-header {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.modal-chart-header i { color: var(--teal-400); }

.modal-radar-chart { max-width: 100%; margin: 0 auto; position: relative; display: block; }

.modal-chart-inline .modal-chart-card {
    padding: 16px 28px 20px;
    overflow: visible;
}

/* ============================================
   INLINE COMPETENCY SECTION (inside modal-left)
   ============================================ */
.modal-comp-inline-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-comp-inline-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-comp-inline-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    background: rgba(45, 212, 191, 0.15);
    color: var(--teal-400);
}

.modal-comp-inline-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.modal-comp-inline-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-chart-inline {
    margin-top: 14px;
}

.modal-comp-card-dark {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.modal-comp-card-dark:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
}

.modal-comp-card-dark .modal-comp-text strong {
    color: rgba(255, 255, 255, 0.9);
}

.modal-comp-card-dark .modal-comp-text small {
    color: rgba(255, 255, 255, 0.45);
}

.modal-comp-count-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.modal-progress-bar-dark {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ============================================
   LOADING / LAZY LOAD
   ============================================ */
.load-more-sentinel {
    display: flex;
    justify-content: center;
    padding: 48px 0 16px;
    grid-column: 1 / -1;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--slate-400);
    font-size: 14px;
    font-weight: 500;
}

.spinner-ring {
    width: 36px;
    height: 36px;
    border: 3px solid var(--slate-200);
    border-top-color: var(--blue-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-spinner.hidden { display: none; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state { text-align: center; padding: 100px 20px; }

.empty-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon-wrapper i { font-size: 32px; color: var(--slate-300); }
.empty-state h3 { font-size: 22px; font-weight: 700; color: var(--slate-600); margin-bottom: 8px; }
.empty-state p { font-size: 15px; color: var(--slate-400); }

/* ============================================
   FOOTER
   ============================================ */
.showcase-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.4);
    padding: 28px 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: invert(1) brightness(2);
}

.footer-content p { font-size: 13px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-competencies-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .showcase-hero {
        min-height: auto;
        padding: 72px 16px 36px;
    }

    .nav-container { height: 48px; }
    .nav-logo { height: 36px; }
    .nav-logo-kev { height: 28px; margin-left: 6px; }
    .nav-link { padding: 6px 10px; font-size: 12px; }
    .sc-nav-full .nav-link { font-size: 11px; padding: 5px 8px; }
    .sc-user-avatar { width: 32px; height: 32px; font-size: 13px; }

    .hero-award-emblem { margin-bottom: 8px; }
    .emblem-ring { width: 54px; height: 54px; }
    .emblem-inner { font-size: 20px; }

    .hero-title { font-size: clamp(24px, 6vw, 32px); }
    .hero-subtitle { font-size: 13px; margin-bottom: 20px; }
    .hero-stats { gap: 8px; flex-wrap: wrap; }

    .hero-stat {
        padding: 12px 14px 10px;
        min-width: 0;
        flex: 1 1 calc(50% - 4px);
        max-width: none;
    }

    .stat-icon { width: 24px; height: 24px; font-size: 10px; margin-bottom: 4px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 9px; }
    .hero-scroll-indicator { display: none; }
    .float-circle { display: none; }
    .hero-float-circles { display: none; }
    .hero-anayasa-scroll { display: none; }
    .hero-founder { display: none; }

    .filter-section { display: none; }

    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .project-modal-overlay { padding: 16px; }
    .modal-dark-section { padding: 28px 20px 24px; }
    .modal-layout { flex-direction: column; }
    .modal-right { flex: none; align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .modal-oscar-panel { width: auto; flex: 1; min-width: 200px; }
    .oscar-badge-grid { grid-template-columns: repeat(3, 1fr); }
    .modal-expand-header { padding: 14px 20px; }
    .modal-expand-body { padding: 0 20px 20px; }
    .modal-expand-body.collapsed { padding: 0 20px; }
    .modal-students-grid { grid-template-columns: 1fr; }
    .modal-competencies-layout { grid-template-columns: 1fr; }

    .showcase-main { padding: 24px 0 48px; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .projects-grid { grid-template-columns: 1fr; }
    .hero-stat { flex: 1 1 calc(50% - 4px); }
    .nav-links { gap: 4px; }
    .nav-link:not(.nav-link-btn) { display: none; }
    .sc-nav-full { display: none; }
    .sc-user-menu { display: flex; }
    .sc-user-avatar { width: 30px; height: 30px; font-size: 12px; }

    .modal-right { flex-direction: column; }
    .modal-oscar-panel { width: 100%; }
    .oscar-badge-grid { grid-template-columns: repeat(2, 1fr); }
    .oscar-badge-ring { width: 56px; height: 56px; }
    .oscar-badge-ring img { width: 42px; height: 42px; }
    .oscar-badge-fallback { width: 40px; height: 40px; font-size: 16px; }
}
