/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ==========================================================
   HAPPYVEGAS — GLOBAL DESIGN SYSTEM
   Color palette matched to m.hpvegas.com/vn
   ========================================================== */

/* --- Root Color Variables --- */
:root {
  --hv-bg: #0d4d9c;
  --hv-header-bg: #0d4d9c;
  --hv-bg-card: #03204c;
  --hv-bg-sidebar: #02102c;
  --hv-accent-blue: #01a3fe;
  --hv-accent-purple: #ac20db;
  --hv-grad-login: linear-gradient(270deg, #01a3fe -0.31%, #ac20db 116.72%);
  --hv-text-primary: rgb(255, 255, 255);
  --hv-text-secondary: rgb(160, 180, 210);
  --hv-border: rgba(255, 255, 255, 0.08);
  --hv-radius: 10px;
  --hv-box-bg: #0d2058;
}

html {
    background-color: #b2b2b2 !important;
}

/* --- Global Site Background --- */
body {
    background: #b2b2b2;
}

       .livetx-wrapper {
            width: 100%;
            max-width: 100%;
        }
        
        #home-livetx table {
             width: 100%;
             max-width: 100%;
             border-collapse: collapse;
             margin-bottom: 0;
             background: #181818;
             border: 1px solid rgb(255 255 255 / 8%);
             border-radius: 16px;
             overflow: hidden;
        }

.widget .is-divider {
    background-color: transparent;
}

#footer .widget {
    margin-bottom: 0;
}

.footer-1 {
	padding-bottom: 30px;
}

.section-game .tab span:nth-last-child(1) {
	display: none;
}

.section-game .tab {
	    max-width: 18.5%;
}
.section-promotion {
	padding: 20px 0 10px !important;
}

.section-promotion .col {
	padding-bottom: 10px;
}

.section-promotion .row {
	max-width: 1050px;
}

.section-promotion .text-1 {
    font-size: 12px;
    color: #c5c5c5;
    font-weight: bold;
	text-transform: uppercase;
}

.section-promotion .row>.col {
	padding: 0 10px 10px !important;
}

.section-promotion .row-small>.col {
	padding: 0 5px 10px !important;
}

.section-promotion .text-2 {
    font-size: 14px;
    color: #fdb813c7;
}

.section-promotion .box-text {
	    position: absolute;
    top: 10px;
}

.site-tab-bar {
	margin-bottom: 20px;
}

.site-tab .is-selected {
	display: none;
}

.site-tab.selected .is-selected {
	display: block;
}

.site-tab.selected .no-selected  {
	display: none;
}

.site-tab a {
	margin: 4px;
	display: block;
}

.site-tab a img {
	max-height: 40px;
	width: auto;
}

.row-small>.gallery-col.col {
    padding: 0 5px 10px;
}


.section-title b {
	color: transparent;
}

.off-canvas-left.dark .mfp-content, .off-canvas-right.dark .mfp-content {
    background-color: #0d4d9c;
}

#home-livetx .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    animation: blink 1s infinite;
    display: inline-flex;
    margin-right: 7px;
}

        
        #home-livetx .title {
            position: relative;
            background: rgba(51, 214, 172, .10);
            padding: 7px 10px;
        }
        
        .list-type {
            font-weight: bold;
            font-size: 12px;
            color: #33d6ac;
        }
        
        .live {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: #ff0000;
            color: white;
            padding: 2px 8px 0px;
            border-radius: 3px;
            font-size: 11px;
            font-weight: bold;
        }
        
        .main-blink-me span {
            display: inline-block;
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            margin-left: 5px;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        
#home-livetx thead tr:nth-child(2) td {
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    padding: 8px 8px 4px;
	width: 50% !important;
	border: none;
}
        
#home-livetx .green {
    color: #9fc4b4;
    text-align: left !important;
}

#home-livetx .red {
    text-align: left !important;
    color: #9fc4b4;
    font-size: 9.5px !important;
}

        #home-livetx tbody td {
            padding: 5px 8px !important;
            font-size: 11px;
			    border: none;
        }
        
        #home-livetx tbody tr:last-child td {
            border-bottom: none;
        }
        
        #home-livetx tbody td:nth-child(1),
        #home-livetx tbody td:nth-child(3) {
            color: white;
        }
        
        #home-livetx .amount {
            font-weight: bold;
            color: #FFDD6A;
			text-align: right;
        }
        
        #home-livetx tbody td:last-child {
            text-align: center;
            font-weight: bold;
            color: #33d6ac;
			text-align: right;
        }


#main, #wrapper {
  max-width: 480px;
  margin: 0 auto;
	background-color: inherit;
    box-shadow: 0 0 40px rgba(0, 0, 0, .5);
}


/* --- Header Adjustments --- */
header.header-main {
  background-color: var(--hv-header-bg) !important;
}

.section-portal .row-small .col {
    margin-bottom: 0;
    padding: 0 7px 14px !important;
}

   .section-portal .gallery-col img {
	border-radius: 10px;
}

.section-portal .tab a {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 100px;
    background: #0d4d9c;
    border: 1px solid rgb(255 255 255 / 8%);
    color: #9fc4b4 !important;
    font-weight: 600;
    text-transform: inherit;
}

.section-portal .tab.active a {
    background: linear-gradient(90deg, #ffdd6b, #f3a32a);
    color: #3a2400 !important;
    border-color: transparent;
}

.section-title-normal span {
    padding-bottom: 0px;
    border: none;
    font-size: 14px;
    text-transform: inherit;
}

.section-title-normal {
	border: 0;
}

.section-title-container {
    margin-bottom: 0;
}

.section-title-normal span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ac20db;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

@media only screen and (max-width: 48em) {
  .header-main .logo {
    float: left !important;
  }
}

/* Ensure all sections inherit the dark bg */
.section {
  
}

/* ==========================================================
   HERO SLIDER
   ========================================================== */


.section-slider img, .section-slider .gallery-col {
	border-radius: 15px;
}


/* Slider bullets */
.section-slider .flickity-page-dots .dot {
  width: 7px !important;
  height: 7px !important;
  margin: 0 4px !important;
  opacity: 0.4 !important;
}

.section-slider .flickity-page-dots .dot.is-selected {
  background: var(--hv-accent-blue) !important;
  opacity: 1 !important;
}

/* ==========================================================
   MAIN AUTH BUTTONS — Đăng nhập / Đăng ký
   ========================================================== */

.section-auth {
  background-color: var(--hv-bg) !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.section-auth .row {
  gap: 0;
}

/* Đăng nhập — gradient purple → blue */
.section-auth .btn-login a.button,
a.button.btn-login {
  background: var(--hv-grad-login) !important;
  border: none !important;
  color: rgb(255, 255, 255) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
  width: 100%;
}

/* Đăng ký — blue outline */
.section-auth .btn-register a.button,
a.button.btn-register {
  background: transparent !important;
  border: 1.5px solid var(--hv-accent-blue) !important;
  color: rgb(255, 255, 255) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  padding: 9px 0 !important;
  width: 100%;
}

.section-auth .btn-register a.button:hover {
  background: rgba(1, 163, 254, 0.15) !important;
}

.section-auth .btn-register:before {
    background: linear-gradient(45deg, #dd55fc, #53a4f1);
    background-origin: border-box !important;
    border: 1.6px solid transparent !important;
    border-radius: inherit !important;
    bottom: 0;
    content: "";
    left: 0;
    -webkit-mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

/* ==========================================================
   QUICK MENU — 6 Icon Grid
   ========================================================== */


.section-portal .nav.nav-vertical li a {
    display: flex;
    flex-direction: column;
    text-transform: inherit;
    font-weight: 500;
    font-size: 11.5px;
    padding: 10px 5px 8px;
    border-radius: 8px;
    background-color: var(--hv-box-bg);
    text-align: center;
    line-height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
}

.section-portal .nav.nav-vertical li {
    border: none;
    margin-bottom: 10px;
}

   .section-portal .tabbed-content .nav-vertical {
        padding-top: 0;
        width: 12%;
    }

     .section-portal .nav-vertical+.tab-panels {
        border-left: none;
    }

.section-portal .nav.nav-vertical li.active a {
	background: var(--hv-grad-login) !important;
    border: none !important;
}


/* ==========================================================
   GLOBAL RESETS — Flatsome defaults cleanup
   ========================================================== */

/* Remove default p margin-bottom inside game cards */
.game-name,
.game-provider,
.qm-link span,
.cat-item span,
.footer-links-row a,
.footer-powered {
  margin-bottom: 0 !important;
}

/* Prevent Flatsome adding extra col bottom padding */
.section-quickmenu .col-inner,
.section-auth .col-inner {
  padding-bottom: 0 !important;
}

/* ==========================================================
   RESPONSIVE — Mobile (max 48em = 768px)
   ========================================================== */

/* --- Sidebar Game Category Tabs --- */
.category-tabs-container {
  background-color: #051a3b !important;
  border-right: 1px solid #1c323f !important;
}

.category-tabs-container a[role="tab"] {
  padding: 18px 12px !important;
  color: #abb4be !important;
  border-bottom: 1px solid #1c323f !important;
  background: transparent !important;
}

.category-tabs-container a[role="tab"].active,
.category-tabs-container a[role="tab"]:hover {
  background: var(--hv-grad-login) !important;
  color: #ffffff !important;
}

/* --- Footer & Fixed Nav --- */

#menu-float {
    z-index: 999;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    padding-bottom: .375rem;
    width: 100%;
    align-items: flex-end;
    display: flex;
    height: 63px;
    margin: 0 auto;
    background: linear-gradient(
		115deg,
		#d5a329 0%,
		#e5b941 22%,
		#f3d274 30%,
		#d9aa2d 40%,
		#e9c353 58%,
		#f3d477 66%,
		#d5a329 78%,
		#e6b83f 100%
	);
    max-width: 480px;
}

#menu-float a {
	flex: 1;
    text-align: center;
	position: relative;
}

#menu-float a img {
    display: block;
    max-height: 48px;
    width: auto;
    text-align: center;
    margin: 0 auto;
}

#menu-float a .badge {
    position: absolute;
    color: #fff;
    line-height: 20px;
    width: 20px;
	height: 20px;
    text-align: center;
    border-radius: 10px;
    top: 5px;
    right: 50%;
    font-weight: 700;
    font-size: 12px;
	background: #f38120;
    margin: 3px -40px;
}


.footer-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

.absolute-footer.text-center ul {
    border: 0;
    padding-top: 5px;
    text-transform: inherit;
    font-size: 14px;
    letter-spacing: normal;
    font-weight: 500;
    color: #cccccc;
}

.header-wrapper.stuck {
	box-shadow: none;
}

.header-wrapper.stuck .container {
    max-width: 480px;
    background-color: #0d4d9c;
	border-bottom: 1px solid hsla(0, 0%, 100%, .161);
}

.header-top .container {
	padding: 0;
}

.marquee-wrapper {
    max-width: 480px;
}

.header-button>.icon {
	    color: #ffdd6b;
    font-size: 15px;
    border: 1px solid #434343;
    border-radius: 10px;
}

.header-button-1 a {
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #ffe89a 0%, #f5c542 45%, #d4af37 100%);
    color: #3a2400;
    font-size: 11px;
    padding: 5px 11px 4px;
    font-weight: 600;
}

.logo-center .flex-left {
    max-width: 40px;
}

.error-404 {
	padding: 20px;
}

.error-404 >.row>.col {
	        flex-basis: 100%;
        max-width: 100%;
}

.box-blog-post .is-divider {
	display: none;
}

.post-item > .col-inner {
	background-color: var(--hv-box-bg);
	border-radius: 10px;
}

.post-item > .col-inner img {
	border-radius: 10px 10px 0 0;
}

 .blog-wrapper .large-10 {
        flex-basis: 100%;
        max-width: 100%;
    }

@media only screen and (max-width: 48em) {
.section-quickmenu .icon-box-center .icon-box-img {
    width: 55px !important;
    height: 55px !important;
}

}

/* ==========================================================
   ACCOUNT ACTIONS SHORTCODE
   ========================================================== */
.troy-account {
    width: 100%;
    padding: 16px;
    color: #fff;
        background: linear-gradient(180deg, #005BB5 0%, #003B78 100%);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.troy-account .auth,
.troy-account .ops {
    display: grid;
    gap: 10px;
}

.troy-account .auth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.troy-account .btn,
.troy-account .op {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}

.troy-account .btn:hover,
.troy-account .op:hover {
    color: white;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.troy-account .btn-login {
    background: linear-gradient(90deg, #1bbf5a, #0a7a37);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 122, 55, .5);
    border-radius: 100px;
}

.troy-account .btn-reg {
    background: linear-gradient(90deg, #ffdd6b, #f3a32a);
    color: #3a2400;
    box-shadow: 0 4px 12px rgba(243, 163, 42, .5);
	border-radius: 100px;
}

.troy-account .bal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
    padding: 14px;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
}

.troy-account .bal small {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    letter-spacing: .02em;
}

.troy-account .amt {
    color: #ffdd6a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.troy-account .bal .btn {
    min-height: 36px;
    padding: 9px 18px;
    white-space: nowrap;
}

.troy-account .ops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.troy-account .op {
    flex-direction: column;
    gap: 5px;
    min-height: 68px;
    padding: 10px 6px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 11px;
}

.troy-account .op .i {
    font-size: 20px;
    line-height: 1;
}

.troy-account .mins {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    line-height: 1.4;
}

@media (max-width: 360px) {
    .troy-account {
        padding: 12px;
    }

    .troy-account .bal {
        align-items: flex-start;
        flex-direction: column;
    }

    .troy-account .bal .btn {
        width: 100%;
    }

    .troy-account .mins {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media only screen and (max-width: 48em) {
	.section-game .tab {
    max-width: 18%;
}
	
	.bottom-nav::before {
    height: 55px;
	}
	
	.bottom-nav-container {
    height: 40px;
}
}
