/* --- HUD DESIGN SYSTEM --- */
:root {
    --color-bg: #0b0718;
    --color-bg-alt: #110e24;
    --color-primary: #8e2de2;
    --color-accent: #7b2ff7;
    --color-accent-glow: rgba(123, 47, 247, 0.4);
    --glass-bg: rgba(17, 14, 36, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 15px rgba(123, 47, 247, 0.3);
    --header-height: 80px;
}

body {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 15% 15%, rgba(142, 45, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(74, 0, 224, 0.15) 0%, transparent 40%),
        url('https://www.transparenttextures.com/patterns/stardust.png');
    background-attachment: fixed;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HUD CARD SYSTEM --- */
.hud-card {
    background: var(--glass-bg);
    border: 2px solid #7b2ff7;
    border-radius: 4px;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
    overflow: hidden;
}

.hud-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: linear-gradient(90deg, rgba(142, 45, 226, 0.3) 0%, transparent 80%);
    border-left: 4px solid var(--color-accent);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.hud-header i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.hud-header h3 {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    font-style: italic;
    color: #fff;
}

.hud-content {
    padding: 20px;
}

/* --- NAVBAR REFINEMENT --- */
.navbar {
    padding: 0;
    /* Remove padding to keep it tight to top */
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
    /* Let clicks pass through the padding area if any */
}

.navbar-hud {
    pointer-events: auto;
    margin-top: 20px;
    background: rgba(10, 7, 25, 0.7);
    backdrop-filter: blur(20px);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 2px solid #7b2ff7;
    filter: drop-shadow(0 0 15px rgba(123, 47, 247, 0.4));
    clip-path: polygon(15px 0%,
            calc(100% - 15px) 0%,
            100% 15px,
            100% 100%,
            0% 100%,
            0% 15px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px var(--color-accent));
}

.logo-text {
    display: flex;
    gap: 8px;
    font-size: 1.45rem;
}

.logo-text .streamer {
    font-weight: 900;
}

.logo-text .community {
    font-weight: 400;
    color: #9d7cff;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 20px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.nav-links a i {
    font-size: 0.6rem;
    opacity: 0.6;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(123, 47, 247, 0.5);
}

/* --- HUD BUTTONS --- */
.btn-login {
    background: rgba(43, 27, 85, 0.6);
    color: #fff;
    padding: 10px 25px;
    border: 1px solid rgba(123, 47, 247, 0.3);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    clip-path: polygon(5px 0%, 100% 0%, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0% 100%, 0% 5px);
}

.btn-register {
    background: linear-gradient(135deg, #7b2ff7 0%, #4a00e0 100%);
    color: #fff;
    padding: 10px 25px;
    border: none;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 25px rgba(123, 47, 247, 0.5);
    clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}

.btn-login:hover,
.btn-register:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 30px var(--color-accent);
}

/* --- BUTTONS --- */
.btn-primary {
    background: #6223d6;
    color: #fff;
    padding: 12px 30px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(98, 35, 214, 0.4);
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}

.btn-secondary {
    background: rgba(30, 20, 60, 0.8);
    color: #fff;
    padding: 12px 28px;
    border: 1px solid rgba(123, 47, 247, 0.3);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}

.btn-primary:hover,
.btn-secondary:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 25px var(--color-accent-glow);
}

/* --- DASHBOARD GRID --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 310px 1fr 340px;
    gap: 25px;
    padding: 120px 0 100px 0;
}

.col-left,
.col-center,
.col-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- SCHEDULE WIDGET --- */
.schedule-widget {
    background: rgba(10, 7, 25, 0.7);
    backdrop-filter: blur(20px);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
}

.schedule-header {
    border-top: 2px solid rgba(123, 47, 247, 0.3);
    border-bottom: 2px solid #7b2ff7;
    background: linear-gradient(90deg, rgba(123, 47, 247, 0.1) 0%, transparent 100%);
    padding: 15px 20px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 5px 15px -5px rgba(123, 47, 247, 0.5);
}

.schedule-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: none;
    font-style: normal;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: rgba(123, 47, 247, 0.05);
}

.schedule-icon {
    color: #7b2ff7;
    margin-right: 20px;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(123, 47, 247, 0.5));
}

.schedule-details {
    display: flex;
    gap: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.schedule-time {
    opacity: 0.8;
}

/* --- LOGIN WIDGET (Pixel Perfect) --- */
.login-widget-card {
    background: #0d0a1a;
    border: 2px solid #7b2ff7;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
    position: relative;
    margin-bottom: 25px;
}

.login-widget-card h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.login-widget-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.login-widget-input {
    width: 100%;
    padding: 14px 18px;
    background: #151125;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-widget-input:focus {
    border-color: #7b2ff7;
    outline: none;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-widget-register {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #7b2ff7 0%, #a200ff 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.4);
    transition: 0.3s;
}

.btn-widget-register:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-widget-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #7b2ff7 0%, #a200ff 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.4);
    transition: 0.3s;
}

.btn-widget-login:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.widget-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.widget-divider::before,
.widget-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.widget-divider span {
    padding: 0 15px;
}

.social-btn-row {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    height: 52px;
    border-radius: 4px;
    border: none;
    background: #151125;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: 0.3s;
}

.social-btn.twitch {
    background: #39115c;
    box-shadow: 0 4px 10px rgba(57, 17, 92, 0.3);
}

.social-btn.discord {
    background: #2a3182;
    box-shadow: 0 4px 10px rgba(42, 49, 130, 0.3);
}

.social-btn.google {
    background: #3f115c;
    box-shadow: 0 4px 10px rgba(63, 17, 92, 0.3);
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.social-btn.google i {
    background: linear-gradient(45deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- COMMUNITY ACTIVITY MODERN --- */
.activity-widget {
    background: rgba(10, 7, 25, 0.7);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
}

.streamer-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.streamer-item-modern {
    aspect-ratio: 1/1;
    overflow: hidden;
    border: 1px solid rgba(123, 47, 247, 0.3);
}

.streamer-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hud-progress-wrap {
    margin: 25px 0;
    position: relative;
}

.hud-progress-bar {
    height: 6px;
    background: #1a1535;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    filter: drop-shadow(0 0 10px rgba(123, 47, 247, 0.4));
}

.hud-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #7b2ff7, #a200ff);
}

.hud-progress-marker {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #7b2ff7;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 10px #fff;
    border-radius: 2px;
}

.chat-list-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 4px;
}

.chat-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(123, 47, 247, 0.05);
    border: 1px solid #7b2ff7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9d7cff;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.2);
}

.chat-content-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.placeholder-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.placeholder-line.long {
    width: 85%;
}

.placeholder-line.short {
    width: 50%;
}

.chat-bar-long {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 90%;
}

.chat-bar-short {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 60%;
}

/* --- FEATURED LIVE WIDGET --- */
.live-widget {
    background: rgba(10, 7, 25, 0.7);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
}

.live-header {
    background: rgba(17, 14, 30, 0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #7b2ff7;
}

.live-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.live-diamond {
    color: #ff3e3e;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px #ff3e3e);
}

.live-main {
    position: relative;
    padding: 15px;
    background: #000;
}

.live-thumbnail {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
}

.live-avatar-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 90px;
    height: 90px;
    border: 2px solid #7b2ff7;
    box-shadow: 0 0 15px rgba(123, 47, 247, 0.6);
    border-radius: 2px;
    overflow: hidden;
}

.live-badge-status {
    position: absolute;
    top: 135px;
    left: 30px;
    background: #ff3e3e;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 2px;
}

.live-badge-status span {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.live-viewer-count {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
}

.live-dot-red {
    width: 8px;
    height: 8px;
    background: #ff3e3e;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3e3e;
}

.live-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.live-footer {
    padding: 15px 20px;
    background: linear-gradient(90deg, #1a152e 0%, #110e24 100%);
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.live-footer-icon {
    width: 45px;
    height: 45px;
    background: rgba(123, 47, 247, 0.2);
    border: 2px solid #7b2ff7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.live-footer-details h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.live-footer-details p {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- MODERN HUD WIDGETS --- */
.hud-header-modern {
    background: rgba(17, 14, 30, 0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #7b2ff7;
    margin-bottom: 15px;
}

.hud-header-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hud-header-title i {
    color: #fff;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
}

.hud-header-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0.5px;
    color: #fff;
}

.hud-header-nav {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.hud-header-nav i:hover {
    color: #fff;
    cursor: pointer;
}

/* Favorites Modern */
.fav-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 15px 20px 15px;
}

.fav-card-modern {
    background: transparent;
    transition: 0.3s;
}

.fav-img-wrap {
    border: 2px solid #7b2ff7;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.2);
}

.fav-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-footer-modern {
    background: rgba(17, 14, 30, 0.95);
    margin-top: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border-left: 3px solid #7b2ff7;
}

.fav-footer-modern i {
    color: #7b2ff7;
    font-size: 0.7rem;
}

.fav-footer-modern span {
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
}

/* Clips Modern */
.clips-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 15px 20px 15px;
}

.clip-card-modern {
    position: relative;
    border: 2px solid #7b2ff7;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.2);
}

.clip-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clip-overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 7, 25, 0.95), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.clip-overlay-modern i {
    color: #fff;
    font-size: 0.8rem;
}

.clip-overlay-modern span {
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
}

.fav-card-modern:hover,
.clip-card-modern:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* --- FORUM MODERN WIDGET --- */
.forum-widget {
    background: rgba(10, 7, 25, 0.7);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3), inset 0 0 15px rgba(123, 47, 247, 0.1);
}

.forum-header-modern {
    background: linear-gradient(90deg, rgba(123, 47, 247, 0.2) 0%, transparent 100%);
    padding: 15px 20px;
    border-top: 2px solid rgba(123, 47, 247, 0.4);
    border-bottom: 2px solid #7b2ff7;
    margin-bottom: 10px;
}

.forum-header-modern h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.forum-list-modern {
    padding: 0;
}

.forum-item-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-decoration: none;
    color: #fff;
}

.forum-item-modern:last-child {
    border-bottom: none;
}

.forum-circle-icon {
    width: 14px;
    height: 14px;
    background: #e0e0e0;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.forum-item-text {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.forum-item-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.forum-item-modern:hover {
    background: rgba(123, 47, 247, 0.05);
    padding-left: 25px;
}

.forum-item-modern:hover .forum-circle-icon {
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.bottom-status {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 10, 26, 0.92);
    backdrop-filter: blur(10px);
    border-top: 2px solid #7b2ff7;
    box-shadow: 0 -5px 15px rgba(123, 47, 247, 0.2);
    padding: 12px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    z-index: 2000;
}

.status-flex {
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
}

.status-flex span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.status-flex i {
    color: #9d7cff;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(157, 124, 255, 0.3));
}

.status-flex strong {
    color: #fff;
    font-weight: 800;
    margin-left: 5px;
}

/* News Widget */
.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* --- SPOTLIGHT MODERN WIDGET --- */
.spotlight-card {
    background: rgba(10, 7, 25, 0.7);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3);
}

.spotlight-bg-clip {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.1) 0%, rgba(123, 47, 247, 0.2) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.spotlight-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 25px;
}

.spotlight-avatar-wrap {
    position: relative;
    width: 90px;
    height: 90px;
}

.spotlight-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #7b2ff7;
    box-shadow: 0 0 15px #7b2ff7, inset 0 0 10px rgba(162, 0, 255, 0.5);
}

.spotlight-status-bubble {
    position: absolute;
    bottom: 5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: #7b2ff7;
    border: 2px solid #110e24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    box-shadow: 0 0 10px #7b2ff7;
}

.spotlight-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.spotlight-info p {
    margin: 5px 0 12px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.spotlight-stats-row {
    display: flex;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
}

.spotlight-stat i {
    color: #9d7cff;
    font-size: 1.1rem;
}

/* Socials Bar Modern */
.spotlight-socials-bar {
    background: rgba(10, 7, 25, 0.82);
    border: 2px solid #7b2ff7;
    border-radius: 6px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.2);
}

.social-icons-grid {
    display: flex;
    gap: 15px;
}

.social-icon-modern {
    width: 36px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #110e24;
    font-size: 1.1rem;
    transition: 0.3s;
}

.social-icon-modern.alt {
    background: #9d7cff;
    color: #fff;
}

.social-email-btn {
    width: 50px;
    height: 36px;
    background: #7b2ff7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(123, 47, 247, 0.5);
}

.social-icon-modern:hover {
    transform: translateY(-3px);
    background: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .col-left,
    .col-right {
        order: 2;
    }

    .col-center {
        order: 1;
    }
}

@media (max-width: 768px) {
    .navbar-hud {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }
}

/* =========================================
   ADMIN DASHBOARD POLISH (Phase 2)
   ========================================= */

/* --- ADMIN DASHBOARD V2 --- */
.admin-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns */
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: rgba(138, 43, 226, 0.05);
    /* Very subtle purple tint */
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
    /* Slightly sharper */
    padding: 15px 20px;
    /* Reduced vertical padding */
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    /* Removed fixed heights to make it compact based on content */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--color-admin);
}

.admin-stat-card .icon-bg {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 4rem;
    opacity: 0.05;
    color: #fff;
    transform: rotate(-15deg);
    transition: 0.3s;
}

.admin-stat-card:hover .icon-bg {
    opacity: 0.1;
    transform: rotate(0deg) scale(1.1);
}

.admin-stat-card .stat-value {
    font-size: 1.8rem;
    /* Reduced to fit better */
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    line-height: 1;
    /* Tighter line height */
}

.admin-stat-card .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    position: relative;
    z-index: 1;
}



/* System Health Bar */
.admin-health-bar {
    background: rgba(255, 255, 255, 0.05);
    height: 4px;
    /* Thinner bar */
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
    position: relative;
}

.admin-health-bar .bar-fill {
    height: 100%;
    background: var(--color-admin);
    /* Use unified color */
    box-shadow: 0 0 8px var(--color-admin-glow);
    position: relative;
}

.admin-health-bar .bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 5px #fff;
}

/* Admin Table */
.admin-table-container {
    background: rgba(15, 12, 41, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(0, 242, 255, 0.05);
    color: #00f2ff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: 0.2s;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

/* Status Pills */
.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.online {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-pill.offline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pill.warning {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

/* Quick Action Module */
.quick-action-module {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.quick-action-module:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-admin);
    transform: translateX(5px);
}

.quick-action-module::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-admin);
    opacity: 0;
    transition: 0.3s;
}

.quick-action-module:hover::before {
    opacity: 1;
}

.quick-action-module i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.quick-action-module:hover i {
    color: var(--color-admin);
    text-shadow: 0 0 10px var(--color-admin-glow);
}

.quick-action-module .action-title {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    display: block;
}

.quick-action-module .action-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
    display: block;
}

/* --- SPOTLIGHT CARD V2 (Screenshot Match) --- */
.spotlight-card-v2 {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    border: 2px solid #8a2be2;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.spotlight-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03));
    transform: skewX(-20deg);
}

.spotlight-avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.spotlight-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #8a2be2;
    box-shadow: 0 0 15px #8a2be2;
    object-fit: cover;
}

.spotlight-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #8a2be2;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f0c29;
    font-size: 0.8rem;
}

.spotlight-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
}

.spotlight-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 5px 0 12px 0;
}

.spotlight-stats {
    display: flex;
    gap: 15px;
}

.spotlight-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.spotlight-stat-item i.fa-desktop {
    color: #8a2be2;
}

.spotlight-stat-item i.fa-heart {
    color: #8a2be2;
}

/* --- COMMUNITY ACTIVITY V2 (Screenshot Match) --- */
.community-activity-v2 {
    background: transparent;
    border: 2px solid #8a2be2;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 25px;
}

.activity-avatars-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.activity-avatar-item {
    aspect-ratio: 1/1;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-slider-bar {
    height: 8px;
    background: #2a0e45;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.activity-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 65%;
    /* Demo value */
    background: #8a2be2;
    border-radius: 10px;
    box-shadow: 0 0 10px #8a2be2;
}

.activity-slider-knob {
    position: absolute;
    top: 50%;
    left: 65%;
    /* Match width */
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 0 15px #fff;
    border-radius: 2px;
    /* Square-ish per screenshot */
}

.activity-chat-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-chat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-chat-icon {
    width: 45px;
    height: 45px;
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid #8a2be2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a2be2;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.activity-chat-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}