body {
    font-family: 'Roboto', sans-serif;
    color: #ffd700;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

h1 {
    text-align: center;
    font-size: 48px;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from {
        text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    }
    to {
        text-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000;
    }
}

button {
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 10px;
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ff6600;
    transform: scale(1.05);
}

#shareContent {
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px #ffd700;
}

.action-link {
    font-size: 12px;
    margin: 2px;
    color: #ff6600;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
}

.action-link:hover {
    color: #ff0000;
}

.directory-link {
    color: #ffd700;
    text-decoration: none;
    cursor: pointer;
}

.directory-link:hover {
    text-decoration: underline;
    color: #ff6600;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal img, .modal iframe {
    max-width: 90%;
    max-height: 90%;
    background-color: white;
    box-shadow: 0 0 30px #ffd700;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 20px;
    padding: 20px;
}

.gallery-item {
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffd700;
}

.thumbnail-container, .folder-icon, .file-icon {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.thumbnail {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 5px;
}

.folder-icon, .file-icon {
    font-size: 48px;
    margin-bottom: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-name {
    word-break: break-word;
    font-size: 12px;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffd700;
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid #ffd700;
}

#userPoints {
    font-size: 24px;
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 0 5px #ffd700;
}

form {
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

form h3 {
    color: #ff6600;
    text-align: center;
}

form label {
    display: block;
    margin: 10px 0;
    color: #ffd700;
}

form input[type="checkbox"] {
    margin-right: 10px;
}

form button {
    display: block;
    margin: 20px auto 0;
    background-color: #ff6600;
}

form button:hover {
    background-color: #ff0000;
}

.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeInOut 5s ease-in-out;
}

.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #51cf66;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}