/* Reset and basic styles */
body {
    font-family: 'Arial', sans-serif;
    background: #1e1e1e;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 20px;
    color: #00ffd5;
    font-size: 1.8rem;
}

.player-wrapper {
    margin-bottom: 30px;
}

audio, video {
    width: 100%;
    max-height: 300px;
    border-radius: 10px;
    background: #000;
}

/* File list styling */
.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.file-item {
    padding: 12px 18px;
    background: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1 1 45%;
    text-align: center;
    min-width: 120px;
    user-select: none;
}

.file-item:hover {
    background: #00ffd5;
    color: #000;
}

.file-item:active {
    transform: scale(0.97);
}

/* Vault button wrapper */
.vault-button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px; /* <-- add this to create space between buttons */
}

/* Optional: different color for Vault */
.vault-button-wrapper .file-item {
    background: #ff5e5e;
}

.vault-button-wrapper .file-item:hover {
    background: #ff1a1a;
    color: #fff;
}


/* Mobile responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }

    .file-item {
        flex: 1 1 100%;
        font-size: 0.9rem;
        padding: 10px;
    }

    audio, video {
        max-height: 220px;
    }
}
