body {
    margin: 0;
    padding: 0;
    font-family: 'Consolas', 'Courier New', monospace; 
    color: #fff;
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}
#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    filter: brightness(0.3) contrast(1.2); 
}

:root {
    --neon-color: #8A2BE2;
    --shadow-color: #00FFFF;
    --bg-dark: rgba(0, 0, 0, 0.85);
}

@keyframes intense-neon-flicker {
    0%, 100% {
        box-shadow: 0 0 7px var(--neon-color), 0 0 20px var(--neon-color), 0 0 40px var(--neon-color), inset 0 0 10px var(--neon-color);
        border: 2px solid var(--neon-color);
    }
    50% {
        box-shadow: 0 0 5px var(--shadow-color), 0 0 15px var(--shadow-color), 0 0 30px var(--shadow-color), inset 0 0 8px var(--shadow-color);
        border: 2px solid var(--shadow-color);
    }
}

.main-container {
    width: 70%;
    max-width: 750px; 
    height: auto; 
    padding: 15px;
    background: var(--bg-dark);
    border-radius: 5px;
    animation: intense-neon-flicker 3s infinite alternate; 
    backdrop-filter: blur(2px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.user-grid {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    padding: 10px 0;
}

.user-box {
    flex-basis: 48%; 
    background: rgba(15, 0, 30, 0.9);
    padding: 10px; 
    border-radius: 3px;
    border: 1px solid var(--neon-color);
    box-shadow: 0 0 8px var(--shadow-color);
    transition: all 0.3s ease;
    cursor: pointer; 
    text-decoration: none; 
}

.user-box:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px var(--neon-color), 0 0 30px var(--neon-color);
}

.user-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.user-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 10px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon-color);
    box-shadow: 0 0 5px var(--neon-color);
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
}

.username-text {
    font-size: 1.2em;
    color: #fff;
    text-shadow: 0 0 3px var(--shadow-color);
}

.discord-activity {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed var(--neon-color);
    font-size: 0.8em;
    color: #ccc;
}

.tools-dropdown {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 20;
    border: 2px solid var(--neon-color); 
    border-radius: 20px; 
    box-shadow: 0 0 15px var(--neon-color);
    background: rgba(0, 0, 0, 0.9);
}

.tools-button {
    background-color: transparent;
    color: white;
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-shadow: 0 0 5px var(--shadow-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 1;
    border: 1px solid var(--neon-color);
    padding: 5px 0;
    border-radius: 5px;
}

.dropdown-content a {
    color: var(--shadow-color);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s, color 0.2s;
    font-size: 0.9em;
}

.dropdown-content a:hover {
    background-color: var(--neon-color);
    color: #000;
}

.tools-dropdown:hover .dropdown-content {
    display: block;
}

#header-text {
    position: relative; 
    margin-bottom: 20px;
    color: #fff;
    font-size: 2.5em;
    text-align: center;
    font-weight: bold;
    letter-spacing: 5px;
    z-index: 10;
    text-shadow: 0 0 5px var(--neon-color), 0 0 15px var(--shadow-color);
}

@keyframes fade-in-out {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

.rotating-text.fade-animation {
    animation: fade-in-out 3s ease-in-out forwards;
}

@media (max-width: 768px) {
    .main-container {
        width: 90%;
        padding: 10px;
    }
    .user-grid {
        flex-direction: column;
        align-items: center;
    }
    .user-box {
        flex-basis: 90%; 
        width: 90%;
    }
    #header-text {
        font-size: 1.8em; 
        letter-spacing: 3px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    #header-text {
        font-size: 1.4em;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    .tools-dropdown {
        top: 10px;
        left: 10px;
    }
    .tools-button {
        padding: 5px 10px;
        font-size: 14px;
    }
    .dropdown-content {
        min-width: 150px;
    }
}
