/* ===================================
   Coming Soon Popup Styles
   =================================== */

/* Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Popup Container */
.popup-container {
    background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
    border: 1px solid #2A2A2A;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-close svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

/* Popup Header */
.popup-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.popup-coin-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.popup-coin-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.4));
}

.popup-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fb923c;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-description {
    font-size: 1rem;
    color: #A3A3A3;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Popup Body */
.popup-body {
    padding: 0 2rem 2rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input::placeholder {
    color: #666;
}

.form-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-submit svg {
    width: 20px;
    height: 20px;
}

/* Success Message */
.popup-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.popup-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: #22C55E;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.success-message {
    font-size: 1rem;
    color: #A3A3A3;
    line-height: 1.6;
}

/* Privacy Notice */
.popup-privacy {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.popup-privacy a {
    color: #f97316;
    text-decoration: none;
}

.popup-privacy a:hover {
    text-decoration: underline;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .popup-container {
        margin: 1rem;
        border-radius: 20px;
    }
    
    .popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .popup-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .popup-coin-image {
        width: 100px;
        height: 100px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-description {
        font-size: 0.875rem;
    }
}
