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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75)), url('backround.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 128, 216, 0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    margin-left: -160px;
}

.logo i {
    color: rgba(157, 128, 216, 1);
    font-size: 28px;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a i {
    color: rgba(157, 128, 216, 1);
}

.nav-links a:hover {
    background: rgba(157, 128, 216, 0.1);
    color: rgba(157, 128, 216, 1);
    transform: translateY(-2px);
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 120px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    margin-bottom: 40px;
}

.title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, rgba(157, 128, 216, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, rgba(157, 128, 216, 1), transparent);
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

.server-info {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(157, 128, 216, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: rgba(157, 128, 216, 1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.server-status span {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.connect-info {
    font-family: 'JetBrains Mono', monospace;
    padding: 15px 20px;
    background: rgba(157, 128, 216, 0.05);
    border-radius: 10px;
    color: rgba(157, 128, 216, 1);
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.connect-icon {
    margin-right: 10px;
    font-size: 18px;
}

.connect-text {
    flex: 1;
}

.connect-button {
    background: rgba(157, 128, 216, 0.1);
    border: none;
    color: rgba(157, 128, 216, 1);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-button:hover {
    background: rgba(157, 128, 216, 0.2);
    transform: translateY(-2px);
}


.radio-player {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(157, 128, 216, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.radio-controls {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-controls iframe {
    position: relative;
    width: 590px; 
    height: 250px;
    left: 0;
    border: none;
    transition: all 0.3s ease;
}









.radio-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(157, 128, 216, 1);
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-play:hover {
    transform: scale(1.1);
}

.radio-info {
    flex: 1;
}

.radio-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

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

.volume-control {
    width: 100px;
}

.volume-slider {
    width: 100%;
    height: 4px;
    background: rgba(157, 128, 216, 0.1);
    border-radius: 2px;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: rgba(157, 128, 216, 1);
    border-radius: 50%;
    cursor: pointer;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    max-height: 100vh;
    overflow: hidden;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(157, 128, 216, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    background: rgba(157, 128, 216, 0.08);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(157, 128, 216, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(157, 128, 216, 0.12);
    border-color: rgba(157, 128, 216, 0.3);
    box-shadow: 0 5px 15px rgba(157, 128, 216, 0.1);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 128, 216, 0.15);
    border-radius: 12px;
    margin: 0 auto 12px;
    font-size: 18px;
    color: rgba(157, 128, 216, 1);
}


.stat-item:hover .stat-icon {
    background: rgba(157, 128, 216, 0.25);
    transform: scale(1.1);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, rgba(157, 128, 216, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.players-grid {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(157, 128, 216, 0.1);
    backdrop-filter: blur(10px);
    height: 500px;
    overflow: hidden;
}

.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(157, 128, 216, 0.1);
}

.players-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.players-count {
    background: rgba(157, 128, 216, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: rgba(157, 128, 216, 1);
}


.players-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    height: calc(100% - 60px);
    overflow-y: auto;
    align-content: start;
}

.players-list::-webkit-scrollbar {
    width: 8px;
}

.players-list::-webkit-scrollbar-track {
    background: rgba(157, 128, 216, 0.05);
    border-radius: 4px;
}

.players-list::-webkit-scrollbar-thumb {
    background: rgba(157, 128, 216, 0.3);
    border-radius: 4px;
    border: 2px solid rgba(157, 128, 216, 0.1);
}

.players-list::-webkit-scrollbar-thumb:hover {
    background: rgba(157, 128, 216, 0.5);
    cursor: pointer;
}

.players-list::-webkit-scrollbar-thumb:active {
    background: rgba(157, 128, 216, 0.7);
}


.player-item {
    background: rgba(157, 128, 216, 0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    height: 50px;
}

.player-item:hover {
    background: rgba(157, 128, 216, 0.1);
    transform: translateY(-2px);
}

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(157, 128, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-avatar i {
    color: rgba(157, 128, 216, 1);
    font-size: 16px;
}

.player-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.players-list::-webkit-scrollbar {
    width: 6px;
}

.players-list::-webkit-scrollbar-track {
    background: rgba(157, 128, 216, 0.05);
    border-radius: 3px;
}

.players-list::-webkit-scrollbar-thumb {
    background: rgba(157, 128, 216, 0.3);
    border-radius: 3px;
}

.players-list::-webkit-scrollbar-thumb:hover {
    background: rgba(157, 128, 216, 0.5);
}

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

@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 100px 20px 40px;
    }

    .server-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .title {
        font-size: 40px;
    }

    .server-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}