/* ========================================
   JOIN MODAL - Explorer/Navigator
   ======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--bg-card, #141b2d);
    border: 1px solid var(--border-color, rgba(74, 144, 217, 0.25));
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 40px rgba(74, 144, 217, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted, #6B7280);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary, #FFFFFF);
}

.modal-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4A90D9 0%, #6BB3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary, #b8c5d6);
    margin-bottom: 32px;
    font-size: 16px;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.choice-card {
    background: var(--bg-secondary, #0f1525);
    border: 2px solid var(--border-color, rgba(74, 144, 217, 0.25));
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.choice-card:hover {
    border-color: #4A90D9;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.2);
}

.choice-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--text-primary, #FFFFFF);
}

.choice-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #FFFFFF);
    margin-bottom: 8px;
}

.choice-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.choice-badge.free {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.choice-badge.paid {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.3), rgba(107, 179, 255, 0.2));
    color: #8EC5FC;
}

.choice-desc {
    font-size: 14px;
    color: var(--text-secondary, #b8c5d6);
    line-height: 1.5;
}

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

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

@media (max-width: 600px) {
    .choice-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        padding: 24px;
    }
}

/* ========================================
   COMING SOON MODAL
   ======================================== */
#comingSoonModal .modal-content {
    text-align: center;
    max-width: 400px;
}

#comingSoonModal .modal-content > i {
    font-size: 3rem;
    color: #4A90D9;
    margin-bottom: 20px;
}

#comingSoonModal .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-heading, #FFFFFF);
}

#comingSoonModal .modal-content p {
    color: var(--text-secondary, #b8c5d6);
    margin-bottom: 24px;
    line-height: 1.6;
}
