﻿/* ==============================
   GLOBAL LOCK 
================================ */
body.modal-open {
    overflow: hidden;
}

/* ==============================
   MODAL OVERLAY
================================ */
.follow-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 2147483647;
}

/* ==============================
   MODAL BOX
================================ */
.follow-box {
    width: 90%;
    max-width: 420px;

    background: rgba(0, 20, 0, 0.97);
    border: 1px solid #0f0;
    border-radius: 6px;
    padding: 25px;

    box-shadow:
        0 0 25px rgba(0, 255, 0, 0.35),
        inset 0 0 15px rgba(0, 255, 0, 0.15);

    text-align: center;
    animation: modalFade .25s ease-out;
}

/* ==============================
   TITLE & TEXT
================================ */
.follow-box .panel-title {
    color: #0f0;
    margin-bottom: 10px;
}

.follow-text {
    color: #8f8;
    font-size: 0.95rem;
    margin: 15px 0 20px;
    line-height: 1.6;
}

/* ==============================
   ACTION BUTTONS
================================ */
.follow-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.follow-btn {
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;

    text-align: center;
    user-select: none;

    transition: all .25s ease;
}

/* TikTok */
.follow-btn.tiktok {
    background: #25f4ee;
    color: #000;
}

/* YouTube */
.follow-btn.youtube {
    background: #ff0000;
    color: #fff;
}

/* Hover */
.follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px currentColor;
}

/* Sudah diklik */
.follow-btn.done {
    opacity: .5;
    pointer-events: none;
    filter: grayscale(1);
}

/* ==============================
   CONTINUE BUTTON
================================ */
#continueBtn {
    width: 100%;
    padding: 12px;

    background: #0a0;
    color: #000;
    font-weight: bold;

    border: none;
    border-radius: 4px;

    opacity: .45;
    cursor: not-allowed;

    transition: all .25s ease;
}

#continueBtn.active {
    opacity: 1;
    cursor: pointer;
    background: #0f0;
    box-shadow: 0 0 15px rgba(0,255,0,.6);
}

/* ==============================
   ANIMATION
================================ */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
