:root {
    --bg-dark: #070b0d;
    --primary: #00e57a;
    --primary-hover: #00cc52;
    --primary-glow: rgba(0, 229, 122, 0.4);
    --panel-bg: rgba(13, 20, 24, 0.85);
    --panel-border: rgba(0, 229, 122, 0.2);
    --text-main: #ffffff;
    --text-muted: #a0aab2;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --cube-h: 130px;
    --cube-z: 65px;
    --glass: rgba(0, 229, 122, 0.03);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(0, 229, 122, 0.1);
}

/* ===== GLOBAL CUSTOM SCROLLBAR (KURSOR) ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #070b0d;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-glow);
    border: 2px solid #070b0d;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #070b0d;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 11, 13, 0.7) 0%, rgba(7, 11, 13, 0.95) 100%);
    z-index: -1;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-toggle {
    display: none;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.3);
}

.logo span {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.menu-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

nav a span {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 2px;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 229, 122, 0.5);
}

nav a.active {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.btn-login {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.5);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 40px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: -13px;
    right: 13px;
    bottom: 0;
    background: #0d1113;
    transition: .4s;
    border-radius: 40px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.6),
        inset 0 -2px 3px rgba(0, 229, 122, 0.05),
        0 1px 0 rgba(0, 229, 122, 0.15);
    border: 1px solid rgba(0, 229, 122, 0.2);
    overflow: hidden;
}

.slider .thumb {
    position: absolute;
    height: 34px;
    width: 48px;
    left: 3px;
    top: 2px;
    background: linear-gradient(to bottom, #1a2327 0%, #0a0d0e 100%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 34px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 2px rgba(0, 229, 122, 0.2);
    z-index: 10;
    border: 1px solid rgba(0, 229, 122, 0.3);
    transform: translateX(42px);

}

input:checked+.slider .thumb {
    transform: translateX(0);

}

.label-uz,
.label-ru {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    transition: .4s;
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.label-uz {
    left: 14px;
    color: var(--primary);
    /* Neon Green */
}

.label-ru {
    right: 14px;
    color: #ff7b00;
    /* Deep Orange like the image */
}

input:checked+.slider .label-uz {
    opacity: 0.15;
    color: #777;
}

input:not(:checked)+.slider .label-ru {
    opacity: 0.15;
    color: #777;
}

.switch:active .slider .thumb {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 1px 0 #fff;
}

.slider.round {
    border-radius: 40px;
}


.btn-join {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 10px rgba(0, 229, 122, 0.1);
}

.btn-join:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 229, 122, 0.4);
}

.btn-join:active {
    transform: translateY(2px);
    box-shadow: 0 0 5px rgba(0, 229, 122, 0.2);
}


.hero {
    margin: 80px 0;
    max-width: 600px;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.3);
}

.hero p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 229, 122, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 30px rgba(0, 229, 122, 0.5);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(0, 229, 122, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(1px);
}


.server-tabs {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-btn.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 229, 122, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 122, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.cube-wrapper {
    perspective: 1200px;
    margin-bottom: 40px;
    height: var(--cube-h);
    width: 100%;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(calc(var(--cube-z) * -1)) rotateX(0deg);
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

/* 🔥 TO‘G‘RI JOYLASHUV */
.face-front  { transform: rotateY(0deg) translateZ(var(--cube-z)); }
.face-back   { transform: rotateY(180deg) translateZ(var(--cube-z)); }
.face-right  { transform: rotateY(90deg) translateZ(var(--cube-z)); }
.face-left   { transform: rotateY(-90deg) translateZ(var(--cube-z)); }
.face-top    { transform: rotateX(90deg) translateZ(var(--cube-z)); }
.face-bottom { transform: rotateX(-90deg) translateZ(var(--cube-z)); }


.server-status {
    display: flex;
    justify-content: space-between;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(25px);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.server-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.status-item.center-item {
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 20px;
}

.status-icon {
    font-size: 24px;
    color: var(--primary);
    background: rgba(0, 229, 122, 0.1);
    padding: 15px;
    border-radius: 8px;
}

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

.status-info .label {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.status-info .value {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.3);
}

.progress-bar {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 5px;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 5px var(--primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 229, 122, 0.3);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.btn-outline:hover {
    background: rgba(0, 229, 122, 0.1);
    border-color: var(--primary);
}


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

.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 122, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 229, 122, 0.15), var(--shadow-premium);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 28px;
    color: var(--primary);
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 12px;
    color: var(--text-muted);
}


.grid-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    position: relative;
    min-height: 480px;
    height: auto;

}

.panel::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 229, 122, 0.2), transparent, rgba(0, 229, 122, 0.1));
    z-index: -1;
    opacity: 0.5;
}

.panel-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h3 i {
    color: var(--primary);
}

.rules-list {
    list-style: none;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.rules-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.rules-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary);
}

.news-list {
    list-style: none;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-text {
    color: var(--text-muted);
}

.news-date {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 12px;
}

.top-players-list {
    list-style: none;
    flex-grow: 1;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;

}

.top-players-list li {
    display: flex;
    align-items: center;
    font-size: 15px; /* Shrift kattaroq */
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    height: 42px; /* Balandlikni oshirdik */
}

.top-players-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 122, 0.2);
    transform: translateX(4px);
}

.top-players-list .rank {
    width: 28px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
}

.top-players-list li:nth-child(1) .rank {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.top-players-list li:nth-child(2) .rank {
    color: #c0c0c0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.top-players-list li:nth-child(3) .rank {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.top-players-list .name {
    color: var(--text-main);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
    font-weight: 500;
}

.top-players-list .score {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    background: rgba(0, 229, 122, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}


.top-players-slider {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 480px; /* Balandlikni 10 ta katta qatorga mosladik */
}

.top-players-container {
    flex-grow: 1;
    overflow: hidden;

    height: 100%;
}

.top-players-container::-webkit-scrollbar {
    width: 4px;
}

.top-players-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.top-players-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-arrow.prev {
    left: 5px;
}

.slider-arrow.next {
    right: 5px;
}

.slider-arrow:hover {
    background: rgba(0, 229, 122, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.top-server-indicator {
    margin-left: auto;
    background: rgba(0, 229, 122, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid rgba(0, 229, 122, 0.2);
    font-family: var(--font-heading);
    text-shadow: 0 0 5px rgba(0, 229, 122, 0.5);
}

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

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(0, 229, 122, 0.2);
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-block i {
    color: var(--primary);
}

.btn-block:hover {
    background: rgba(0, 229, 122, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-left .logo h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
}

.footer-left .logo span {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
}

.footer-center {
    text-align: center;
}

.footer-center span {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

.footer-right {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}


@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-content {
        grid-template-columns: 1fr;
    }
    .hero h2 {
        font-size: 48px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 12px;
    }

    .server-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --cube-h: 290px;
        --cube-z: 145px;
    }

    .hero h2 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--primary);
        font-size: 24px;
        cursor: pointer;
    }

    header {
        flex-wrap: wrap;
        position: relative;
    }

    .menu-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--panel-bg);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid var(--panel-border);
        backdrop-filter: blur(10px);
        margin-top: 10px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    }

    .menu-container.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .header-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    .lang-switcher {
        display: flex;
        gap: 5px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: none;
        border: 1px solid var(--text-muted);
        border-radius: 4px;
    }

    .lang-btn.active {
        color: var(--primary);
        border-color: var(--primary);
    }

    .btn-join {
        display: flex;
        flex: 1;
        justify-content: center;
    }

    .server-status {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        height: 100%;
    }

    .status-item {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }

    .status-item.center-item {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px 0;
    }

    .server-tabs {
        margin-bottom: 15px;
    }

    .tab-btn {
        flex-grow: 1;
        text-align: center;
        padding: 10px 5px;
        font-size: 14px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

}


.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.show .modal-content {
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-content {
    width: 100%;
    max-width: 450px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: rgba(7, 11, 13, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 122, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 122, 0.15);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

.modal-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 229, 122, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 229, 122, 0.2);
    flex-shrink: 0;
}

.auth-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.modal-header h3 i {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.5);
}

.modal-header .fa-times {
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-header .fa-times:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

#playersList {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    overflow-y: auto;
    flex: 1;
}

#playersList li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 95px 65px;
    gap: 15px;
    align-items: center;
    padding: 12px 24px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    position: relative;
}

#playersList li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

#playersList li:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 30px;
}

#playersList li:hover::before {
    opacity: 1;
    box-shadow: 0 0 8px var(--primary);
}

#playersList li span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#playersList li span.rank-num {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    width: 20px;
    display: inline-block;
}

#playersList li span.player-name {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

#playersList li span.player-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#playersList li span.player-frags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 229, 122, 0.1);
    border: 1px solid rgba(0, 229, 122, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
}

#playersList::-webkit-scrollbar {
    width: 6px;
}

#playersList::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

#playersList::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.auth-modal {
    max-width: 420px;
    padding: 0;
    background: #070b0d;
    border: 1px solid rgba(0, 229, 122, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 122, 0.1);
}

.auth-header {
    border-bottom: none;
    padding: 24px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: transparent;
}

.auth-logo {
    display: flex;
    flex-direction: column;
}

.auth-logo h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 229, 122, 0.3);
    margin: 0;
}

.auth-logo h2 span {
    color: var(--primary);
}

.auth-header .fa-times {
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-header .fa-times:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.auth-body {
    padding: 20px 30px 40px 30px;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 30px;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.auth-input-group {
    position: relative;
    width: 100%;
}

.auth-input-group input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: inset 0 0 5px rgba(0, 229, 122, 0.1);
}

.auth-input-group .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-input-group .input-icon:hover {
    color: var(--primary);
}

.auth-forgot {
    text-align: left;
    margin-top: -5px;
    margin-bottom: 5px;
}

.auth-forgot a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-forgot a:hover {
    text-shadow: 0 0 8px rgba(0, 229, 122, 0.5);
}

.btn-auth-submit {
    width: 100%;
    background: var(--primary);
    border: none;
    color: var(--bg-dark);
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 229, 122, 0.3);
}

.btn-auth-submit:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 25px rgba(0, 229, 122, 0.5);
    transform: translateY(-2px);
}

.btn-auth-submit:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(0, 229, 122, 0.2);
}

.btn-auth-outline {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-auth-outline:active {
    transform: translateY(1px);
    background: rgba(0, 229, 122, 0.05);
}

.auth-social {
    text-align: center;
    margin-top: 25px;
}

.auth-social span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 15px;
}

.auth-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.auth-social .social-icons i {
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-social .social-icons .fa-google:hover {
    color: #ea4335;
}

.auth-social .social-icons .fa-telegram:hover {
    color: #0088cc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-rules-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-rules-list li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.modal-rules-list li strong {
    color: var(--primary);
    margin-right: 8px;
}

.modal-rules-list li:hover {
    background: rgba(0, 229, 122, 0.05);
    border-color: rgba(0, 229, 122, 0.2);
    color: var(--text-main);
    transform: translateX(5px);
}

.rules-modal-wide {
    max-width: 950px;
    width: 95%;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.rules-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 229, 122, 0.15);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rules-subtitle.admin-color {
    color: #ff4757;
    border-bottom-color: rgba(255, 71, 87, 0.15);
}

@media (max-width: 800px) {
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rules-modal-wide {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .rules-modal-wide .auth-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .modal-rules-list.scrollable {
        max-height: none;
        overflow-y: auto;
    }
}

@media (max-width: 600px) {
    .rules-modal-wide {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .rules-modal-wide .auth-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-rules-list.scrollable {
        max-height: none;
        overflow-y: auto;
    }
}

.modal-rules-list.scrollable {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 12px;
}

.modal-rules-list.scrollable::-webkit-scrollbar {
    width: 4px;
}

.modal-rules-list.scrollable::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.rules-extras {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 229, 122, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 122, 0.15);
    box-shadow: inset 0 0 20px rgba(0, 229, 122, 0.05);
}

.rules-extras h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 1px;
}

.rules-extras p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.motto {
    margin-top: 25px;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    font-size: 16px;
    text-shadow: 0 0 15px rgba(0, 229, 122, 0.4);
    letter-spacing: 0.5px;
    font-style: italic;
}

.ban-server-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ban-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ban-tab.active {
    background: rgba(0, 229, 122, 0.1);
    border-color: rgba(0, 229, 122, 0.2);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 229, 122, 0.1);
}

.ban-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.ban-table-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

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

.ban-table th {
    text-align: left;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ban-table td {
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.ban-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.ban-reason-badge {
    padding: 4px 10px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 600px) {

    .ban-table th:nth-child(4),
    .ban-table td:nth-child(4),
    .ban-table th:nth-child(5),
    .ban-table td:nth-child(5) {
        display: none;
    }
}


.shop-modal-wide {
    width: 95%;
    max-width: 1100px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 10px 5px;
}

.shop-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    min-height: 520px; /* Minimal balandlik, lekin o'yinchilar kam bo'lsa ham chiroyli turadi */
    height: auto;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.shop-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.shop-card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 35px;
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(0, 229, 122, 0.3);
}

.shop-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.shop-card .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.shop-card .price span {
    font-size: 14px;
    color: var(--text-muted);
}

.shop-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.shop-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.shop-features li i {
    font-size: 12px;
}

.btn-shop-buy {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-card.lite {
    border-bottom: 4px solid #00e57a;
}

.shop-card.lite h3 {
    color: #00e57a;
    text-shadow: 0 0 15px rgba(0, 229, 122, 0.3);
}

.shop-card.lite .btn-shop-buy:hover {
    background: #00e57a;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 122, 0.4);
}

.shop-card.admin {
    border-bottom: 4px solid #00d2ff;
}

.shop-card.admin h3 {
    color: #00d2ff;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.shop-card.admin .btn-shop-buy:hover {
    background: #00d2ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.shop-card.admin .shop-card-badge {
    background: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.shop-card.boss {
    border-bottom: 4px solid #f9ca24;
}

.shop-card.boss h3 {
    color: #f9ca24;
    text-shadow: 0 0 15px rgba(249, 202, 36, 0.3);
}

.shop-card.boss .btn-shop-buy:hover {
    background: #f9ca24;
    color: #000;
    box-shadow: 0 0 20px rgba(249, 202, 36, 0.4);
}

.shop-card.boss .shop-card-badge {
    background: #f9ca24;
    box-shadow: 0 0 15px rgba(249, 202, 36, 0.3);
}

.shop-card.qomondon {
    border-bottom: 4px solid #eb4d4b;
}

.shop-card.qomondon h3 {
    color: #eb4d4b;
    text-shadow: 0 0 15px rgba(235, 77, 75, 0.3);
}

.shop-card.qomondon .btn-shop-buy:hover {
    background: #eb4d4b;
    color: #fff;
    box-shadow: 0 0 20px rgba(235, 77, 75, 0.4);
}

.shop-card.qomondon .shop-card-badge {
    background: #eb4d4b;
    box-shadow: 0 0 15px rgba(235, 77, 75, 0.3);
    color: #fff;
}

@media (max-width: 800px) {
    .shop-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile fix for shop modal scrolling */
@media (max-width: 768px) {
    .shop-modal-wide {
        width: 95%;
        max-width: 100%;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .shop-modal-wide .auth-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .shop-modal-wide .auth-body.scrollable {
        max-height: none;
        overflow-y: auto !important;
    }
}

@media (max-width: 600px) {
    .shop-modal-wide {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .shop-modal-wide .auth-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .shop-modal-wide .auth-body.scrollable {
        max-height: none;
        overflow-y: auto !important;
    }
}

.btn-shop-details {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.btn-shop-details:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-details-text {
    padding: 10px 5px;
}


.modal .auth-body.scrollable::-webkit-scrollbar {
    width: 6px;
}

.modal .auth-body.scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.modal .auth-body.scrollable::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary);
}

.modal .auth-body.scrollable {
    overflow-y: auto !important;
    padding-right: 15px;
    flex: 1;
    min-height: 0;
}

.details-section h4 {
    color: var(--primary);
    margin: 25px 0 12px 0;
    font-size: 15px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section h4:first-child {
    margin-top: 0;
}

.details-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-section li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.shop-card.lite .btn-shop-details:hover {
    border-color: #00e57a;
    color: #00e57a;
}

.shop-card.admin .btn-shop-details:hover {
    border-color: #00d2ff;
    color: #00d2ff;
}

.shop-card.boss .btn-shop-details:hover {
    border-color: #f9ca24;
    color: #f9ca24;
}

.shop-card.qomondon .btn-shop-details:hover {
    border-color: #eb4d4b;
    color: #eb4d4b;
}

.selected-rank-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-rank-info strong {
    color: var(--primary);
    font-size: 18px;
    font-family: var(--font-heading);
}

.purchase-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

.purchase-server-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.server-opt {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.server-opt i {
    font-size: 20px;
    opacity: 0.5;
}

.server-opt span {
    font-weight: 700;
    font-family: var(--font-heading);
}

.server-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.server-opt.active {
    background: rgba(0, 229, 122, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 122, 0.1);
}

.server-opt.active i {
    opacity: 1;
}

/* ===== CONTACT MODAL STYLES ===== */
.contact-modal-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .contact-modal-content {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .contact-grid {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
}

@media (max-width: 600px) {
    .contact-modal-content {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .contact-grid {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 229, 122, 0.2);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 229, 122, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-role {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-name {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 700;
}

.contact-btn {
    width: 35px;
    height: 35px;
    background: #24A1DE;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(36, 161, 222, 0.3);
}

.contact-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 15px rgba(36, 161, 222, 0.5);
}

/* Owner Highlight */
.owner-card {
    background: rgba(0, 229, 122, 0.05);
    border: 1px solid rgba(0, 229, 122, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 122, 0.1);
}

.owner-card .contact-icon {
    background: var(--primary);
    color: var(--bg-dark);
}

.owner-card .contact-name {
    color: var(--primary);
}

/* ===== VES TOP MODAL STYLES ===== */
.ves-top-modal-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .ves-top-modal-content {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .ves-top-list {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }

    .ves-top-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ves-top-modal-content {
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .ves-top-list {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .ves-top-tabs {
        grid-template-columns: 1fr;
    }
}

.ves-top-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ves-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.3s ease;
}

.ves-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.ves-tab.active {
    background: rgba(0, 229, 122, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 229, 122, 0.1);
}

.ves-top-list {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
}

.ves-top-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.ves-top-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 229, 122, 0.2);
    transform: scale(1.01);
}

.v-rank {
    width: 35px;
    height: 35px;
    background: rgba(0, 229, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 16px;
}

.ves-top-item:nth-child(1) .v-rank { background: #ffd700; color: #000; box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }
.ves-top-item:nth-child(2) .v-rank { background: #c0c0c0; color: #000; }
.ves-top-item:nth-child(3) .v-rank { background: #cd7f32; color: #000; }

.v-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.v-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.v-stats {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.v-score {
    text-align: right;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 18px;
    display: flex;
    flex-direction: column;
}

.v-score span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: -5px;
}


.user-box{
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-dropdown{
    position: absolute;
    top: 45px;
    right: 0;
    background: #0f1720;
    border: 1px solid #00ff9f;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 140px;
    box-shadow: 0 0 15px rgba(0,255,150,0.3);
    z-index: 999;
}

.user-dropdown a{
    padding: 10px;
    color: #00ff9f;
    text-decoration: none;
    display: flex;
    gap: 8px;
}

.user-dropdown a:hover{
    background: rgba(0,255,150,0.1);
}

.avatar{
    width: 32px;
    height: 32px;
    border-radius: 50%; /* 🔥 dumaloq */
    object-fit: cover;  /* 🔥 cho‘zilmaydi */
    border: 2px solid #00ff9f;

    box-shadow:
        0 0 6px #00ff9f,
        0 0 12px rgba(0,255,150,0.4);

    transition: 0.2s;
}

.avatar:hover{
    transform: scale(1.1);
}

.nl-progress-fill {
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--neon);
}


.chart-bar {
    flex: 1;
    background: var(--neon);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
    transition: 0.3s;
}

.chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.1);
}
.ban-content-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .ban-content-wrapper {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }
}

@media (max-width: 600px) {
    .ban-content-wrapper {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* 🔥 TABLE HEADER QOTIB TURADI */
.ban-table thead th {
    position: sticky;
    top: 0;
    background: #0b0f14;
    z-index: 5;

    /* neon style */
    color: #00ff9f;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}


.success-box {
    text-align: center;
    background: #0a0a0a;
    border: 1px solid #00ff9f;
    box-shadow: 0 0 20px #00ff9f;
}

#weaponModal .modal-content {
    border: 1px solid #00ff9f;
}