/* ===== 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: #f27121;
    --text-dark: #333;
    --text-gray: #666;
    --white: #fff;
    --border-color: #e0e0e0;
    --bg-light-gray: #f7f7f7;
    --secondary-color: #ffa800;
    --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;
}

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;
}

.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;
}

/* 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;
    }
}

/* 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: #e06010;
    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;
    flex-wrap: wrap;
}

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

.breadcrumb-item a {
    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/3;
}

.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: 614px;
    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: 300px;
    }

    .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: 200px;
    }

    .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;
    }
}

/* ===== 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 CAROUSEL ===== */
.game-section {
    padding: 40px 0;
    overflow: hidden;
}

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

.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;
}

.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);
}


/* ===== 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%;
}

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

.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, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.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;
}

.product-buy {
    padding: 10px;
}

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

.product-buy button:hover {
    background: #e06010 !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.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-price-atm {
    font-size: 13px;
    font-weight: 700;
    /* color: var(--primary-color); */
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

/* ===== 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;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 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%;
    }
}

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

.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;
}

.user-edit-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

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

/* 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-user-card {
        padding: 16px;
    }

    .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;
    }
}

/* 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 300px;
    gap: 40px;
    margin-top: 30px;
}

.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.2;
}

.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-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .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);
}

/* 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) {
    .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: 4px;
    }

    .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;
    }
}

/* 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: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .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 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.table-action-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.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-header {
        padding: 14px 16px;
    }

    .table-search-bar {
        padding: 10px 16px;
    }

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

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

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

    .table-row-title {
        font-size: 13px;
    }

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

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

    .table-action-link {
        font-size: 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;
    min-height: 600px;
}

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

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

.game-display {
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

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

.game-character-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.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;
}

.character-placeholder span {
    display: none;
}

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

.rank-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 8px;
}

.rank-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f27121, #ffa800);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rank-tier {
    display: block;
}

.rank-note {
    font-size: 12px;
    color: var(--text-gray);
    margin: 4px 0 0 0;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(242, 113, 33, 0.1);
}

.stat-name {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-detail-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.product-price-display {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 12px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-sku {
    width: 100%;
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.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 {
    display: inline-block;
    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:nth-child(2) {
    animation: pulsepur 1.8s infinite;
    animation-delay: 0.9s;
}

.btn-purchase:hover {
    background: #e06010;
    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: #e06010;
}

@keyframes pulsepur {
    0% { transform: scale(1); }
    50% { transform: scale(1.025); }
    100% { transform: scale(1); }
}



.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-price {
        font-size: 24px;
    }

    .product-sku {
        font-size: 14px;
    }

    .product-tags {
        gap: 8px;
    }

    .product-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

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

    .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: 12px;
        gap: 10px;
    }

    .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: #e06010;
    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 {
        bottom: 110px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== 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, #00B2FF 0%, #006AFF 100%);
    box-shadow: 0 4px 16px rgba(0, 178, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-messenger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 178, 255, 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;
    }
}

/* ===== 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: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;
}

