/* =========================================================
   PREMIUM.CSS — Xổ Số Theme Redesign (Luxury Purple & White)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --purple-main: #3B0270;
    /* User requirement: #3B0270 cho heading background */
    --purple-dark: #26014a;
    --purple-light: #52049e;
    --purple-dim: #f3ebfa;
    --purple-border: #e0d4ea;

    --color-primary: var(--purple-main);
    --color-accent: #ffae00;
    --color-red: #e63946;

    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-border: #eaedf1;
    --color-border-light: #f1f3f5;

    --color-text: #2b2d42;
    --color-text-secondary: #6c757d;

    --font-heading: 'Outfit', sans-serif;
    --font-main: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(59, 2, 112, 0.08);
    /* slight purple tint shadow */
    --shadow-lg: 0 20px 40px rgba(59, 2, 112, 0.12);

    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.lux-purple-theme {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 400;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition);
}

a:hover {
    color: var(--purple-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 0 0.5em;
    color: var(--color-text);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-border-light);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-light);
    border-radius: 100px;
}

/* ==========================================================
   WRAPPER
   ========================================================== */
.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ==========================================================
   LUX HEADER
   ========================================================== */
.lux-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(59, 2, 112, 0.05);
    border-bottom: 1px solid var(--color-border);
}

.lux-header-top {
    background: var(--purple-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 10px 0;
}

.inner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lux-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lux-live {
    color: #4ade80;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.lux-region-tags .region-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    color: #fff;
    font-weight: 500;
}

.lux-header-main {
    padding: 16px 0;
}

.inner-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.lux-brand img {
    height: 52px;
    width: auto;
    border-radius: 0;
}

.lux-nav {
    display: none;
    flex: 1;
    justify-content: center;
}

@media(min-width: 1024px) {
    .lux-nav {
        display: flex;
    }
}

.lux-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.lux-nav ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.lux-nav ul li>a,
.lux-nav ul li>a.fl {
    padding: 8px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text);
    text-transform: capitalize;
    transition: color var(--transition);
    position: relative;
    display: block;
    text-decoration: none;
}

.lux-nav ul li>a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--purple-main);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.lux-nav ul li:hover>a,
.lux-nav ul li.active>a {
    color: var(--purple-main);
    background: none;
    text-decoration: none;
}

.lux-nav ul li:hover>a::after,
.lux-nav ul li.active>a::after {
    transform: scaleX(1);
}

/* Hide old icons inside nav */
.lux-nav ul li img,
.lux-nav ul li .arr-d {
    display: none !important;
}

/* Submenu */
.lux-nav ul li .menu-c2 {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: -16px;
    background: var(--color-surface);
    min-width: 260px;
    box-shadow: 0 12px 32px rgba(59, 2, 112, 0.12);
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid var(--color-border);
    z-index: 100;
}

/* Indicator arrow for submenu */
.lux-nav ul li .menu-c2::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 32px;
    width: 12px;
    height: 12px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.lux-nav ul li:hover .menu-c2 {
    display: block;
    animation: popIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
        pointer-events: none;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}

.lux-nav ul li .menu-c2 li {
    display: block;
    margin-bottom: 2px;
}

.lux-nav ul li .menu-c2 li:last-child {
    margin-bottom: 0;
}

.lux-nav ul li .menu-c2 li a {
    padding: 12px 16px;
    display: block;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lux-nav ul li .menu-c2 li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--purple-dim);
    z-index: -1;
    transform: translateX(-100%);
    transition: transform var(--transition);
}

.lux-nav ul li .menu-c2 li a:hover {
    color: var(--purple-main);
    transform: translateX(4px);
}

.lux-nav ul li .menu-c2 li a:hover::before {
    transform: translateX(0);
}

.lux-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-dim);
    border: 1px solid var(--purple-border);
    padding: 8px;
    border-radius: var(--radius-full);
    color: var(--purple-main);
    cursor: pointer;
    transition: var(--transition);
}

.lux-menu-toggle:hover {
    background: var(--purple-border);
}

@media(min-width: 1024px) {
    .lux-menu-toggle {
        display: none;
    }
}



/* ==========================================================
   HERO / BANNER
   ========================================================== */
.lux-hero-section {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-main) 100%);
    padding: 40px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
}

.lux-hero-content .hero-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lux-hero-content .hero-subtitle {
    font-size: 16px;
    color: #e0d4ea;
    font-weight: 500;
    margin: 0;
}

.lux-single-hero {
    margin-top: 32px;
    margin-bottom: 32px;
}

.lux-single-banner {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-main) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.lux-single-title {
    font-size: clamp(26px, 4vw, 36px);
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.lux-single-meta {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.lux-meta-chip {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lux-page-title-banner {
    background: var(--purple-main);
    padding: 40px 0;
    margin-bottom: 32px;
}

.lux-pt-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lux-pt-heading {
    color: #fff;
    font-size: 28px;
    margin: 0 0 8px;
}

.lux-pt-sub {
    color: var(--purple-dim);
    margin: 0;
    font-weight: 500;
}

.lux-pt-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.badge-label {
    display: block;
    color: var(--purple-dim);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-date {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* ==========================================================
   LAYOUT GRID
   ========================================================== */
.lux-layout {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 24px;
    margin-bottom: 64px;
    align-items: start;
}

.lux-sidebar {
    position: sticky;
    top: 100px;
    z-index: 10;
}

@media(max-width: 1100px) {
    .lux-layout {
        grid-template-columns: 1fr 300px;
    }

    .lux-sidebar.lux-left {
        grid-column: span 2;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .lux-sidebar.lux-left>* {
        flex: 1 1 300px;
    }
}

@media(max-width: 768px) {
    .lux-layout {
        grid-template-columns: 1fr;
    }

    .lux-sidebar.lux-left {
        grid-column: 1;
    }
}

.lux-blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-bottom: 64px;
    align-items: start;
}

@media(max-width: 992px) {
    .lux-blog-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   BOXES / CARDS
   ========================================================== */
.box,
.new-card,
.premium-card .col-l,
.sidebar-modern .card-inner,
.db-left .card-inner,
.db-right .card-inner {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow var(--transition);
}

.box:hover {
    box-shadow: var(--shadow-md);
}

/* Clear default bgs */
.premium-dashboard,
.db-center,
.sidebar-modern {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   HEADINGS / TITLES (PURPLE)
   ========================================================== */
.tit-mien,
.title-bor,
.kq-title,
.box .kq-title,
.tit-mien h2,
.tit-mien a,
.title-bor h2,
.content-right .title-r,
h2.section-heading,
.box h2:first-child,
.box>h3:first-child,
.regional-title {
    background: var(--purple-main) !important;
    color: #ffffff !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: none !important;
    margin: 0;
    font-family: var(--font-heading);
    border-radius: 0;
}

.content-right .title-r {
    text-align: left;
    font-size: 15px !important;
    padding: 14px 16px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.content-right .title-r a {
    /* color: #fff !important; */
}

/* ==========================================================
   SIDEBAR (Neumorphic Headers & Floating Cards)
   ========================================================== */
.lux-sidebar .box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 40px;
}

/* Sidebar Specific Headers */
.lux-sidebar .title-bor,
.lux-sidebar .tit-mien,
.lux-sidebar .title-r,
.lux-sidebar .box>h2:first-child,
.lux-sidebar .box>h3:first-child {
    background: transparent !important;
    color: var(--purple-dark) !important;
    padding: 0 0 16px 0 !important;
    text-align: left !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    border-bottom: 2px dashed var(--color-border) !important;
    margin-bottom: 24px !important;
    display: flex;
    align-items: center;
    border-radius: 0 !important;
}

.lux-sidebar .title-bor::before,
.lux-sidebar .tit-mien::before,
.lux-sidebar .title-r::before,
.lux-sidebar .box>h2:first-child::before,
.lux-sidebar .box>h3:first-child::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, var(--color-red), var(--purple-main));
    border-radius: 4px;
    margin-right: 12px;
}

.lux-sidebar .title-bor *,
.lux-sidebar .title-r * {
    color: var(--purple-dark) !important;
    font-weight: 800 !important;
}

.content-right {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 32px !important;
}

ul.content-right,
.content-right ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-right li {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px !important;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-left: 4px solid var(--purple-main) !important;
    font-size: 15px;
    box-shadow: 0 8px 16px rgba(59, 2, 112, 0.04);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content-right li::before {
    display: none !important;
    /* Hide old bullet icon */
}

.content-right li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(59, 2, 112, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 1;
}

.content-right li:hover::after {
    opacity: 1;
}

.content-right li:hover {
    transform: translateX(6px) !important;
    border-left-color: var(--color-red) !important;
    box-shadow: 0 12px 24px rgba(59, 2, 112, 0.08) !important;
    background: #ffffff !important;
}

.content-right a {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}

.content-right a::after {
    content: '>';
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-red);
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.content-right li:hover a {
    color: var(--purple-main);
}

.content-right li:hover a::after {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================
   TABS 
   ========================================================== */
.tab-panel {
    background: transparent;
    border-bottom: 2px solid var(--purple-main);
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.tab-panel li {
    background: #f8f9fa;
    border: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-right: 4px;
    flex: 1;
    text-align: center;
    transition: var(--transition);
}

.tab-panel li a {
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    display: block;
}

.tab-panel li:hover {
    background: var(--purple-dim);
}

.tab-panel li:hover a {
    color: var(--purple-main);
}

.tab-panel li.active {
    background: var(--purple-main) !important;
    border-color: var(--purple-main);
}

.tab-panel li.active a {
    color: #fff;
    font-weight: 700;
}

/* ==========================================================
   TABLES
   ========================================================== */
table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--purple-dim);
    color: var(--purple-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 12px 8px;
    border: 1px solid var(--color-border);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 8px;
    border: 1px solid var(--color-border);
    font-size: 15px;
    text-align: center;
    color: var(--color-text);
    background: var(--color-surface);
}

.colgiai tbody>tr:nth-of-type(odd) td {
    background: #fdfdfd;
}

.colgiai tbody>tr:hover td {
    background: var(--purple-dim);
}

.colgiai td div {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-red);
    padding: 4px 0;
}

.colgiai .gdb div,
.colgiai .g8 div {
    font-size: 30px;
    color: var(--color-red);
    letter-spacing: 2px;
}

table.kqmb td.number {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-red);
}

.kqmb .g7 .number,
table.kqmb .db td.number,
table.kqmb .g8 .number {
    font-size: 30px;
    letter-spacing: 2px;
}

.kqtinh td.v-giai span[class^=v-g] {
    display: inline-block;
    padding: 10px 0;
    font-weight: 600;
}

.table-fixed {
    width: 100%;
}

.table-fixed td {
    border: 1px solid var(--color-border);
    font-weight: 600;
    padding: 16px 12px;
}

.table-fixed a {
    color: var(--color-text);
}

.table-fixed a:hover {
    color: var(--purple-main);
}

.madb {
    padding: 12px !important;
}

.v-madb {
    display: inline-block;
    padding: 8px 24px;
    background: var(--purple-dim);
    color: var(--purple-main);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    border: 1px dashed var(--purple-main);
    letter-spacing: 2px;
}

table.firstlast-mb th,
table.firstlast-mn th {
    background: transparent;
    color: var(--purple-dark);
    border-bottom: 2px solid var(--purple-main);
}

table.firstlast-mb td,
table.firstlast-mn td {
    font-weight: 500;
}

.clnote {
    color: var(--color-red) !important;
    font-weight: 700;
}

.control-panel {
    background: #fdfdfd;
    border: 1px solid var(--color-border);
    border-top: none;
    padding: 12px 16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}



.control-panel .digits-form {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
}

.control-panel .radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.control-panel .radio input[type="radio"] {
    accent-color: var(--purple-main);
    width: 16px;
    height: 16px;
}

.see-more {
    padding: 24px 20px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.see-more-title {
    margin-bottom: 12px;
    color: var(--purple-dark);
    font-weight: 700;
}

.see-more ul.list-html-link {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.see-more ul.list-html-link li {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 14.5px;
    font-weight: 500;
    transition: all var(--transition);
    display: flex;
    align-items: center;
}

.see-more ul.list-html-link li:hover {
    border-color: var(--purple-main);
    background: var(--purple-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 2, 112, 0.08);
}

.see-more ul.list-html-link li a {
    color: var(--purple-main);
    font-weight: 600;
}

.faq-accordion {
    margin-top: 16px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--color-surface);
}

.faq-question {
    padding: 16px 24px;
    font-weight: 700;
    color: var(--purple-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--purple-dim);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================
   FORMS & MISC
   ========================================================== */
.opt_date_full {
    background: var(--purple-dim);
    border: 1px solid var(--purple-border);
    color: var(--purple-main);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.opt_date_full input {
    background: transparent;
    color: var(--purple-main);
    font-weight: 600;
    border: none;
    outline: none;
    width: 90px;
    text-align: center;
    font-family: var(--font-main);
}

/* Pagination */
.paging {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0;
}

.paging a {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 8px 14px;
    box-shadow: var(--shadow-sm);
}

.paging a:hover,
.paging a.active {
    background: var(--purple-main);
    color: #fff;
    border-color: var(--purple-main);
}

/* Announcements / Alerts */
.announcement {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.announcement .announcement-title {
    color: var(--purple-dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.alert {
    background: var(--purple-dim);
    border-left: 4px solid var(--purple-main);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--purple-dark);
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn-see-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--purple-main);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 2, 112, 0.3);
    margin: 16px auto;
}

.btn-see-more:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 2, 112, 0.4);
    color: #fff;
}

a.item_sublink {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--purple-main) !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-block;
    margin: 4px;
    box-shadow: var(--shadow-sm);
}

a.item_sublink:hover {
    background: var(--purple-main);
    border-color: var(--purple-main);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mega645 / Keno round icons */
.mega645 .results li .data td i {
    font-size: 1.2rem;
    font-weight: 800;
    width: 2.8rem;
    height: 2.8rem;
    line-height: 2.8rem;
    border-radius: 50%;
}

.keno .results .data td i {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 50%;
}

/* ==========================================================
   BLOG POST & ERROR PAGE
   ========================================================== */
.lux-article-wrapper,
.box-detail {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    padding: 32px;
    font-size: 16px;
    line-height: 1.8;
}

.lux-article-inner h2,
.box-detail h2 {
    color: var(--purple-dark);
    margin-top: 24px;
}

.lux-article-inner img,
.box-detail img {
    max-width: 100%;
    margin: 16px 0;
    border-radius: var(--radius-md);
}

/* ERROR 404 */
.lux-error-box {
    background: var(--color-surface);
    padding: 64px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.lux-error-code {
    font-size: 100px;
    color: var(--purple-main);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1;
}

.lux-error-heading {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.lux-error-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.lux-btn-primary {
    background: var(--purple-main);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(59, 2, 112, 0.3);
}

.lux-btn-primary:hover {
    background: var(--purple-dark);
    color: #fff;
    transform: translateY(-2px);
}

.lux-error-links {
    margin-top: 32px;
    font-weight: 600;
}

.lux-error-links a {
    color: var(--purple-main);
    margin: 0 8px;
}

/* ==========================================================
   FOOTER (Lux Purple Theme)
   ========================================================== */
.lux-footer {
    background: var(--purple-main);
    color: var(--purple-dim);
    margin-top: 40px;
}

.lux-footer-main {
    padding: 48px 0 32px;
}

.lux-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

@media(max-width: 768px) {
    .lux-footer-grid {
        grid-template-columns: 1fr;
    }
}

.lux-ft-brand .lux-ft-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.lux-ft-brand .lux-ft-logo img {
    height: 44px;
    background: #ffffff;
    padding: 6px;
    border-radius: var(--radius-sm);
}

.lux-ft-brand p {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--purple-border);
}

.lux-ft-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lux-ft-badges span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.lux-ft-links h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lux-ft-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lux-ft-links a {
    color: var(--purple-border);
    transition: color var(--transition);
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
}

.lux-ft-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.lux-footer-bottom {
    background: var(--purple-dark);
    padding: 20px 0;
    font-size: 14px;
}

.lux-b-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.lux-b-inner p {
    margin: 0;
}

.lux-b-right {
    display: flex;
    gap: 20px;
}

.lux-b-right a {
    color: var(--purple-border);
    font-weight: 500;
}

.lux-b-right a:hover {
    color: #ffffff;
}

/* ==========================================================
   MOBILE MENU / BACKDROP
   ========================================================== */
#menu-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

html.menu-active #menu-mobile-backdrop {
    display: block;
}

#nav-horizontal.nav-pc {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85vw;
    max-width: 320px;
    background: var(--color-surface);
    z-index: 2001;
    transform: translateX(-100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

html.menu-active #nav-horizontal.nav-pc {
    visibility: visible;
    transform: translateX(0);
}

#nav-horizontal .menu-header {
    background: var(--purple-main) !important;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header .home-logo img {
    height: 40px;
    border-radius: 0;
}

.menu-header .close-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.drawer-nav-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    overflow-y: auto;
    flex: 1;
}

.drawer-nav-list li {
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    float: none !important;
}

.drawer-nav-list li>a {
    display: block;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 14px;
}

.drawer-nav-list li>a:hover {
    background: var(--purple-dim);
    color: var(--purple-main);
}

.drawer-nav-list li .arr-d {
    position: absolute;
    right: 20px;
    top: 12px;
    background: var(--purple-dim);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-main);
    cursor: pointer;
}

.drawer-nav-list li .menu-c2 {
    display: none;
    background: #f9fafb;
    padding: 8px 0;
    border-top: 1px solid var(--color-border-light);
}

.drawer-nav-list li .menu-c2 li {
    border-bottom: none;
}

.drawer-nav-list li .menu-c2 li a {
    padding: 12px 20px 12px 40px;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.drawer-nav-list li .menu-c2 li a:hover {
    color: var(--purple-main);
    background: var(--purple-dim);
}

.drawer-nav-list li img {
    display: none !important;
}

.drawer-nav-list li.active .menu-c2,
.drawer-nav-list li:hover .menu-c2 {
    display: block;
}

/* ==========================================================
   MISC & UTILITIES
   ========================================================== */
.bg-orange {
    background: var(--purple-main) !important;
    color: #fff !important;
}

.b-inner {
    display: flex;
    justify-content: space-between;
}

.tab-content>.tab {
    display: none;
}

.tab-content>.active {
    display: block;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Go Top button */
#go-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--purple-main);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

#go-top:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

nav {
    background: none;
}