/* Mobile-first design with animations */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #FF5252, #FF1744); /* Dynamic red background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-top: 20px;
}

.logo {
    font-size: 2.5rem;
    color: #FFF;
}

.main-section {
    background-color: #FFF;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

.main-content h2 {
    font-size: 1.8rem;
    color: #FF1744;
    margin-bottom: 10px;
}

.main-content p {
    font-size: 1rem;
    color: #FF1744;
    margin-bottom: 20px;
}

.plan-card {
    background-color: #FFCDD2;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.plan-card h3 {
    font-size: 1.5rem;
    color: #D32F2F;
}

.plan-card p {
    font-size: 1.2rem;
    color: #B71C1C;
}

.subscription-info {
    font-size: 0.9rem;
    color: #757575;
}

.plan-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.payment-options {
    margin-top: 10px;
}

.cta-btn {
    background-color: #FF5252;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    width: 100%;
}

.cta-btn:hover {
    background-color: #E53935;
    transform: translateY(-3px);
}

#bkash-btn:before, #nagad-btn:before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: #FF1744;
    animation: slideIn 1.5s infinite;
}

@keyframes slideIn {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    margin: 15% auto;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

#paymentText {
    font-size: 1rem;
    color: #333;
}