/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: inherit;
}

p {
    margin: 0;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #21b6eb;
    --text-dark: #333;
    --text-gray: #666;
    --white: #fff;
    --border-color: #e0e0e0;
    --bg-light-gray: #f7f7f7;
    --secondary-color: #88d8f5;
    ;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --border-light: #f0f0f0;
    --text-lighter: #999;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #fafafa;
    /* background: #050405; */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0.5em;
}

.container-wide {
    max-width: 1512px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* ===== SECTION BASE ===== */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.link-all:hover {
    color: var(--secondary-color);
}

.arrow {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== RESPONSIVE BASE ===== */

/* Large Desktop - Below 1320px */
@media (max-width: 1319px) {
    .container {
        max-width: 1320px;
        padding: 0 20px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ===== HEADER ===== */
.header {
    background: #FFFAEB;
    border-bottom: 0.3px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1003;
}

.header-main {
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo img {
    width: 150px;
}

@media (max-width: 600px) {
    .logo img {
        width: 100px;
    }
}

/* Header Left Container */
.header-left {
    gap: 30px;
}

/* Mobile Actions Container */
.mobile-actions {
    display: none;
    gap: 15px;
    align-items: center;
}

/* Desktop Only Elements */
.desktop-only {
    display: block;
}

/* Mobile Only Elements - Hidden on Desktop */
.mobile-search {
    display: none !important;
}


/* Desktop-specific rules */
@media (min-width: 769px) {
    .mobile-search {
        display: none !important;
    }

    .mobile-menu-header {
        display: none !important;
    }

    .nav {
        position: static !important;
        background: #FFFAEB !important;
        box-shadow: none !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        z-index: auto !important;
        overflow: visible !important;
    }

    .nav::before {
        display: none !important;
    }

    .nav .container {
        padding: 0 !important;
    }

    .nav-list {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .nav-list a {
        padding: 14px 0 !important;
        border-bottom: none !important;
    }
}

/* Tablet - Grid layout for nav items (1024px - 769px) */
@media (max-width: 1300px) and (min-width: 769px) {
    .nav .container {
        padding: 0 20px !important;
    }

    .nav-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px 16px;
        justify-content: center;
        width: 100%;
    }

    .nav-list li {
        text-align: center;
    }

    .nav-list a {
        font-size: 13px;
        padding: 10px 8px !important;
        white-space: nowrap;
        display: block;
    }

    .nav-list a:hover {
        background: rgba(242, 113, 33, 0.1);
        border-radius: 6px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Search Bar */
.search-bar {
    flex: 1;
    margin: 0 40px;
    position: relative;
    max-width: 600px;
}

.search-bar::before {
    content: '⚲';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ccc;
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    height: 48px;
    padding: 12px 20px 12px 50px;
    border: 1px solid #e5e5e5;
    background-color: var(--white);
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(242, 113, 33, 0.15);
}

.search-bar input::placeholder {
    color: #bbb;
}

/* Header Right Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-deposit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(242, 113, 33, 0.2);
}

.btn-deposit * {
    pointer-events: none;
}

.btn-deposit:hover {
    background-color: #0493c5;
    transform: translateY(-2px);
}

.login-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
    transition: color 0.3s;
}

.login-link * {
    pointer-events: none;
}

.login-link:hover {
    color: var(--primary-color);
}

._register_modal ._nxn_modal_header,
._forgotpass_modal ._nxn_modal_header,
._login_modal ._nxn_modal_header,
._deposit ._nxn_modal_header,
._checkout_nickgame ._nxn_modal_header,
._checkout_random ._nxn_modal_header,
._checkout_minigame ._nxn_modal_header,
._authencation_modal ._nxn_modal_header {
    border-bottom: solid 0.14em rgba(var(--nxn-bg-text), 0);
}

._deposit ._nxn_modal_header {
    display: none;
}

._register_modal ._nxn_modal_content,
._forgotpass_modal ._nxn_modal_content,
._login_modal ._nxn_modal_content,
._deposit ._nxn_modal_content,
._checkout_nickgame ._nxn_modal_content,
._checkout_random ._nxn_modal_content,
._checkout_minigame ._nxn_modal_content,
._authencation_modal ._nxn_modal_content {
    max-width: 35em;
}

._register_modal ._nxn_modal_body::-webkit-scrollbar,
._forgotpass_modal ._nxn_modal_body::-webkit-scrollbar,
._login_modal ._nxn_modal_body::-webkit-scrollbar,
._deposit ._nxn_modal_body::-webkit-scrollbar,
._checkout_nickgame ._nxn_modal_body::-webkit-scrollbar,
._checkout_random ._nxn_modal_body::-webkit-scrollbar,
._checkout_minigame ._nxn_modal_body::-webkit-scrollbar,
._authencation_modal ._nxn_modal_body::-webkit-scrollbar {
    width: 0 !important;
    display: none;
}

._checkout_minigame ._nxn_modal_footer,
._checkout_random ._nxn_modal_footer,
._checkout_nickgame ._nxn_modal_footer {
    border-top: unset !important;
}

.user-icon {
    width: 24px;
    height: 24px;
}

/* ===== NAVIGATION ===== */
.nav {
    background: #FFFAEB;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-list a {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 0;
    transition: color 0.3s, background 0.3s;
    border-radius: 4px;
    text-align: center;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE HEADER ===== */

/* Tablet */
@media (max-width: 1024px) {

    .product-carousel-wrapper {
        padding: 0 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Hide Desktop Elements */
    .desktop-only {
        display: none !important;
    }

    .search-bar {
        display: none !important;
    }

    .header-right {
        display: none !important;
    }

    /* Show Mobile Elements */
    .mobile-actions {
        display: flex;
        position: relative;
        z-index: 1003;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1003;
    }

    /* Mobile Header */
    .header-wrapper {
        gap: 15px;
    }

    .logo {
        font-size: 20px;
        flex: 1;
    }

    .mobile-actions .btn-deposit {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .mobile-actions .login-link span {
        display: none;
    }

    /* Mobile Navigation - Full screen overlay */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #FFFAEB !important;
        transition: right 0.3s ease !important;
        z-index: 1002 !important;
        overflow-y: auto !important;
        padding-top: 100px !important;
    }

    .nav.active {
        right: 0 !important;
    }

    /* Mobile Menu Header with Search */
    .mobile-menu-header {
        /* padding: 0 20px 20px 20px !important; */
        border-bottom: 1px solid var(--border-light) !important;
        margin-bottom: 20px !important;
    }

    .mobile-search {
        display: block !important;
        width: 100% !important;
    }

    .mobile-search input {
        width: 100% !important;
        padding: 12px 16px !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px !important;
        background: var(--white) !important;
        font-size: 14px !important;
        transition: all 0.3s !important;
    }

    .mobile-search input:focus {
        outline: none !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 3px rgba(242, 113, 33, 0.1) !important;
    }

    .nav .container {
        padding: 0 20px !important;
    }

    .nav-list {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        padding: 16px 0 !important;
        border-bottom: 1px solid var(--border-light) !important;
        border-radius: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .nav-list a:hover {
        background: transparent !important;
        color: var(--primary-color) !important;
    }
}

/* ===== SHARED BREADCRUMB ===== */
.breadcrumb {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li {
    white-space: nowrap;
}

.breadcrumb-item a {
    white-space: nowrap;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 0;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-item a * {
    pointer-events: none;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--border-color);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 0;
    }

    .breadcrumb-list {
        gap: 6px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item a {
        padding: 2px 6px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 0;
    }

    .breadcrumb-item {
        font-size: 11px;
    }

    .breadcrumb-item a {
        padding: 2px 4px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-notification {
    background: var(--primary-color);
    padding: 12px 0;
    text-align: center;
    margin-bottom: 40px;
}

.footer-notification p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.footer-top-wrapper {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.footer-col:first-child {
    grid-column: 1/4;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--primary-color);
}

.footer-bottom-wrapper {
    padding: 24px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links a.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== RESPONSIVE FOOTER ===== */

/* Mobile */
@media (max-width: 768px) {
    .footer-col:first-child {
        grid-column: 1/2;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 16px;
    }
}

/* ===== BANNER SECTION ===== */
.banner-section {
    padding: 30px 0;
}

.banner {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #ffa800 0%, #ff8c00 100%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 168, 0, 0.2);
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-placeholder img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ===== BANNER GRID ===== */
.banner-grid {
    display: grid;
    margin-bottom: 0;
}

.banner-grid.banner-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.banner-grid.banner-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.banner-item {
    background: #f5f5f5;
    border-radius: 12px;
    height: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Bottom row - larger banners */
.banner-item.banner-large {
    height: 418px;
}

/* Placeholder for future images */
.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.banner-item:hover::before {
    opacity: 1;
}

/* ===== RESPONSIVE BANNER ===== */

/* Tablet */
@media (max-width: 1024px) {
    .banner-grid.banner-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 16px;
    }

    .banner-grid.banner-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .banner-item {
        height: 160px;
    }

    .banner-item.banner-large {
        height: 320px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .banner {
        height: auto;
    }

    .banner-placeholder {
        font-size: 24px;
    }

    .banner-grid.banner-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .banner-grid.banner-grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .banner-item {
        height: 140px;
    }

    .banner-item.banner-large {
        height: 240px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .banner {
        height: auto;
    }

    .banner-placeholder {
        font-size: 18px;
    }

    .banner-grid.banner-grid-3,
    .banner-grid.banner-grid-4 {
        gap: 10px;
    }

    .banner-item {
        height: 120px;
        border-radius: 8px;
    }

    .banner-item.banner-large {
        height: 200px;
    }

    .game-section,
    .categories-section,
    .section-minigame {
        padding-top: 0 !important;
    }
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.news-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-lighter);
    margin-top: 8px;
}

.news-date,
.news-author {
    font-size: 12px;
    color: var(--text-lighter);
}

.news-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== RESPONSIVE NEWS ===== */

/* Tablet */
@media (max-width: 1024px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .news-section {
        padding: 30px 0;
    }

    .news-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card {
        padding: 20px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .news-card {
        padding: 16px;
        gap: 16px;
    }

    .news-title {
        font-size: 15px;
    }

    .news-desc {
        font-size: 12px;
    }

    .news-image {
        width: 70px;
        height: 70px;
    }
}

/* ===== GAMES / CATEGORIES SECTION ===== */
.game-section,
.categories-section {
    padding: 40px 0;
    overflow: hidden;
}

.game-card {
    display: block;
    width: 100%;
    min-width: 0;
}

.game-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 260/156;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.game-card-badge svg {
    width: 12px;
    height: 12px;
}

.game-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.game-card-stats span {
    font-size: 12px;
    color: var(--text-light);
}

.game-money {
    font-size: 16px !important;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.game-card-rating svg {
    width: 14px;
    height: 14px;
    color: #fbbf24;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-sold {
    font-size: 12px;
    color: var(--text-lighter);
}

/* ===== FUTURISTIC CARD STYLES ===== */
.futuristic-card {
    border: solid 3px var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-width: 0;
}

.futuristic-card:hover {
    box-shadow: 0 8px 24px rgba(242, 113, 33, 0.25);
    transform: translateY(-4px);
}

.game-card-content {
    padding: 15px 15px 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-card-footer {
    margin-top: auto;
}

/* Explore Button - Full Width */
.explore-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    padding: 12px 24px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.explore-btn:hover {
    box-shadow: 0 0 20px rgba(242, 113, 33, 0.6);
    transform: translateY(-2px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.explore-btn:active {
    transform: translateY(0);
}

/* Border Glow Animation */
@keyframes borderGlow {

    0%,
    100% {
        border-color: var(--secondary-color);
    }

    50% {
        border-color: var(--primary-color);
    }
}

.futuristic-card:hover {
    animation: borderGlow 2s infinite;
}

/* ===== CAROUSEL SHARED STYLES ===== */
.game-carousel-wrapper {
    position: relative;
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.game-carousel-wrapper .container {
    max-width: 1320px;
}

.game-swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.game-carousel-wrapper .swiper-wrapper {
    display: flex;
}

.game-carousel-wrapper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.game-carousel-wrapper .swiper-button-prev,
.game-carousel-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    color: var(--text-dark);
    cursor: pointer;
}

.game-carousel-wrapper .swiper-button-prev:after,
.game-carousel-wrapper .swiper-button-next:after {
    display: none;
}

.swiper-button-prev .swiper-navigation-icon,
.swiper-button-next .swiper-navigation-icon {
    width: 14px !important;
    height: 14px !important;
}

.game-carousel-wrapper .swiper-button-prev {
    left: 20px;
}

.game-carousel-wrapper .swiper-button-next {
    right: 20px;
}

.game-carousel-wrapper .swiper-button-prev:hover,
.game-carousel-wrapper .swiper-button-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.game-carousel-wrapper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1500px) {
    .game-carousel-wrapper .swiper-button-prev {
        left: 40px;
    }

    .game-carousel-wrapper .swiper-button-next {
        right: 40px;
    }
}

/* ===== PRODUCTS CAROUSEL ===== */
.product-section {
    padding: 40px 0;
    overflow: hidden;
}

.search-table-container {
    margin-bottom: 30px;
}

.product-card {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card-inner {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover .product-card-inner {
    /* transform: translateY(-1px); */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.product-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-buy {
    padding: 10px;
}

.product-buy button {
    width: 100%;
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.product-buy button:hover {
    background: #0493c5 !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-price-atm {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px dashed var(--border-light);
}

/* ===== PRODUCT CAROUSEL STYLES ===== */
.product-carousel-wrapper {
    position: relative;
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 0 96px;
}

.product-carousel-wrapper .container {
    max-width: 1320px;
    padding: 0;
}

.product-swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.product-carousel-wrapper .swiper-wrapper {
    display: flex;
}

.product-carousel-wrapper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.product-carousel-wrapper .swiper-button-prev,
.product-carousel-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    color: var(--text-dark);
    cursor: pointer;
}

.product-carousel-wrapper .swiper-button-prev:after,
.product-carousel-wrapper .swiper-button-next:after {
    display: none;
}

.product-carousel-wrapper .swiper-button-prev .swiper-navigation-icon,
.product-carousel-wrapper .swiper-button-next .swiper-navigation-icon {
    width: 14px !important;
    height: 14px !important;
}

.product-carousel-wrapper .swiper-button-prev {
    left: 20px;
}

.product-carousel-wrapper .swiper-button-next {
    right: 20px;
}

.product-carousel-wrapper .swiper-button-prev:hover,
.product-carousel-wrapper .swiper-button-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.product-carousel-wrapper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== RESPONSIVE PRODUCTS ===== */

/* Tablet */
@media (max-width: 1024px) {
    .product-carousel-wrapper {
        padding: 0 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-carousel-wrapper {
        padding: 0 20px;
    }

    .product-carousel-wrapper .swiper-button-prev {
        left: 40px;
    }

    .product-carousel-wrapper .swiper-button-next {
        right: 40px;
    }
}

/* ===== FLASH SALES SECTION ===== */
.flash-sales-section {
    padding: 40px 0;
    overflow: hidden;
}

.flash-sales-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    color: var(--primary-color);
}

.flash-icon {
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


/* Flash Sales Carousel */
.flash-sales-carousel-wrapper {
    position: relative;
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 0 96px;
}

.flash-sales-carousel-wrapper .container {
    max-width: 1320px;
    padding: 0;
}

.flash-sales-swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.flash-sales-carousel-wrapper .swiper-wrapper {
    display: flex;
}

.flash-sales-carousel-wrapper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.flash-sales-carousel-wrapper .swiper-button-prev,
.flash-sales-carousel-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    color: var(--text-dark);
    cursor: pointer;
    border: none;
    padding: 0;
}

.flash-sales-carousel-wrapper .swiper-button-prev:after,
.flash-sales-carousel-wrapper .swiper-button-next:after {
    display: none;
}

.flash-sales-carousel-wrapper .swiper-button-prev:after,
.flash-sales-carousel-wrapper .swiper-button-next:after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.flash-sales-carousel-wrapper .swiper-button-prev:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.flash-sales-carousel-wrapper .swiper-button-next:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.flash-sales-carousel-wrapper .swiper-button-prev:hover:after,
.flash-sales-carousel-wrapper .swiper-button-next:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.flash-sales-carousel-wrapper .swiper-button-next:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.flash-sales-carousel-wrapper .swiper-button-prev {
    left: 20px;
}

.flash-sales-carousel-wrapper .swiper-button-next {
    right: 20px;
}

.flash-sales-carousel-wrapper .swiper-button-prev:hover,
.flash-sales-carousel-wrapper .swiper-button-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.flash-sales-carousel-wrapper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Flash Sales Card */
.flash-sales-card {
    display: block;
    width: 100%;
    text-decoration: none;
}

.flash-sales-card-inner {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flash-sales-card:hover .flash-sales-card-inner {
    /* transform: translateY(-1px); */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.flash-sales-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.flash-sales-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.flash-sales-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.discount-percent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: block;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.flash-sales-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.flash-sales-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    min-height: 40px;
}

.flash-sales-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-sale {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.flash-sales-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-gray);
}

.stock-label {
    font-weight: 600;
}

.stock-bar {
    flex: 1;
    height: 5px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.stock-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

.stock-count {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 11px;
}

/* ===== RESPONSIVE FLASH SALES ===== */

/* Tablet */
@media (max-width: 1024px) {
    .flash-sales-carousel-wrapper {
        padding: 0 60px;
    }

    .flash-sales-title-wrapper {
        gap: 16px;
    }

    .flash-sales-title {
        font-size: 28px;
    }

    .flash-sales-image {
        height: 180px;
    }

    .timeline-item {
        min-width: 110px;
        padding: 12px 20px;
    }

    .timeline-time {
        font-size: 16px;
    }

    .timeline-status {
        font-size: 10px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .flash-sales-section {
        padding: 30px 0;
    }

    .flash-sales-carousel-wrapper {
        padding: 0 20px;
    }

    .flash-sales-carousel-wrapper .swiper-button-prev {
        left: 40px;
    }

    .flash-sales-carousel-wrapper .swiper-button-next {
        right: 40px;
    }

    .flash-sales-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }

    .flash-sales-title {
        font-size: 24px;
    }

    .flash-sales-image {
        height: 170px;
    }

    .flash-sales-info {
        padding: 14px;
        gap: 10px;
    }

    .flash-sales-product-title {
        font-size: 13px;
    }

    .price-sale {
        font-size: 16px;
    }

    .price-old {
        font-size: 11px;
    }

    .discount-percent {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .flash-sales-carousel-wrapper {
        padding: 0 30px;
    }

    .flash-sales-title {
        font-size: 20px;
    }

    .flash-sales-image {
        height: 150px;
    }

    .flash-sales-info {
        padding: 12px;
        gap: 8px;
    }

    .flash-sales-product-title {
        font-size: 12px;
    }
}

.price-sale {
    font-size: 14px;
}

.price-old {
    font-size: 10px;
}

.flash-sales-stock {
    font-size: 10px;
}

.stock-bar {
    height: 4px;
}

.countdown {
    padding: 4px 8px;
}

.countdown-value {
    font-size: 12px;
}

.countdown-label {
    font-size: 8px;
}

.countdown-separator {
    font-size: 12px;
}

.discount-percent {
    padding: 4px 8px;
    font-size: 11px;
}

.flash-sales-carousel-wrapper .swiper-button-prev,
.flash-sales-carousel-wrapper .swiper-button-next {
    width: 36px;
    height: 36px;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(242, 113, 33, 0.15);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(242, 113, 33, 0.1) 0%, rgba(255, 168, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: rgba(242, 113, 33, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating .star {
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-rating .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-content {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0 0 16px 0;
    font-style: italic;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-lighter);
}

/* ===== RESPONSIVE WHY CHOOSE & TESTIMONIALS ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.newsletter-body {
    display: flex;
    align-items: center;
    gap: 32px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    width: 60%;
    line-height: 1.6;
}

.newsletter-actions {
    display: flex;
    width: 40%;
    justify-content: flex-end;
}

.btn-contact {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* ===== RESPONSIVE NEWSLETTER ===== */

/* Mobile */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 40px 0;
    }

    .newsletter-body {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-subtitle {
        width: 100%;
        font-size: 14px;
    }

    .newsletter-actions {
        width: 100%;
        justify-content: center;
    }

    .newsletter-title {
        font-size: 24px;
    }

    .btn-contact {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .newsletter-section {
        padding: 30px 0;
    }

    .newsletter-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .newsletter-subtitle {
        font-size: 13px;
    }

    .btn-contact {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
    }
}

/* ===== CATEGORIES PAGE ===== */
.categories-page {
    padding: 40px 0 60px;
    background: var(--bg-light);
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Tabs Navigation */
.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tab-item svg {
    width: 18px;
    height: 18px;
}

.tab-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 113, 33, 0.15);
}

.tab-item.active {
    background: rgba(242, 113, 33, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.tab-count {
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.tab-item.active .tab-count {
    background: var(--primary-color);
    color: var(--white);
}

/* Category Section */
.category-section {
    margin-bottom: 50px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.section-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.section-title-sm {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.section-title-sm svg {
    color: var(--primary-color);
}

.section-count {
    font-size: 14px;
    color: var(--text-lighter);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Category Card */
.category-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.category-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.category-card-body {
    padding: 16px;
    flex: 1;
}

.category-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-lighter);
}

.meta-item svg {
    width: 14px;
    height: 14px;
}

.meta-item.sold {
    color: #10b981;
}

.category-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--text-lighter);
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.category-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-card-rating .stars {
    color: #fbbf24;
    font-size: 12px;
    letter-spacing: -1px;
}

.category-card-rating .rating-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.category-card-action {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.btn-explore {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card:hover .btn-explore {
    color: var(--secondary-color);
}

/* Random & Minigame Card Variations */
.random-card .category-badge,
.minigame-card .category-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.minigame-card .category-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-lighter);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-state svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* ===== ENHANCED EMPTY STATE (for product lists) ===== */
.empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 16px;
    border: 2px dashed var(--border-light);
    grid-column: 1 / -1;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(242, 113, 33, 0.1), rgba(255, 168, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.empty-state-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.empty-state-desc {
    font-size: 15px;
    color: var(--text-gray);
    max-width: 400px;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(242, 113, 33, 0.3);
}

.empty-state-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(242, 113, 33, 0.4);
}

.empty-state-btn svg {
    transition: transform 0.3s ease;
}

.empty-state-btn:hover svg {
    transform: translateX(-4px);
}

/* Responsive Empty State */
@media (max-width: 768px) {
    .empty-state-container {
        padding: 60px 24px;
    }

    .empty-state-icon {
        width: 100px;
        height: 100px;
    }

    .empty-state-icon svg {
        width: 60px;
        height: 60px;
    }

    .empty-state-title {
        font-size: 20px;
    }

    .empty-state-desc {
        font-size: 14px;
    }

    .empty-state-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Hide pagination when empty */
._nxn_table_pagination:has(._nxn_pagination:empty) {
    display: none;
}

._nxn_table_pagination.is-hidden {
    display: none;
}

._nxn_pagination:empty {
    display: none;
}

/* ===== RESPONSIVE CATEGORIES PAGE ===== */
@media (max-width: 1320px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-tabs {
        gap: 8px;
    }

    .tab-item {
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .categories-page {
        padding: 30px 0 50px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .categories-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-item {
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 12px;
    }

    .tab-item span:not(.tab-count) {
        display: none;
    }

    .tab-item svg {
        width: 20px;
        height: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-title-sm {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 22px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }

    .category-card-body {
        padding: 12px;
    }

    .category-card-action {
        display: none;
    }
}

/* ===== ACCOUNT PAGE LAYOUT ===== */
.account-page {
    padding: 40px 0;
    min-height: 60vh;
    overflow-x: hidden;
}

.account-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-sidebar * {
    display: initial;
    visibility: visible;
}

.account-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .account-page {
        padding: 20px 0;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-sidebar {
        gap: 15px;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .account-page {
        padding: 15px 0;
    }

    .account-layout {
        gap: 15px;
    }

    .account-sidebar {
        gap: 12px;
    }
}

/* ===== ACCOUNT SIDEBAR ===== */
.account-user-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.user-id {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.sidebar-toggle-btn,
.account-sidebar-overlay {
    display: none !important;
}

.sidebar-toggle-btn * {
    pointer-events: none;
}

.account-sidebar-menu {
    display: block;
    width: 100%;
}

/* Account Navigation */
.account-nav {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.account-nav-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.account-nav-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.account-nav-item svg {
    flex-shrink: 0;
}

/* Account Logout */
.account-logout {
    margin-top: 20px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #d32f2f;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.logout-link:hover {
    background: #ffebee;
    color: #b71c1c;
    border-color: #d32f2f;
}

.logout-link svg {
    flex-shrink: 0;
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .account-sidebar {
        position: static;
        width: 100%;
    }

    .account-user-card {
        background: var(--primary-color);
        color: var(--white);
        margin-bottom: 20px;
    }

    .account-user-card .user-name {
        color: var(--white);
    }

    .account-user-card .user-id {
        color: rgba(255, 255, 255, 0.8);
    }

    #sidebarToggle.sidebar-toggle-btn {
        display: flex !important;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        color: white;
        z-index: 100;
    }

    .account-sidebar-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        z-index: 10001;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex !important;
        flex-direction: column;
        overflow-y: auto;
    }

    .account-sidebar-menu.is-open {
        transform: translateX(0) !important;
    }

    .account-sidebar-overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .account-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }

    .user-name {
        font-size: 15px;
    }

    .user-id {
        font-size: 12px;
    }

    .account-nav {
        padding: 8px;
        gap: 2px;
    }

    .account-nav-item {
        padding: 12px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .account-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .logout-link {
        padding: 12px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .logout-link svg {
        width: 18px;
        height: 18px;
    }

    .back-to-list {
        display: inline-flex;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .account-user-card {
        padding: 14px;
        gap: 12px;
    }

    .user-avatar {
        width: 45px;
        height: 45px;
    }

    .user-name {
        font-size: 14px;
    }

    .user-id {
        font-size: 11px;
    }

    .user-edit-btn {
        width: 28px;
        height: 28px;
    }

    .account-nav-item {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .account-nav-item svg {
        width: 16px;
        height: 16px;
    }

    .logout-link {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .logout-link svg {
        width: 16px;
        height: 16px;
    }
}

/* ===== BLOG DETAIL ===== */
.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
}

.blog-detail-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.blog-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.blog-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.9;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.blog-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px 0;
}

.blog-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 25px 0 12px 0;
}

.blog-body p {
    margin-bottom: 15px;
}

.blog-body ul,
.blog-body ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.blog-body li {
    margin-bottom: 5px;
}

.blog-tags {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.blog-tags h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-post {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.related-post:hover {
    color: var(--primary-color);
}

.related-post:last-child {
    border-bottom: none;
}

.related-post h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== RESPONSIVE BLOG DETAIL ===== */

/* Tablet */
@media (max-width: 1024px) {
    .blog-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .blog-detail-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 5px;
    }

    .blog-body {
        font-size: 15px;
    }

    .blog-body h2 {
        font-size: 20px;
    }

    .blog-body h3 {
        font-size: 18px;
    }

    .sidebar-section {
        padding: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .blog-detail-content {
        padding: 16px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-body {
        font-size: 14px;
    }

    .blog-body h2 {
        font-size: 18px;
    }

    .blog-body h3 {
        font-size: 16px;
    }
}

.account-section {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.account-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.back-to-list {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.back-to-list:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-light);
}

.back-to-list svg {
    width: 18px;
    height: 18px;
}

.info-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.info-label {
    color: var(--text-light);
    font-size: 14px;
}

.info-value {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

/* Personal Info Grid - 2 column layout */
.personal-info-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.personal-info-grid .account-info-row {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    padding: 6px 0;
    align-items: center;
}

.personal-info-grid .account-info-row:last-child {
    border-bottom: none;
}

/* Account Info Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.account-info-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-info-col form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-info-item label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.account-info-row .pw {
    flex-direction: column;
}

.account-info-row:has(.form-input) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.account-info-row .form-input {
    width: 100%;
    margin-top: 4px;
}

.account-info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: var(--text-light);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.info-value.info-placeholder {
    color: var(--text-lighter);
    font-weight: 400;
    font-style: italic;
}

.info-value.info-highlight {
    color: var(--primary-color);
    font-size: 16px;
}

/* Warning Message */
.account-warning {
    background: transparent;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.account-warning p {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.account-warning .text-red {
    color: #d32f2f;
    font-weight: 600;
}

/* Account Form */
.account-form {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.account-form ._nxn_group_field {
    flex: 1;
}

.account-form .btn {
    padding: 0.45em 1.5em;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* Mobile - 768px and below */
@media (max-width: 768px) {

    .back-to-list {
        display: inline-flex;
    }

    .account-main {
        gap: 20px;
    }

    .account-section {
        padding: 20px;
    }

    .account-section-title {
        font-size: 16px;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .account-section-title svg {
        width: 18px;
        height: 18px;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .account-info-col {
        gap: 16px;
    }

    .personal-info-grid {
        flex-direction: column;
        gap: 8px;
    }

    .personal-info-grid .account-info-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 0;
    }

    .account-info-item label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .account-info-row {
        padding: 10px 0;
    }

    .info-label {
        font-size: 13px;
    }

    .info-value {
        font-size: 13px;
    }

    .info-value.info-highlight {
        font-size: 14px;
    }

    .account-warning {
        padding: 12px;
        margin-top: 8px;
    }

    .account-warning p {
        font-size: 12px;
    }

    .account-form {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .credential-box {
        padding: 16px;
        gap: 16px;
    }

    .credential-input-group {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .credential-text {
        font-size: 13px;
        word-break: break-all;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .account-section {
        padding: 16px;
    }

    .account-section-title {
        font-size: 15px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .account-info-row {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
        overflow-wrap: break-word;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 12px;
    }

    .info-value.info-highlight {
        font-size: 13px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .account-warning {
        padding: 10px;
    }

    .account-warning p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* ===== REUSABLE TABLE COMPONENT ===== */
.table-wrapper {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.table-search-bar {
    padding: 24px 30px;
    background: var(--bg-light-gray);
    border-bottom: none;
}

.table-search {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-dark);
    width: 100%;
    background: var(--white);
}

.table-search::placeholder {
    color: var(--text-lighter);
}

.table-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: #000000;
    border-bottom: none;
    margin: 30px 30px 0 30px;
    border: 1px solid var(--border-color);
    border-radius: 10px 10px 0 0;
}

.table-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.table-header h2 svg {
    color: var(--white);
    stroke: var(--white);
}

.table-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table-list {
    background: var(--white);
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
}

.table-row {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}

.table-row:hover {
    background: var(--bg-light);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row-status {
    flex-shrink: 0;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.table-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9c27b0;
    display: inline-block;
}

.table-row-content {
    flex: 1;
    min-width: 0;
}

.table-row-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.table-row-title-sub {
    margin-left: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.table-row-description {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.table-row-date {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

.table-row:not(:has(.table-row-action)) .table-row-date {
    text-align: right;
}

.table-row-action {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
}

.table-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.table-action-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

.table-pagination {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    margin: 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.table-pagination-info {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.table-pagination-info svg {
    color: var(--text-lighter);
    flex-shrink: 0;
}

.pagination-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    min-width: 50px;
    text-align: right;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.table-empty {
    text-align: center;
    background: var(--white);
}

.table-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.table-empty-text {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .table-wrapper {
        border-radius: 8px;
    }

    .table-search-bar {
        padding: 12px 20px;
    }

    .table-search {
        max-width: 100%;
    }

    .table-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
    }

    .table-header h2 {
        font-size: 16px;
    }

    .table-row {
        flex-wrap: wrap;
        padding: 14px 20px;
        gap: 8px;
    }

    .table-row-status {
        width: auto;
        margin-right: 10px;
        order: 1;
    }

    .table-row-content {
        flex: 1;
        min-width: 0;
        order: 2;
    }

    .table-row-date {
        width: 100%;
        text-align: left !important;
        margin-left: 30px;
        order: 3;
    }

    .table-row-action {
        width: 100%;
        text-align: left;
        margin-left: 30px;
        order: 4;
    }

    .table-pagination {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 14px 20px;
    }

    .table-pagination-info {
        justify-content: center;
        font-size: 12px;
    }

    .pagination-controls {
        justify-content: center;
    }

    .pagination-info {
        min-width: auto;
        text-align: center;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {

    .table-wrapper {
        background: transparent;
        box-shadow: none !important;
    }

    .table-header {
        padding: 14px 16px;
        margin: 30px 0 0 0;
    }

    ._nxn_table_main {
        margin: 0 0 30px 0 !important;
    }

    .table-pagination {
        margin: 0 0 30px 0 !important;
    }

    ._nxn_container_table ._nxn_table_pagination {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    ._nxn_container_table ._nxn_table_pagination ._nxn_pagination>ul li {
        height: 35px;
    }

    .table-search-bar {
        padding: 12px 0;
    }

    .table-header h2 {
        font-size: 14px;
        gap: 8px;
    }

    .table-header h2 svg {
        width: 18px;
        height: 18px;
    }

    .table-row {
        padding: 12px 16px;
    }

    .table-row-title {
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 13px;
    }

    .table-row-description {
        font-size: 12px;
    }

    .table-row-date {
        font-size: 12px;
    }

    .table-action-link {
        font-size: 11px;
        padding: 5px 12px;
    }

    .table-pagination {
        padding: 12px 16px;
    }

    .table-pagination-info {
        font-size: 11px;
    }

    .pagination-info {
        font-size: 12px;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .table-empty {
        padding: 40px 20px;
    }

    .table-empty-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .table-empty-text {
        font-size: 12px;
    }
}

/* ===== VOUCHER LIST COMPONENT ===== */
.voucher-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 30px;
    background: var(--white);
}

.voucher-item {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.voucher-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.voucher-item-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-radius: 12px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.voucher-item-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    color: var(--primary-color);
}

.voucher-item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.voucher-item-content h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.voucher-item-content p {
    margin: 0;
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .voucher-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 16px;
        padding: 20px;
    }

    .voucher-item {
        padding: 20px 12px;
        gap: 12px;
    }

    .voucher-item-icon {
        width: 56px;
        height: 56px;
    }

    .voucher-item-icon svg {
        width: 32px;
        height: 32px;
    }

    .voucher-item-content h3 {
        font-size: 13px;
    }

    .voucher-item-content p {
        font-size: 11px;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .voucher-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .voucher-item {
        padding: 16px 10px;
        gap: 10px;
    }

    .voucher-item-icon {
        width: 48px;
        height: 48px;
    }

    .voucher-item-icon svg {
        width: 28px;
        height: 28px;
    }

    .voucher-item-content h3 {
        font-size: 12px;
    }

    .voucher-item-content p {
        font-size: 10px;
    }
}

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail-section {
    padding: 40px 0 60px;
    min-height: 600px;
    background: var(--bg-light);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.product-detail-left {
    display: flex;
    flex-direction: column;
}

.game-display {
    border-radius: 16px;
    touch-action: manipulation;
}

.game-display-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.game-character-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.character-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
}

.game-character-gallerys {
    border-radius: 12px;
    overflow: hidden;
}

.character-placeholder span {
    display: none;
}

.character-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Product Description Box */
.product-detail-desc {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-light);
}

.desc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.desc-title svg {
    color: var(--primary-color);
}

.desc-content {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Product Detail Right - Card Container */
.product-detail-right {
    display: block;
}

.box-product-detail-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.product-detail-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-detail-header {
    margin-bottom: 24px;
}

.product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-sku-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
}

.product-sku-badge ._nxn_copied {
    cursor: pointer;
    margin-left: 4px;
    color: var(--primary-color);
}

.product-category-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.product-category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 113, 33, 0.3);
}

/* Price Box */
.product-price-box {
    display: flex;
    gap: 16px;
}

.price-main,
.price-atm {
    flex: 1;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.price-main {
    background: linear-gradient(135deg, rgba(242, 113, 33, 0.1), rgba(255, 168, 0, 0.1));
    border: 2px solid var(--primary-color);
}

.price-atm {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
}

.price-main .price-label,
.price-atm .atm-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.price-main .price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-atm .atm-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Purchase Buttons */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-purchase * {
    pointer-events: none;
}

.btn-purchase-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(242, 113, 33, 0.2);
}

.btn-purchase-primary:hover {
    background: #0493c5;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(242, 113, 33, 0.25);
}

.btn-purchase-primary {
    animation: pulsepur 1.8s infinite;
    animation-delay: 0.9s;
}

.btn-purchase:active {
    transform: translateY(0);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.trust-item:hover {
    background: rgba(242, 113, 33, 0.1);
}

.trust-item svg {
    color: var(--primary-color);
}

.trust-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
}

/* Security Notice */
.security-notice {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
}

.notice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
}

.notice-content {
    flex: 1;
}

.notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 4px 0;
}

.notice-text {
    font-size: 13px;
    color: #a16207;
    line-height: 1.5;
    margin: 0;
}

.product-description {
    padding: 16px;
    background: #fef9f5;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
}

.description-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.product-tag:hover {
    background: var(--primary-color);
    color: white;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-purchase {
    text-align: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(242, 113, 33, 0.2);
}

.btn-purchase * {
    pointer-events: none;
}


.btn-purchase:hover {
    background: #0493c5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 113, 33, 0.3);
}

.btn-purchase:active {
    transform: translateY(0);
}

.btn-purchase .text-primary {
    color: #0493c5;
}


.btn-text {
    display: block;
}

.product-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-wishlist,
.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    gap: 8px;
}

.btn-wishlist:hover {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
}

.btn-share:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(242, 113, 33, 0.05);
}

.btn-wishlist.active {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.btn-wishlist.active svg {
    fill: #ff4757;
}

.product-engagement-stats {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.engagement-icon {
    flex-shrink: 0;
}

.engagement-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.engagement-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.engagement-unit {
    font-size: 12px;
    color: var(--text-gray);
}

.product-details-info {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 6px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.security-notice {
    background: #e8f5e9;
    border: 1px solid #81c784;
    border-left: 4px solid #4caf50;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.security-notice svg {
    color: #4caf50;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-text {
    font-size: 13px;
    color: #2e7d32;
    line-height: 1.9;
    margin: 0;
}

/* ===== GAME CHARACTER SLIDER ===== */
.game-character-slider {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0e0e0e 0%, #050405 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background 0.4s ease;
    overflow: hidden;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator-dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

/* ===== RELATED PRODUCTS GRID ===== */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 20px;
    column-gap: 15px;
}

/* ===== RESPONSIVE PRODUCT DETAIL ===== */

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .game-display {
        position: static;
        top: auto;
    }

    .game-character-image {
        height: 350px;
    }

    .product-detail-price {
        font-size: 28px;
    }

    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 10px;
    }
}

/* Tablet */
@media (max-width: 1024px) {

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 24px 0;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .game-character-slider:hover .slider-btn {
        opacity: 1;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .slider-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .indicator-dot {
        width: 8px;
        height: 8px;
    }

    .indicator-dot.active {
        width: 24px;
    }

    .player-header {
        gap: 10px;
    }

    .player-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .player-name {
        font-size: 14px;
    }

    .player-id {
        font-size: 11px;
    }

    .account-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-right {
        gap: 16px;
    }

    .product-detail-card {
        padding: 20px;
    }

    .product-price-box {
        flex-direction: column;
        gap: 12px;
    }

    .price-value {
        font-size: 24px;
    }

    .atm-value {
        font-size: 20px;
    }

    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .trust-item {
        padding: 10px 6px;
    }

    .trust-item span {
        font-size: 10px;
    }

    .product-tags {
        gap: 8px;
    }

    .product-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .btn-purchase {
        padding: 14px 20px;
        font-size: 14px;
    }

    .product-action-row {
        grid-template-columns: 1fr 1fr;
    }

    .btn-wishlist,
    .btn-share {
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .btn-wishlist svg,
    .btn-share svg {
        width: 18px;
        height: 18px;
    }

    .product-engagement-stats {
        padding: 12px;
        gap: 12px;
        font-size: 13px;
    }

    .engagement-icon {
        width: 18px;
        height: 18px;
    }

    .product-details-info {
        padding: 16px;
    }

    .details-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-item {
        padding: 10px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 13px;
    }

    .security-notice {
        padding: 16px;
        gap: 12px;
    }

    .notice-icon {
        width: 36px;
        height: 36px;
    }

    .notice-title {
        font-size: 13px;
    }

    .notice-text {
        font-size: 12px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile (≤576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .product-detail-section {
        padding: 16px 0;
    }

    .product-detail-header {
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .product-detail-price {
        font-size: 22px;
    }

    .product-sku {
        font-size: 12px;
    }

    .product-description {
        padding: 12px;
        border-left-width: 3px;
        font-size: 13px;
    }

    .account-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 10px;
    }

    .stat-name {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .stat-number {
        font-size: 16px;
    }

    .btn-purchase {
        padding: 12px 16px;
        font-size: 14px;
    }

    .product-action-row {
        gap: 12px;
    }

    .btn-wishlist,
    .btn-share {
        padding: 10px;
        font-size: 12px;
        flex-direction: column;
    }

    .btn-wishlist span,
    .btn-share span {
        display: none;
    }

    .btn-wishlist,
    .btn-share {
        justify-content: center;
        min-width: 50px;
        min-height: 50px;
    }

    .product-engagement-stats {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

    .engagement-item {
        gap: 6px;
        font-size: 12px;
    }

    .product-details-info {
        padding: 12px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-item {
        padding: 8px;
    }

    .security-notice {
        padding: 10px;
        gap: 8px;
    }

    .notice-text {
        font-size: 11px;
    }

    /* 
    .related-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    */
}

/* Small Mobile */
@media (max-width: 480px) {

    .slider-indicators {
        bottom: 8px;
        gap: 4px;
    }

    .indicator-dot {
        width: 6px;
        height: 6px;
    }

    .indicator-dot.active {
        width: 18px;
    }
}

/* Extra Small Mobile (≤375px) */
@media (max-width: 375px) {
    .product-detail-price {
        font-size: 20px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-number {
        font-size: 14px;
    }

    .product-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* ===== SEARCH FILTERS ===== */
.search-page-section {
    padding: 40px 0;
    background: #fafafa;
}

.search-filters-container {
    border-radius: 12px;
    margin-bottom: 50px;
}

.filters-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.search-filters-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-button-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.btn-apply-filter {
    flex: 1;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(242, 113, 33, 0.2);
}

.btn-apply-filter:hover {
    background: #0493c5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 113, 33, 0.3);
}

.btn-apply-filter:active {
    transform: translateY(0);
}


/* ===== RESPONSIVE FILTERS ===== */

/* Tablet */
@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .filters-title {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .search-page-section {
        padding: 20px 0;
    }

    .search-filters-container {
        margin-bottom: 20px;
    }

    .filters-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .filters-row {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        row-gap: 15px;
    }

    .filter-input,
    .filter-select {
        padding: 10px 14px;
        font-size: 13px;
    }

    .btn-apply-filter {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .search-filters-container {
        border-radius: 8px;
    }

    .filters-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

    .filter-input,
    .filter-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-apply-filter {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(242, 113, 33, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 113, 33, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg,
.scroll-top-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Mobile Scroll to Top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 150px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        display: none;
        bottom: 110px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom-wrapper {
        margin-bottom: 70px;
    }
}

/* ===== SUPPORT WIDGET ===== */
.support-widget {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-messenger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 16px rgba(242, 113, 33, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-messenger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(242, 113, 33, 0.4);
}

.btn-messenger svg {
    width: 24px !important;
    height: 24px !important;
}

/* Mobile Support Button */
@media (max-width: 768px) {
    .support-widget {
        bottom: 90px;
        right: 20px;
    }

    .btn-messenger {
        width: 45px;
        height: 45px;
    }

    .btn-messenger svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 480px) {
    .support-widget {
        bottom: 80px;
        right: 16px;
    }

    .btn-messenger {
        width: 45px;
        height: 45px;
    }

    .btn-messenger svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ===== SWIPER NAVIGATION ICONS FIX ===== */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-family: swiper-icons;
    font-size: 20px;
    font-weight: bold;
    color: currentColor;
}

.swiper-button-prev::after {
    content: 'prev';
}

.swiper-button-next::after {
    content: 'next';
}

.game-carousel-wrapper .swiper-button-prev::after,
.game-carousel-wrapper .swiper-button-next::after,
.product-carousel-wrapper .swiper-button-prev::after,
.product-carousel-wrapper .swiper-button-next::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.game-carousel-wrapper .swiper-button-prev::after,
.product-carousel-wrapper .swiper-button-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.game-carousel-wrapper .swiper-button-next::after,
.product-carousel-wrapper .swiper-button-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.game-carousel-wrapper .swiper-button-prev:hover::after,
.game-carousel-wrapper .swiper-button-next:hover::after,
.product-carousel-wrapper .swiper-button-prev:hover::after,
.product-carousel-wrapper .swiper-button-next:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.game-carousel-wrapper .swiper-button-next:hover::after,
.product-carousel-wrapper .swiper-button-next:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== STATUS CARD COMPONENT ===== */
.status-card {
    background: var(--white);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.status-icon {
    margin-bottom: 24px;
}

.status-icon svg {
    stroke-width: 1.5;
}

.status-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.status-description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.status-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-status-primary,
.btn-status-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-status-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(242, 113, 33, 0.25);
}

.btn-status-primary:hover {
    background: #0493c5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 113, 33, 0.35);
}

.btn-status-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-status-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(242, 113, 33, 0.05);
}

/* Status Card Variants */
.status-card--warning {
    border-left: 5px solid #FF9800;
}

.status-card--warning .status-icon svg {
    color: #FF9800;
}

.status-card--danger {
    border-left: 5px solid #F44336;
}

.status-card--danger .status-icon svg {
    color: #F44336;
}

/* Responsive Status Card */
@media (max-width: 768px) {
    .status-card {
        padding: 40px 24px;
    }

    .status-icon svg {
        width: 64px;
        height: 64px;
    }

    .status-title {
        font-size: 20px;
    }

    .status-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .status-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-status-primary,
    .btn-status-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .status-card {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .status-icon svg {
        width: 56px;
        height: 56px;
    }

    .status-title {
        font-size: 18px;
    }

    .status-description {
        font-size: 13px;
    }
}

/* ===== MAIL SECTION ===== */
.mail-section {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.mail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--text-dark);
    color: var(--white);
}

.mail-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.mail-title svg {
    stroke: var(--white);
}

.mail-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.mail-list {
    max-height: 600px;
    overflow-y: auto;
}

.mail-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
    gap: 16px;
}

.mail-item:hover {
    background: var(--bg-light);
}

.mail-item:last-of-type {
    border-bottom: none;
}

.mail-unread {
    background: rgba(242, 113, 33, 0.05);
}

.mail-unread .mail-from,
.mail-unread .mail-subject {
    font-weight: 700;
}

.mail-status {
    width: 12px;
    flex-shrink: 0;
}

.mail-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    display: block;
}

.mail-content {
    flex: 1;
    min-width: 0;
}

.mail-from {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-subject {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-preview {
    font-size: 13px;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-meta {
    flex-shrink: 0;
    text-align: right;
}

.mail-date {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

.mail-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.mail-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

.mail-toggle svg {
    transition: transform 0.3s;
}

.mail-toggle.active svg {
    transform: rotate(180deg);
}

.mail-toggle.active {
    background: var(--primary-color);
    color: var(--white);
}

.mail-body {
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.mail-body-header {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
}

.mail-body-content {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.mail-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mail-empty svg {
    color: var(--border-color);
    margin-bottom: 16px;
}

.mail-empty p {
    font-size: 15px;
    margin: 0;
}

.mail-arrow {
    flex-shrink: 0;
    color: var(--text-light);
    transition: all 0.3s;
}

.mail-item:hover .mail-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Mail Detail Modal */
._mail_modal ._nxn_modal_body {
    padding: 0;
}

.mail-detail-header {
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.mail-detail-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.mail-detail-row:last-child {
    margin-bottom: 0;
}

.mail-detail-label {
    color: var(--text-gray);
    font-weight: 500;
    min-width: 50px;
}

.mail-detail-value {
    color: var(--text-dark);
    word-break: break-word;
}

.mail-detail-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    max-height: 400px;
    overflow-y: auto;
    /* white-space: pre-wrap;
    word-break: break-word; */
}

.mail-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
    word-break: break-all;
}

.mail-detail-content a:hover {
    color: #0493c5;
}

/* Responsive Mail */
@media (max-width: 768px) {
    .mail-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .mail-title {
        font-size: 16px;
    }

    .mail-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .mail-from {
        font-size: 13px;
    }

    .mail-subject {
        font-size: 13px;
    }

    .mail-preview {
        font-size: 12px;
        display: none;
    }

    .mail-meta {
        display: none;
    }

    .mail-toggle {
        width: 32px;
        height: 32px;
    }

    .mail-body {
        padding: 16px;
    }

    .mail-body-header {
        font-size: 12px;
    }

    .mail-body-content {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mail-header {
        padding: 14px 16px;
    }

    .mail-title {
        font-size: 15px;
        gap: 8px;
    }

    .mail-title svg {
        width: 20px;
        height: 20px;
    }

    .mail-count {
        font-size: 12px;
        padding: 4px 10px;
    }

    .mail-item {
        padding: 12px 14px;
    }

    .mail-from,
    .mail-subject {
        font-size: 12px;
    }

    .mail-body {
        padding: 14px;
    }

    .mail-empty {
        padding: 40px 20px;
    }

    .mail-empty svg {
        width: 48px;
        height: 48px;
    }
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    max-width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 8px;
    min-width: 60px;
    position: relative;
}

.mobile-nav-item * {
    pointer-events: none;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(242, 113, 33, 0.15) 0%, rgba(255, 168, 0, 0.1) 100%);
    font-weight: 600;
    position: relative;
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.mobile-nav-item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    stroke-width: 2;
}

/* Show on mobile only */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* Adjust body padding to account for fixed nav */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-container {
        padding: 6px 0;
    }

    .mobile-nav-item {
        padding: 6px;
        font-size: 10px;
        min-width: 55px;
    }

    .mobile-nav-item svg {
        width: 18px;
        height: 18px;
        margin-bottom: 2px;
    }

    body {
        padding-bottom: 65px;
    }
}

._telco_value ._nxn_checkbox_group {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
}

._telco_value ._nxn_checkbox_group ._nxn_checkbox_label {
    max-width: unset !important;
    width: 100%;
}

._telco_value ._nxn_checkbox_group ._nxn_checkbox_label._hide_checkbox_value {
    display: none !important;
}

._telco_value ._nxn_checkbox_group ._nxn_checkbox_label h4 {
    font-weight: 500 !important;
}

._telco_value ._nxn_checkbox_group ._nxn_checkbox_label h5 {
    display: none !important;
}

/* ===== RANDOM PAGE STYLES (NEW) ===== */
.random-page-section {
    padding: 30px 0 60px;
}

/* Random Banner */
.random-banner {
    background: linear-gradient(135deg, rgba(242, 113, 33, 0.08), rgba(255, 107, 107, 0.08));
    border: 1px dashed rgba(242, 113, 33, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.random-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.random-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(242, 113, 33, 0.15);
    flex-shrink: 0;
}

.random-icon svg {
    width: 32px;
    height: 32px;
}

.random-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.random-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.random-text strong {
    color: var(--primary-color);
}

/* Random Card New Style */
.random-card {
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    text-decoration: none;
}

.random-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.random-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.random-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
}

.random-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.random-card:hover .random-image img {
    transform: scale(1.1);
}

.random-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.random-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.random-card:hover .random-overlay-hover {
    opacity: 1;
}

.btn-random-select {
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.random-card:hover .btn-random-select {
    transform: translateY(0);
}

.random-card-body {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.random-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.random-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s;
}

.random-card:hover .random-btn-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Responsive for Random Banner */
@media (max-width: 768px) {
    .random-banner {
        padding: 16px;
    }

    .random-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .random-text h3 {
        font-size: 16px;
    }
}

/* ===== MINIGAME PLAY STYLES (NEW) ===== */
.section-minigame {
    padding: 10px 0;
    min-height: 600px;
}

.minigame-play-wrapper {
    position: relative;
    background: var(--text-dark);
    /* Dark background for game feeling */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.minigame-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hc-luckywheel {
    position: relative;
    z-index: 2;
    transform: scale(0.9);
    /* Adjust scale slightly */
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .hc-luckywheel {
        transform: scale(0.65);
        /* Scale down on mobile */
    }

    .minigame-play-wrapper {
        padding: 60px 0;
        /* Add padding top/bottom to prevent clipping when scaled */
    }
}

.minigame-controls {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 15px;
    /* Pull up closer to wheel */
}

.minigame-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.minigame-btn-history {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.minigame-btn-history:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.minigame-btn-play {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    /* Gold gradient */
    color: #444;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.minigame-btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFE033, #FFB700);
}

/* Wheel Canvas Styles */
.hc-luckywheel-canvas {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.img-wheel {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

/* Start Button (Image) on Wheel */
.hc-luckywheel-start {
    transition: transform 0.2s;
}

/* ===== HISTORY DETAIL COMPONENT (Used in nickgame and random history) ===== */
.history-detail-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.history-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0493c5 100%);
    padding: 24px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-detail-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.history-section {
    padding: 24px;
}

.history-section:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.history-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-section-title svg {
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.info-value.text-primary {
    color: var(--primary-color);
    font-size: 18px;
}

.credential-box {
    background: #fffbf5;
    border: 1.5px dashed rgba(242, 113, 33, 0.3);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.credential-item-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.credential-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.3s;
}

.credential-input-group:hover {
    border-color: var(--primary-color);
}

.credential-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: monospace;
}

.history-footer {
    padding: 24px;
    background: #ffffff;
}

.support-alert {
    background: #fff3f3;
    border: 1px solid #ffe4e4;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-icon {
    width: 36px;
    height: 36px;
    background: #ff4d4f;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 14px;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 2px;
}

.alert-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.btn-support-now {
    background: var(--white);
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-support-now:hover {
    background: #ff4d4f;
    color: var(--white);
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .support-alert {
        flex-direction: column;
        text-align: center;
    }

    .btn-support-now {
        width: 100%;
    }
}

.status-badge.success {
    background: #27ae60 !important;
    color: white !important;
}

.status-badge.danger {
    background: #e74c3c !important;
    color: white !important;
}

.status-badge.warning {
    background: #f1c40f !important;
    color: #333 !important;
}

/* ===== RESPONSIVE - EXTRA SMALL MOBILE (380px) ===== */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    /* Header */
    .logo img {
        width: 85px;
    }

    .mobile-actions .btn-deposit {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Hero */
    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 13px;
    }

    .btn-hero-primary {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Stats */
    .stats-grid {
        gap: 8px;
    }

    .stat-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Features */
    .features-grid {
        gap: 10px;
    }

    .feature-card {
        padding: 15px 10px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-desc {
        font-size: 11px;
    }

    /* Products */
    .products-grid {
        gap: 8px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 12px;
    }

    .product-meta {
        font-size: 10px;
    }

    /* Tabs */
    .tab-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Footer */
    .footer {
        padding-top: 40px;
    }

    .footer-col h3 {
        font-size: 14px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 12px;
    }

    /* Breadcrumb */
    .breadcrumb-item {
        font-size: 10px;
    }
}

/* ===== RESET PASSWORD PAGE ===== */
.reset-pass-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    min-height: 50vh;
}

.reset-pass-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
}

.reset-pass-card .reset-pass-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.reset-pass-card .reset-pass-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.reset-pass-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px;
}

.reset-pass-card .password-value {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    letter-spacing: 2px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
}

.reset-pass-card .password-value:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.reset-pass-card .copy-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 12px 0 24px;
}

.reset-pass-card .btn-login {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.reset-pass-card .btn-login:hover {
    background: var(--primary-light);
    color: white;
}

@media (max-width: 480px) {
    .reset-pass-container {
        padding: 24px 16px;
    }

    .reset-pass-card {
        padding: 24px 20px;
    }

    .reset-pass-card .password-value {
        font-size: 18px;
        padding: 12px 14px;
    }
}