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

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: white;
}

/* Gradient background */
.gradient-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(at 40% 20%, rgba(18, 113, 255, 0.8) 0%, transparent 50%),
                radial-gradient(at 80% 0%, rgba(221, 74, 255, 0.8) 0%, transparent 50%),
                radial-gradient(at 0% 50%, rgba(355, 100, 93, 0.8) 0%, transparent 50%),
                radial-gradient(at 80% 50%, rgba(340, 100, 76, 0.8) 0%, transparent 50%),
                radial-gradient(at 0% 100%, rgba(22, 100, 77, 0.8) 0%, transparent 50%),
                radial-gradient(at 80% 100%, rgba(242, 100, 70, 0.8) 0%, transparent 50%),
                radial-gradient(at 0% 0%, rgba(343, 100, 76, 0.8) 0%, transparent 50%);
    top: 0;
    left: 0;
    overflow: hidden;
}

/* Header styling */
.header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
    z-index: 10;
    position: relative;
}

.avatar-container {
    display: flex;
    align-items: center;
}

.avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.username {
    font-size: 18px;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    padding: 10px;
    display: block;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.modal-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.modal-box ul {
    list-style: none;
}

.modal-box li {
    margin: 10px 0;
}

.modal-box a {
    color: #00f;
    text-decoration: none;
}

.modal-box a:hover {
    text-decoration: underline;
}

.btn-close {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn-close:hover {
    background-color: #e53935;
}

/* Main content */
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .avatar-container {
        margin-bottom: 10px;
    }

    .main-content {
        font-size: 1rem;
    }
}
