@media (min-width: 768px) {
    #prizePointer img {
        width: 16%;
        border: none
    }

    #prizePointer {
        top: 36%
    }
}

@media (max-width: 400px) {
    #prizePointer2 {
        left: 17px;
        top: 14%
    }

    #prizePointer {
        top: 32%;
        margin-left: 44%
    }
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: default
}

.flat-slider .ui-corner-all,
.flat-slider.ui-corner-all {
    border-radius: 0
}

.flat-slider.ui-slider {
    border: 0;
    background: #f7d2cc;
    border-radius: 7px;
    position: relative
}

.flat-slider.ui-slider-horizontal {
    height: 6px
}

.flat-slider.ui-slider-vertical {
    height: 15em;
    width: 6px
}

.flat-slider .ui-slider-handle {
    width: 50px;
    height: 50px;
    background: url(../img/btn-spin.png) top left no-repeat;
    background-size: cover;
    border-radius: 50%;
    border: none;
    outline: 0;
    background-position-y: 10px;
    cursor: pointer
}

.flat-slider.ui-slider-horizontal .ui-slider-handle {
    top: 50%;
    margin-top: -10px
}

.flat-slider.ui-slider-vertical .ui-slider-handle {
    margin-left: -25px
}

.flat-slider .ui-slider-handle:hover {
    opacity: .8
}

.flat-slider .ui-slider-range {
    border: 0;
    border-radius: 7;
    background: #f99
}

.flat-slider.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 6px
}

.flat-slider.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 6px
}

#canvas {
    z-index: 1
}

#prizePointer {
    position: absolute;
    top: 10px;
    z-index: 999;
    width: 35px;
    left: 91px
}

.sl-htul li i {
    float: left;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    color: #000000;
    display: inline-block;
    text-align: center;
    width: 26px;
    height: 26px;
    line-height: 26px;
    background: #0ce3ac;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.sl-htul li {
    height: 26px;
    margin-bottom: 35px;
    position: relative;
    padding: 0 10px;
}

.sl-htul li:first-child i {
    width: 31px;
    height: 31px;
    line-height: 31px;
    background: url(../img/icon.png) no-repeat -90px -36px;
}

.sl-htul li span {
    margin: 0 110px 0 65px;
    padding-top: 5px;
    font-size: 15px;
    color: #FCBF55;
    display: block;
    height: 26px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sl-htul li label {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 118px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    background: #FCBF55;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.sl-htul li sup {
    font-weight: bold;
}

.sa-fthotline {
    width: 100%;
    max-width: 470px;
    padding: 10px 13px;
    border: 2px solid #1f1f1f;
    background: #141414;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.sa-ftarow {
    margin: 0 -3px;
}

.sa-ftacol {
    float: left;
    padding: 0 3px;
}

.sa-fthwork {
    text-align: center;
    width: 44%;
}

.sa-fthnum {
    position: relative;
    width: 56%;
    border-right: 1px solid #2d2d2d;
}

.sa-fthnum:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    display: inline-block;
    width: 33px;
    height: 33px;
    background: url("../img/icon.png") no-repeat 0 -36px;
}

.sa-fthnum p {
    padding-left: 50px;
}

.sa-fthnum a {
    font-size: 16px;
    font-weight: bold;
    color: #ff502e;
}

a.float-btn {
    background: #000;
    width: 180px;
    height: 41px;
    display: block;
    border: 2px solid #000;
    font-size: 17px;
    line-height: 34px;
    text-align: center;
    color: #fff;
    margin: 0 0 3px 0;
    border-radius: 10px;
}

.float-menu {
    width: 179px;
    position: fixed;
    right: 11px;
    top: 40%;
    z-index: 999;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
}

.sl-lpcode {
    position: absolute;
    top: 10px;
    left: 5px;
    right: 5px;
    z-index: 5;
    display: inline-block;
    line-height: 30px;
    padding: 0 15px;
    color: #0ce3ac;
    background: #000000;
    border: 1px solid #494949;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@600;700;800&display=swap');
/*lucky draw*/
@import url('https://fonts.googleapis.com/css?family=Oswald');

.box-title-menu-game {
    text-align: center;
    padding: 20px 0 20px 0;
    font-size: 24px;
    color: #fbf200;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif !important;
    text-shadow: 0 0 10px rgba(251, 242, 0, 0.4);
    letter-spacing: 1px;
}

.box-title-menu-game p {
    font-size: 14px;
    color: #e0e0e0;
    font-family: Arial, sans-serif !important;
    text-shadow: none;
    text-transform: none;
    margin-top: 8px;
    letter-spacing: 0.5px;
    font-weight: normal;
}

.lucky-draw {
    position: relative;
}

.lucky-draw>a {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -97px;
}

.lucky-draw>canvas {
    max-width: 100%;
}

.info-lucky {
    margin: 30px 0 0 0;
    text-align: center;
}

.info-lucky p {
    display: inline-block;
    padding: 5px 10px;
}

.info-lucky p b {
    color: #ffd800;
    font-size: 18px;
}

/* Modern Design System - ShopLienMinh360 */
:root {
    --primary-gold: #ffed00;
    --secondary-gold: #f2ac00;
    --bg-dark: #0a0a0c;
    --glass-bg: rgba(35, 30, 50, 0.88);
    --glass-border: rgba(255, 255, 255, 0.14);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a8;
}

body {
    font-family: 'Bai Jamjuree', sans-serif !important;
    background-color: var(--bg-dark) !important;
}

/* Glassmorphism Utility */
.glass-pane {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.glow-gold {
    box-shadow: 0 0 15px rgba(255, 234, 0, 0.15);
}

/* Modern Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000 !important;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 234, 0, 0.3);
}

/* Section Titles */
.section-title {
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gold);
}

/* Premium Payment List Styles */
.payment-container {
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 234, 0, 0.15);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.payment-list-title {
    background: linear-gradient(90deg, rgba(255, 234, 0, 0.05) 0%, rgba(255, 234, 0, 0.15) 50%, rgba(255, 234, 0, 0.05) 100%);
    color: var(--primary-gold);
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    padding: 18px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    margin: 0;
    text-align: center;
    letter-spacing: 0.3px;
    text-shadow: 0 0 10px rgba(255, 234, 0, 0.3);
}

.payment-list-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.payment-list-item::after {
    content: '\e080';
    font-family: 'Glyphicons Halflings';
    position: absolute;
    right: 15px;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-gold);
}

.payment-list-item:hover {
    background: rgba(255, 234, 0, 0.08);
    color: #fff;
    text-decoration: none;
    padding-left: 24px;
    border-left: 3px solid var(--primary-gold);
}

.payment-list-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.payment-list-item img {
    height: 28px;
    margin-right: 15px;
    border-radius: 4px;
    width: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.payment-list-item:hover img {
    transform: scale(1.1);
}

.payment-list-item.highlight-btn {
    color: var(--primary-gold);
    justify-content: center;
    text-align: center;
    border-bottom: none;
    padding: 18px;
    background: rgba(255, 234, 0, 0.05);
}

.payment-list-item.highlight-btn:hover {
    background: rgba(255, 234, 0, 0.15);
    padding-left: 18px;
    border-left: none;
}

.payment-list-item.highlight-btn::after {
    display: none;
}

/* Live Activity Ticker */
.ticker-wrap {
    margin: 0 auto 40px;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.ticker-content {
    display: inline-block;
    animation: ticker 500s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    color: #fff;
    font-size: 14px;
}

.ticker-item strong {
    color: var(--primary-gold);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Override Legacy Logo Positioning */
.header-flex-logo {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* --- Advanced UI Upgrade --- */

/* Premium Product Card */
.sl-prodbox {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    backdrop-filter: blur(5px);
    height: auto !important;
    padding-bottom: 20px;
}

.sl-prodli:hover .sl-prodbox {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 234, 0, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 234, 0, 0.1);
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Shimmer Effect on Hover */
.sl-prodbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: 1;
}

.sl-prodli:hover .sl-prodbox::before {
    left: 150%;
}

.sl-prcode {
    background: transparent !important;
    font-family: 'Bai Jamjuree', sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding-top: 15px !important;
    height: auto !important;
    font-size: 16px !important;
}

.sl-primg {
    height: 180px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: 0.3s;
    display: block;
}

.sl-prodli:hover .sl-primg img {
    transform: scale(1.05);
}

.sl-prifbot ul li {
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    border-left: 2px solid var(--primary-gold);
    padding-left: 10px !important;
    margin-bottom: 5px !important;
}

.sl-prifbot ul li:before {
    display: none !important;
}

/* View All Button Modernization */
.sl-btnod {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 234, 0, 0.3) !important;
    color: var(--primary-gold) !important;
    border-radius: 30px !important;
    width: 80% !important;
    font-size: 13px !important;
    transition: 0.3s !important;
}

.sl-prodli:hover .sl-btnod {
    background: var(--primary-gold) !important;
    color: #000 !important;
    box-shadow: 0 5px 15px rgba(255, 234, 0, 0.3);
}

/* Fix float layout break when cards have variable height */
.sl-produl {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
}

.sl-prodli {
    float: none !important;
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

@media (max-width: 992px) {
    .sl-prodli {
        -ms-flex: 0 0 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}

@media (max-width: 768px) {
    .sl-prodli {
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 370px) {
    .sl-prodli {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Toast Notification Styles */
#sl-toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    pointer-events: none;
}

.sl-toast {
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 234, 0, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s;
    opacity: 0;
}

.sl-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.sl-toast-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

.sl-toast-content {
    font-size: 13px;
}

.sl-toast-content strong {
    color: var(--primary-gold);
    display: block;
    margin-bottom: 2px;
}

.sl-toast-time {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

/* --- Fix Toast Black Screen & Add New UI --- */

/* Fix rendering glitch on toast */
.sl-toast {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(15, 15, 20, 0.95) !important;
    transform: translate3d(-120%, 0, 0);
    /* Use 3d for hardware accel */
    will-change: transform, opacity;
}

.sl-toast.show {
    transform: translate3d(0, 0, 0);
}

/* Pulse Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 54, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 54, 0, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 54, 0, 0);
    }
}

.badge-pulse {
    animation: pulse-ring 2s infinite;
}

/* Live Counter Badge */
.live-counter-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.live-counter-dot {
    width: 10px;
    height: 10px;
    background-color: #ff3600;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse-ring 2s infinite;
}

/* Activity Widget */
.activity-widget-col {
    margin-top: 20px;
}

.activity-widget {
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.activity-widget-title {
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 234, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 234, 0, 0.04);
}

.activity-live-dot {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    flex-shrink: 0;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 5px rgba(0, 230, 118, 0);
    }
}

.activity-scroll-wrap {
    height: 192px;
    overflow: hidden;
    position: relative;
}

.activity-scroll-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(10, 10, 12, 0.9));
    pointer-events: none;
    z-index: 2;
}

.activity-scroll-inner {
    animation: activity-scroll-up 18s linear infinite;
}

.activity-scroll-inner:hover {
    animation-play-state: paused;
}

@keyframes activity-scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 9px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    gap: 10px;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e676;
    font-size: 11px;
    flex-shrink: 0;
}

.activity-item-body {
    flex: 1;
    min-width: 0;
}

.activity-item-name {
    font-size: 12px;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-acc {
    color: #fff;
    font-weight: 700;
}

.activity-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.activity-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-gold);
}

.activity-time {
    font-size: 10px;
    color: #666;
}

/* SEO Header Row */
.seo-header-row {
    margin-bottom: 50px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
}

.seo-header-left {
    padding-right: 30px;
}

/* Responsive overrides */
@media (max-width: 991px) {
    .seo-header-row {
        margin-bottom: 30px;
    }

    .seo-header-left {
        padding-right: 15px;
    }

    .activity-widget-col {
        margin-top: 15px;
    }

    .activity-scroll-wrap {
        height: 160px;
    }
}

@media (max-width: 767px) {
    .seo-header-left {
        padding-right: 15px;
        padding-left: 15px;
    }

    .seo-header-row {
        display: block;
        margin-bottom: 20px;
    }
}

/* Equal Height Flexbox UI */
@media (min-width: 768px) {
    .row-flex-stretch {
        display: flex;
        flex-wrap: wrap;
    }

    .row-flex-stretch>[class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .payment-container {
        display: flex;
        flex-direction: column;
        height: calc(100% - 20px);
    }

    .payment-list-title {
        flex-shrink: 0;
    }

    .payment-list-item {
        flex: 1;
    }
}

