/* Custom CSS - Taras Shevchenko Staff Page cu Imagine de Fundal */

:root {
    --bg-color: #e616ca;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --amber-main: #f59e0b;
    --amber-light: #fde68a;
    /* Carduri semitransparente cu efect de sticlă */
    --card-bg: rgba(18, 18, 26, 0.75);
    --card-border: rgba(255, 255, 255, 0.12);
}

body {
    background-color: #08080c;
    background-image:
        linear-gradient(rgba(8, 8, 12, 0.75), rgba(8, 8, 12, 0.85)),
        url('../../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

html[data-theme="light"] body {
    background-image:
        radial-gradient(circle at top left, rgba(255, 90, 191, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(120, 120, 255, 0.17), transparent 30%),
        linear-gradient(180deg, #fffafc 0%, #f1edf9 100%);
}

html[data-theme="light"] .hero-tag,
html[data-theme="light"] .badge-count,
html[data-theme="light"] .filter-btn,
html[data-theme="light"] .staff-card,
html[data-theme="light"] .filter-card,
html[data-theme="light"] .empty-state{
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(60, 41, 70, 0.12);
    color: #1f1728;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .staff-name,
html[data-theme="light"] .staff-title,
html[data-theme="light"] .staff-bio,
html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .role-badge,
html[data-theme="light"] .search-input,
html[data-theme="light"] .btn-back,
html[data-theme="light"] .instagram-btn,
html[data-theme="light"] .empty-title,
html[data-theme="light"] .empty-subtitle {
    color: #1f1728;
}

html[data-theme="light"] .search-input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(60, 41, 70, 0.12);
}

html[data-theme="light"] .staff-card,
html[data-theme="light"] .filter-card,
html[data-theme="light"] .empty-state {
    box-shadow: 0 16px 40px rgba(60, 41, 70, 0.08);
}

.site-navbar {
    position: relative;
    z-index: 50;
    width: calc(100% - 18px);
    min-height: 84px;
    margin: 10px auto 0;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto auto auto;
    align-items: center;
    gap: 18px;
    color: #fff;
    background: rgba(12, 8, 17, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-family: Arial, sans-serif;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.site-navbar .site-brand { color: #fff; text-decoration: none; width: max-content; }
.site-navbar .site-brand strong { display: block; margin: 0; font-size: clamp(18px, 2vw, 42px); line-height: 0.9; letter-spacing: 5px; font-weight: 900; }
.site-navbar .site-brand span { display: block; margin-top: 7px; text-align: center; color: #ff2ebd; letter-spacing: 7px; font-size: 10px; font-weight: 900; }

.site-navbar .site-nav {
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 42px);
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.site-navbar .site-nav a {
    position: relative;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s ease;
}
.site-navbar .site-nav a:hover,
.site-navbar .site-nav a.active { color: #ff2ebd; }
.site-navbar .site-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: #ff2ebd;
    border-radius: 3px;
    box-shadow: 0 0 16px #ff2ebd;
}

.site-navbar .site-socials {
    justify-self: end;
    display: none;
    gap: 10px;
}

.site-navbar .site-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: transform .25s, color .25s, border-color .25s, box-shadow .25s;
}
.site-navbar .site-socials a:hover { color: #ff2ebd; border-color: #ff2ebd; box-shadow: 0 0 18px rgba(255,46,189,.65); transform: translateY(-3px); }

.site-preferences {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-preferences button {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.site-preferences .language-toggle {
    width: 52px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
}

.site-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

@media (max-width: 560px) {
    .site-navbar { width: calc(100% - 18px); min-height: 0; padding: 14px 16px; grid-template-columns: 1fr auto auto; gap: 10px; text-align: left; }
    .site-navbar .site-brand { justify-self: start; }
    .site-navbar .site-brand strong { font-size: 18px; letter-spacing: 3px; }
    .site-navbar .site-brand span { margin-top: 5px; font-size: 9px; letter-spacing: 5px; }
    .site-navbar .site-socials { display: none; }
    .site-menu-toggle { display:block; justify-self:end; color:inherit; }
    .site-preferences { justify-self: end; }
    .site-navbar .site-nav { display:none; grid-column:1/-1; grid-row:2; gap:0; overflow:visible; flex-direction:column; align-items:stretch; padding:8px; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(9,5,18,.96); box-shadow:0 18px 40px rgba(0,0,0,.35); }
    .site-navbar.menu-open .site-nav{ display:flex; }
    .site-navbar .site-nav a { padding:13px 14px; font-size:14px; border-radius:10px; }
    .site-navbar .site-nav a:hover, .site-navbar .site-nav a.active { background:rgba(255,46,189,.12); }
    .site-navbar .site-nav a.active::after{ display:none; }
}
/* Structura principală */
.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem auto;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-main);
    background-color: rgba(245, 158, 11, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.75rem 0 0 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #d1d5db;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Container Filtre și Căutare */
.filter-card {
    background-color: rgba(15, 15, 23, 0.65);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .filter-wrapper {
        flex-direction: row;
    }
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .filter-tabs {
        width: auto;
    }
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.filter-btn.active {
    background-color: var(--amber-main);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.badge-count {
    margin-left: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 9999px;
}

.filter-btn.active .badge-count {
    background-color: rgba(0, 0, 0, 0.25);
}

.icon-red { color: #f87171; }
.icon-purple { color: #c084fc; }
.icon-emerald { color: #34d399; }
.icon-cyan { color: #67e8f9; }

/* Căutare */
.search-box {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .search-box {
        width: 18rem;
    }
}

.search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #fff;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: rgba(245, 158, 11, 0.6);
}

/* Carduri Membri Staff */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.staff-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px 0 rgba(245, 158, 11, 0.15);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    background-color: #df17ce;
    
}

.staff-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}

.staff-card:hover .staff-photo {
    transform: scale(1.05);
}

.badge-icon-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    height: 2.25rem;
    padding: 0 0.6rem; /* Se extinde automat pe orizontală dacă sunt 2 pictograme */
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem; /* Spațiul dintre cele două pictograme */
    color: var(--amber-main);
    font-size: 0.875rem;
}

.image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 26, 0.95), transparent);
}

.card-info {
    padding: 1.25rem;
}

.staff-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.staff-title {
    font-size: 0.75rem;
    color: rgba(245, 158, 11, 0.9);
    font-weight: 600;
    margin: 0.25rem 0 0.75rem 0;
}

.staff-bio {
    font-size: 0.75rem;
    color: #d1d5db;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-bottom {
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.badges-wrapper {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 11px;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

.badge-organizator {
    background-color: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-prezentator {
    background-color: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-mentor {
    background-color: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-web-developing {
    background-color: rgba(34, 211, 238, 0.14);
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.badge-default {
    background-color: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

/* Stare Căutare Goală & Modal */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background-color: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
}

.empty-icon { font-size: 3rem; color: #6b7280; margin-bottom: 0.75rem; }
.empty-title { font-size: 1rem; font-weight: 600; color: #d1d5db; margin: 0; }
.empty-subtitle { font-size: 0.75rem; color: #9ca3af; margin-top: 0.25rem; }

.hidden { display: none !important; }
/* Stil Buton Înapoi */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.btn-back:hover {
    background-color: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    transform: translateX(-3px);
}
.card-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1); /* Linie subtilă albă/transparentă */
    margin: 0.5rem 0;
    width: 100%;
}
/* Buton Instagram Sub Roluri */
.card-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    
    /* Stil Glassmorphism cu tenta de mov */
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc !important;
    
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    
    /* Previne bug-urile vizuale la colturi */
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 1;
    
    /* Tranzitii line */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.instagram-btn:hover {
    /* Gradient violet/neon fin la hover */
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    border-color: rgba(217, 70, 239, 0.6);
    color: #ffffff !important;
    
    /* Ridicare si umbra de tip glow */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.instagram-btn:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.instagram-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

/* Polished team page styling */
:root {
    --bg-color: #0b0713;
    --text-main: #f8f4fc;
    --text-muted: #b7adbf;
    --amber-main: #e879d7;
    --amber-light: #f5c7f1;
    --card-bg: rgba(20, 15, 31, 0.86);
    --card-border: rgba(255, 255, 255, 0.12);
}

body {
    background-color: #0b0713;
    background-image:
        linear-gradient(rgba(8, 6, 17, 0.78), rgba(8, 6, 17, 0.94)),
        url('../../images/background.jpg');
}

html[data-theme="light"] body {
    background-image:
        radial-gradient(ellipse at 8% 8%, rgba(255, 133, 219, 0.2), transparent 30%),
        radial-gradient(ellipse at 92% 14%, rgba(126, 163, 255, 0.18), transparent 32%),
        linear-gradient(180deg, #fffafd, #f2edf6);
}

.main-container {
    max-width: 1160px;
    padding: 32px 28px 72px;
}

.btn-back {
    margin: 0 0 34px;
    padding: 10px 15px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #d5cbdc;
}

.btn-back:hover {
    background: rgba(232, 121, 215, 0.12);
    border-color: rgba(232, 121, 215, 0.45);
    color: #f5c7f1;
}

.hero-section {
    max-width: 720px;
    margin-bottom: 42px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid rgba(232, 121, 215, 0.28);
    border-radius: 999px;
    background: rgba(232, 121, 215, 0.1);
    color: #f1a6e5;
    letter-spacing: 0.14em;
}

.hero-title {
    margin-top: 16px;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    background: linear-gradient(100deg, #fff 25%, #f4d7f3 65%, #c8b4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.filter-card {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(19, 14, 29, 0.8);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.filter-wrapper {
    align-items: stretch;
    gap: 14px;
}

.filter-tabs {
    gap: 8px;
}

.filter-btn {
    min-height: 42px;
    padding: 9px 13px;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #ded6e6;
    font-size: 0.78rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.filter-btn.active {
    border-color: transparent;
    background: linear-gradient(120deg, #e879d7, #a77bff);
    color: #190d20;
    box-shadow: 0 7px 20px rgba(198, 91, 207, 0.25);
}

.badge-count {
    padding: 3px 7px;
    background: rgba(0, 0, 0, 0.22);
    line-height: 1.2;
}

.search-box {
    flex: 0 0 220px;
    align-self: center;
}

.search-icon {
    color: #a99bb4;
}

.search-input {
    min-height: 42px;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(5, 3, 10, 0.48);
    color: #fff;
    font-size: 0.82rem;
}

.search-input:focus {
    border-color: rgba(232, 121, 215, 0.7);
    box-shadow: 0 0 0 3px rgba(232, 121, 215, 0.12);
}

.staff-grid {
    gap: 20px;
}

.staff-card {
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 121, 215, 0.42);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), 0 0 26px rgba(232, 121, 215, 0.09);
}

.image-wrapper {
    background: #20152b;
}

.staff-photo {
    transition: transform 0.5s ease;
}

.badge-icon-overlay {
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(12, 8, 19, 0.78);
    color: #f5c7f1;
}

.card-info {
    padding: 18px 18px 14px;
}

.staff-name {
    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.staff-title {
    margin: 5px 0 10px;
    color: #efa4df;
    font-size: 0.76rem;
    line-height: 1.5;
}

.staff-bio {
    color: #bdb4c7;
    font-size: 0.78rem;
    line-height: 1.65;
}

.card-bottom {
    gap: 11px;
    margin-top: 0;
    padding: 0 18px 18px;
}

.badges-wrapper {
    padding-top: 13px;
    border-color: rgba(255, 255, 255, 0.1);
    gap: 7px;
}

.role-badge {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.67rem;
}

.card-divider {
    display: none;
}

.instagram-btn {
    min-height: 40px;
    border-color: rgba(232, 121, 215, 0.28);
    border-radius: 11px;
    background: rgba(232, 121, 215, 0.09);
    color: #f0a4df !important;
}

.instagram-btn:hover {
    background: linear-gradient(120deg, #d65ec4, #8b65d9);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(173, 72, 174, 0.28);
}

.empty-state {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(20, 15, 31, 0.78);
}

.empty-icon {
    color: #c084fc;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .staff-name,
html[data-theme="light"] .staff-title,
html[data-theme="light"] .staff-bio,
html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .role-badge,
html[data-theme="light"] .search-input,
html[data-theme="light"] .btn-back,
html[data-theme="light"] .instagram-btn,
html[data-theme="light"] .empty-title,
html[data-theme="light"] .empty-subtitle {
    color: #24182c;
}

html[data-theme="light"] .hero-title {
    background: linear-gradient(100deg, #24182c 20%, #9a2b8f 70%, #6747a8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-tag {
    color: #a32491;
    background: rgba(255, 46, 189, 0.09);
    border-color: rgba(217, 15, 155, 0.2);
}

html[data-theme="light"] .filter-card,
html[data-theme="light"] .staff-card,
html[data-theme="light"] .empty-state {
    background-color: rgba(255, 255, 255, 0.87);
    border-color: rgba(73, 36, 85, 0.13);
    box-shadow: 0 16px 40px rgba(67, 37, 78, 0.1);
}

html[data-theme="light"] .filter-btn {
    background: rgba(40, 15, 50, 0.04);
    color: #493751;
}

html[data-theme="light"] .filter-btn.active {
    background: linear-gradient(120deg, #f06bd0, #b99aff);
    color: #27122e;
}

html[data-theme="light"] .search-input {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(73, 36, 85, 0.15);
}

html[data-theme="light"] .staff-title {
    color: #a32491;
}

html[data-theme="light"] .staff-bio {
    color: #655a70;
}

html[data-theme="light"] .instagram-btn {
    background: rgba(255, 46, 189, 0.08);
    border-color: rgba(217, 15, 155, 0.2);
    color: #9e238c !important;
}

html[data-theme="light"] .instagram-btn:hover {
    color: #fff !important;
}

@media (max-width: 767px) {
    .filter-wrapper {
        align-items: stretch;
    }

    .search-box {
        flex-basis: auto;
        align-self: stretch;
    }
}

@media (max-width: 560px) {
    .main-container {
        padding: 24px 16px 52px;
    }

    .hero-section {
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .filter-card {
        padding: 12px;
        border-radius: 16px;
    }

    .filter-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-btn {
        justify-content: center;
        padding-inline: 8px;
        font-size: 0.7rem;
    }

    .filter-btn:first-child {
        grid-column: 1 / -1;
    }

    .staff-grid {
        gap: 16px;
    }
}

.scroll-hint {
    position: fixed;
    z-index: 50;
    right: 50%;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(232, 121, 215, 0.42);
    border-radius: 999px;
    background: rgba(19, 12, 27, 0.92);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    color: #f5c7f1;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateX(50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.scroll-hint:hover {
    border-color: rgba(232, 121, 215, 0.75);
    background: rgba(35, 19, 42, 0.96);
}

.scroll-hint:focus-visible {
    outline: 2px solid #f5c7f1;
    outline-offset: 4px;
}

.scroll-hint i {
    animation: scroll-hint-bounce 1.2s ease-in-out infinite;
}

.scroll-hint[hidden] {
    display: none;
}

#staff-grid {
    scroll-margin-top: 24px;
}

@keyframes scroll-hint-bounce {
    50% {
        transform: translateY(4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
