:root {
    --bg-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.03);
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

/* Welcome Notification */
.welcome-notif {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    z-index: 999999;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(50, 50, 50, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 30, 30, 0.3) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Site Identity */
.site-identity { position: fixed; top: 20px; left: 20px; display: flex; align-items: center; gap: 12px; z-index: 9000; pointer-events: none; }
.identity-img { width: 55px; height: 55px; object-fit: cover; border-radius: 4px; filter: grayscale(100%) brightness(1.2); border: 1px solid rgba(255, 255, 255, 0.1); }
.identity-text { font-family: 'Gabarito', sans-serif; font-size: 1rem; letter-spacing: -0.5px; color: #fff; text-transform: none; font-weight: 900; }

@keyframes internal-strobe { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* Account Trigger */
.account-trigger {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9000;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid var(--glass-border);
    padding: 6px 15px;
    border-radius: 2px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}
.account-trigger:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Modal & Auth Box */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; z-index: 20000; }
.auth-box { background: rgba(10, 10, 10, 0.95); border: 1px solid var(--glass-border); padding: 40px; width: 400px; border-radius: 4px; text-align: center; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.auth-title { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 30px; color: #fff; }
.auth-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.auth-tab-btn { font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; color: var(--text-secondary); cursor: pointer; padding-bottom: 5px; border-bottom: 1px solid transparent; }
.auth-tab-btn.active { color: #fff; border-bottom-color: #fff; }
.auth-form input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 12px; color: #fff; margin-bottom: 15px; outline: none; border-radius: 2px; font-size: 0.8rem; }
.auth-form button { width: 100%; background: #fff; color: #000; border: none; padding: 12px; font-weight: 800; letter-spacing: 2px; cursor: pointer; transition: opacity 0.3s; }
.auth-form button:hover { opacity: 0.8; }
.error-text { color: #ff0000; font-size: 0.7rem; margin: 10px 0; min-height: 15px; }
.close-modal { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 0.6rem; margin-top: 20px; letter-spacing: 2px; }

/* Chat Section */
.chat-container { height: 500px; display: flex; flex-direction: column; background: rgba(255,255,255,0.01); border: 1px solid var(--glass-border); border-radius: 4px; backdrop-filter: blur(20px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.msg { font-size: 0.85rem; padding: 8px 15px; border-radius: 4px; max-width: 80%; background: rgba(255,255,255,0.03); border-left: 2px solid rgba(255,255,255,0.1); }
.msg.me { align-self: flex-end; border-left: none; border-right: 2px solid #fff; background: rgba(255,255,255,0.06); }
.msg-user { font-weight: 800; font-size: 0.65rem; color: var(--text-secondary); margin-right: 8px; text-transform: uppercase; }
.msg.me .msg-user { color: #fff; }
.chat-u-founder { color: #ff0000 !important; text-shadow: 0 0 5px rgba(255,0,0,0.3); }
.chat-u-staff { color: #a000ff !important; text-shadow: 0 0 5px rgba(160,0,255,0.3); }
.chat-u-popular { color: #ffff00 !important; text-shadow: 0 0 5px rgba(255,255,0,0.3); }
.chat-input-area { padding: 15px; display: flex; gap: 10px; border-top: 1px solid var(--glass-border); }
.chat-input-area input { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 10px; color: #fff; outline: none; border-radius: 2px; }
.chat-input-area button { background: none; border: 1px solid var(--glass-border); color: #fff; padding: 0 20px; cursor: pointer; font-size: 0.7rem; letter-spacing: 1px; }

/* Existing Splash & Layout */
.splash { position: fixed; inset: 0; background: #000; display: flex; justify-content: center; align-items: center; z-index: 10000; overflow: hidden; }
.splash::before { content: ""; position: absolute; inset: 0; background: url('terrorist.png') no-repeat center center; background-size: cover; filter: blur(6px) brightness(0.4); z-index: 1; animation: background-sway 30s ease-in-out infinite; }
@keyframes background-sway { 0%, 100% { transform: scale(1.1) translate(0, 0); } 50% { transform: scale(1.15) translate(-10px, 5px); } }
.splash-container {
    text-align: center;
    position: relative;
    z-index: 9999;
}

.main-title { 
    font-family: 'Gabarito', sans-serif; 
    font-size: 3.5rem; 
    font-weight: 900;
    letter-spacing: -1px; 
    margin-bottom: 5px; 
    background: #fff;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    animation: title-glow 3s ease-in-out infinite; 
}
.splash-tagline { color: #fff; font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 40px; opacity: 0.8; }
/* Avatar Upload Interface */
.avatar-edit-container { position: relative; width: 120px; height: 120px; margin: 0 auto 20px; cursor: pointer; border-radius: 50%; overflow: hidden; border: 2px solid var(--glass-border); transition: all 0.3s ease; }
.avatar-edit-container:hover { border-color: #fff; transform: scale(1.05); }
.clickable-avatar { width: 100%; height: 100%; object-fit: cover; margin-bottom: 0; filter: grayscale(100%); }
.avatar-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; font-size: 0.5rem; font-weight: 900; letter-spacing: 1px; opacity: 0; transition: opacity 0.3s ease; }
.avatar-edit-container:hover .avatar-overlay { opacity: 1; }
.status-text { font-size: 0.6rem; letter-spacing: 1px; color: var(--text-secondary); margin-top: 15px; text-transform: uppercase; }

.enter-btn { 
    display: inline-block; 
    padding: 10px 30px; 
    border: 1px solid var(--glass-border); 
    border-radius: 2px; 
    cursor: pointer; 
    font-weight: 600; 
    letter-spacing: 6px; 
    font-size: 0.7rem; 
    color: #fff; 
    position: relative; 
    z-index: 10000; 
    background: rgba(0,0,0,0.5);
}

.main-nav { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); z-index: 5000; background: rgba(0, 0, 0, 0.9); border: 1px solid var(--glass-border); padding: 8px 25px; border-radius: 4px; backdrop-filter: blur(20px); }
.nav-tabs { display: flex; gap: 20px; align-items: center; }
.nav-tab, .nav-tab-link { cursor: pointer; font-weight: 500; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); transition: all 0.3s ease; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav-tab.active, .nav-tab:hover, .nav-tab-link:hover { color: #fff; border-bottom-color: #fff; }

.content-section { padding: 120px 40px 80px; max-width: 1200px; margin: 0 auto; opacity: 0; transition: opacity 0.8s ease; }
.roster-grid, .grid-display { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.member-card, .archive-card { background: var(--card-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 4px; overflow: hidden; padding: 0; text-align: left; }
.card-image, .blank-pfp { width: 100%; height: 220px; background: #020202; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.member-card:hover .card-image img { transform: scale(1.05); }
.card-info { padding: 15px; text-align: center; }
.member-name { font-family: 'Outfit', sans-serif; font-size: 1rem; text-transform: uppercase; font-weight: 800; }
.tag-founder {
    display: inline-block;
    color: #ff0000;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    position: relative;
    padding: 1px 6px;
    text-shadow: 0 0 5px #ff0000;
}

.tag-staff {
    display: inline-block;
    color: #a000ff;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    position: relative;
    padding: 1px 6px;
    text-shadow: 0 0 5px #a000ff;
}

.tag-founder::before, .tag-founder::after, .tag-staff::before, .tag-staff::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    top: -5px;
    left: 50%;
    filter: blur(0.5px);
}

.tag-founder::before { background: #ff0000; animation: particles-1 1.5s ease-out infinite; }
.tag-founder::after { background: #ff0000; animation: particles-2 1.8s ease-out infinite; animation-delay: 0.3s; }
.tag-staff::before { background: #a000ff; animation: particles-staff-1 1.5s ease-out infinite; }
.tag-staff::after { background: #a000ff; animation: particles-staff-2 1.8s ease-out infinite; animation-delay: 0.3s; }

@keyframes particles-1 { 
    0% { transform: translate(-50%, 0) scale(1); opacity: 0; } 
    20% { opacity: 1; } 
    100% { transform: translate(30px, -40px) scale(2); opacity: 0; box-shadow: -20px 20px 0 #ff0000, 40px -10px 0 #ff0000, -10px -30px 0 #ff0000; } 
}
@keyframes particles-2 { 
    0% { transform: translate(-50%, 0) scale(1); opacity: 0; } 
    20% { opacity: 1; } 
    100% { transform: translate(-30px, -50px) scale(1.5); opacity: 0; box-shadow: 20px 30px 0 #ff0000, -40px 10px 0 #ff0000, 10px -20px 0 #ff0000; } 
}
@keyframes particles-staff-1 { 
    0% { transform: translate(-50%, 0) scale(1); opacity: 0; } 
    20% { opacity: 1; } 
    100% { transform: translate(30px, -40px) scale(2); opacity: 0; box-shadow: -20px 20px 0 #a000ff, 40px -10px 0 #a000ff, -10px -30px 0 #a000ff; } 
}
@keyframes particles-staff-2 { 
    0% { transform: translate(-50%, 0) scale(1); opacity: 0; } 
    20% { opacity: 1; } 
    100% { transform: translate(-30px, -50px) scale(1.5); opacity: 0; box-shadow: 20px 30px 0 #a000ff, -40px 10px 0 #a000ff, 10px -20px 0 #a000ff; } 
}

.rainbow-text-animated { background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 5s linear infinite; display: block; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; }
@keyframes rainbow-text { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* Users Directory Styles */
.directory-title { font-family: 'Outfit', sans-serif; font-size: 2rem; color: #fff; text-align: center; margin-bottom: 20px; font-weight: 400; }
.search-container { display: flex; justify-content: center; gap: 0; margin-bottom: 10px; }
.search-container input { background: #111; border: 1px solid #333; padding: 10px 15px; color: #999; width: 300px; outline: none; font-size: 0.8rem; }
.search-btn { background: #222; border: 1px solid #333; color: #fff; padding: 10px 20px; cursor: pointer; font-size: 0.75rem; }
.user-stats { text-align: center; color: #666; font-size: 0.7rem; margin-bottom: 30px; letter-spacing: 0.5px; }

.role-group { margin-bottom: 40px; }
.group-label { font-size: 0.9rem; color: #fff; margin-bottom: 15px; font-weight: 500; text-align: left; }
.table-container { background: #050505; border: 1px solid #222; border-radius: 2px; overflow: hidden; }
.user-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.75rem; }
.user-table th { background: #0a0a0a; color: #666; padding: 10px 20px; border-bottom: 1px solid #222; text-transform: uppercase; font-weight: 400; font-size: 0.6rem; letter-spacing: 2px; }
.user-table td { padding: 18px 20px; border-bottom: 1px solid #111; color: #fff; font-size: 0.85rem; }
.user-table tr:last-child td { border-bottom: none; }

.uname-founder { color: #ff0000 !important; font-weight: 800; text-decoration: none !important; border: none !important; font-size: 1.2rem; letter-spacing: 1px; cursor: pointer; position: relative; text-shadow: 0 0 10px rgba(255,0,0,0.3); }
.uname-staff { color: #a000ff !important; font-weight: 800; text-decoration: none !important; border: none !important; font-size: 1.2rem; letter-spacing: 1px; cursor: pointer; position: relative; text-shadow: 0 0 10px rgba(160,0,255,0.3); }
.uname-popular { color: #ffff00 !important; font-weight: 700; text-decoration: none !important; border: none !important; font-size: 1.1rem; text-shadow: 0 0 8px rgba(255,255,0,0.3); }
.uname-guest { color: #ffffff !important; font-weight: 400; text-decoration: none !important; border: none !important; font-size: 1rem; opacity: 1; }
.uname-user { color: #fff !important; font-weight: 400; text-decoration: none !important; border: none !important; font-size: 1.2rem; opacity: 0.9; }

.sparkle-white { color: #fff !important; display: inline-block; position: relative; padding: 2px 5px; }
.sparkle-white::before { pointer-events: none; }

/* Existing ... */
.section-title { font-family: 'Outfit', sans-serif; color: #fff; font-size: 1.8rem; text-align: center; margin-bottom: 40px; letter-spacing: 4px; }

/* Settings & Admin Styles */
.settings-box { background: var(--card-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); padding: 40px; border-radius: 4px; max-width: 500px; margin: 0 auto; text-align: center; }
.large-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 1px solid var(--glass-border); margin-bottom: 20px; }
.settings-form label { display: block; font-size: 0.6rem; letter-spacing: 2px; color: var(--text-secondary); margin-bottom: 10px; margin-top: 20px; }
.settings-form input { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 12px; color: #fff; outline: none; border-radius: 2px; margin-bottom: 15px; }
.settings-form button { width: 100%; background: #fff; color: #000; border: none; padding: 12px; font-weight: 800; cursor: pointer; letter-spacing: 2px; border-radius: 2px; }

.admin-container { background: rgba(5,5,5,0.5); border: 1px solid var(--glass-border); border-radius: 4px; overflow: hidden; }
.user-list-header { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 15px 25px; background: rgba(255,255,255,0.05); font-size: 0.6rem; letter-spacing: 2px; font-weight: 800; color: var(--text-secondary); }
.user-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 15px 25px; border-bottom: 1px solid var(--glass-border); align-items: center; }
.user-info { display: flex; align-items: center; gap: 15px; font-size: 0.8rem; }
.mini-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; margin-right: 10px; border: 1px solid var(--glass-border); }
.user-role-tag { font-size: 0.5rem; padding: 2px 8px; border-radius: 2px; text-transform: uppercase; border: 1px solid currentColor; font-weight: 900; }
.btn-promote { background: none; border: 1px solid var(--glass-border); color: #fff; padding: 5px 10px; font-size: 0.55rem; cursor: pointer; letter-spacing: 1px; border-radius: 2px; }

/* Profile Card Modal */
.profile-card-popup { background: rgba(10, 10, 10, 0.98); border: 1px solid var(--glass-border); padding: 35px; width: 400px; border-radius: 4px; text-align: center; box-shadow: 0 0 100px rgba(0,0,0,0.8); backdrop-filter: blur(20px); position: relative; }
.pop-username { font-family: 'Gabarito', sans-serif; font-size: 1.6rem; margin-bottom: 2px; font-weight: 900; }
.pop-role { font-size: 0.55rem; letter-spacing: 2px; color: var(--text-secondary); margin-bottom: 20px; font-weight: 800; }
.pop-bio-container { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 15px; border-radius: 2px; text-align: left; max-height: 200px; overflow-y: auto; }
.pop-bio { font-size: 0.75rem; line-height: 1.5; color: #ccc; font-weight: 400; }

/* Bio Settings */
#settings-bio { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 15px; color: #fff; outline: none; border-radius: 2px; margin-bottom: 20px; font-size: 0.8rem; min-height: 100px; resize: none; font-family: 'Inter', sans-serif; }
#settings-bio:focus { border-color: #fff; }

/* Existing ... */
.chat-rank-tag { font-size: 0.5rem; font-weight: 900; padding: 1px 5px; border: 1px solid currentColor; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.rank-founder { color: #ff0000; text-shadow: 0 0 5px #ff0000; }

