/* ============================================
   POPUP FOLLOW & GIFTCODE
   ============================================ */

.popup-follow-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.popup-follow-overlay.active {
    display: block;
}

.popup-follow-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #71b4ff 0%, #ffffff 100%);
    border: 2px solid #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 40px 30px 30px;
    width: 90%;
    max-width: 500px;
    animation: popupBounce 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupBounce {
    0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.popup-follow-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #ff9c00;
    color: #fff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.popup-follow-close:hover {
    background: #f1c47b;
    transform: rotate(90deg);
}

.popup-follow-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.popup-follow-subtitle {
    text-align: center;
    font-size: 15px;
    color: #5D4037;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-follow-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.popup-follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0096ff 0%, #0096ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: 'Ubuntu Condensed', sans-serif;
}

.popup-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #7bc1f3 0%, #7bc1f3 100%);
}

.popup-follow-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popup-follow-giftcode {
    text-align: center;
    background: #FFF3E0;
    border: 2px dashed #D32F2F;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: #D32F2F;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-follow-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.popup-follow-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.popup-follow-checkbox label {
    font-size: 14px;
    color: #5D4037;
    cursor: pointer;
    user-select: none;
}

.popup-follow-close-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff9c00 0%, #ff9c00 100%);
    color: white;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Ubuntu Condensed', sans-serif;
}

.popup-follow-close-btn:hover {
    background: linear-gradient(135deg, #f1c47b 0%, #f1c47b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.popup-follow-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .popup-follow-box {
        max-width: 320px;
        padding: 35px 20px 25px;
    }

    .popup-follow-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .popup-follow-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .popup-follow-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
    }

    .popup-follow-btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    .popup-follow-giftcode {
        font-size: 13px;
        padding: 10px;
        margin-bottom: 15px;
    }

    .popup-follow-checkbox {
        margin-bottom: 15px;
    }

    .popup-follow-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .popup-follow-checkbox label {
        font-size: 13px;
    }

    .popup-follow-close-btn {
        padding: 10px 16px;
        font-size: 15px;
    }

    .popup-follow-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .popup-follow-box {
        max-width: 280px;
        padding: 30px 15px 20px;
    }

    .popup-follow-title {
        font-size: 20px;
    }

    .popup-follow-subtitle {
        font-size: 12px;
    }

    .popup-follow-btn {
        font-size: 14px;
        padding: 11px 14px;
    }

    .popup-follow-giftcode {
        font-size: 12px;
    }
}
