* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sedikit digelapkan sesuai permintaan (75% hitam) */
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Main Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Glass Box Popups */
.glass-box {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 35px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-box.popup-active {
    opacity: 1;
    transform: translateY(0);
}

/* Step 1 Typography */
.glass-box h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.glass-box h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.desc {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}

.highlight {
    color: #ff3366;
    font-weight: 700;
    text-transform: uppercase;
}

/* Security Badge */
.verification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.4);
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.verification-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.verification-badge span {
    color: #34c759;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.verification-badge strong {
    color: #fff;
}

@media (max-width: 400px) {
    .verification-badge {
        padding: 8px 12px;
        gap: 3px;
    }
    .verification-badge span {
        font-size: 9px;
        letter-spacing: 0;
    }
    .verification-badge svg {
        width: 14px;
        height: 14px;
    }
}



/* Buttons */
.button-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff1a55 0%, #ff5500 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Countdown */
.countdown-box {
    margin-top: 25px;
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#countdown-timer {
    color: #ff1a55;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.4); color: #ff5500; text-shadow: 0 0 10px #ff5500; }
    30% { transform: scale(1); color: #ff1a55; text-shadow: none; }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Radar Loader Step 2 */
.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.radar-container {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(52, 199, 89, 0.6);
    background:
        /* Crosshairs */
        linear-gradient(90deg, transparent 49.5%, rgba(52, 199, 89, 0.5) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(52, 199, 89, 0.5) 50%, transparent 50.5%),
        /* Rings */
        radial-gradient(circle, transparent 32%, rgba(52, 199, 89, 0.4) 33%, transparent 34%),
        radial-gradient(circle, transparent 65%, rgba(52, 199, 89, 0.4) 66%, transparent 67%),
        /* Dotted Grid (simulating map points) */
        radial-gradient(rgba(52, 199, 89, 0.3) 1px, transparent 1px),
        /* Base glow */
        radial-gradient(circle, rgba(52, 199, 89, 0.15) 0%, rgba(2, 15, 6, 0.95) 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 15px 15px, 100% 100%;
    background-position: center;
    background-color: #000;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(52, 199, 89, 0.3), inset 0 0 25px rgba(52, 199, 89, 0.4);
}

.radar-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            transparent 250deg,
            rgba(52, 199, 89, 0.1) 315deg,
            rgba(52, 199, 89, 0.5) 350deg,
            rgba(150, 255, 150, 0.9) 360deg);
    animation: radarSweep 2.5s linear infinite;
}

.radar-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ff1a55;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #ff1a55;
    animation: pingPulse 1s ease-out infinite;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff1a55, #ff5500);
    border-radius: 10px;
    transition: width 0.5s ease-out;
}

.status-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-height: 20px;
}

.glitch {
    animation: glitchText 0.2s cubic-bezier(.25, .46, .45, .94) both;
}

@keyframes radarSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pingPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes glitchText {
    0% {
        opacity: 0;
        transform: translateX(-2px);
    }

    50% {
        opacity: 0.5;
        transform: translateX(2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}