* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #101011;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

body.modal-open {
    overflow: hidden;
}


/* ============================================================
   MODE B: CAMPAIGN — Background + Doublelist Modal
   ============================================================ */

/* Background Image Handling */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('desktop.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
}

@media (max-width: 768px) {
    .bg-wrapper {
        background-image: url('mobile.png');
        background-size: 100% auto;
        background-position: top center;
    }
}

/* Invisible Click Catcher */
.tap-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    cursor: pointer;
}

/* Modal Overlay */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: overlayFadeIn 0.3s ease forwards;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.age-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}

.age-modal-header .modal-title {
    font-weight: 700;
    font-size: 18px;
    color: #101011;
}

.age-modal-body {
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.age-modal-body a {
    color: #6349DC;
    text-decoration: underline;
}

.age-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Modal Buttons */
.modal-btn {
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.modal-btn-primary {
    background: #6349DC;
    color: #fff;
    border-color: #6349DC;
}

.modal-btn-primary:hover {
    background: #5238c5;
    border-color: #5238c5;
}

.modal-btn-secondary {
    background: #fff;
    color: #666;
}

.modal-btn-secondary:hover {
    background: #f5f5f5;
}

/* Step Visibility */
.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: stepFadeIn 0.35s ease-out forwards;
}

@keyframes stepFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Campaign responsive */
@media (max-width: 480px) {
    .age-modal-content {
        width: 94%;
        border-radius: 10px;
    }

    .age-modal-header { padding: 14px 18px; }
    .age-modal-header .modal-title { font-size: 16px; }
    .age-modal-body { padding: 16px 18px; font-size: 13px; }
    .age-modal-footer { padding: 14px 18px; flex-direction: column; }
    .modal-btn { width: 100%; text-align: center; }
}


/* ============================================================
   MODE A: STANDALONE — 2-Step Dating Age Verification
   Premium dark landing page (no background images)
   ============================================================ */

.sa-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1040 30%, #302b63 60%, #24243e 100%);
}

/* Animated floating orbs */
.sa-bg::before,
.sa-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

.sa-bg::before {
    width: 400px;
    height: 400px;
    background: #6349DC;
    top: -100px;
    right: -100px;
}

.sa-bg::after {
    width: 350px;
    height: 350px;
    background: #ff2a6d;
    bottom: -80px;
    left: -80px;
    animation-delay: 4s;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, -30px) scale(1.1); }
}

.sa-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sa-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Step visibility */
.sa-step {
    display: none;
    animation: saFadeIn 0.5s ease-out forwards;
    text-align: center;
}

.sa-step.active {
    display: block;
}

@keyframes saFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Badge */
.sa-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Typography */
.sa-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.sa-highlight {
    background: linear-gradient(135deg, #ff2a6d, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sa-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Field groups */
.sa-field {
    margin-bottom: 20px;
    text-align: left;
}

.sa-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sa-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sa-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sa-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.sa-option-btn.selected {
    background: rgba(99, 73, 220, 0.25);
    border-color: #6349DC;
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 73, 220, 0.2);
}

.sa-option-icon {
    font-size: 18px;
}

/* CTA Button */
.sa-cta-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #6349DC, #8b6cff);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sa-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 73, 220, 0.5);
}

.sa-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.sa-cta-btn:hover .sa-arrow {
    transform: translateX(4px);
}

/* Secondary button */
.sa-secondary-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.sa-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}



/* Age buttons group */
.sa-age-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Footer text */
.sa-footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    line-height: 1.5;
}

.sa-footer-text a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
}



/* Standalone responsive */
@media (max-width: 480px) {
    .sa-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .sa-title {
        font-size: 24px;
    }

    .sa-subtitle {
        font-size: 13px;
    }
}
