@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    min-height: 100vh;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    z-index: 0;
    pointer-events: none;
}

.stars {
    contain: layout paint;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.neon-lines {
    contain: layout paint;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.neon-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
    height: 1px;
    animation: scanline 8s linear infinite;
}

.neon-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.neon-line:nth-child(2) { top: 40%; animation-delay: 2s; }
.neon-line:nth-child(3) { top: 60%; animation-delay: 4s; }
.neon-line:nth-child(4) { top: 80%; animation-delay: 6s; }

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

.floating-particles {
    contain: layout paint;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #8A2BE2, #5865F2);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 25s; width: 4px; height: 4px; }
.particle:nth-child(2) { left: 15%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(3) { left: 25%; animation-delay: 4s; animation-duration: 28s; width: 8px; height: 8px; }
.particle:nth-child(4) { left: 35%; animation-delay: 1s; animation-duration: 22s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 45%; animation-delay: 3s; animation-duration: 26s; }
.particle:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 24s; width: 7px; height: 7px; }
.particle:nth-child(7) { left: 65%; animation-delay: 2.5s; animation-duration: 30s; }
.particle:nth-child(8) { left: 75%; animation-delay: 1.5s; animation-duration: 21s; width: 4px; height: 4px; }
.particle:nth-child(9) { left: 85%; animation-delay: 4.5s; animation-duration: 27s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3.5s; animation-duration: 23s; width: 6px; height: 6px; }
.particle:nth-child(11) { left: 10%; animation-delay: 6s; animation-duration: 29s; width: 3px; height: 3px; }
.particle:nth-child(12) { left: 30%; animation-delay: 7s; animation-duration: 31s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) rotate(180deg) scale(1);
    }
    95% {
        opacity: 1;
        transform: translateY(5vh) rotate(540deg) scale(1);
    }
    100% {
        transform: translateY(0) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: rgba(15, 15, 25, 0.98);
    border-right: 2px solid rgba(138, 43, 226, 0.4);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 0 24px 24px 0;
    margin: 15px 0;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-header {
    padding: 30px 25px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.25) 0%, rgba(20, 20, 35, 0.9) 100%);
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8A2BE2, #5865F2, #8A2BE2, transparent);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.sidebar-header i {
    font-size: 32px;
    color: #8A2BE2;
    text-shadow: 0 0 20px rgba(138, 43, 226, 1);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sidebar-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
    letter-spacing: 1px;
}

.nav-links {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    list-style: none;
}

.nav-item {
    padding: 16px 25px;
    margin: 5px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.15), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item i {
    font-size: 20px;
    color: rgba(138, 43, 226, 0.7);
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateX(8px);
}

.nav-item:hover i,
.nav-item:hover span {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(75, 0, 130, 0.35) 100%);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item.active i,
.nav-item.active span {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(168, 85, 247, 1);
}

.sidebar-footer {
    padding: 22px 25px;
    border-top: 2px solid rgba(138, 43, 226, 0.4);
    background: rgba(20, 20, 35, 0.9);
    text-align: center;
    border-radius: 0 0 24px 0;
}

.sidebar-footer p {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.sidebar-footer .version {
    font-size: 11px;
    color: rgba(138, 43, 226, 1);
    letter-spacing: 2px;
    font-weight: 700;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Content Header */
.content-header {
    background: rgba(15, 15, 25, 0.98);
    border-bottom: 2px solid rgba(138, 43, 226, 0.4);
    padding: 28px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(138, 43, 226, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
}

.content-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), rgba(88, 101, 242, 0.5), transparent);
}

.header-left h1 {
    font-family: 'Orbitron', monospace;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(138, 43, 226, 0.8);
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.header-left p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 18px;
    color: rgba(138, 43, 226, 0.6);
    font-size: 16px;
}

.search-box input {
    width: 320px;
    padding: 14px 20px 14px 48px;
    background: rgba(20, 20, 35, 0.9);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 25px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.search-box input:focus {
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.25);
    background: rgba(30, 30, 50, 0.95);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Content Body */
.content-body {
    padding: 35px 40px;
}

.content-section {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* Stats Grid (Overview) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.15), 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2, #8A2BE2);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stat-card:hover {
    border-color: rgba(138, 43, 226, 0.8);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.4), 0 20px 50px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(75, 0, 130, 0.25) 100%);
    border: 3px solid rgba(138, 43, 226, 0.5);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.35), inset 0 0 20px rgba(138, 43, 226, 0.2);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 35px rgba(138, 43, 226, 0.35), inset 0 0 20px rgba(138, 43, 226, 0.2); }
    50% { box-shadow: 0 0 50px rgba(138, 43, 226, 0.5), inset 0 0 30px rgba(138, 43, 226, 0.3); }
}

.stat-icon i {
    font-size: 36px;
    color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 1);
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

.stat-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Quick Info */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 28px;
}

.info-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2);
}

.info-card:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.25), 0 15px 45px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

.info-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h3 i {
    color: #a855f7;
}

.info-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
    font-size: 18px;
}

.info-card ul li:hover {
    color: #fff;
    padding-left: 35px;
}

/* Ranks Grid */
.ranks-grid {
    display: grid;
    gap: 22px;
}

.rank-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.6), rgba(88, 101, 242, 0.6), transparent);
    animation: shine 4s linear infinite;
}

.rank-card:hover {
    border-color: rgba(138, 43, 226, 0.8);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.3), 0 15px 45px rgba(0, 0, 0, 0.3);
}

.rank-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(75, 0, 130, 0.3) 100%);
    border: 3px solid rgba(138, 43, 226, 0.5);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3), inset 0 0 20px rgba(138, 43, 226, 0.15);
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-name {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}

.filter-select,
.filter-input {
    padding: 14px 22px;
    background: rgba(20, 20, 35, 0.95);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 25px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select {
    cursor: pointer;
}

.filter-input {
    flex: 1;
}

.filter-select:focus,
.filter-input:focus {
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.2);
}

.filter-select option {
    background: #1a1a2e;
    color: #ffffff;
}

/* Commands Grid */
.commands-grid {
    display: grid;
    gap: 20px;
}

.command-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 28px;
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.command-card:hover::before {
    transform: scaleX(1);
}

.command-card:hover {
    border-color: rgba(138, 43, 226, 0.7);
    transform: translateX(12px) scale(1.01);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.25), 0 15px 40px rgba(0, 0, 0, 0.3);
}

.command-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #a855f7;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
    margin-bottom: 12px;
}

.command-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 18px;
}

.command-usage {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(138, 43, 226, 1);
    background: rgba(138, 43, 226, 0.15);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.4);
    display: inline-block;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.command-rank {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.55) 0%, rgba(75, 0, 130, 0.75) 100%);
    border: 2px solid rgba(138, 43, 226, 0.6);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 26px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
    white-space: nowrap;
    height: fit-content;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.35);
}

/* Tasks Grid */
.tasks-grid {
    display: grid;
    gap: 25px;
}

.task-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2);
}

.task-card:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.25), 0 15px 45px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.task-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 0;
    padding-left: 38px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    transition: all 0.3s ease;
}

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

.task-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.task-item:hover {
    color: #fff;
    padding-left: 45px;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.member-card {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2, #8A2BE2);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover::before {
    opacity: 1;
}

.member-card:hover {
    border-color: rgba(138, 43, 226, 0.7);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.3), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.member-avatar {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(75, 0, 130, 0.3) 100%);
    border: 4px solid rgba(138, 43, 226, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 40px;
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.4), inset 0 0 25px rgba(138, 43, 226, 0.2);
    animation: pulse-avatar 3s ease-in-out infinite;
}

@keyframes pulse-avatar {
    0%, 100% { box-shadow: 0 0 35px rgba(138, 43, 226, 0.4), inset 0 0 25px rgba(138, 43, 226, 0.2); }
    50% { box-shadow: 0 0 50px rgba(138, 43, 226, 0.6), inset 0 0 35px rgba(138, 43, 226, 0.3); }
}

.member-name {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.member-rank {
    font-size: 14px;
    color: rgba(138, 43, 226, 1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.member-status {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.member-status.online {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.member-status.offline {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
}

.info-box {
    background: rgba(20, 20, 35, 0.95);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 22px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8A2BE2, #5865F2, #8A2BE2);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.info-box:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.25), 0 15px 45px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

.info-box h3 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.info-box h3 i {
    color: #a855f7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.info-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.7;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    transition: all 0.3s ease;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #8A2BE2, #5865F2);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(138, 43, 226, 1);
}

.info-box ul li:hover {
    color: #fff;
    padding-left: 45px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8A2BE2 0%, #6d28d9 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7 0%, #8A2BE2 100%);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 900px) {
    .sidebar {
        width: 260px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .content-body {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
        width: 280px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content-body {
        padding: 15px;
    }
    
    .rank-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
    }
    
    .rank-icon {
        justify-self: center;
    }
    
    .command-card {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
    }
    
    .header-left h1 {
        font-size: 22px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}

/* Mobile-first admin controls */
.admin-tabs { scrollbar-width: thin; scrollbar-color: rgba(138,43,226,.7) transparent; }
.admin-modal .modal-content { max-height: min(88dvh, 760px); overflow: auto; }
.admin-btn:focus-visible, .admin-tab:focus-visible, .nav-item:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(129,140,248,.85); outline-offset: 2px; }
@media (max-width: 900px) {
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 10px; margin-right: -4px; -webkit-overflow-scrolling: touch; }
  .admin-tab { flex: 0 0 auto; min-height: 46px; padding: 11px 16px; }
  .admin-header { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .admin-header .admin-btn { width: 100%; justify-content: center; }
  .admin-item { align-items: flex-start; gap: 14px; flex-wrap: wrap; padding: 15px; }
  .admin-item-info { min-width: 0; width: 100%; }
  .admin-item-actions { width: 100%; }
  .admin-item-actions .admin-btn { flex: 1; justify-content: center; min-height: 44px; }
  .settings-section { padding: 18px; }
  .setting-item input, .setting-item textarea, .setting-item select { font-size: 16px; }
  .admin-modal { padding: 12px; }
  .modal-content { width: 100%; }
  .modal-footer { position: sticky; bottom: 0; background: rgba(15,15,25,.98); }
}
@media (max-width: 1200px) {
  .sidebar, .content-header { backdrop-filter: none; }
  .particle { filter: none; box-shadow: 0 0 6px rgba(138, 43, 226, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Globale Suche */
.search-box { z-index: 1200; }
.global-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(430px, 90vw);
    max-height: min(60vh, 480px);
    overflow-y: auto;
    padding: 8px;
    background: rgba(15, 15, 25, 0.98);
    border: 1px solid rgba(138, 43, 226, 0.55);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(138, 43, 226, 0.18);
    z-index: 1300;
}
.global-search-results[hidden], .notifications-panel[hidden] { display: none; }
.global-search-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.global-search-result:hover, .global-search-result:focus-visible { background: rgba(138, 43, 226, 0.22); outline: none; }
.global-search-result strong { color: #c4b5fd; font-size: 14px; }
.global-search-result span { color: rgba(255, 255, 255, 0.68); font-size: 13px; line-height: 1.35; }
.global-search-empty, .notification-empty { padding: 14px; color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.global-search-highlight { animation: searchHighlight 1.6s ease-out; }
@keyframes searchHighlight {
    0%, 100% { outline: 0 solid rgba(168, 85, 247, 0); }
    20% { outline: 4px solid rgba(168, 85, 247, 0.85); outline-offset: 5px; }
}

/* Benachrichtigungen */
.notification-area { position: relative; display: inline-flex; align-items: center; z-index: 1400; }
.notification-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(138, 43, 226, 0.45);
    border-radius: 12px;
    background: rgba(20, 20, 35, 0.9);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.notification-toggle:hover, .notification-toggle:focus-visible { background: rgba(138, 43, 226, 0.25); border-color: rgba(168, 85, 247, 0.85); outline: none; transform: translateY(-1px); }
.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font: 700 11px/1 Arial, sans-serif;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.65);
}
.notification-count[hidden] { display: none; }
.notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, 88vw);
    max-height: min(65vh, 520px);
    overflow-y: auto;
    background: rgba(15, 15, 25, 0.99);
    border: 1px solid rgba(138, 43, 226, 0.55);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(138, 43, 226, 0.2);
}
.notifications-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px; border-bottom: 1px solid rgba(138, 43, 226, 0.25); }
.notifications-header strong { color: #fff; font-size: 15px; }
.notifications-header button { border: 0; background: transparent; color: #c4b5fd; cursor: pointer; font-size: 12px; }
.notification-item { width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 12px 15px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: transparent; color: #fff; text-align: left; cursor: pointer; }
.notification-item:hover, .notification-item:focus-visible { background: rgba(138, 43, 226, 0.18); outline: none; }
.notification-item strong { font-size: 14px; font-weight: 600; }
.notification-item span { color: rgba(255, 255, 255, 0.58); font-size: 12px; }
.notification-item.unread { background: rgba(138, 43, 226, 0.12); }
.notification-item.unread strong::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 7px 2px 0; border-radius: 50%; background: #a855f7; box-shadow: 0 0 8px rgba(168, 85, 247, 0.8); }
.panel-toast { position: fixed; right: 24px; bottom: 24px; z-index: 3000; max-width: min(380px, calc(100vw - 32px)); padding: 13px 17px; border: 1px solid rgba(168, 85, 247, 0.65); border-radius: 12px; background: rgba(20, 20, 35, 0.97); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(138, 43, 226, 0.25); }
@media (max-width: 900px) {
    .global-search-results { left: 0; right: auto; width: min(100%, 430px); }
    .notifications-panel { right: -8px; }
    .panel-toast { right: 16px; bottom: 16px; }
}
/* Benachrichtigungsfenster über dem Seiteninhalt halten */
.content-header { z-index: 2500; overflow: visible; }
.content-body { position: relative; z-index: 1; }
.header-right { position: relative; z-index: 2501; }
.notification-area { z-index: 2600; }
.notifications-panel { z-index: 2700; }