
:root {
    --bg-color: #08090d;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-color: #ffffff; 
    --accent-color: #e5e7eb;  
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --live-color: #ff3b30;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}


.glow-bg {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.126) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}



.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 3rem;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    direction: rtl;
}


.logo-container .brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    transition: transform 0.3s ease;
}


.logo-container:hover .logo-wrapper {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.175);
}

.logo-container:hover .logo-wrapper img {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-container:hover .glow-effect {
    opacity: 1;
}


.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.highlight {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.brand-subtitle {
    font-size: 9px;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-links a {
    position: relative;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}


.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.btn-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #e5e7eb, #ffffff);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.245);
    opacity: 0.95;
}


@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .navbar {
        padding: 1rem 1.5rem;
    }
}


.btn {
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-discord {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
}

.btn-discord:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.245);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.385);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}





.main-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    
    background-image: linear-gradient(
        to bottom, 
        rgba(8, 9, 13, 0.96) 0%, 
        rgba(8, 9, 13, 0.8) 50%, 
        rgba(8, 9, 13, 0.96) 100%
    ),
    url('img/bg.png'); 

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


.glow-bg {
    
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    z-index: -1; 
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.105) 0%, rgba(0,0,0,0) 70%); 
}



.page-header {
    text-align: center;
    padding: 5rem 1rem 3rem;
}

.badge {
    background: rgba(255, 255, 255, 0.084);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.175);
    display: inline-block;
    margin-bottom: 1.2rem;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 8% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.315);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


.accordion-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem 0 1.5rem;
}

.accordion-item.active {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.105);
}

.accordion-item.active .icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}


.live-badge {
    background: var(--live-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.role-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 1rem 0;
}


footer {
    margin-top: auto;
    background: rgba(8, 9, 13, 0.95);
    border-top: 1px solid var(--card-border);
    padding: 2rem 8%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer p {
    margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
    .nav-links { display: none; }
    .page-header h1 { font-size: 2rem; }
    .navbar { padding: 1rem 5%; }
}


.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px);
    padding: 2rem 1rem;
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.login-icon {
    font-size: 3.5rem;
    color: #5865F2; 
    margin-bottom: 1.2rem;
}

.login-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.login-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-discord-auth {
    background: #5865F2;
    color: #ffffff;
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
    transition: all 0.3s ease;
}

.btn-discord-auth:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
}


.user-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    margin-bottom: 1rem;
}

.user-profile h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}



.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 3rem; 
}

.staff-avatar {
    width: 110px; 
    height: 110px;
    margin-bottom: 1.5rem;
    position: relative;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    
    
    object-fit: cover; 
    
    
    max-width: 100%;
    
    border: 3px solid var(--primary-color); 
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.315); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover .staff-avatar img {
    transform: scale(1.06);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.49);
}


.rules-list {
    list-style-type: none;
    padding: 0.5rem 0;
}

.rules-list > li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rules-list > li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    right: 0;
    top: -3px;
}

.rules-list ul {
    list-style-type: circle;
    padding-right: 1.5rem;
    margin-top: 0.4rem;
}

.rules-list ul li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}


.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.rules-table th, .rules-table td {
    padding: 0.8rem 1rem;
    text-align: right;
    font-size: 0.9rem;
}

.rules-table th {
    background: rgba(255, 255, 255, 0.105);
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 1px solid var(--card-border);
}

.rules-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.rules-table td {
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}


--> التفعيل 


.whitelist-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 20px;
}

.whitelist-card {
    background: rgba(15, 15, 20, 0.75);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.whitelist-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.whitelist-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.whitelist-icon {
    font-size: 3.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whitelist-info {
    flex: 1;
}

.whitelist-info h2 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: #fff;
}

.whitelist-info p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.whitelist-action {
    white-space: nowrap;
}


@media (max-width: 768px) {
    .whitelist-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .whitelist-card::before {
        width: 100%;
        height: 4px;
        top: 0;
        right: 0;
    }

    .whitelist-action {
        width: 100%;
    }

    .whitelist-action .btn {
        width: 100%;
        justify-content: center;
    }
}

-->


.form-wrapper {
    max-width: 800px;
    margin: 2rem auto 4rem;
    padding: 2.5rem;
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


.progress-bar-container {
    position: relative;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 10px;
}

.progress-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.steps-indicators {
    position: absolute;
    top: -12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.step-dot {
    width: 30px;
    height: 30px;
    background: #1a1c23;
    border: 2px solid var(--card-border);
    border-radius: 50%;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.step-dot.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #0a0a0a;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
}


.form-step {
    display: none;
}

.form-step.active-step {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
}


.input-group, .question-block {
    margin-bottom: 1.5rem;
}

.q-label, .input-group label {
    display: block;
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.required {
    color: #ff4757;
}

.input-group input, .question-block input[type="text"], .question-block textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus, .question-block input[type="text"]:focus, .question-block textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.21);
}


.radio-options {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d0d0d0;
    cursor: pointer;
}

.radio-options input[type="radio"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}


.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.success-screen {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    font-size: 4rem;
    color: #2ed573;
    margin-bottom: 1rem;
    animation: scaleUp 0.5s ease;
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-screen h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.success-screen p {
    color: #a0a0a0;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

-->


.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.sector-card {
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.sector-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.sector-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.police-badge { background: rgba(30, 144, 255, 0.2); color: #1e90ff; border: 1px solid #1e90ff; }
.health-badge { background: rgba(255, 71, 87, 0.2); color: #ff4757; border: 1px solid #ff4757; }
.justice-badge { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid #ffa500; }

.sector-icon {
    font-size: 3rem;
    margin: 1.2rem 0 0.8rem;
}

.police-icon { color: #1e90ff; }
.health-icon { color: #ff4757; }
.justice-icon { color: #ffa500; }

.sector-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.sector-card p {
    color: #a0a0a0;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}


--> ملفي الشخصي




.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-pill-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
}

.user-pill-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.user-pill-btn img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}


.user-dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 190px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu.show {
    display: flex;
}

.user-dropdown-menu button {
    padding: 12px 16px;
    color: #e5e7eb;
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.user-dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.user-dropdown-menu .logout-btn {
    color: #ef4444;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-dropdown-menu .logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}


.profile-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.profile-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.profile-modal-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.profile-modal-overlay.active .profile-modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px; left: 15px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
}
.modal-close-btn:hover { color: #fff; }

.modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-bottom: 1rem;
}

.role-badge-pill {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 3px;
}

.whitelist-status-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: bold;
}


.status-active { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.status-waiting { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.status-none { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.video-bg-container {
    position: fixed;
    background: #08090d url('img/background.png') center / cover no-repeat;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999; 
    overflow: hidden;
    pointer-events: none; 
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 11, 17, 0.82); 
    backdrop-filter: blur(3px); 
    z-index: -998;
}