/* Staff Page Styles - Premium Silicon Valley Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --staff-bg-dark: #0f0f13;
    --staff-bg-card: rgba(255, 255, 255, 0.03);
    --staff-bg-card-hover: rgba(255, 255, 255, 0.07);
    --staff-border-color: rgba(255, 255, 255, 0.05);
    --staff-primary-glow: rgba(124, 58, 237, 0.5);
    --staff-secondary-glow: rgba(236, 72, 153, 0.5);

    /* Role Colors */
    --role-owner: #ef4444;
    --role-admin: #f97316;
    --role-dev: #3b82f6;
    --role-mod: #22c55e;
    --role-translator: #a855f7;
    --role-default: #9ca3af;

    --staff-text-main: #ffffff;
    --staff-text-muted: #9ca3af;
}

.staff-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    font-family: 'Outfit', sans-serif;
    color: var(--staff-text-main);
}

/* Header Section */
.staff-page-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.staff-page-header .page-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.staff-page-header .page-subtitle {
    font-size: 1.25rem;
    color: var(--staff-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Role Sections */
.role-section {
    margin-bottom: 100px;
    position: relative;
}

.role-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 5px solid var(--role-default);
    transition: all 0.3s ease;
}

.role-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    margin-left: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
}

.role-pill {
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    margin-left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--staff-text-muted);
}

/* Role Specific Branding */
.role-owner-header {
    border-color: var(--role-owner);
}

.role-owner-header .role-title {
    color: var(--role-owner);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.role-admin-header {
    border-color: var(--role-admin);
}

.role-admin-header .role-title {
    color: var(--role-admin);
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.role-dev-header {
    border-color: var(--role-dev);
}

.role-dev-header .role-title {
    color: var(--role-dev);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.role-mod-header {
    border-color: var(--role-mod);
}

.role-mod-header .role-title {
    color: var(--role-mod);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.role-translator-header {
    border-color: var(--role-translator);
}

.role-translator-header .role-title {
    color: var(--role-translator);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Responsive Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

@media (max-width: 1400px) {
    .staff-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Staff Card */
.staff-card {
    --staff-accent-color: var(--staff-secondary-glow);
    --staff-card-bg: transparent;
    width: 100%;
    background: var(--staff-card-bg, var(--staff-bg-card));
    border: 1px solid var(--staff-border-color);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Custom card background support */
.staff-card[style*="--staff-card-bg"] {
    background: linear-gradient(180deg, var(--staff-card-bg) 0%, color-mix(in srgb, var(--staff-card-bg) 70%, black) 100%);
    border-color: color-mix(in srgb, var(--staff-card-bg) 50%, white 20%);
}

.staff-card[style*="--staff-card-bg"]:hover {
    border-color: color-mix(in srgb, var(--staff-card-bg) 30%, white 40%);
    box-shadow: 0 30px 60px -12px color-mix(in srgb, var(--staff-card-bg) 50%, black), 0 0 30px color-mix(in srgb, var(--staff-card-bg) 30%, transparent);
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0.5;
    z-index: 0;
}

.staff-card:hover {
    transform: translateY(-12px) scale(1.03);
    background: var(--staff-bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 58, 237, 0.1);
    z-index: 5;
}

/* ==========================================
   ANIMATION HUB
   ========================================== */
.staff-card-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.staff-card-effect .particle {
    position: absolute;
    display: block;
    pointer-events: none;
}

/* Fire 🔥 */
.effect-fire {
    background: radial-gradient(circle at bottom, var(--staff-accent-color) 0%, transparent 85%);
    opacity: 0.3;
}

.effect-fire .particle {
    bottom: -10px;
    width: 5px;
    height: 5px;
    background: var(--staff-accent-color);
    border-radius: 50%;
    animation: rise linear infinite;
    box-shadow: 0 0 10px var(--staff-accent-color), 0 0 20px var(--staff-accent-color);
}

.effect-fire .particle:nth-child(1) {
    left: 10%;
    animation-duration: 4s;
}

.effect-fire .particle:nth-child(2) {
    left: 25%;
    animation-duration: 3.2s;
    animation-delay: 0.5s;
}

.effect-fire .particle:nth-child(3) {
    left: 45%;
    animation-duration: 5s;
    animation-delay: 1.2s;
}

.effect-fire .particle:nth-child(4) {
    left: 65%;
    animation-duration: 3.8s;
    animation-delay: 0.3s;
}

.effect-fire .particle:nth-child(5) {
    left: 85%;
    animation-duration: 4.5s;
    animation-delay: 0.7s;
}

.effect-fire .particle:nth-child(n+6) {
    left: 55%;
    animation-duration: 4.2s;
    animation-delay: 1.5s;
}

/* Glitch ⚡ */
.effect-glitch .glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, var(--staff-accent-color) 0px, transparent 1px, transparent 2px);
    opacity: 0.08;
    animation: glitch-vignette 4s infinite;
}

.has-effect-glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--staff-accent-color);
    opacity: 0.4;
    animation: glitch-scan 2.5s linear infinite;
    z-index: 5;
}

/* Storm ⚡ */
.effect-storm .particle {
    color: #f59e0b;
    top: -50px;
    animation: rain linear infinite;
    font-size: 1.2rem;
}

.effect-storm .particle:nth-child(1) {
    left: 15%;
    animation-duration: 0.7s;
}

.effect-storm .particle:nth-child(2) {
    left: 40%;
    animation-duration: 1s;
    animation-delay: 0.2s;
}

.effect-storm .particle:nth-child(3) {
    left: 70%;
    animation-duration: 0.8s;
    animation-delay: 0.4s;
}

.effect-storm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--staff-accent-color);
    opacity: 0;
    animation: lightning-flash 6s infinite;
}

/* Stars ✨ */
.effect-stars .particle {
    color: var(--staff-accent-color);
    font-size: 1rem;
    opacity: 0;
    animation: twinkle ease-in-out infinite;
}

.effect-stars .particle:nth-child(1) {
    top: 15%;
    left: 25%;
    animation-duration: 3s;
}

.effect-stars .particle:nth-child(2) {
    top: 45%;
    left: 75%;
    animation-duration: 2.5s;
    animation-delay: 0.5s;
}

.effect-stars .particle:nth-child(3) {
    top: 75%;
    left: 20%;
    animation-duration: 4s;
    animation-delay: 1s;
}

/* Sakura 🌸 */
.effect-sakura .particle {
    color: #f472b6;
    top: -20px;
    animation: falling linear infinite;
    opacity: 0.6;
    font-size: 0.9rem;
}

.effect-sakura .particle:nth-child(1) {
    left: 10%;
    animation-duration: 6s;
}

.effect-sakura .particle:nth-child(2) {
    left: 40%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.effect-sakura .particle:nth-child(3) {
    left: 80%;
    animation-duration: 7s;
    animation-delay: 2s;
}

/* Snow ❄️ */
.effect-snow .particle {
    color: #fff;
    top: -20px;
    animation: snow-drift linear infinite;
    opacity: 0.4;
}

.effect-snow .particle:nth-child(1) {
    left: 20%;
    animation-duration: 7s;
}

.effect-snow .particle:nth-child(2) {
    left: 50%;
    animation-duration: 10s;
    animation-delay: 1.5s;
}

/* Matrix 📟 */
.effect-matrix {
    background: rgba(0, 0, 0, 0.4);
}

.effect-matrix .particle {
    color: #00ff41;
    font-family: monospace;
    font-size: 1rem;
    font-weight: bold;
    top: -30px;
    animation: matrix-fall linear infinite;
    text-shadow: 0 0 5px #00ff41;
}

.effect-matrix .particle:nth-child(1) {
    left: 15%;
    animation-duration: 2.2s;
}

.effect-matrix .particle:nth-child(2) {
    left: 45%;
    animation-duration: 3s;
    animation-delay: 0.4s;
}

/* Neon Pulse 🟣 */
.effect-neon_pulse .pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--staff-accent-color);
    border-radius: 24px;
    animation: neon-glow 2.5s ease-in-out infinite;
}

/* Golden 👑 */
.effect-golden .gold-shimmer {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 45%, rgba(251, 191, 36, 0.25) 50%, transparent 55%);
    animation: shimmer 6s infinite linear;
}

.has-effect-golden {
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1) !important;
}

/* Keyframes */
@keyframes rain {
    to {
        transform: translateY(450px) rotate(10deg);
    }
}

@keyframes lightning-flash {

    0%,
    94%,
    100% {
        opacity: 0;
    }

    95% {
        opacity: 0.15;
    }

    97% {
        opacity: 0.08;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.6);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes falling {
    to {
        transform: translateY(450px) rotate(360deg) translateX(40px);
    }
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    20% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(-380px) translateX(25px);
    }
}

@keyframes snow-drift {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(450px) translateX(30px) rotate(180deg);
    }
}

@keyframes matrix-fall {
    to {
        transform: translateY(450px);
        color: #fff;
    }
}

@keyframes neon-glow {

    0%,
    100% {
        box-shadow: inset 0 0 20px var(--staff-accent-color), 0 0 20px var(--staff-accent-color);
        border-color: var(--staff-accent-color);
    }

    50% {
        box-shadow: inset 0 0 35px var(--staff-accent-color), 0 0 35px var(--staff-accent-color);
        border-color: #fff;
    }
}

@keyframes glitch-scan {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

@keyframes glitch-vignette {

    0%,
    100% {
        opacity: 0.08;
    }

    5% {
        opacity: 0.25;
    }

    10% {
        opacity: 0.08;
    }
}

@keyframes shimmer {
    0% {
        transform: translate(-30%, -30%) rotate(0deg);
    }

    100% {
        transform: translate(10%, 10%) rotate(0deg);
    }
}

/* ==========================================
   NEW EFFECTS - Ocean, Moonlight, Aurora, etc.
   ========================================== */

/* Ocean 🌊 - Bubbles rising */
.effect-ocean {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
}

.effect-ocean .particle {
    font-size: 0.8rem;
    bottom: -20px;
    animation: bubble-rise 4s ease-in infinite;
    opacity: 0.6;
}

.effect-ocean .particle:nth-child(1) {
    left: 10%;
    animation-duration: 3s;
}

.effect-ocean .particle:nth-child(2) {
    left: 25%;
    animation-duration: 4.5s;
    animation-delay: 0.5s;
}

.effect-ocean .particle:nth-child(3) {
    left: 40%;
    animation-duration: 3.5s;
    animation-delay: 1s;
}

.effect-ocean .particle:nth-child(4) {
    left: 55%;
    animation-duration: 5s;
    animation-delay: 0.3s;
}

.effect-ocean .particle:nth-child(5) {
    left: 70%;
    animation-duration: 4s;
    animation-delay: 1.5s;
}

.effect-ocean .particle:nth-child(6) {
    left: 85%;
    animation-duration: 3.8s;
    animation-delay: 0.8s;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-400px) scale(1.2);
        opacity: 0;
    }
}

/* Moonlight 🌙 */
.effect-moonlight {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.effect-moonlight .moon-glow {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: moon-pulse 4s ease-in-out infinite;
}

.effect-moonlight .particle {
    font-size: 0.6rem;
    animation: twinkle 3s ease-in-out infinite;
    opacity: 0;
}

.effect-moonlight .particle:nth-child(2) {
    top: 20%;
    left: 15%;
    animation-delay: 0.5s;
}

.effect-moonlight .particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.effect-moonlight .particle:nth-child(4) {
    top: 60%;
    left: 30%;
    animation-delay: 1.5s;
}

.effect-moonlight .particle:nth-child(5) {
    top: 75%;
    left: 70%;
    animation-delay: 2s;
}

@keyframes moon-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Aurora Borealis 💜 */
.effect-aurora .aurora-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(34, 197, 94, 0.15) 0%,
            rgba(59, 130, 246, 0.15) 25%,
            rgba(168, 85, 247, 0.15) 50%,
            rgba(236, 72, 153, 0.1) 75%,
            transparent 100%);
    animation: aurora-shift 8s ease-in-out infinite;
}

@keyframes aurora-shift {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px);
    }
}

/* Music Bars 🎵 */
.effect-music {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding-bottom: 10px;
}

.effect-music .bar {
    width: 4px;
    background: var(--staff-accent-color);
    border-radius: 2px;
    animation: music-bounce 0.8s ease-in-out infinite;
}

.effect-music .bar:nth-child(1) {
    height: 20px;
    animation-delay: 0s;
}

.effect-music .bar:nth-child(2) {
    height: 35px;
    animation-delay: 0.1s;
}

.effect-music .bar:nth-child(3) {
    height: 25px;
    animation-delay: 0.2s;
}

.effect-music .bar:nth-child(4) {
    height: 40px;
    animation-delay: 0.3s;
}

.effect-music .bar:nth-child(5) {
    height: 15px;
    animation-delay: 0.4s;
}

@keyframes music-bounce {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1.5);
    }
}

/* Crystal Prism 🔮 */
.effect-crystal .particle {
    font-size: 1rem;
    animation: crystal-float 5s ease-in-out infinite;
    opacity: 0.7;
}

.effect-crystal .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.effect-crystal .particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 0.8s;
}

.effect-crystal .particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.6s;
}

.effect-crystal .particle:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 2.4s;
}

@keyframes crystal-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-10px) rotate(15deg);
        opacity: 1;
    }
}

/* Comet Trail 💫 */
.effect-comet .comet {
    position: absolute;
    font-size: 1.5rem;
    animation: comet-fly 6s linear infinite;
    opacity: 0;
}

@keyframes comet-fly {
    0% {
        top: -20px;
        left: -20px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 110%;
        left: 110%;
        opacity: 0;
    }
}

/* Rainbow Border 🌈 */
.effect-rainbow .rainbow-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #8b5cf6, #ec4899);
    background-size: 400% 100%;
    animation: rainbow-move 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes rainbow-move {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

/* Dark Void ⚫ */
.effect-void {
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.effect-void .particle {
    width: 3px;
    height: 3px;
    background: rgba(100, 100, 120, 0.6);
    border-radius: 50%;
    animation: void-drift 8s linear infinite;
}

.effect-void .particle:nth-child(odd) {
    animation-direction: reverse;
}

.effect-void .particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-duration: 6s;
}

.effect-void .particle:nth-child(2) {
    top: 50%;
    left: 60%;
    animation-duration: 9s;
}

.effect-void .particle:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-duration: 7s;
}

.effect-void .particle:nth-child(4) {
    top: 30%;
    left: 80%;
    animation-duration: 10s;
}

@keyframes void-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(30px, 30px) scale(1.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* Autumn Leaves 🍃 */
.effect-autumn .particle {
    font-size: 1rem;
    top: -20px;
    animation: leaf-fall 7s ease-in-out infinite;
}

.effect-autumn .particle:nth-child(1) {
    left: 15%;
    animation-duration: 6s;
}

.effect-autumn .particle:nth-child(2) {
    left: 35%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.effect-autumn .particle:nth-child(3) {
    left: 55%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.effect-autumn .particle:nth-child(4) {
    left: 75%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.effect-autumn .particle:nth-child(5) {
    left: 90%;
    animation-duration: 6.5s;
    animation-delay: 1.5s;
}

@keyframes leaf-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(450px) rotate(720deg) translateX(50px);
        opacity: 0;
    }
}

/* Diamond Sparkle 💎 */
.effect-diamond .particle {
    font-size: 0.9rem;
    animation: diamond-sparkle 2s ease-in-out infinite;
    opacity: 0;
}

.effect-diamond .particle:nth-child(1) {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.effect-diamond .particle:nth-child(2) {
    top: 5%;
    right: 5%;
    animation-delay: 0.3s;
}

.effect-diamond .particle:nth-child(3) {
    bottom: 5%;
    left: 5%;
    animation-delay: 0.6s;
}

.effect-diamond .particle:nth-child(4) {
    bottom: 5%;
    right: 5%;
    animation-delay: 0.9s;
}

.effect-diamond .particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 1.2s;
}

.effect-diamond .particle:nth-child(6) {
    top: 50%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes diamond-sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Retro Pixels 🎮 */
.effect-retro .pixel {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--staff-accent-color);
    animation: pixel-blink 1s steps(1) infinite;
}

.effect-retro .pixel:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0.1s;
}

.effect-retro .pixel:nth-child(2) {
    top: 20%;
    left: 80%;
    animation-delay: 0.2s;
}

.effect-retro .pixel:nth-child(3) {
    top: 40%;
    left: 30%;
    animation-delay: 0.3s;
}

.effect-retro .pixel:nth-child(4) {
    top: 60%;
    left: 70%;
    animation-delay: 0.4s;
}

.effect-retro .pixel:nth-child(5) {
    top: 80%;
    left: 50%;
    animation-delay: 0.5s;
}

.effect-retro .pixel:nth-child(6) {
    top: 30%;
    left: 60%;
    animation-delay: 0.6s;
    background: #22c55e;
}

.effect-retro .pixel:nth-child(7) {
    top: 70%;
    left: 20%;
    animation-delay: 0.7s;
    background: #3b82f6;
}

.effect-retro .pixel:nth-child(8) {
    top: 50%;
    left: 90%;
    animation-delay: 0.8s;
    background: #f97316;
}

@keyframes pixel-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.2;
    }
}

/* Spider Web 🕸️ */
.effect-spider .web {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 2.5rem;
    opacity: 0.4;
    transform: rotate(45deg);
}

.effect-spider .spider {
    position: absolute;
    top: 30px;
    right: 25px;
    font-size: 1rem;
    animation: spider-dangle 3s ease-in-out infinite;
}

@keyframes spider-dangle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(15px) rotate(5deg);
    }

    75% {
        transform: translateY(15px) rotate(-5deg);
    }
}

/* Avatar Container */
.avatar-container {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.avatar-container>img,
.avatar-container>.avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: block;
    transition: all 0.3s ease;
}

.avatar-container .bup-avatar-frame-container {
    transform: scale(0.62);
    transform-origin: center center;
    margin: 0 !important;
    opacity: 1 !important;
    display: block !important;
}

.status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #444;
    border: 3px solid #1a1a20;
    border-radius: 50%;
    z-index: 12;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e;
}

.status-dot.offline {
    background: #ef4444;
}

/* Staff Typography */
.staff-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    z-index: 10;
    letter-spacing: -0.5px;
}

.staff-name a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.staff-name a:hover {
    color: var(--staff-accent-color);
}

.staff-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.role-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.role-badge.owner {
    background: rgba(239, 68, 68, 0.15);
    color: var(--role-owner);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.role-badge.admin {
    background: rgba(249, 115, 22, 0.15);
    color: var(--role-admin);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

.role-badge.dev {
    background: rgba(59, 130, 246, 0.15);
    color: var(--role-dev);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.role-badge.mod {
    background: rgba(34, 197, 94, 0.15);
    color: var(--role-mod);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}

.role-badge.traducator {
    background: rgba(168, 85, 247, 0.15);
    color: var(--role-translator);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

.quote-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 14px;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 25px;
    font-style: italic;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    line-height: 1.5;
    position: relative;
    z-index: 10;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    width: 100%;
}

.stat-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--staff-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

/* Edit Mode */
.staff-edit-btn {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s ease;
    width: 100%;
    backdrop-filter: blur(5px);
    z-index: 20;
    position: relative;
}

.staff-edit-btn:hover {
    background: var(--staff-accent-color);
    border-color: transparent;
    box-shadow: 0 0 15px var(--staff-accent-color);
    transform: scale(1.02);
}

/* Modal Styling */
.staff-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.staff-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.staff-modal-content {
    background: #121216;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 28px;
    width: 95%;
    max-width: 1000px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal-btn:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.modal-title {
    text-align: center;
    margin-bottom: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.modal-columns {
    display: flex;
    gap: 50px;
}

.modal-form-col {
    flex: 1;
}

.modal-preview-col {
    width: 340px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.preview-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.preview-title::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-70%);
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(-70%) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translateY(-70%) scale(1.1);
    }
}

.modal-preview-col .staff-card.preview-card {
    margin-top: 10px;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-preview-col .staff-card.preview-card:hover {
    transform: scale(0.98);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--staff-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--staff-secondary-glow);
    outline: none;
}

.save-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    filter: brightness(1.1);
}

@media (max-width: 900px) {
    .modal-columns {
        flex-direction: column;
    }

    .modal-preview-col {
        width: 100%;
        order: -1;
    }
}

/* ==========================================
   FAVORITE ANIME CARD
   ========================================== */
.fav-anime-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 12px;
    margin-bottom: 8px;
}

.fav-anime-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--staff-accent-color);
    transform: scale(1.02);
}

.fav-anime-card img {
    width: 40px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.fav-anime-card .fav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3D Tilt Compatibility */
.staff-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.staff-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 30px var(--staff-accent-color);
}

/* Checkbox label styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--staff-text-main);
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--staff-accent-color);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

/* Anime Search Autocomplete */
.anime-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.anime-search-dropdown.active {
    display: block;
}

.anime-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.anime-search-item:last-child {
    border-bottom: none;
}

.anime-search-item:hover {
    background: rgba(99, 102, 241, 0.2);
}

.anime-search-item img {
    width: 35px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.anime-search-item .no-cover {
    width: 35px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 1.2rem;
}

.anime-search-item span {
    font-size: 0.9rem;
    color: #fff;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anime-search-item.no-results {
    justify-content: center;
    color: var(--staff-text-muted);
    cursor: default;
}

/* Compact Contribution Stats (Two Columns) */
.contribution-stats-vertical {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 12px 0;
    position: relative;
}

.contribution-stats-vertical::before,
.contribution-stats-vertical::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.contribution-stats-vertical::before {
    top: 0;
}

.contribution-stats-vertical::after {
    bottom: 0;
}

.contrib-v-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
}

.contrib-v-item .stat-label {
    font-size: 0.65rem;
    color: var(--staff-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    opacity: 0.7;
    white-space: nowrap;
}

.contrib-v-item .stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--staff-accent-color, #a78bfa) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contrib-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 5px;
}