.content {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content h1 {
    color: #6c63ff;
    margin-bottom: 15px;
    font-weight: 700;
}

.content p {
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 20px;
}

/* Footer Styles */
.topup-footer {
    background-color: #121212;
    color: #f0f0f0;
    padding: 50px 0 0;
    margin-top: auto;
    border-top: 1px solid #2a2a2a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6c63ff, #a463f2);
}

.footer-section p {
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #6c63ff;
    padding-left: 8px;
}

.footer-links i {
    margin-right: 10px;
    color: #6c63ff;
    width: 18px;
    font-size: 0.9rem;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #bbb;
}

.contact-info i {
    margin-right: 12px;
    color: #6c63ff;
    width: 18px;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2a2a2a;
    color: #ddd;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: #6c63ff;
    color: white;
    border-color: #6c63ff;
}

.payment-methods {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.payment-icon {
    width: 60px;
    height: 36px;
    background-color: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 0.8rem;

    transition: all 0.3s ease;
}

.payment-icon:hover {
    border-color: #6c63ff;
    transform: translateY(-2px);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.legal-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.legal-links a:hover {
    color: #6c63ff;
}

.legal-links a:after {
    content: '•';
    position: absolute;
    right: -15px;
    color: #555;
}

.legal-links a:last-child:after {
    content: '';
}

/* Newsletter form - Updated for better responsiveness */
.newsletter-form {
    display: flex;
    margin-top: 15px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #3a3a3a;
    background-color: #1a1a1a;
    border-radius: 6px 0 0 6px;
    outline: none;
    color: #f0f0f0;
    font-size: 0.9rem;
    min-width: 0; /* Allows input to shrink on mobile */
}

.newsletter-form input:focus {
    border-color: #6c63ff;
}

.newsletter-form button {
    background: linear-gradient(90deg, #6c63ff, #a463f2);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap; /* Prevents button text from wrapping */
}

.newsletter-form button:hover {
    background: linear-gradient(90deg, #5a52e0, #8c53d8);
}

.payment-section {
    margin-top: 25px;
}

.payment-section h4 {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    gap: 15px;
    background: transparent;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.payment-icon {
    font-size: 2rem;
    color: #888;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icon:hover {
    transform: translateY(-3px);
}

.visa:hover {
    color: #1a1adb;
}

.mastercard:hover {
    color: #eb001b;
}

.amex:hover {
    color: #007bc1;
}

.paypal:hover {
    color: #003087;
}

.apple-pay:hover {
    color: #ffffff;
}

.google-pay:hover {
    color: #4285f4;
}

.stripe:hover {
    color: #6772e5;
}

.bitcoin:hover {
    color: #f7931a;
}

/* Responsive Styles - Updated for better newsletter form */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .legal-links {
        gap: 15px;
    }

    .legal-links a:after {
        display: none;
    }

    .payment-methods {
        justify-content: center;
    }

    /* Newsletter form adjustments for mobile */
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 6px;
        width: 100%;
        padding: 14px 15px; /* Slightly larger padding on mobile for better touch */
    }
}

/* Large screen styles - Make email and button bigger */
@media (min-width: 1200px) {
    .newsletter-form input {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .newsletter-form button {
        padding: 0 25px;
        font-size: 1rem;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .newsletter-form {
        max-width: 400px; /* Increased from 300px */
    }
    
    .newsletter-form input {
        padding: 18px 22px;
        font-size: 1.05rem;
    }
    
    .newsletter-form button {
        padding: 0 30px;
        font-size: 1.05rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .newsletter-form {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .legal-links {
        flex-direction: column;
        gap: 12px;
    }
}