/* Import fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d081c9;
    --text-color: #ffffff;
    --bg-dark: #000000;
    --overlay-bg: rgba(8, 8, 11, 0.7);
    --border-color: #161717;
    --menu-radius: 5px;
    --standard-transition: all 0.3s ease;
}

::-webkit-scrollbar {
    width: 0.5vh;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-dark);
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

/* Container setup */
.container {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
}

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

/* Video styling */
.loading_video {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.loading_video video {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Wrapper for all content */
.wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    overflow: hidden;
    padding: 1.4vh 2.7vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Top bar with loading text */
.top-bar {
    width: 100%;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Move to right side */
    position: relative;
    z-index: 5;
    padding-right: 2vw; /* Add some padding from the right edge */
}

.server-logo {
    height: 99%;
}

.loading_text {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    /* Add a gradient text effect */
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #d081c9 50%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

@keyframes gradientText {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}


.loading_text a {
    -webkit-text-fill-color: white; /* Make the dots white */
    animation-name: Fade;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.loading_text a:nth-child(2) {
    animation-delay: 0.125s;
}

.loading_text a:nth-child(3) {
    animation-delay: 0.25s;
}

@keyframes Fade {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

/* Bottom center music player */
.music-player-center {
    position: fixed;
    bottom: 2vh;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Music player styling */
.music_player_new {
    backdrop-filter: blur(6px) saturate(100%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1vh;
    padding: 1.2vh;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    ),
    repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 5px
    );
}

.music_controls_new, .music_soundbar_new {
    position: relative;
}

.music_controls_new::before {
    content: '';
    position: absolute;
    left: -1.5vh;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, a, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.music_soundbar_new::before {
    content: '';
    position: absolute;
    left: -1.5vh;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.music_player_new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 62, 62, 0) 0%,
        #bb36b0 50%,
        rgba(255, 62, 62, 0) 100%
    );
}

.music_player_new > img {
    height: 5vh;
    width: 5vh;
    border-radius: 0.8vh;
    background-color: gray;
    object-fit: cover;
    box-shadow: 0 0.2vh 0.5vh rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.music_player_new > div {
    height: auto;
    display: flex;
    flex-direction: row;
    margin-left: 1vh;
    align-items: center;
}

.music_details_new {
    margin-left: 1vh;
}

.music_details_new > p {
    margin: 0;
    padding: 0;
    font-size: 1.2vh;
    font-weight: 600;
    line-height: 1.2vh;
}

.music_details_new > p > span {
    font-weight: 400;
    font-size: 0.8vh;
}

.music_details_new > .bar {
    width: 18vh;
    margin-top: 0.5vh;
    height: 0.7vh;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.5vh;
    overflow: hidden;
    position: relative;
    display: block;
}

.music_soundbar_new > .bar {
    width: 10vh;
    margin-top: 0.5vh;
    height: 0.7vh;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.5vh;
    overflow: hidden;
    position: relative;
    display: block;
}

.music_controls_new {
    margin-left: 3vh;
    display: flex;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.music_controls_new > p {
    margin: 0;
    padding: 0;
    font-size: 1.4vh;
    min-width: 3vh;
    text-align: center;
}

.music_control {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.4vh;
    cursor: pointer;
    margin: 0 0.8vh;
    padding: 0.5vh;
    transition: var(--standard-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music_control:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.music_soundbar_new {
    margin-left: 3vh;
    display: flex;
    height: auto;
    flex-direction: row;
    align-items: center;
    width: auto;
}

.music_soundbar_new i {
    font-size: 1.4vh;
    color: var(--text-color);
    margin-right: 1vh;
    min-width: 1.6vh;
    transition: all 0.3s ease;
}



/* Specifically style the volume slider */
input.volume_slider {
    -webkit-appearance: none;
    appearance: none;
    width: 8vh !important;
    height: 0.8vh !important;
    border-radius: 0.4vh;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    margin: 0;
    padding: 0;
    display: block !important;
}

input.volume_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.4vh;
    height: 1.4vh;
    border-radius: 50%;
    background: #d081c9;
    cursor: pointer;
    border: none;
    box-shadow: -100vw 0 0 100vw #d081c9;
}

input.volume_slider::-moz-range-thumb {
    width: 1.4vh;
    height: 1.4vh;
    border-radius: 50%;
    background: #d081c9;
    cursor: pointer;
    border: none;
    box-shadow: -100vw 0 0 100vw #d081c9;
}

/* Social container styling - adjusted to match music player exactly */
.social-container {
    position: fixed;
    right: 2vw;
    bottom: 2vh; /* Same position as music player */
    backdrop-filter: blur(6px) saturate(100%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1vh;
    padding: 0.8vh 1.2vh; /* Adjusted padding */
    height: 7.4vh; /* Exact height to match music player */
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(50, 50, 50, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    /* Use only black gradients with no blue */
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    ),
    repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 5px
    );
}
  
/* Add purple accent line to match music player */
.social-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255, 62, 62, 0) 0%,
      #d081c9 50%, /* Your purple theme color */
      rgba(255, 62, 62, 0) 100%
    );
}
  
/* Updated social buttons with more spacing */
.social-buttons {
    display: flex;
    gap: 2vh; /* Increased spacing between icons */
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
  
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--standard-transition);
    height: 100%;
    padding: 0 0.5vh;
    color: white;
    text-decoration: none; /* Remove default underline */
    border-bottom: none; /* Explicitly remove any bottom border */
}

.social-link::after {
    display: none; /* Remove any after pseudo-elements that might be causing lines */
}
  
  
.social-link:hover {
    transform: scale(1.1);
    color: #d081c9; /* Your purple theme color on hover */
    text-decoration: none; /* Ensure no underline on hover */
    border-bottom: none; /* Ensure no border on hover */
}
  
/* Make icons larger and fix any line issues */
.socialmedia-button {
    font-size: 2.8vh;
    color: inherit; /* Inherit color from parent link */
    border-bottom: none;
    text-decoration: none;
}


/* Progress bar styling has been removed as we're using the one in the music player */

/* Style inputs for progress and volume */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.7vh;
    border-radius: 0.5vh;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    margin: 0;
    padding: 0;
}

/* Fill effect for WebKit browsers (Chrome, Safari, etc.) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.2vh;
    height: 1.2vh;
    border-radius: 50%;
    background: #d081c9;
    cursor: pointer;
    border: none;
    box-shadow: -100vw 0 0 100vw #d081c9;
}

/* Fill effect for Firefox */
input[type="range"]::-moz-range-thumb {
    width: 1.2vh;
    height: 1.2vh;
    border-radius: 50%;
    background: #d081c9;
    cursor: pointer;
    border: none;
    box-shadow: -100vw 0 0 100vw #d081c9;
}

input[type="range"]::-moz-range-progress {
    background-color: #d081c9;
    height: 0.7vh;
}


/* Staff Section Styles */
.staff-section {
    width: 320px;
    position: fixed;
    top: 50%; /* Position at 50% from the top */
    transform: translateY(-50%); /* Shift up by half its height for true centering */
    left: 20px; /* Keep it on the left side */
    backdrop-filter: blur(6px) saturate(100%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 8px 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    ),
    repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 5px
    );
}

.staff-header {
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 3px;
    position: relative;
    border-bottom: none; /* Remove border bottom */
}

.staff-header h2 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Red line accent like in your screenshot */
.staff-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right, 
        transparent, 
        #d081c9 30%, 
        #d081c9 70%, 
        transparent
    );
}

.staff-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Smaller gap to match screenshot */
    justify-content: center;
    position: relative;
}

.staff-member {
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 5px;
    overflow: hidden;
    width: 95px; /* Make cards smaller to fit 3 in a row */
    height: 125px; /* Fixed height for consistency */
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    /* Add same diagonal line pattern to each card */
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.01) 0,
        rgba(255, 255, 255, 0.01) 1px,
        transparent 1px,
        transparent 5px
    );
}

/* Red bottom border on hover */
.staff-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #d081c9;
}

.staff-photo {
    width: 100%;
    height: 85px; /* Shorter to match screenshot */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    filter: contrast(0.95) brightness(0.9);
}

.staff-info {
    padding: 6px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    height: 40px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-name {
    font-family: 'Inter', sans-serif;
    color: white;
    font-weight: 500;
    font-size: 0.7rem;
    margin: 0 0 2px 0;
}

.staff-role {
    font-family: 'Inter', sans-serif;
    color: #d081c9; /* Red tint to match music player */
    font-size: 0.6rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Remove the audio visualizer and replace with a red line that matches the music player */
.staff-audio-bars {
    display: none; /* Hide the previous bars */
}

/* Add red line at bottom of staff section */
.staff-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right, 
        transparent, 
        #d081c9 30%, 
        #d081c9 50%,
        #d081c9 70%, 
        transparent
    );
}

/* Animation for staff cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.staff-member {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* Stagger animation for each staff member */
.staff-member:nth-child(1) { animation-delay: 0.1s; }
.staff-member:nth-child(2) { animation-delay: 0.2s; }
.staff-member:nth-child(3) { animation-delay: 0.3s; }
.staff-member:nth-child(4) { animation-delay: 0.4s; }
.staff-member:nth-child(5) { animation-delay: 0.5s; }
.staff-member:nth-child(6) { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .staff-section {
        width: 300px;
        padding: 6px;
        position: fixed;
        bottom: 85px;
        left: 10px;
    }
    
    .staff-member {
        width: 90px;
        height: 120px;
    }
    
    .staff-photo {
        height: 80px;
    }
}

/* Animation for staff cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.staff-member {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* Stagger animation for each staff member */
.staff-member:nth-child(1) { animation-delay: 0.1s; }
.staff-member:nth-child(2) { animation-delay: 0.2s; }
.staff-member:nth-child(3) { animation-delay: 0.3s; }
.staff-member:nth-child(4) { animation-delay: 0.4s; }
.staff-member:nth-child(5) { animation-delay: 0.5s; }
.staff-member:nth-child(6) { animation-delay: 0.6s; }
.staff-member:nth-child(7) { animation-delay: 0.7s; }
.staff-member:nth-child(8) { animation-delay: 0.8s; }

/* Animate the audio bars */
@keyframes equalizerBars {
    0% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0.3); }
}

.staff-audio-bar {
    animation: equalizerBars 1.5s ease-in-out infinite;
}

.staff-audio-bar:nth-child(1) { animation-delay: -0.2s; }
.staff-audio-bar:nth-child(2) { animation-delay: -0.4s; }
.staff-audio-bar:nth-child(3) { animation-delay: -0.6s; }
.staff-audio-bar:nth-child(4) { animation-delay: -0.8s; }
.staff-audio-bar:nth-child(5) { animation-delay: -1.0s; }
.staff-audio-bar:nth-child(6) { animation-delay: -1.2s; }
.staff-audio-bar:nth-child(7) { animation-delay: -1.4s; }
.staff-audio-bar:nth-child(8) { animation-delay: -1.6s; }