/* css/style4.css - Social Theme + Animated Background */

body {
    /* Fused: Social Colors + Animated Logic from Style 2 */
    background: linear-gradient(-45deg, #84fab0, #8fd3f4, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Rest of Style 1 (Social Theme) */
.main-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 650px;
    width: 100%;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.icon-wrapper {
    background: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon-wrapper i {
    color: #4facfe;
}

.title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #555;
    font-weight: 400;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-control-custom {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 18px 25px;
    font-size: 1rem;
    color: #333;
    width: 100%;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: #84fab0;
    box-shadow: 0 0 0 4px rgba(132, 250, 176, 0.2);
}

.btn-custom {
    background: #4facfe;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 12px;
    padding: 18px 35px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .subscription-form {
        flex-direction: row;
        align-items: stretch;
    }
    
    .form-control-custom {
        flex: 1;
        border-radius: 12px 0 0 12px;
        border-right: none;
    }
    
    .btn-custom {
        width: auto;
        border-radius: 0 12px 12px 0;
    }
}


/* --- Custom Alert Modal --- */
.custom-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center; justify-content: center;
}

.custom-modal-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 60px 30px 30px 30px; /* Top padding space for icon */
    width: 90%; max-width: 400px;
    text-align: center;
    color: white;
    animation: alertPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes alertPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.custom-modal-header-icon {
    position: absolute;
    top: -40px; /* Pull it up */
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 80px;
}

.icon-wrapper {
    width: 100%; height: 100%;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 4px solid rgba(255,255,255,0.8);
}

.icon-wrapper img {
    width: 50px; height: auto;
}

.custom-modal-body p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.custom-modal-footer button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    transition: transform 0.2s;
}
.custom-modal-footer button:hover {
    transform: scale(1.05);
}
