﻿
/* دکمه VIP به صورت عمودی */
.vip-trigger-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    padding: 18px 12px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 0 16px 16px 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    font-size: 16px;
    color: #2c4beb;
    font-family: inherit;
}

    .vip-trigger-btn:hover {
        padding: 22px 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .vip-trigger-btn .vip-icon {
        color: #fff;
        background-color: #2c4beb;
        padding: 7px;
        margin-top: 5px;
        border-radius: 50%;
    }
    /* سایدبار */
    .vip-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .vip-sidebar.open {
        transform: translateX(0);
    }

/* محتوای اصلی سایدبار (قابل اسکرول) */
.sidebar-main {
    flex: 1;
    overflow-y: auto;
}

/* فوتر سایدبار */
.sidebar-footer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-top: 1px solid #dee2e6;
    padding: 20px;
    margin-top: auto;
}

.footer-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 12px 8px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #2c4beb;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: #999;
}

.progress-section {
    margin-bottom: 15px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
    color: #555;
}

.progress-bar-container {
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    width: 0%;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.next-tier {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

.footer-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .footer-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

/* اسکرول */
.sidebar-main::-webkit-scrollbar {
    width: 6px;
}

.sidebar-main::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.sidebar-main::-webkit-scrollbar-thumb {
    background: #2c4beb;
    border-radius: 3px;
}

/* هدر */
.sidebar-header {
    padding: 20px 25px;
    background: #2c4beb;
    color: white;
}

/* دکمه بستن */
.close-sidebar {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

    .close-sidebar:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
        border-radius: 50%;
    }

/* نوار بازگشت */
.back-bar {
    color: #000;
    padding: 12px ;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

    .back-bar:hover {
        background: #e9ecef;
        transform: translateX(-5px);
    }

.back-arrow {
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
}

.back-text {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
}

/* باکس‌های اصلی */
.main-boxes {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 15px;
    text-align: right;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .info-box:hover {
        transform: translateY(-4px);
        border-color: #2c4beb;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

.box-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.box-desc {
    font-size: 13px;
    color: #999;
}

.box-arrow {
    margin-top: 15px;
    font-size: 14px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-box:hover .box-arrow {
    opacity: 1;
}

/* لیست آیتم‌ها */
.items-list {
    padding: 10px;
}

.points-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin: 8px 0;
    background: #ffffff;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .points-item:hover {
        background: #f8f9fa;
        transform: translateX(-5px);
        border-color: #888;
    }

.item-info {
    flex: 1;
}

.item-title {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.item-desc {
    font-size: 13px;
    color: #999;
}

.item-icon {
    font-weight: 700;
    font-size: 14px;
    color: #2c4beb;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f0ff;
}
.item-icon a {
    color: #2c4beb;
}

    .item-points.discount {
        color: #FF8C00;
        background: #fff5e6;
    }

.section-header {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
}

    .section-header h3 {
        font-size: 18px;
        color: #1a1a2e;
        font-weight: 600;
    }


/* overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* محتوای اصلی */
.main-content {
    text-align: center;
    color: white;
    padding: 100px 20px;
}

    .main-content h1 {
        font-size: 56px;
        margin-bottom: 20px;
    }

    .main-content p {
        font-size: 18px;
        opacity: 0.9;
    }

/* ریسپانسیو */
@media (max-width: 576px) {
    .vip-sidebar {
        width: 100%;
    }

    .vip-trigger-btn {
        padding: 14px 10px;
        font-size: 14px;
    }
}
.sign-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sign-box .sign-btn {
    background: #2c4beb;
    color: #fff;
    padding: 5px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}