/* fotter */

:root {
    --mcw-primary: #1f2f9b;
    --mcw-primary-light: #4b45c7;
    --mcw-primary-dark: #141f6b;

    --mcw-accent: #ff7a00;

    --mcw-bg-main: #0e0e0e;
    --mcw-bg-card: #161616;
    --mcw-bg-soft: #222;

    --mcw-text: #ffffff;
    --mcw-fotter-bg: #e6e6e6;
    --mcw-text-dark: #000;
}

/* desktop black */
@media(min-width:769px) {
    .mcw-trust-wrap {
        display: none;
        height: 120px;
        background: #000;
    }
}

/* mobile */
@media(max-width:768px) {

    .mcw-trust-wrap {
        background: var(--mcw-fotter-bg);
        padding: 25px 15px;
        border-bottom: 1px solid #cecece;
    }

    .mcw-trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .mcw-trust-title {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }

    .mcw-trust-logos {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .mcw-trust-logos img {
        height: 40px;
        width: auto;
        object-fit: contain;
        background: var(--mcw-fotter-bg);
        transition: 0.50s;
    }

    .mcw-trust-logos img:active {
        transform: scale(.95);
    }

}

.joya-text {
    background: var(--mcw-fotter-bg);
    padding: 10px 15px;
    color: #222;
    line-height: 1.8rem;
    font-family: initial;
}

.joya-text h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.joya-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.joya-text p {
    font-size: 15px;
    margin-bottom: 14px;
}

.joya-fotter-logo {
    background: var(--mcw-fotter-bg);
    padding: 15px 15px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #cecece;
}

.joya-logo img {
    height: 46px;
    max-width: 220px;
    width: auto;
    margin-bottom: 12px;
    object-fit: contain;
}

.joya-footer-links {
    font-size: 14px;
    margin-bottom: 8px;
}

.joya-footer-links a {
    color: #0b4cb8;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 500;
}

.joya-footer-links span {
    color: #555;
}

.joya-copy {
    font-size: 13px;
    color: #333;
}

/* spin */
.spin-wrap {
    position: fixed;
    z-index: 99999;
}

/* First GIF (spinning) */
.spin-btn {
    width: 60px;
    height: 60px;
    display: block;
    background: url('https://s3-ap-southeast-1.amazonaws.com/media-dev.ezgame4u.com/cms/babu/image/6225b727c2867.gif') no-repeat center center;
    background-size: contain;
    border-radius: 50%;
    cursor: pointer;

    /* Spinning animation */
    animation: corkscrew 2.5s linear infinite;
}

/* Second GIF (static) */
.spin-btn-static {
    width: 60px;
    height: 60px;
    display: block;
    background: url('https://jaya9bangladesh.com/static/image/home/joyatv.gif') no-repeat center center;
    background-size: contain;
    /* border-radius: 50%; */
    cursor: pointer;
}

/* Close Button */
.spin-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
}


/* floting icon */
.support-wrap {
    position: fixed;
    right: 16px;
    bottom: 75px;
    /* bottom navbar থাকলে adjust */
    z-index: 99999;
}

/* Main button */
.support-toggle {
    width: 52px;
    height: 52px;
    background: var(--mcw-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.support-toggle:hover {
    transform: scale(1.1);
}

/* Hidden items */
.support-items {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Show state */
.support-wrap.active .support-items {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Support icons */
.support {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    text-decoration: none;
}

.support:hover {
    transform: scale(1.15);
}

.support.fb {
    background: #1877f2;
}

.support.tg {
    background: #229ed9;
}

.support.wa {
    background: #25d366;
}

/* navbar */
/* Bottom fixed navbar */
.joya-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #a2a2a2;
    padding: 8px 5px 0px;
}

/* Header row */
.joya-header {
    display: flex;
    justify-content: space-between;

}

/* Language pill */
.joya-lang {
    display: flex;
    align-items: center;
    background: #4a45b5;
    padding: 6px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
}

.lang-dot {
    width: 10px;
    height: 10px;
    background: #0fb9b1;
    border-radius: 50%;
    margin-right: 6px;
}

.lang-text {
    line-height: 1.1;
}

/* Buttons */
.joya-actions {
    display: flex;
}

.joya-btn {
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}

.joya-btn.login {
    background: var(--mcw-primary);
    padding: 15px 40px;
}

.joya-btn.register {
    background: var(--mcw-accent);
    padding: 15px 40px;
}

.user-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6a5acd;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 99999;
}

.user-navbar .nav-item {
    text-align: center;
    color: #e6e6ff;
    text-decoration: none;
    font-size: 12px;
}

.user-navbar .icon {
    display: block;
    font-size: 20px;
    line-height: 1.2;
}

.user-navbar .nav-item.active {
    color: #ffffff;
}

/* login popup */
/* Overlay background */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* hide by default */
    justify-content: center;
    align-items: center;
    z-index: 100000;
    animation: fadeIn 0.4s ease-in-out;
}

/* Popup box */
.login-popup {
    background: #fff;
    width: 375px;
    border-radius: 10px;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
}

.login-message {
    color: var(--mcw-accent);
    font-size: 12px;
    text-align: center;
}

/* Popup header */
.login-header {
    background: var(--mcw-primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

/* Close button */
.login-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

/* Popup body */
.login-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-icon {
    margin-top: 8px;
    ;
}

/* Input fields */
.login-body label {
    font-size: 14px;
    margin-bottom: 5px !important;
    color: #000;
}

.login-body .input-group {
    position: relative;
}

.login-body input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.login-body .input-group i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: var(--mcw-accent);
}

/* Forgot password */
.login-body .forgot {
    font-size: 13px;
    text-align: right;
    color: black;
    text-decoration: none;
}

/* Submit button */
.login-body button {
    width: 100%;
    padding: 10px;
    background: var(--mcw-primary);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-body button:hover {
    background: #0056b3;
}

/* Register link */
.login-body .register {
    text-align: left;
    font-size: 14px;
    color: black;
}

.login-body .register a {
    color: var(--mcw-accent);
    text-decoration: none;
    font-weight: bold;
}

/* Animations */
@keyframes slideDown {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.nav-item .icon i {
    font-size: 18px;
}
