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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, #3d3d5c 0%, #363655 100%);
    border-bottom: 2px solid #0a84ff;
    padding: 2rem 1rem;
    text-align: center;
}
.header img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}
.header h1 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 1px;
}
.header p {
    color: #888;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1000px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #0a84ff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .sep {
    color: #666;
    margin: 0 0.4rem;
}
.breadcrumb .current {
    color: #ccc;
}

/* Content */
.content {
    max-width: 1000px;
    margin: 1rem auto 2rem;
    padding: 0 1.5rem;
}

/* Folder grid (cards) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.card {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.card:hover {
    border-color: #0a84ff;
    background: #1e1e32;
    transform: translateY(-2px);
}
.card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #2a2a3e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a84ff;
}
.card-info h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

/* File list */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.file-item {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}
.file-item:hover {
    border-color: #0a84ff;
    background: #1e1e32;
}
.file-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #2a2a3e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a84ff;
}
.file-info {
    flex: 1;
    min-width: 0;
}
.file-info h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    word-break: break-all;
}
.file-meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}
.file-meta span {
    margin-right: 1rem;
}

/* Download button */
.btn-download {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #0a84ff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-download:hover {
    background: #0066cc;
}
.btn-download svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #fff;
    font-weight: 300;
    font-size: 1.05rem;
    background: #3d3d5c;
    border-top: 1px solid #333;
}
.footer img {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

/* Empty state */
.empty-msg {
    text-align: center;
    color: #666;
    padding: 3rem 1rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 600px) {
    .file-item {
        flex-wrap: wrap;
    }
    .btn-download {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
}
