* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #2c3e50;
    color: #fff;
    overflow-x: hidden;
}

header {
    padding: 20px;
    background-color: #2c3e50;
    text-align: center;
    position: relative;
}

h1 {
    font-size: 3.5rem;
    color: #ecf0f1;
}

.disclaimer {
    font-size: 1.2rem;
    color: #bdc3c7;
    font-style: italic;
}

.discord-button {
    background-color: #5865F2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
}

.discord-button:hover {
    background-color: #404EED;
}

.user-dropdown {
    position: relative;
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #2c3e50;
    border-radius: 10px;
    min-width: 150px;
}

.dropdown-content a {
    color: white;
    padding: 10px;
    display: block;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #404EED;
}

.show {
    display: block;
}

.upload-section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#fileInput {
    padding: 10px;
    background-color: #2980b9;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

#fileInput:hover {
    background-color: #3498db;
}

.progress-bar {
    width: 100%;
    background-color: #7f8c8d;
    border-radius: 5px;
    margin-top: 10px;
    height: 20px;
    position: relative;
    display: none;
}

.progress {
    height: 100%;
    background-color: #2ecc71;
    width: 0%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

#progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px auto;
    padding: 0 10px;
    max-width: 1000px;
}

.file-item {
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.file-item img,
.file-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.6);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.download-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

footer {
    background-color: #2c3e50;
    padding: 20px;
    text-align: center;
    color: #bdc3c7;
    position: fixed;
    bottom: 0;
    width: 100%;
}
