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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #ffffff;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.youtube-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    filter: brightness(0.4) contrast(1.2);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

.loading-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(1px);
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.server-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.server-logo img:hover {
    border-color: #4A0086;
    box-shadow: 0 0 20px rgba(142, 45, 226, 0.3);
}

.server-info {
    display: flex;
    flex-direction: column;
}

.server-name {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(45deg, #4A0086, #8E2DE2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.server-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.nav-right .social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.discord {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.2), rgba(114, 137, 218, 0.1));
    color: #7289da;
}

.social-btn.twitter {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.2), rgba(29, 161, 242, 0.1));
    color: #1da1f2;
}

.social-btn.youtube {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1));
    color: #ff0000;
}

.social-btn.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(225, 48, 108, 0.1));
    color: #e1306c;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: currentColor;
}

.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
    padding: 30px 40px;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(142, 45, 226, 0.3); 
}

.section-header i {
    font-size: 20px;
    color: #4A0086;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* .staff-sidebar {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    max-height: 600px;
    overflow-y: auto;
}

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

.staff-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.staff-member:hover {
    background: rgba(142, 45, 226, 0.1); 
    border-color: rgba(142, 45, 226, 0.3); 
    transform: translateX(5px);
}

.staff-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
}

.staff-member:hover .staff-avatar {
    border-color: #4A0086;
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.3); 
}

.staff-info {
    flex: 1;
}

.staff-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
}

.staff-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.staff-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.staff-status.online {
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.staff-status.offline {
    background: #757575;
} */


.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.welcome-section {
    max-width: 600px;
}

.welcome-title {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4A0086, #8E2DE2, #4A0086); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

.welcome-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.server-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(142, 45, 226, 0.1); 
    border-color: rgba(142, 45, 226, 0.3); 
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 900;
    color: #4A0086;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.news-sidebar {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    max-height: 600px;
    overflow-y: auto;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background: rgba(142, 45, 226, 0.1); 
    border-color: rgba(142, 45, 226, 0.3); 
    transform: translateX(-5px);
}

.news-date {
    font-size: 12px;
    color: #4A0086;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.loading-footer {
    padding: 30px 40px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    animation: slideUp 1s ease-out 0.5s both;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.loading-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loading-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-label {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #4A0086;
}

.loading-dots {
    color: #4A0086;
    animation: dots 1.5s ease-in-out infinite;
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.loading-status {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.loading-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 400px;
}

.loading-progress-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4A0086, #8E2DE2); 
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

.loading-progress-glow {
    position: absolute;
    top: -2px;
    left: 0;
    width: 0%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.6), transparent); 
    border-radius: 10px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.loading-percentage {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #4A0086;
    text-shadow: 0 0 10px rgba(142, 45, 226, 0.5); 
}

.music-player {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-self: flex-start;
    grid-column: 1;
}

.music-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A0086, #8E2DE2); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.music-details {
    flex: 1;
}

.music-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.music-controls {
    display: flex;
    gap: 10px;
}

.music-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.music-btn:hover {
    background: rgba(142, 45, 226, 0.2); 
    color: #4A0086;
    transform: scale(1.1);
}

.music-btn.play-pause {
    background: linear-gradient(135deg, #4A0086, #8E2DE2); 
    color: white;
}

.music-btn.play-pause:hover {
    background: linear-gradient(135deg, #8E2DE2, #4A0086); 
    transform: scale(1.1);
}

.staff-sidebar::-webkit-scrollbar,
.news-sidebar::-webkit-scrollbar {
    width: 6px;
}

.staff-sidebar::-webkit-scrollbar-track,
.news-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.staff-sidebar::-webkit-scrollbar-thumb,
.news-sidebar::-webkit-scrollbar-thumb {
    background: rgba(142, 45, 226, 0.5); 
    border-radius: 3px;
}

.staff-sidebar::-webkit-scrollbar-thumb:hover,
.news-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(142, 45, 226, 0.7); 
}

@media screen and (max-width: 1600px) {
    .main-content {
        grid-template-columns: 280px 1fr 280px;
        gap: 25px;
        padding: 25px 30px;
    }
    
    .welcome-title {
        font-size: 36px;
    }
    
    .loading-progress-container {
        min-width: 350px;
    }
}

@media screen and (max-width: 1400px) {
    .main-content {
        grid-template-columns: 250px 1fr 250px;
        gap: 20px;
        padding: 20px 25px;
    }
    
    .server-stats {
        gap: 30px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media screen and (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        gap: 25px;
    }
    
    .staff-sidebar,
    .news-sidebar {
        max-height: 300px;
    }
    
    .server-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .loading-footer {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        text-align: center;
    }
    
    .loading-progress-container {
        min-width: auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .top-nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-left,
    .nav-right {
        justify-content: center;
    }
    
    .server-name {
        font-size: 24px;
    }
    
    .main-content {
        padding: 20px;
        gap: 20px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-description {
        font-size: 16px;
    }
    
    .server-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .loading-footer {
        padding: 20px;
    }
    
    .music-player {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .music-info {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .social-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .staff-sidebar,
    .news-sidebar {
        padding: 20px;
        max-height: 250px;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .loading-percentage {
        font-size: 20px;
    }
    
    .music-controls {
        justify-content: center;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hidden {
    display: none !important;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.error {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
}

.success {
    border-color: #4CAF50 !important;
    color: #4CAF50 !important;
}


#background-video { filter: none !important; }
.video-overlay { display: none !important; background: none !important; }

.top-nav .social-buttons { display: none !important; } 
.welcome-section { display: none !important; } 
.news-sidebar { display: none !important; } 

.main-content { grid-template-columns: 300px 1fr !important; }

.top-nav {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.loading-footer {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}


.loading-footer .loading-info,
.loading-footer .loading-progress-container {
  display: none !important;
}

.loading-footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: auto; 
    width: auto; 
    
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}