/* Authentication Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #333;
    background: rgba(255, 193, 7, 0.1);
}

.modal-header h2 {
    color: #ffc107;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 25px;
}

.auth-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.auth-message p {
    color: #ddd;
    margin: 5px 0;
    line-height: 1.6;
}

.auth-message strong {
    color: #ffc107;
}

.free-info {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.free-info p {
    color: #ddd;
    margin: 0;
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.auth-option h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.auth-option p {
    color: #888;
    margin-bottom: 15px;
}

.auth-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

/* Payment Modal Specific Styles */
.welcome-message {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-message p {
    color: #ddd;
    margin: 5px 0;
}

.welcome-message strong {
    color: #ffc107;
}

.upgrade-options {
    margin-bottom: 20px;
}

.upgrade-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.upgrade-option h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.upgrade-option p {
    color: #888;
    margin-bottom: 15px;
}

.discord-invite-btn {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
}

.discord-invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.pricing-button {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: #000;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.premium-features {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.premium-features h4 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.premium-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-features li {
    color: #ddd;
    padding: 8px 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .auth-option h3,
    .upgrade-option h3 {
        font-size: 1rem;
    }
}