:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --background-color: rgba(0, 0, 0, 0.8);
    --blur-color: rgba(0, 0, 0, 0.5);
    --text-color: #00ffff;
    --vip-color: #00ff00;
    --locked-color: #ff0000;
}

* {
    box-sizing: border-box;
}

/* تنظیمات کلی بدنه */
body {
    font-family: 'Vazir', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('https://B2n.ir/d15690') no-repeat center center fixed;
    background-size: cover;
}

/* پس‌زمینه بلور شده */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px); /* اعمال بلور به پس‌زمینه */
    z-index: -1;
}

/* محتوای اصلی */
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

/* سربرگ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px; /* کاهش padding */
    background-color: transparent; /* حذف رنگ پس‌زمینه */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

.hamburger-menu {
    font-size: 1.5em;
    cursor: pointer;
}

.program-name {
    font-size: 1.5em;
    font-family: 'Arial Black', sans-serif;
}

.vpn {
    color: var(--text-color); /* آبی فیروزه‌ای */
}

.program-version {
    font-size: 1em;
    font-family: 'Arial', sans-serif;
    margin-right: 10px; /* اضافه کردن فاصله از سمت راست */
}

/* منو */
.menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: var(--background-color); /* مشکی با شفافیت */
    backdrop-filter: blur(5px); /* اعمال بلور به پس‌زمینه */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000;
    text-align: left;
    overflow-y: auto;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu li {
    padding: 10px 0;
    border-bottom: 1px solid var(--text-color); /* آبی فیروزه‌ای */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu li select {
    margin-left: 10px;
}

.menu-icon {
    margin-right: 10px;
}

.lock-icon {
    color: var(--locked-color); /* قرمز */
}

/* لوگوی VPN */
.logo-container {
    width: 120px;
    height: 120px;
    background-color: var(--locked-color); /* قرمز در حالت عدم اتصال */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 150px auto 20px auto;
    cursor: pointer;
    transition: background-color 0.5s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.logo-container.connected {
    background-color: var(--text-color); /* آبی فیروزه‌ای در حالت اتصال */
}

.vpn-logo {
    width: 60%;
    height: 60%;
}

/* وضعیت اتصال */
.status {
    font-size: 1.2em;
    margin: 10px 0;
    color: var(--text-color); /* آبی فیروزه‌ای */
}

/* اطلاعات اتصال */
.connection-info {
    display: none;
    margin-bottom: 20px;
    padding: 10px;
    color: var(--text-color); /* آبی فیروزه‌ای */
    display: flex; /* نمایش افقی */
    justify-content: space-around;
}

.connection-info .info-box {
    background-color: var(--blur-color);
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.connection-info .info-box:hover {
    transform: scale(1.1);
}

.connection-info p {
    margin: 0 10px;
    color: #000; /* متن مشکی */
}

/* لیست سرورها */
.server-list {
    margin-top: 20px;
    display: inline-block;
    text-align: left;
}

/* دکمه باز کردن لیست سرورها */
.dropdown-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    transition: background-color 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dropdown-btn:hover {
    background-color: var(--secondary-color);
}

/* محتوای لیست سرورها */
.dropdown-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    width: 200px;
    margin-top: 5px;
}

.dropdown-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-content li:hover {
    background-color: #ddd;
}

.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

/* کلاس‌های پینگ */
.ping-green {
    color: green;
}

.ping-yellow {
    color: yellow;
}

.ping-red {
    color: red;
}

/* دکمه ورود */
#loginBtn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

#loginBtn:hover {
    background-color: var(--secondary-color);
}

/* وضعیت VIP */
#vipStatus {
    color: var(--vip-color); /* سبز */
    font-weight: bold;
    margin-top: 20px;
}

/* دکمه اتصال سریع */
.quick-connect {
    margin-top: 20px;
}

.quick-connect-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    transition: background-color 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.quick-connect-btn:hover {
    background-color: var(--secondary-color);
}