.main-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 24px 0 24px 0;
    color: #1e293b;
}
.quote {
    text-align: center;
    margin-top: 2em;
    font-size: 1.25em;
    color: #1e293b;
}
.quote-author {
    text-align: center;
    font-size: 1.1em;
    color: #64748b;
    margin-bottom: 2em;
}
/* Ensure left and right boxes are always side by side */
.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}
.left-box, .right-box {
    width: 340px;
    min-width: 260px;
    box-sizing: border-box;
}

/* Video containers for targeted display */
.video1-container {
    display: block;
    margin: 0 auto 16px auto;
    max-width: 100%;
}
.video1-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    background: #fff;
    margin-bottom: 12px;
}
.video2-container {
    display: block;
    margin: 0 auto 16px auto;
    max-width: 100%;
}
.video2-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    background: #fff;
    margin-bottom: 12px;
}
.video-caption {
    text-align: center;
    font-size: 0.95em;
    color: #1e293b;
    margin-top: -4px;
    font-weight: 600;
}

#giftSection .video1-container {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 100%;
}

#ultimateSection .video2-container {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 100%;
}
@media (max-width: 900px) {
    .flex-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
    }
    .left-box, .right-box {
        width: 48%;
        min-width: 180px;
    }
}
/* Responsive styles for different devices */
@media (max-width: 1200px) {
    form {
        padding: 1.5em 1.5em;
    }
    button {
        font-size: 1em;
        padding: 0.7em 1.5em;
    }
}

@media (max-width: 900px) {
    form {
        padding: 1em 0.5em;
    }
    label, input[type="email"], button {
        font-size: 0.95em;
    }
    #response {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    form {
        padding: 0.5em 0.2em;
    }
    label, input[type="email"], button {
        font-size: 0.9em;
    }
    button {
        padding: 0.6em 0.5em;
    }
    #response {
        font-size: 0.95em;
    }
}
.left-box form {
    background: #fff;
    padding: 1.2em 1.6em;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08);
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
}

/* Tighten response message spacing under email form */
.left-box #response {
    margin-top: 0.8em;
}

.right-box form {
    background: transparent;
    padding: 1em 1.2em;
    border-radius: 16px;
    box-shadow: none;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
}
label {
    font-size: 1.1em;
    color: #1e293b;
}
input[type="email"] {
    padding: 0.7em 1em;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    transition: border 0.2s;
}
input[type="email"]:focus {
    border: 1.5px solid #2563eb;
}
/* Style login inputs to match email field */
input[type="text"], input[type="password"] {
    padding: 0.7em 1em;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    transition: border 0.2s;
    width: 100%;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 1.5px solid #2563eb;
}

/* Inline layout for login inputs */
.login-inline {
    display: flex;
    gap: 8px;
    width: 100%;
}
.login-inline .password-inline,
.login-inline input[type="text"] {
    flex: 1 1 0;
}
button {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8em 2em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    transition: background 0.2s, transform 0.1s;
}
button:hover {
    background: linear-gradient(90deg, #1d4ed8 0%, #38bdf8 100%);
    transform: translateY(-2px) scale(1.03);
}
#response {
    margin-top: 1.5em;
    font-size: 1.1em;
    color: #059669;
    min-height: 2em;
    text-align: center;
}
#giftSection {
    display: none;
    margin-top: 2em;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 1.5em 2em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}

#giftSection.active {
    display: block;
}

#ultimateSection {
    margin-top: 2em;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 1.5em 2em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}
.footer-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto 24px auto;
    width: 100%;
    max-width: 600px;
    flex-wrap: wrap;
}

.footer-btn {
    flex: 1 1 auto;
    min-width: 120px;
    white-space: nowrap;
    padding: 0.6em 1.1em;
}

/* Responsive footer buttons for small screens */
@media (max-width: 768px) {
    .footer-btn-row {
        gap: 0;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .footer-btn {
        flex: 1 1 calc(50% - 12px);
        min-width: 110px;
        font-size: 0.9em;
        padding: 0.6em 0.7em;
    }
    /* Mobile: further tighten left and right form spacing */
    .left-box form {
        padding: 0.8em 0.6em;
        margin-top: 12px;
        gap: 0.6em;
    }
    .right-box form {
        padding: 0.8em 0.6em;
        margin-top: 12px;
        gap: 0.5em;
    }
}

@media (max-width: 500px) {
    .footer-btn-row {
        gap: 10px;
        padding: 0 5px;
    }
    
    .footer-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        font-size: 0.85em;
        padding: 0.65em 0.5em;
    }
}

@media (max-width: 380px) {
    .footer-btn-row {
        flex-direction: column;
        gap: 10px;
        max-width: 280px;
    }
    
    .footer-btn {
        width: 100%;
        min-width: 0;
        font-size: 0.9em;
        padding: 0.7em 1em;
    }
}

/* Enhanced layout for larger display ratios/screens */
@media (min-width: 1024px) {
    .footer-btn-row {
        max-width: 960px;
        gap: 0;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .footer-btn {
        flex: 0 0 auto;
        min-width: 150px;
    }
}

@media (min-width: 1440px) {
    .footer-btn-row {
        max-width: 1200px;
        gap: 0;
    }
    .footer-btn {
        min-width: 160px;
        font-size: 1.05em;
        padding: 0.75em 1.3em;
    }
}

/* Emphasized tagline under email form */
.benefit-tagline {
    font-weight: 700;
    font-style: italic;
    font-size: 1.2em;
}

/* Make member login button full width and red */
#loginForm button[type="submit"] {
    width: 100%;
    background: #ef4444; /* red */
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}
#loginForm button[type="submit"]:hover {
    background: #dc2626; /* darker red */
}

.header-logo {
    display: block;
    margin: 48px auto 16px auto;
    max-width: 420px;
    width: 90vw;
}
