body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}

.description {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 28px;
    color: #fff;
}

.folder-tree,
.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.root-tree {
    margin-top: 12px;
}

.folder-node {
    margin: 8px 0;
}

.folder {
    cursor: pointer;
    padding: 12px 14px;
    border: 1px solid #242424;
    background: #111;
    transition: background 0.25s ease, border-color 0.25s ease;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 10px;
}

.folder:hover {
    background: #181818;
    border-color: #E4032E;
}

.folder-left,
.file-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.folder-left i,
.file-main i {
    color: #E4032E;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.folder-name {
    color: #fff;
    font-weight: 500;
    word-break: break-word;
}

.folder-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.badge {
    font-size: 10px;
    padding: 3px 8px;
    border: 1px solid #333;
    border-radius: 999px;
    color: #E4032E;
    background: #000;
    white-space: nowrap;
}

.folder-size,
.file-size {
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}

.chevron {
    color: #E4032E;
    font-size: 11px;
    transition: transform 0.25s ease;
}

.folder.is-open .chevron {
    transform: rotate(180deg);
}

.folder-content {
    display: none;
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 14px;
    border-left: 1px solid #222;
    text-align: left;
}

.folder-content.is-open {
    display: block;
}

.file-list.root-visible {
    display: block;
    margin-bottom: 18px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    text-align: left;
}

a {
    text-decoration: none;
    color: #dadada;
    transition: opacity 0.2s ease;
    word-break: break-word;
}

a:hover {
    color: #fff;
}

.muted {
    color: #9a9a9a;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 640px) {
    .container {
        margin: 30px auto;
        padding: 16px;
    }

    .logo {
        width: 150px;
    }

    .description {
        letter-spacing: 3px;
        font-size: 11px;
    }

    .folder,
    .file-item {
        gap: 10px;
    }

    .folder {
        align-items: flex-start;
        flex-direction: column;
    }

    .folder-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
}