/* Discord Modal Styles */
.discord-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-in-out;
}

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

.discord-modal-content {
    background: linear-gradient(135deg, #1a1d29 0%, #0f1117 100%);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(88, 101, 242, 0.3);
    animation: slideUp 0.4s ease-out;
}

.discord-modal-header {
    background: linear-gradient(90deg, #5865f2 0%, #7289da 100%);
    padding: 24px;
    text-align: center;
    position: relative;
}

.discord-modal-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-modal-body {
    padding: 32px 24px;
    text-align: center;
}

.discord-modal-body p {
    color: #b9bbbe;
    font-size: 16px;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.discord-widget-wrapper {
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.discord-widget-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.discord-join-button {
    display: inline-block;
    background: linear-gradient(90deg, #5865f2 0%, #7289da 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.discord-join-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
    background: linear-gradient(90deg, #4752c4 0%, #5b6eae 100%);
}

.dont-remind-container {
    margin-top: 20px;
}

.dont-remind-btn {
    background: transparent;
    border: 1px solid rgba(185, 187, 190, 0.3);
    color: #b9bbbe;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dont-remind-btn:hover {
    background: rgba(185, 187, 190, 0.1);
    border-color: rgba(185, 187, 190, 0.5);
    color: #ffffff;
}

.discord-modal-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-modal-close {
    background: #5865f2;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4);
}

.discord-modal-close:hover {
    background: #4752c4;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.6);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .discord-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .discord-modal-header h2 {
        font-size: 22px;
    }

    .discord-modal-body {
        padding: 24px 16px;
    }

    .discord-widget-wrapper iframe {
        height: 350px;
    }

    .discord-join-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
