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

body {
    background: #000000;
    color: #00FAB3;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Main Container */
.cyber-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* System Header */
.system-header {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FAB3;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 30px rgba(0, 250, 179, 0.2);
    backdrop-filter: blur(10px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #00FAB3;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #00FAB3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.current-time {
    font-size: 14px;
    color: #00FAB3;
    font-weight: bold;
}

.main-title {
    text-align: center;
    margin-bottom: 20px;
}

.main-title h1 {
    font-size: 2.2em;
    color: #00FAB3;
    text-shadow: 0 0 20px #00FAB3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle {
    color: #00FAB3;
    opacity: 0.8;
    font-size: 1em;
    letter-spacing: 1px;
}

.system-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.label {
    color: #00FAB3;
    opacity: 0.7;
}

.value {
    color: #00FAB3;
    font-weight: bold;
}

/* Search Container */
.search-container {
    margin-bottom: 25px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FAB3;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 0 20px rgba(0, 250, 179, 0.1);
    backdrop-filter: blur(10px);
}

.search-box i {
    color: #00FAB3;
    margin-right: 15px;
    font-size: 1.1em;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #00FAB3;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    outline: none;
}

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

.search-stats {
    color: #00FAB3;
    font-size: 14px;
    opacity: 0.8;
    margin-left: 20px;
}

/* Directory Container */
.directory-container {
    flex: 1;
    margin-bottom: 25px;
}

/* Folder */
.folder {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FAB3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 250, 179, 0.15);
    backdrop-filter: blur(10px);
}

.folder-header {
    background: rgba(0, 250, 179, 0.1);
    padding: 20px 25px;
    border-bottom: 1px solid #00FAB3;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.folder-header:hover {
    background: rgba(0, 250, 179, 0.15);
}

.folder-header i {
    font-size: 1.5em;
    color: #00FAB3;
}

.folder-header h2 {
    flex: 1;
    color: #00FAB3;
    font-size: 1.4em;
}

.file-count {
    color: #00FAB3;
    opacity: 0.7;
    font-size: 0.9em;
}

.folder-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.folder.active .folder-content {
    max-height: 2000px;
}

/* File Sections */
.file-section {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 250, 179, 0.2);
}

.file-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #00FAB3;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 10px #00FAB3;
}

.section-header i {
    font-size: 1.1em;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* File Items */
.file-item {
    background: rgba(0, 250, 179, 0.05);
    border: 1px solid rgba(0, 250, 179, 0.3);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 250, 179, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

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

.file-item:hover {
    transform: translateY(-3px);
    border-color: #00FAB3;
    box-shadow: 
        0 5px 25px rgba(0, 250, 179, 0.3),
        inset 0 0 20px rgba(0, 250, 179, 0.1);
}

.file-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 250, 179, 0.1);
    border: 1px solid #00FAB3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: #00FAB3;
    transition: all 0.3s ease;
}

.file-item:hover .file-icon {
    background: rgba(0, 250, 179, 0.2);
    transform: scale(1.1);
}

.file-info {
    flex: 1;
}

.file-info h3 {
    color: #00FAB3;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.file-info p {
    color: #00FAB3;
    opacity: 0.8;
    font-size: 0.9em;
    margin-bottom: 8px;
    line-height: 1.4;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8em;
    color: #00FAB3;
    opacity: 0.6;
}

.file-action {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #00FAB3;
    font-size: 1.1em;
}

.file-item:hover .file-action {
    opacity: 1;
    transform: translateX(0);
}

/* System Footer */
.system-footer {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FAB3;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 0 30px rgba(0, 250, 179, 0.2);
    backdrop-filter: blur(10px);
}

.footer-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.stat {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.stat-label {
    color: #00FAB3;
    opacity: 0.7;
}

.stat-value {
    color: #00FAB3;
    font-weight: bold;
}

.system-health {
    display: flex;
    align-items: center;
    gap: 15px;
}

.health-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 250, 179, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.health-fill {
    height: 100%;
    background: #00FAB3;
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px #00FAB3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cyber-container {
        padding: 15px;
    }

    .system-header {
        padding: 20px;
    }

    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main-title h1 {
        font-size: 1.8em;
        flex-direction: column;
        gap: 10px;
    }

    .system-info {
        gap: 20px;
    }

    .file-grid {
        grid-template-columns: 1fr;
    }

    .footer-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-box {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .search-stats {
        margin-left: 0;
    }

    .file-item {
        padding: 15px;
    }

    .file-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 1.5em;
    }

    .folder-header {
        padding: 15px 20px;
    }

    .file-section {
        padding: 20px;
    }

    .system-footer {
        padding: 15px 20px;
    }

    .file-info h3 {
        font-size: 1em;
    }

    .file-info p {
        font-size: 0.85em;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #00FAB3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00FAB3;
    box-shadow: 0 0 10px #00FAB3;
}

/* Smooth animations */
* {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.file-item:focus {
    outline: 2px solid #00FAB3;
    outline-offset: 2px;
}

.search-box input:focus {
    background: rgba(0, 250, 179, 0.05);
}