/* Premium Gate - Wait Overlay Styles */

.wait-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.wait-overlay.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

.wait-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wait-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.wait-content h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Countdown Circle */
.countdown-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}

.countdown-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.countdown-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* Upgrade Prompt */
.wait-upgrade-prompt {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.upgrade-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.wait-upgrade-prompt h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.wait-upgrade-prompt p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.wait-upgrade-prompt strong {
    color: #8a2be2;
    font-weight: 600;
}

.upgrade-btn {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    width: 100%;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.social-proof {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

/* Feature Comparison */
.wait-features {
    margin-top: 20px;
}

.feature-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.comparison-item {
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
}

.comparison-item.free {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.comparison-item.premium {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.tier-label {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.tier-wait {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Add gradient definition */
svg defs {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wait-content {
        padding: 30px 20px;
    }

    .wait-content h2 {
        font-size: 20px;
    }

    .countdown-circle {
        width: 150px;
        height: 150px;
    }

    .countdown-number {
        font-size: 40px;
    }

    .wait-upgrade-prompt h3 {
        font-size: 18px;
    }

    .feature-comparison {
        grid-template-columns: 1fr;
    }
}
