/* ============================================
   FLOATING ACTION MENUS - CASINO THEME
   ============================================ */

/* --- Right Side: Chat/Support Menu --- */
#sy-whatshelp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9998;
}

#sy-whatshelp a {
    position: relative;
    text-decoration: none;
}

#sy-whatshelp .sywh-open-services {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c41e3a, #e63950);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 10px;
}

#sy-whatshelp .sywh-open-services:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.6);
}

#sy-whatshelp .sywh-open-services i.fa-times { display: none; }

#sy-whatshelp .sywh-services {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#sy-whatshelp .sywh-services a { display: none; }

.chat-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.5);
}

.chat-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.chat-whatsapp:hover { background: linear-gradient(135deg, #128c7e, #075e54); transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5); color: #fff; }

.chat-telegram { background: linear-gradient(135deg, #0088cc, #0066aa); }
.chat-telegram:hover { background: linear-gradient(135deg, #0066aa, #004488); transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 25px rgba(0, 136, 204, 0.5); color: #fff; }

.chat-support { background: linear-gradient(135deg, #c9a84c, #a88a3a); }
.chat-support:hover { background: linear-gradient(135deg, #e8cc7a, #c9a84c); transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5); color: #0d0d0d; }

/* --- Left Side: Quick Actions Menu --- */
#menu-whatshelp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 9998;
}

#menu-whatshelp a {
    position: relative;
    text-decoration: none;
}

#menu-whatshelp .menu-sywh-open-services {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #c41e3a;
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 10px;
}

#menu-whatshelp .menu-sywh-open-services:hover {
    transform: scale(1.1) rotate(90deg);
    border-color: #c41e3a;
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.3);
}

#menu-whatshelp .menu-sywh-open-services i.fa-times { display: none; }

#menu-whatshelp .menu-sywh-services {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#menu-whatshelp .menu-sywh-services a { display: none; }

.action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.5);
}

.action-withdraw { background: linear-gradient(135deg, #c41e3a, #a01830); }
.action-withdraw:hover { background: linear-gradient(135deg, #e63950, #c41e3a); transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5); color: #fff; }

.action-deposit { background: linear-gradient(135deg, #28c76f, #20a95b); }
.action-deposit:hover { background: linear-gradient(135deg, #20a95b, #188b47); transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 25px rgba(40, 199, 111, 0.5); color: #fff; }

/* --- Tooltip --- */
a[data-tooltip] { position: relative; }

a[data-tooltip]::before, a[data-tooltip]::after {
    position: absolute;
    display: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

a[data-tooltip]::before {
    content: attr(data-tooltip);
    background: rgba(13, 13, 13, 0.95);
    color: #c41e3a;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(196, 30, 58, 0.2);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a[data-tooltip]::after {
    width: 0;
    height: 0;
    border: 5px solid transparent;
    content: "";
}

a[data-tooltip]:hover::before, a[data-tooltip]:hover::after { display: block; opacity: 1; }

a[data-tooltip][data-placement="left"]::before { top: 50%; right: calc(100% + 12px); transform: translateY(-50%); }
a[data-tooltip][data-placement="left"]::after { border-left-color: rgba(13, 13, 13, 0.95); border-right: none; top: 50%; right: calc(100% + 2px); transform: translateY(-50%); }

a[data-tooltip][data-placement="right"]::before { top: 50%; left: calc(100% + 12px); transform: translateY(-50%); }
a[data-tooltip][data-placement="right"]::after { border-right-color: rgba(13, 13, 13, 0.95); border-left: none; top: 50%; left: calc(100% + 2px); transform: translateY(-50%); }

a.data-tooltip-hide[data-tooltip]::before, a.data-tooltip-hide[data-tooltip]::after { display: none !important; }

/* Menu open states */
.sywh-services.active ~ .sywh-open-services i.fa-comment-dots { display: none; }
.sywh-services.active ~ .sywh-open-services i.fa-times { display: block; }
.menu-sywh-services.active ~ .menu-sywh-open-services i.fa-plus { display: none; }
.menu-sywh-services.active ~ .menu-sywh-open-services i.fa-times { display: block; }

@keyframes pulse-red {
    0% { box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(196, 30, 58, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4); }
}

#sy-whatshelp .sywh-open-services { animation: pulse-red 2s ease-in-out infinite; }

@media (max-width: 767px) {
    #sy-whatshelp { right: 15px; bottom: 15px; }
    #menu-whatshelp { left: 15px; bottom: 15px; }
    #sy-whatshelp .sywh-open-services, #menu-whatshelp .menu-sywh-open-services { width: 52px; height: 52px; font-size: 20px; }
    .chat-btn, .action-btn { width: 42px; height: 42px; font-size: 16px; }
    a[data-tooltip]::before { font-size: 10px; padding: 4px 8px; }
}
