/* Video covers the entire screen and stays behind content */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* behind everything */
}

.video-background .video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill screen without distortion */
}

/* Ensure your content appears above the video */
.wrapper {
    position: relative;
    z-index: 1;
}

.wrapper {
    position: relative;
    z-index: 1;
}

.wrapper > header{
	background-color:#075e55;
	
}
.wrapper > header img {
    height: 50px;
}
.box-img {
    border-color: #999999;
    background-color: #ffffff;
}
.box-img .sex-app {
    background-color: #e8e2d2;
    color: #32645b;
}
.box-img .sex-app:before {
    background-color: #32645b;
}

.btn {
    color: #fff;
}

.btn-JA {
    background-color: #075e55;
}

.btn-no {
    background-color: #858585;
}

.btn-confirm {    
    background-color: #075e55;
    padding: 15px 25px;
	
}
.progress-bar {
    background-color: #ffffff;
    border-color: #ffffff;
}
.progress-bar:before {
    background-color: #075e55;
}
.verification {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    padding: 12px 24px;
    background-color: #ff2d55;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(255, 45, 85, 0.3);
    text-align: center;
    animation: pulse 1.5s infinite; /* subtle pulse */
}

/* Subtle pulsing like your previous titles */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Animated dots for verification */
.dots::after {
    content: '';
    display: inline-block;
    width: 0.8em;
    text-align: left;
    animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.congrats {
    display: inline-block;
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff2d55); /* festive gradient */
    padding: 20px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 45, 85, 0.45);
    animation: popOut 1s ease-out forwards;
}

/* Pop out animation */
@keyframes popOut {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

/* Final step content styling */
.final-step {
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    color: #fff;
    font-family: Arial, sans-serif;
}

.final-step p {
    margin: 12px 0;
    font-size: 18px;
    line-height: 1.5;
}

/* Final step content styling */
.final-step {
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    color: #fff;
    font-family: Arial, sans-serif;
}

.final-step p {
    margin: 12px 0;
    line-height: 1.5;
}

/* Highlight first line */
.final-step .highlight {
    font-size: 22px;
    font-weight: 700;
    color: #ffeb3b; /* yellow highlight */
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Subtext styling */
.final-step .subtext {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
}

/* Emphasize the signup action */
.final-step {
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    font-family: Arial, sans-serif;
}

/* Highlight first line */
.final-step .highlight {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Subtext */
.final-step .subtext {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    margin: 12px 0;
}

/* Action emphasis with background */
/* Intro line */
.final-step .highlight-bg {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    margin: 8px 0;
    text-align: center;
}

/* Animated instruction in the middle */
.animated-instruction {
    font-size: 18px;
    color: #fff;
    margin: 12px 0;
    text-align: center;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(0,0,0,0.35); /* subtle background */
    animation: pulse-instruction 1.5s infinite;
}

@keyframes pulse-instruction {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Action emphasis with background */
.final-step .action-emphasis {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 45, 85, 0.85); /* semi-transparent pink */
    display: inline-block;
    padding: 12px 18px;
    border-radius: 16px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin: 12px 0;
    text-align: center;
}

/* CTA button */
.cta-final {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff2d55, #ff6a00);
    padding: 16px 36px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 45, 85, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-final:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(255, 45, 85, 0.6);
}
.cta-final {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff2d55, #ff6a00);
    padding: 18px 42px;
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 45, 85, 0.5);
    text-align: center;
    animation: popOutButton 1.2s ease-out forwards, pulseGlow 2s infinite alternate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for extra interactivity */
.cta-final:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 32px rgba(255, 45, 85, 0.7);
}

/* Pop out entrance animation */
@keyframes popOutButton {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced CTA button with dynamic beats */
.cta-final {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 18px 42px;
    border-radius: 28px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 65, 108, 0.5);

    animation: dynamicBeat 1.2s infinite alternate;
    transform-origin: center center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.cta-final:hover {
    transform: scale(1.2) rotate(1deg);
    box-shadow: 0 16px 36px rgba(255, 95, 122, 0.8);
}

/* Dynamic beat keyframes: scale + slight rotation + gradient + shadow */
@keyframes dynamicBeat {
    0% {
        transform: scale(1) rotate(0deg);
        background: linear-gradient(135deg, #ff416c, #ff4b2b);
        box-shadow: 0 10px 25px rgba(255, 65, 108, 0.5);
    }
    25% {
        transform: scale(1.05) rotate(-1deg);
        background: linear-gradient(135deg, #ff527f, #ff5c3c);
        box-shadow: 0 12px 28px rgba(255, 82, 127, 0.6);
    }
    50% {
        transform: scale(1.1) rotate(0.5deg);
        background: linear-gradient(135deg, #ff5f7a, #ff6f3a);
        box-shadow: 0 14px 32px rgba(255, 95, 122, 0.7);
    }
    75% {
        transform: scale(1.07) rotate(-0.5deg);
        background: linear-gradient(135deg, #ff527f, #ff5c3c);
        box-shadow: 0 12px 28px rgba(255, 82, 127, 0.6);
    }
    100% {
        transform: scale(1) rotate(0deg);
        background: linear-gradient(135deg, #ff416c, #ff4b2b);
        box-shadow: 0 10px 25px rgba(255, 65, 108, 0.5);
    }
}

