.kx8-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6), 0 0 0 0 rgba(255, 215, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: kx8-float-pulse 3s ease-in-out infinite;
    border: 3px solid #310101;
}

.kx8-floating-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: kx8-ring-pulse 3s ease-in-out infinite;
}

@keyframes kx8-float-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.8), 0 0 0 20px rgba(255, 215, 0, 0);
    }
}

@keyframes kx8-ring-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.kx8-floating-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.9), 0 0 0 0 rgba(255, 215, 0, 0.6);
}

.kx8-floating-button:active {
    transform: scale(0.95) rotate(0deg);
}

.kx8-float-icon {
    font-size: 32px;
    animation: kx8-icon-rotate 4s ease-in-out infinite;
}

@keyframes kx8-icon-rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

.kx8-float-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF0000;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.6);
    animation: kx8-badge-bounce 2s ease-in-out infinite;
    border: 2px solid #fff;
}

@keyframes kx8-badge-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.kx8-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.kx8-modal-overlay.kx8-active {
    opacity: 1;
    visibility: visible;
}

.kx8-modal-container {
    background: linear-gradient(180deg, #110408 0%, #1a0a0d 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 215, 0, 0.2);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kx8-modal-overlay.kx8-active .kx8-modal-container {
    transform: scale(1) translateY(0);
}

.kx8-modal-header {
    position: relative;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #310101 0%, #1f0101 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.kx8-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 20%, #FFA500 50%, #FFD700 80%, transparent 100%);
}

.kx8-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #FFD700;
}

.kx8-modal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: rotate(90deg);
}

.kx8-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5), inset 0 3px 8px rgba(255, 255, 255, 0.3);
    animation: kx8-modal-icon-spin 4s linear infinite;
    border: 3px solid #310101;
}

@keyframes kx8-modal-icon-spin {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.kx8-modal-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kx8-modal-subtitle {
    font-size: 16px;
    color: #e8e8e8;
    font-weight: 600;
}

.kx8-modal-body {
    padding: 35px 30px;
}

.kx8-bonus-highlight {
    text-align: center;
    margin-bottom: 30px;
}

.kx8-bonus-amount {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    animation: kx8-bonus-glow 3s ease-in-out infinite;
}

@keyframes kx8-bonus-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
    }
}

.kx8-bonus-label {
    font-size: 18px;
    color: #FFD700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.kx8-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.kx8-feature-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(49, 1, 1, 0.3);
    border-left: 3px solid #FFD700;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #e8e8e8;
}

.kx8-feature-item:hover {
    background: rgba(49, 1, 1, 0.5);
    transform: translateX(5px);
}

.kx8-feature-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.kx8-cta-button {
    display: block;
    width: 85%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #110408;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.kx8-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.kx8-cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.kx8-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
}

.kx8-cta-button:active {
    transform: translateY(0);
}

.kx8-cta-text {
    position: relative;
    z-index: 1;
}

.kx8-modal-footer {
    padding: 20px 30px;
    background: rgba(49, 1, 1, 0.2);
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.kx8-modal-footer a {
    color: #FFD700;
    text-decoration: none;
}

.kx8-modal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .kx8-floating-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .kx8-float-icon {
        font-size: 28px;
    }
    
    .kx8-modal-container {
        max-width: 95%;
        margin: 0 10px;
    }
    
    .kx8-modal-header {
        padding: 30px 20px 25px;
    }
    
    .kx8-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .kx8-modal-title {
        font-size: 24px;
    }
    
    .kx8-modal-subtitle {
        font-size: 14px;
    }
    
    .kx8-modal-body {
        padding: 25px 20px;
    }
    
    .kx8-bonus-amount {
        font-size: 40px;
    }
    
    .kx8-bonus-label {
        font-size: 16px;
    }
    
    .kx8-feature-item {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .kx8-cta-button {
        padding: 16px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .kx8-floating-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .kx8-float-icon {
        font-size: 24px;
    }
    
    .kx8-float-badge {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .kx8-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .kx8-modal-title {
        font-size: 22px;
    }
    
    .kx8-bonus-amount {
        font-size: 36px;
    }

    .kx8-modal-overlay {
        padding: 0;
    }

    .kx8-bonus-amount {
        font-size: 28px;
    }

    .kx8-bonus-label {
        font-size: 14px;
    }

    .kx8-modal-body {
        padding: 10px;
    }

    .kx8-modal-title {
        font-size: 18px;
    }

    .kx8-modal-header {
        padding: 10px;
    }

    .kx8-cta-button {
        padding: 10px;
        width: 100%;
        font-size: 14px;
    }
    
    .kx8-modal-footer p {
        margin-bottom: 0;
    }
    
}