/* css/vip.css */
/* VIP Login Card on Home Page */
.vip-login-card {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 15px;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    position: relative;
    overflow: hidden;
    animation: floatVipCard 3s ease-in-out infinite;
}

.vip-login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: shineVipCard 3s infinite;
}

@keyframes shineVipCard {
    0% { left: -150%; }
    100% { left: 100%; }
}

@keyframes floatVipCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.vip-login-card h3 {
    margin: 0 0 15px 0;
    color: #000;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vip-login-card p {
    color: #333;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.vip-login-card .btn-vip {
    background: #000;
    color: #FFD700;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.vip-login-card .btn-vip:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal Popup */
.vip-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.vip-modal.show {
    opacity: 1;
}

.vip-modal-content {
    background: #111;
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

.vip-modal.show .vip-modal-content {
    transform: translateY(0) scale(1);
}

.vip-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vip-close:hover {
    color: #FFD700;
}

.vip-modal-content h2 {
    color: #FFD700;
    margin: 0 0 10px 0;
    font-size: 28px;
    text-transform: uppercase;
}

.vip-modal-content p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 15px;
}

#vip-referral-input {
    width: 100%;
    padding: 15px;
    background: #222;
    border: 1px solid #444;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    outline: none;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#vip-referral-input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

#vip-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#vip-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.vip-error-msg {
    color: #ff4444 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    display: none;
}

/* Hero Plans Button Enhancement */
#hero-plans-btn {
    padding: 14px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    animation: btnGlowPulse 3s infinite; /* Added a subtle pulse glow */
}

@keyframes btnGlowPulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 15px 5px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
}

#hero-plans-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%; /* Broader shine */
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: none;
    animation: vipShine 4s infinite linear; /* Slightly faster than 5s but broader */
}

@keyframes vipShine {
    0% {
        left: -150%;
    }
    30%, 100% {
        left: 150%;
    }
}

#hero-plans-btn:hover {
    transform: scale(1.08) translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.5);
    filter: brightness(1.1);
}

#hero-plans-btn i {
    margin-right: 10px;
    animation: crownWiggle 2s infinite ease-in-out;
}

@keyframes crownWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}



