/* =================================
   MODAL BETA REGISTRATION STYLES
   ================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, 
        rgba(20, 10, 5, 0.98) 0%, 
        rgba(40, 20, 10, 0.98) 50%, 
        rgba(20, 10, 5, 0.98) 100%);
    border: 2px solid #ff6600;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 
        0 0 50px rgba(255, 102, 0, 0.6),
        inset 0 0 30px rgba(255, 102, 0, 0.1);
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #e8c88a;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    color: #ff6600;
}

.modal-title {
    color: #ff6600;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
    animation: modalGlow 2s ease-in-out infinite alternate;
}

@keyframes modalGlow {
    0% { text-shadow: 0 0 15px rgba(255, 102, 0, 0.8); }
    100% { text-shadow: 0 0 25px rgba(255, 102, 0, 1), 0 0 35px rgba(255, 102, 0, 0.6); }
}

.modal-subtitle {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.modal-subtitle strong {
    color: #ff6600;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
}

.modal-countdown-mini {
    display: inline-flex;
    gap: 8px;
    margin: 0 5px;
    vertical-align: middle;
}

.modal-countdown-unit {
    background: linear-gradient(135deg, #331a0e, #4d2616);
    border: 1px solid #674220;
    border-radius: 4px;
    padding: 3px 5px;
    min-width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-countdown-number {
    color: #ff6600;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.modal-countdown-label {
    color: #e8c88a;
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
    margin-top: 1px;
}

.modal-benefits {
    background: rgba(51, 26, 14, 0.7);
    border: 1px solid #674220;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.modal-benefits-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.modal-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-benefits-list li {
    color: #e8c88a;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.modal-benefits-list li:before {
    content: "⚔️";
    position: absolute;
    left: 0;
    color: #ff6600;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #ff8533, #ff6600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.modal-btn-secondary {
    background: linear-gradient(135deg, #331a0e, #4d2616);
    color: #e8c88a;
    border: 1px solid #674220;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-btn-secondary:hover {
    background: linear-gradient(135deg, #4d2616, #331a0e);
    color: #fff;
    border-color: #ff6600;
    transform: translateY(-2px);
}

.modal-dismiss {
    margin-top: 15px;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-dismiss:hover {
    color: #e8c88a;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 16px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-countdown-mini {
        gap: 4px;
    }
    
    .modal-countdown-unit {
        min-width: 25px;
        padding: 2px 3px;
    }
    
    .modal-countdown-number {
        font-size: 12px;
    }
    
    .modal-countdown-label {
        font-size: 7px;
    }
}
