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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #1e1e2f;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.error-container {
    background-color: #ff4d4d;
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    margin: 50px auto;
    width: 90%;
    max-width: 600px;
}

.error-header {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.error-message {
    font-size: 1.2em;
}

.error-message strong {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    background-color: #2b2b3c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.header {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: #ffa500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    margin-bottom: 30px;
}

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

.file-item {
    background-color: #29293e;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 165, 0, 0.2);
    background: linear-gradient(135deg, #2b2b3c, #3d3d52);
}

.file-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: rgba(255, 165, 0, 0.2);
    transform: skewX(-30deg);
    transition: all 0.5s ease-in-out;
}

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

.file-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3b3b4f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-right: 20px;
    transition: all 0.3s ease-in-out;
}

.file-icon.image {
    background-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.file-icon.pdf {
    background-color: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.file-icon.text {
    background-color: #3f51b5;
    box-shadow: 0 0 10px rgba(63, 81, 181, 0.6);
}

.file-icon.archive {
    background-color: #9e9e9e;
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.6);
}

.file-icon:hover {
    transform: scale(1.2);
}

.file-name {
    flex-grow: 1;
    font-weight: bold;
    font-size: 0.8.5em;
}

.file-name a {
    text-decoration: none;
    color: #f0f0f0;
    transition: color 0.3s ease-in-out;
}

.file-name a:hover {
    color: #ffa500;
    text-shadow: 0 0 5px rgba(255, 165, 0, 0.8);
}

.back-link a {
    color: #ffa500;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #f0f0f0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}