﻿.modal-container {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #00000059;
    display : flex;
    align-items : center;
    justify-content : center;
    z-index : 100;
    top : 0;
    left : 0;
}


/* ===== SUBSCRIBE MODAL UI ===== */
.subscribe-container {
    display: flex;
    width: 90%;
    max-width: 1000px;
    min-height: 520px;
    max-height: 90vh;
    background: rgba(18, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: auto;
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subc-img1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    opacity: 0.3;
}

.subc-img2 {
    transform: scale(-1, 1);
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    opacity: 0.3;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== LEFT SIDE (30%) ===== */
.subscribe-left {
    flex: 0 0 30%;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.02));
    padding: 36px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

    .subscribe-left::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
        pointer-events: none;
    }

.subscribe-left-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.subscribe-left .subscribe-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-bottom: 16px;
}

.subscribe-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 12px;
}

    .subscribe-left h2 span {
        background: linear-gradient(135deg, #5d97ff, #5faeff);
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.subscribe-left p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Giveaway Box */
.giveaway-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.giveaway-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

    .giveaway-icon img {
        width: 110px;
        height: 110px;
    }


.giveaway-text {
    display: flex;
    flex-direction: column;
}

.giveaway-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffd966;
}

.giveaway-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Features */
.subscribe-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.feature-icon {
    font-size: 0.9rem;
    color: #4ade80;
}

/* Testimonial */
.subscribe-testimonial {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

    .subscribe-testimonial span {
        font-size: 1.4rem;
    }

    .subscribe-testimonial p {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
        margin: 0;
        font-style: italic;
    }

/* ===== RIGHT SIDE (70%) ===== */
.subscribe-right {
    flex: 1;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.subscribe-form-container {
    width: 100%;
    max-width: 420px;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

    .form-header .form-icon {
        font-size: 2.4rem;
        display: block;
        margin-bottom: 6px;
    }

    .form-header h3 {
        font-size: 1.4rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 4px;
    }

    .form-header p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.4);
    }

/* Form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .form-group label {
        font-size: 0.8rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.6);
        letter-spacing: 0.02em;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        color: #fff;
        font-size: 0.9rem;
        font-family: inherit;
        transition: all 0.3s ease;
        outline: none;
    }

        .form-group input:focus {
            border-color: rgba(37, 99, 235, 0.4);
            background: rgba(255, 255, 255, 0.07);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
        }

        .form-group input::placeholder {
            color: rgba(255, 255, 255, 0.2);
        }

.form-row {
    display: flex;
    gap: 12px;
}

    .form-row .half {
        flex: 1;
    }

/* Checkbox */
.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
}

    .form-group.checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        accent-color: #2563eb;
        cursor: pointer;
    }

    .form-group.checkbox label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
    }

/* Subscribe Button */
.subscribe-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3);
    font-family: inherit;
}

    .subscribe-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
        background: linear-gradient(135deg, #1d4ed8, #2563eb);
    }

    .subscribe-btn:active {
        transform: translateY(0);
    }

    .subscribe-btn .btn-sub {
        font-size: 0.7rem;
        font-weight: 400;
        opacity: 0.7;
    }

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .subscribe-container {
        flex-direction: column;
        max-height: 95vh;
        width: 95%;
        border-radius: 24px;
        position: relative;
    }

    .subscribe-left {
        flex: none;
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

        .subscribe-left h2 {
            font-size: 1.5rem;
        }

        .subscribe-left p {
            font-size: 0.85rem;
        }

    .subscribe-right {
        padding: 24px 20px;
        overflow-y: auto;
    }

    .subscribe-form-container {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    /* .subscribe-testimonial{
        display : none;
    }

    .subscribe-features{
        margin-bottom : 0px;
    }*/
}

@media (max-width: 480px) {
    .subscribe-container {
        width: 98%;
        border-radius: 20px;
        min-height: auto;
    }

    .subscribe-left {
        padding: 18px 16px;
    }

        .subscribe-left h2 {
            font-size: 1.3rem;
        }

        .subscribe-left .giveaway-box {
            padding: 10px 14px;
        }

    .subscribe-right {
        padding: 18px 16px;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }

    .subscribe-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}