.signal-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box;
    animation: popupFadeIn 0.3s ease-out;
}

.signal-popup-content {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.4s ease-out 0.1s both;
}

.signal-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.6) 50%,
        transparent 100%);
}

.signal-popup h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #00d4ff, #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signal-popup p {
    margin: 1.2rem 0;
    color: #b3b3b3;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.signal-popup-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.signal-popup-buttons button {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 0.9rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    backdrop-filter: blur(10px);
    min-height: auto;
}

.signal-popup-buttons button::before {
    display: none;
}

.signal-popup-continue {
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.2) 0%,
        rgba(0, 153, 204, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
}

.signal-popup-continue:hover {
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.3) 0%,
        rgba(0, 153, 204, 0.25) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
}

.signal-popup-web {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.signal-popup-web:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.signal-popup-cancel {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.signal-popup-cancel:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.15);
    transform: translateY(-1px);
}

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

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 768px) {
    .signal-popup-content {
        padding: 2.5rem;
    }

    .signal-popup-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .signal-popup-buttons button {
        width: auto;
        min-width: 120px;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .signal-popup-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .signal-popup h3 {
        font-size: 1.4rem;
    }

    .signal-popup-buttons button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}
