/* ==========================================================================
   Homepage VIP Banner — Design 2: Obsidian & Liquid Gold + Travelling Yellow Border
   ========================================================================== */

@keyframes vipBorderOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes vipBtnSweep {
    0% {
        transform: translateX(130%) skewX(-20deg);
    }
    100% {
        transform: translateX(-240%) skewX(-20deg);
    }
}

.vip-obsidian-frame {
    position: relative;
    width: 94%;
    margin: 45px auto 40px;
    padding: 2px;
    border-radius: 25px;
    overflow: hidden;
    direction: rtl;
    font-family: 'IRANYekanX', 'Vazirmatn', system-ui, sans-serif;
    box-sizing: border-box;
    box-shadow:
        0 20px 46px -16px rgba(0, 0, 0, 0.8),
        0 0 26px -6px rgba(250, 204, 21, 0.24);
}

.vip-obsidian-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220vmax;
    height: 220vmax;
    background: conic-gradient(
        from 0deg,
        rgba(245, 158, 11, 0.16) 0deg,
        rgba(245, 158, 11, 0.16) 105deg,
        #f59e0b 135deg,
        #facc15 158deg,
        #fef9c3 174deg,
        #fde047 180deg,
        rgba(245, 158, 11, 0.16) 186deg,
        rgba(245, 158, 11, 0.16) 285deg,
        #f59e0b 315deg,
        #facc15 338deg,
        #fef9c3 354deg,
        #fde047 360deg
    );
    animation: vipBorderOrbit 4.4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.vip-obsidian-inner {
    position: relative;
    z-index: 1;
    border-radius: 23px;
    overflow: hidden;
    background: linear-gradient(145deg, #16151b 0%, #0b0b10 100%);
}

.vip-obsidian-glow {
    position: absolute;
    left: -64px;
    top: -64px;
    width: 288px;
    height: 288px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 70%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 0;
}

.vip-obsidian-main {
    position: relative;
    z-index: 1;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vip-obsidian-info {
    flex: 1;
    max-width: 720px;
    text-align: right;
}

.vip-obsidian-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.vip-club-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #fde047, #f59e0b);
    color: #090d16;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.4px;
    line-height: 1.5;
}

.vip-club-label {
    color: #fcd34d;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.vip-obsidian-frame .vip-obsidian-title {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
}

.vip-obsidian-frame .vip-obsidian-desc {
    margin: 0 !important;
    color: #94a3b8 !important;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.vip-obsidian-cta-wrap {
    flex-shrink: 0;
}

.vip-obsidian-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
    color: #090d16 !important;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 10px 26px -6px rgba(245, 158, 11, 0.52);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vip-obsidian-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 55%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    animation: vipBtnSweep 3.2s infinite ease-in-out;
    pointer-events: none;
}

.vip-obsidian-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -6px rgba(245, 158, 11, 0.68);
    color: #090d16 !important;
}

.vip-btn-crown {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.vip-btn-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.vip-obsidian-btn:hover .vip-btn-arrow {
    transform: translateX(-3px);
}

/* 4-Column Divided Luxury Benefit Dock */
.vip-obsidian-dock {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.vip-dock-item {
    padding: 14px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vip-dock-item:last-child {
    border-left: none;
}

.vip-dock-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.vip-dock-badge svg {
    width: 16px;
    height: 16px;
    display: block;
}

.vip-dock-text {
    min-width: 0;
    text-align: right;
}

.vip-dock-title {
    color: #ffffff;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vip-dock-sub {
    margin-top: 2px;
    color: #94a3b8;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 980px) {
    .vip-obsidian-main {
        flex-direction: column;
        align-items: stretch;
    }

    .vip-obsidian-dock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vip-dock-item:nth-child(1),
    .vip-dock-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .vip-dock-item:nth-child(2) {
        border-left: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vip-obsidian-frame::before,
    .vip-obsidian-btn::after {
        animation: none;
    }
}

/* ==========================================================================
   Sleek Single-Line VIP Tier Option inside Modal Tier List (Preserved)
   ========================================================================== */
.unlock-tier > li.vip-tier-option {
    margin-top: 10px;
    border: 1px solid #f59e0b !important;
    background: rgba(245, 158, 11, 0.08) !important;
    transition: all 0.2s ease;
    align-items: center !important;
    min-height: 48px;
}

.unlock-tier > li.vip-tier-option:hover {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.vip-tier-title {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    color: #ffd700 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
    margin: 10px !important;
    padding: 0 !important;
}

.vip-tier-title span,
.vip-modal-footer-link span {
    font-family: 'IRANYEKANX';
}

.vip-modal-footer-link span i {
    font-size: 21px;
}

.vip-tier-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border-radius: 14px;
    padding: 7px 12px !important;
    font-size: 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.vip-modal-footer-link {
    cursor: pointer;
    padding: 12px 16px;
    text-align: center;
    background-color: #474747;
    border-radius: 0 0 9px 9px;
    transition: background 0.2s;
}

.dark .vip-modal-footer-link {
    background-color: #474747;
}

.vip-modal-footer-link:hover {
    background-color: #555555;
}

.vip-modal-footer-link p {
    margin: 0;
    font-size: 12px;
    color: #c2c2c2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vip-modal-footer-link:hover p {
    color: #ffd700;
}
