.bet058-floating-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.bet058-float-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #BE4949 0%, #d85a5a 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(190, 73, 73, 0.6),
                0 0 0 0 rgba(190, 73, 73, 0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bet058FloatBounce 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes bet058FloatBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bet058-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.bet058-float-btn:hover::before {
    left: 100%;
}

.bet058-float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(190, 73, 73, 0.8),
                0 0 0 8px rgba(190, 73, 73, 0.2);
}

.bet058-float-btn:active {
    transform: scale(1.05) translateY(-3px);
}

.bet058-float-icon {
    font-size: 28px;
    color: #fff;
    animation: bet058IconRotate 4s linear infinite;
}

@keyframes bet058IconRotate {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }
    85%, 95% {
        transform: rotate(-15deg);
    }
    90% {
        transform: rotate(15deg);
    }
}

.bet058-float-text {
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bet058-float-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(190, 73, 73, 0.6);
    transform: translate(-50%, -50%);
    animation: bet058PulseEffect 2s ease-out infinite;
    pointer-events: none;
}

@keyframes bet058PulseEffect {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

.bet058-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.bet058-modal-overlay.bet058-active {
    opacity: 1;
    visibility: visible;
}

.bet058-modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    max-height: calc(100% - 40px);
    background: linear-gradient(180deg, #782422 0%, #5a1b19 100%);
    border-radius: 24px;
    border: 3px solid #BE4949;
    box-shadow: 0 20px 60px rgba(190, 73, 73, 0.5),
                0 0 0 1px rgba(190, 73, 73, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: auto;
}

.bet058-modal-container::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

.bet058-modal-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be4949 0%, #782422 100%);
    border-radius: 8px;
    border: 2px solid #fff;
    min-height: 40px;
}

.bet058-modal-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #be4949 30%, #5a1b19 100%);
}

.bet058-modal-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

.bet058-modal-container {
    scrollbar-width: thin;
    scrollbar-color: #be4949 #2d0f0e;
}

.bet058-modal-overlay.bet058-active .bet058-modal-container {
    transform: scale(1) translateY(0);
}

.bet058-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(190, 73, 73, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.bet058-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(190, 73, 73, 0.3);
    border: 2px solid #BE4949;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.bet058-modal-close span {
    font-size: 24px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1;
}

.bet058-modal-close:hover {
    background: #BE4949;
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(190, 73, 73, 0.8);
}

.bet058-modal-content {
    padding: 40px 32px;
}

.bet058-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.bet058-modal-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bet058ModalIconBounce 2s ease-in-out infinite;
}

@keyframes bet058ModalIconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.bet058-modal-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.bet058-modal-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #BE4949;
    margin: 0;
    text-shadow: 0 0 20px rgba(190, 73, 73, 0.8);
}

.bet058-modal-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bet058-bonus-card {
    background: linear-gradient(135deg, rgba(190, 73, 73, 0.3) 0%, rgba(190, 73, 73, 0.1) 100%);
    border: 2px solid #BE4949;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bet058-bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(190, 73, 73, 0.2) 0%, transparent 70%);
    animation: bet058CardGlow 4s linear infinite;
}

@keyframes bet058CardGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bet058-bonus-amount {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.bet058-currency {
    font-size: 32px;
    font-weight: 900;
    color: #BE4949;
    text-shadow: 0 0 25px rgba(190, 73, 73, 1);
}

.bet058-value {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #BE4949 0%, #ff6b6b 50%, #BE4949 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bet058ValueShine 3s linear infinite;
    background-size: 200% auto;
}

@keyframes bet058ValueShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.bet058-bonus-desc {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bet058-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bet058-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #f5e6d3;
    font-weight: 600;
}

.bet058-check-icon {
    width: 28px;
    height: 28px;
    background: #BE4949;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(190, 73, 73, 0.6);
}

.bet058-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    background: linear-gradient(135deg, #BE4949 0%, #d85a5a 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(190, 73, 73, 0.6);
    position: relative;
    overflow: hidden;
}

.bet058-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.bet058-cta-button:hover::before {
    left: 100%;
}

.bet058-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(190, 73, 73, 0.8);
}

.bet058-cta-button:active {
    transform: translateY(-2px);
}

.bet058-cta-text {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bet058-cta-arrow {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.bet058-cta-button:hover .bet058-cta-arrow {
    transform: translateX(6px);
}

.bet058-modal-disclaimer {
    font-size: 12px;
    color: rgba(245, 230, 211, 0.7);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bet058-floating-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .bet058-float-btn {
        padding: 14px 20px;
    }
    
    .bet058-float-icon {
        font-size: 24px;
    }
    
    .bet058-float-text {
        font-size: 14px;
    }
    
    .bet058-modal-content {
        padding: 32px 24px;
    }
    
    .bet058-modal-title {
        font-size: 28px;
    }
    
    .bet058-modal-subtitle {
        font-size: 16px;
    }
    
    .bet058-value {
        font-size: 48px;
    }
    
    .bet058-currency {
        font-size: 28px;
    }
    
    .bet058-bonus-desc {
        font-size: 18px;
    }
    
    .bet058-cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bet058-floating-wrapper {
        bottom: 16px;
        right: 16px;
    }
    
    .bet058-float-btn {
        padding: 12px 18px;
    }
    
    .bet058-float-icon {
        font-size: 22px;
    }
    
    .bet058-float-text {
        font-size: 13px;
    }
    
    .bet058-modal-content {
        padding: 28px 20px;
    }
    
    .bet058-modal-icon {
        font-size: 56px;
    }
    
    .bet058-modal-title {
        font-size: 24px;
    }
    
    .bet058-modal-subtitle {
        font-size: 15px;
    }
    
    .bet058-bonus-card {
        padding: 24px 20px;
    }
    
    .bet058-value {
        font-size: 42px;
    }
    
    .bet058-currency {
        font-size: 24px;
    }
    
    .bet058-bonus-desc {
        font-size: 16px;
    }
    
    .bet058-feature-item {
        font-size: 14px;
    }
    
    .bet058-cta-button {
        padding: 18px 28px;
    }
    
    .bet058-cta-text {
        font-size: 15px;
    }
}