/* Floating Badge Styles */
.floating-badge {
    position: fixed;
    bottom: 30px;
    z-index: 999;
    animation: fadeInUp 0.5s ease-out;
}

.floating-badge--bottom-left {
    left: 30px;
}

.floating-badge--bottom-right {
    right: 30px;
}

.floating-badge__link,
.floating-badge__content {
    display: block;
    color: var(--badge-text-color, #ffffff);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: 180px;
    height: 180px;
}

.floating-badge__svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s ease;
}

.floating-badge__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    max-width: 140px;
    word-wrap: break-word;
}

/* Hover effects */
.floating-badge__link:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--badge-text-color, #ffffff);
    text-decoration: none;
}

.floating-badge__link:hover .floating-badge__svg {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

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

@media (max-width: 768px) {
    .floating-badge {
        bottom: 20px;
    }

    .floating-badge--bottom-left {
        left: 20px;
    }

    .floating-badge--bottom-right {
        right: 20px;
    }

    .floating-badge__link,
    .floating-badge__content {
        width: 160px;
        height: 160px;
    }

    .floating-badge__text {
        font-size: 13px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .floating-badge {
        bottom: 15px;
    }

    .floating-badge--bottom-left {
        left: 15px;
    }

    .floating-badge--bottom-right {
        right: 15px;
    }

    .floating-badge__link,
    .floating-badge__content {
        width: 140px;
        height: 140px;
    }

    .floating-badge__text {
        font-size: 12px;
        max-width: 100px;
    }
}