/* SENYUMTOTO CSS 05 - dipisahkan dari index.html */
/* =========================================
   FOOTER FLOATING SENYUMTOTO – MERAH DARAH
   TANPA EFEK AWAN + TEKS PUTIH
========================================= */

.footer-floating-SENYUMTOTO {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 30px);
    max-width: 1500px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 22px;

    background:
        linear-gradient(
            180deg,
            #ff3030 0%,
            #d40000 28%,
            #900000 62%,
            #430000 100%
        );

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    border: 2px solid #ff4545;
    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(90,0,0,.55),
        0 0 25px rgba(255,0,0,.38),
        inset 0 2px 3px rgba(255,255,255,.30);

    z-index: 9999;
    overflow: visible;
}


/* =========================================
   TOMBOL DASAR
========================================= */

.footer-btn-SENYUMTOTO {
    flex: 1;
    min-width: 0;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 10px;

    position: relative;
    z-index: 2;
    overflow: hidden;

    font-size: 14px;
    font-weight: 900;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    background:
        linear-gradient(
            180deg,
            #ff6868 0%,
            #f00000 20%,
            #b00000 52%,
            #580000 100%
        );

    border: 2px solid #ff3b3b;
    border-radius: 32px;

    box-shadow:
        0 5px 0 #350000,
        0 10px 20px rgba(120,0,0,.48),
        inset 0 2px 3px rgba(255,255,255,.35),
        inset 0 -7px 12px rgba(40,0,0,.45);

    text-shadow:
        0 2px 3px rgba(0,0,0,.85);

    cursor: pointer;
    user-select: none;

    transition:
        background .3s ease,
        box-shadow .3s ease,
        filter .3s ease;

    animation:
        footerBloodShake 3.2s ease-in-out infinite;
}


/* =========================================
   EFEK GLOSSY
========================================= */

.footer-btn-SENYUMTOTO::before {
    content: "";

    position: absolute;
    top: 3px;
    left: 7%;

    width: 86%;
    height: 35%;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.60),
            rgba(255,255,255,.12),
            transparent
        );

    border-radius: 30px 30px 12px 12px;

    pointer-events: none;
}


/* =========================================
   HAPUS EFEK AWAN
========================================= */

.footer-floating-SENYUMTOTO::before,
.footer-floating-SENYUMTOTO::after,
.footer-btn-SENYUMTOTO::after {
    content: none !important;
    display: none !important;
}


/* =========================================
   IKON
========================================= */

.footer-btn-SENYUMTOTO img {
    width: 18px;
    height: 18px;

    position: relative;
    z-index: 3;

    flex-shrink: 0;
    object-fit: contain;

    filter:
        drop-shadow(0 0 5px rgba(255,0,0,.75));
}


/* =========================================
   PROMO
========================================= */

.footer-btn-SENYUMTOTO.promo {
    background:
        linear-gradient(
            180deg,
            #ff6060 0%,
            #e90000 22%,
            #a50000 58%,
            #4e0000 100%
        );

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* =========================================
   LOGIN
========================================= */

.footer-btn-SENYUMTOTO.login {
    background:
        linear-gradient(
            180deg,
            #ff7a7a 0%,
            #ff0808 22%,
            #bd0000 55%,
            #610000 100%
        );

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    text-shadow:
        0 2px 4px rgba(0,0,0,.80);
}


/* =========================================
   DAFTAR
========================================= */

.footer-btn-SENYUMTOTO.daftar {
    background:
        linear-gradient(
            180deg,
            #ff6262 0%,
            #e60000 22%,
            #aa0000 58%,
            #520000 100%
        );

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* =========================================
   LINK
========================================= */

.footer-btn-SENYUMTOTO.link {
    background:
        linear-gradient(
            180deg,
            #ff7070 0%,
            #ed0000 22%,
            #b00000 58%,
            #560000 100%
        );

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* =========================================
   CHAT
========================================= */

.footer-btn-SENYUMTOTO.chat {
    background:
        linear-gradient(
            180deg,
            #ff8080 0%,
            #f20000 22%,
            #b80000 58%,
            #5b0000 100%
        );

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    text-shadow:
        0 2px 4px rgba(0,0,0,.80);
}


/* =========================================
   SEMUA TEKS WAJIB PUTIH
========================================= */

.footer-btn-SENYUMTOTO,
.footer-btn-SENYUMTOTO span,
.footer-btn-SENYUMTOTO strong,
.footer-btn-SENYUMTOTO.promo,
.footer-btn-SENYUMTOTO.login,
.footer-btn-SENYUMTOTO.daftar,
.footer-btn-SENYUMTOTO.link,
.footer-btn-SENYUMTOTO.chat {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* =========================================
   HOVER
========================================= */

.footer-btn-SENYUMTOTO:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            #ff9999 0%,
            #ff2020 20%,
            #d00000 55%,
            #700000 100%
        );

    box-shadow:
        0 7px 0 #3b0000,
        0 15px 28px rgba(170,0,0,.55),
        0 0 28px rgba(255,0,0,.55),
        inset 0 2px 4px rgba(255,255,255,.42);

    filter: brightness(1.08);
}


/* =========================================
   ACTIVE
========================================= */

.footer-btn-SENYUMTOTO:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border-color: #ff6565;

    background:
        linear-gradient(
            180deg,
            #dc0000 0%,
            #970000 55%,
            #410000 100%
        );

    box-shadow:
        0 2px 0 #2c0000,
        0 5px 12px rgba(60,0,0,.55),
        inset 0 2px 7px rgba(35,0,0,.45);
}


/* =========================================
   ANIMASI GETAR
========================================= */

@keyframes footerBloodShake {

    0%,
    84%,
    100% {
        transform: translate(0,0) rotate(0deg);
    }

    86% {
        transform: translateX(-2px) rotate(-.5deg);
    }

    88% {
        transform: translateX(2px) rotate(.5deg);
    }

    90% {
        transform: translateX(-2px) rotate(-.5deg);
    }

    92% {
        transform: translateX(2px) rotate(.5deg);
    }

    94% {
        transform: translateX(-2px);
    }

    96% {
        transform: translateX(2px);
    }

    98% {
        transform: translateX(-1px);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .footer-floating-SENYUMTOTO {
        flex-wrap: wrap;
        max-width: 760px;
    }

    .footer-btn-SENYUMTOTO {
        flex: 1 1 calc(50% - 10px);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .footer-floating-SENYUMTOTO {
        width: calc(100% - 20px);
        bottom: 10px;

        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));

        gap: 9px;
        padding: 12px;

        border-radius: 18px;
    }

    .footer-btn-SENYUMTOTO {
        width: 100%;
        min-width: 0;
        min-height: 43px;

        padding: 10px 7px;

        font-size: 11px;
        line-height: 1.2;
        white-space: normal;
    }

    .footer-btn-SENYUMTOTO img {
        width: 16px;
        height: 16px;
    }
}


/* =========================================
   MOBILE KECIL
========================================= */

@media (max-width: 380px) {

    .footer-floating-SENYUMTOTO {
        padding: 9px;
        gap: 7px;
    }

    .footer-btn-SENYUMTOTO {
        min-height: 40px;
        padding: 9px 5px;
        gap: 5px;
        font-size: 10px;
    }

    .footer-btn-SENYUMTOTO img {
        width: 14px;
        height: 14px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-btn-SENYUMTOTO {
        animation: none;
    }
}
