body {
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 112px;
    margin: 0;
}

/* Header Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-navbar {
    background: white;
    height: 70px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 150px;
    height: 100%;
}

.navbar-left,
.navbar-center,
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left {
    gap: 24px;
    flex-shrink: 0;
}

.navbar-center {
    gap: 32px;
}

.navbar-right {
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}

/* Flash Sale Nav Link */
.flash-sale-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-primary, #0C951E);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.flash-sale-nav-link:hover {
    background: var(--color-primary-dark, #006D00);
}

.flash-sale-nav-link svg {}

/* removed flash-nav-pulse keyframes */
/* removed flash-icon-bounce keyframes */
}

/* Buttons */
.btn-logout,
.btn-edit {
    background: transparent;
    border: 2px solid var(--color-gray-200);
    color: var(--color-gray-700);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover,
.btn-edit:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-login {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 42px;
}

.btn-login:hover {
    background: rgba(12, 149, 30, 0.05);
    border-color: var(--color-primary-dark);
}

.btn-register,
.btn-topup {
    background: var(--color-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    min-width: 100px;
    height: 42px;
}

.btn-register:hover,
.btn-topup:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.nav-link {
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
}

/* All Apps Button */
/* Auth Buttons in Navbar */
.nav-auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn-masuk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
}

.nav-btn-masuk:hover {
    background: rgba(12, 149, 30, 0.05);
    border-color: var(--color-primary-dark);
}

.nav-btn-daftar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-btn-daftar:hover {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .nav-auth-buttons {
        display: none;
    }
}

.all-apps-wrapper {
    position: relative;
    display: none;
}

@media (max-width: 768px) {
    .all-apps-wrapper {
        display: block;
    }
}

.all-apps-btn {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.grid-icon span {
    width: 8px;
    height: 8px;
    background: var(--color-gray-700);
    border-radius: 2px;
}

/* Dropdown Mobile Nav (sub-nav links shown only on mobile) */
.dropdown-mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .dropdown-mobile-nav {
        display: block;
    }
}

/* Dropdown Menu */
.all-apps-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.all-apps-dropdown.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.dropdown-item svg {
    flex-shrink: 0;
    color: var(--color-gray-500);
}

.dropdown-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: 8px 0;
}

.dropdown-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-sub-item {
    padding-left: 24px;
}

.logout-item {
    color: #dc2626;
}

.logout-item svg {
    color: #dc2626;
}

/* Hide/Show based on screen size */
.btn-desktop-only {
    display: inline-flex;
}

.btn-mobile-only {
    display: none;
}

.mobile-search-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--color-gray-600);
    border-radius: 8px;
}

/* Hide mobile search elements on desktop */
.mobile-search-overlay,
.mobile-search-bar,
.mobile-search-results {
    display: none;
}

@media (max-width: 768px) {
    .btn-desktop-only {
        display: none;
    }

    .btn-mobile-only {
        display: flex;
    }
}

/* Layout */
.container {
    display: block;
    padding: 24px 150px;
    max-width: 100%;
    margin: 0 auto;
    min-height: calc(100vh - 70px);
    background-image: url('../storage/images/home-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Search Bar */
.navbar-right .search-bar {
    position: relative;
    flex: 0 1 320px;
    max-width: 320px;
}

.navbar-right .search-bar svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-500);
    z-index: 1;
    width: 16px;
    height: 16px;
}

.navbar-right .search-bar input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: 13px;
    background: var(--color-gray-50);
    color: var(--color-gray-800);
    height: 36px;
}

.navbar-right .search-bar input::placeholder {
    color: var(--color-gray-500);
}

.navbar-right .search-bar input:focus {
    border-color: var(--color-primary);
    background: white;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-gray-200, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.search-result-item:first-child {
    border-radius: 12px 12px 0 0;
}

.search-result-item:last-child {
    border-radius: 0 0 12px 12px;
}

.search-item-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f5;
}

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

.search-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #2d5a8e);
}

.search-item-placeholder span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.search-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-category {
    font-size: 11px;
    color: #6b7280;
}

.search-empty {
    padding: 20px 14px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* Sub Navigation Bar */
.sub-navbar {
    background: var(--color-gray-50, #f9fafb);
    border-top: 1px solid var(--color-gray-200, #e5e7eb);
    height: 42px;
}

.sub-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 150px;
    height: 100%;
}

.sub-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sub-nav-right {
    display: flex;
    align-items: center;
}

.sub-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-600, #4b5563);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
}

.sub-nav-link:hover {
    color: var(--color-primary);
    background: rgba(12, 149, 30, 0.04);
}

.sub-nav-link.active {
    color: var(--color-primary, #0C951E);
    font-weight: 600;
}

.sub-nav-link svg {
    flex-shrink: 0;
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.avatar.active {
    border-color: var(--color-primary);
}

.avatar-guest {
    background: rgba(12, 149, 30, 0.2);
    color: var(--color-primary);
}

.avatar-guest svg {
    color: var(--color-gray-500);
}

/* Main Content */
.main-content,
.right-sidebar {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.main-content {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.right-sidebar {
    background: var(--color-secondary);
    border-radius: 28px;
    padding: 32px;
    height: fit-content;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

/* Alert Banner */
.alert-success-banner {
    background: rgba(12, 149, 30, 0.08);
    color: #006D00;
    padding: 16px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(12, 149, 30, 0.3);
}

/* removed slideDown keyframes */

/* Hero Banner Swiper */
.banner-swiper {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    --swiper-navigation-color: #fff;
    --swiper-theme-color: var(--color-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1.5px 6px rgba(0, 0, 0, 0.06);
    position: relative;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-swiper .swiper-slide a {
    display: block;
    width: 100%;
    line-height: 0;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Bottom gradient overlay for better pagination visibility */
.banner-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Swiper Navigation Buttons - Custom */
.banner-nav-prev,
.banner-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    padding: 4px;
}

.banner-nav-prev {
    left: 16px;
}

.banner-nav-next {
    right: 16px;
}

.banner-nav-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.banner-nav-circle svg {
    flex-shrink: 0;
}

/* Swiper Pagination */
.banner-swiper .swiper-pagination {
    bottom: 16px;
    z-index: 2;
}

.banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border: none;
    border-radius: 5px;
    margin: 0 4px !important;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: white;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Category Header */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--color-secondary);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.category-header-content {
    display: flex;
    align-items: center;
}

.category-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-gray-800);
    margin: 0 0 8px 0;
}

.category-header p {
    font-size: 16px;
    color: var(--color-gray-600);
    margin: 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--color-gray-300);
    color: var(--color-gray-700);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.btn-back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-back svg {}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--color-secondary);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Games Section */
.games-section {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

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

.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tabs .tab,
.category-tabs .tab-btn {
    background: var(--color-gray-50, #f9fafb);
    border: 1px solid var(--color-gray-200, #e5e7eb);
    color: var(--color-gray-700, #374151);
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.category-tabs .tab:hover,
.category-tabs .tab-btn:hover {
    border-color: var(--color-primary, #0C951E);
    color: var(--color-primary, #0C951E);
}

.category-tabs .tab.active,
.category-tabs .tab-btn.active {
    background: var(--color-primary, #0C951E);
    color: white;
    border-color: var(--color-primary, #0C951E);
}

.category-tabs .tab-btn.active svg {
    stroke: white;
}

.tab-icon {
    font-size: 18px;
    line-height: 1;
}

/* Tab Content */
.tab-content {
    display: none;
}

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

/* removed fadeInTab keyframes */

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-800);
}

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

.see-more:hover,
.see-all:hover {
    text-decoration: underline;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

/* Responsive grid for medium screens */
@media (max-width: 992px) {

    .games-grid,
    .all-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
}

/* Categories Section */
.categories-section {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.categories-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 auto;
    background: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.category-card:hover {
    border-color: var(--color-primary);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: white !important;
    margin-bottom: 0;
}

.category-card p {
    display: none;
}

/* Game Card Improvements */
/* Popular Games - Horizontal Layout */
.popular-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 16px;
}

.popular-games-grid .game-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--color-gray-200);
    position: relative;
    min-height: 100px;
}

.popular-games-grid .game-card:hover {
    border-color: var(--color-primary);
}

.popular-games-grid .game-image {
    width: 90px;
    min-width: 90px;
    height: 100%;
    min-height: 100px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
    z-index: 1;
    border-radius: 16px 0 0 16px;
}

.popular-games-grid .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.popular-games-grid .game-info {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.popular-games-grid .game-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-games-grid .game-info .game-category {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 3px;
}

.popular-games-grid .game-info .game-meta {
    margin-top: auto;
}

.popular-games-grid .game-info .game-developer {
    font-size: 11px;
    color: var(--color-gray-500);
}

.popular-games-grid .game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Regular Game Card - Vertical Layout */
.game-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--color-gray-200);
    width: 100%;
}

.game-image {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
}

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

.game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 8px;
}

.game-category {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-developer {
    font-size: 11px;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray-500);
}

/* ===== Brand Populer Section ===== */
/* ===== Brand Populer ===== */
.brand-populer-section {
    margin: 12px 0 16px;
}

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

.brand-populer-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-800, #1f2937);
    margin: 0;
}

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

.brand-populer-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: #ffffff url('/storage/images/card-bg.jpg') center/cover no-repeat;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--color-gray-200, #e5e7eb);
    padding: 12px;
    cursor: pointer;
}

.brand-populer-card:hover {
    border-color: var(--color-primary);
}

.brand-populer-image {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f2f5;
    flex-shrink: 0;
}

.brand-populer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-populer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #2d5a8e);
}

.brand-populer-placeholder span {
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-populer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-populer-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-populer-developer {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* Brand Populer Responsive */
@media (max-width: 768px) {
    .brand-populer-grid {
        gap: 10px;
    }

    .brand-populer-card {
        padding: 10px;
        gap: 12px;
        border-radius: 12px;
    }

    .brand-populer-image {
        width: 56px;
        height: 56px;
        min-width: 56px;
        border-radius: 10px;
    }

    .brand-populer-name {
        font-size: 13px;
    }

    .brand-populer-developer {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .brand-populer-section {
        margin: 8px 0 12px;
    }

    .brand-populer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .brand-populer-card {
        padding: 10px;
        gap: 12px;
    }

    .brand-populer-image {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 10px;
    }

    .brand-populer-name {
        font-size: 12px;
    }

    .brand-populer-developer {
        font-size: 10px;
    }
}

/* ===== End Brand Populer ===== */

.game-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: left;
}

.game-stats {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--color-gray-500);
    font-weight: 500;
}

.rating,
.downloads {
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-card-more {
    background: var(--color-gray-50);
    border: 2px dashed var(--color-gray-300);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.game-card-more:hover {
    border-color: var(--color-primary);
}

.btn-more {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--color-gray-400);
    cursor: pointer;
}

/* Last Downloaded */
.last-downloaded {
    margin-top: 40px;
}

.download-item {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.download-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--color-primary);
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 6px;
}

.download-badge {
    display: inline-block;
    background: rgba(12, 149, 30, 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.download-progress {
    flex: 2;
}

.progress-text {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 6px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
}

.progress-time {
    font-size: 12px;
    color: var(--color-gray-500);
}

.btn-cancel {
    background: var(--color-gray-200);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 20px;
    color: var(--color-gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* What's New Sidebar */
.whats-new {
    height: 100%;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.update-item {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.update-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.update-info {
    flex: 1;
}

.update-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 4px;
}

.update-info p {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.btn-update {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: var(--color-primary);
    border-radius: 20px;
    margin-bottom: 32px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.profile-info {
    flex: 1;
    color: white;
}

.profile-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.profile-email {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.profile-section {
    background: var(--color-secondary);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

.profile-section .section-header {
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-gray-100);
}

/* Form */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

/* Security Info Box */
.security-info-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 14px;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 6px;
}

.info-content p {
    font-size: 14px;
    color: var(--color-gray-600);
}

/* Responsive */
@media (max-width: 968px) {
    .navbar-center {
        display: none;
    }

    .navbar-right .search-bar {
        flex: 1;
    }

    .sub-navbar-container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .container {
        padding: 30px 0 0 0;
        gap: 0;
    }

    .navbar-container {
        padding: 0 16px;
    }

    .navbar-right .search-bar {
        display: none;
    }

    .mobile-search-btn {
        display: flex;
    }

    /* Mobile Search Overlay */
    .mobile-search-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .mobile-search-overlay.show {
        display: block;
    }

    .mobile-search-bar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        z-index: 9999;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        align-items: center;
        gap: 12px;
    }

    .mobile-search-bar.show {
        display: flex;
    }

    .mobile-search-bar .mobile-search-input-wrapper {
        position: relative;
        flex: 1;
    }

    .mobile-search-bar .mobile-search-input-wrapper svg {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-gray-500);
    }

    .mobile-search-bar input {
        width: 100%;
        padding: 10px 14px 10px 40px;
        border: 1px solid var(--color-gray-200);
        border-radius: 10px;
        font-size: 14px;
        background: var(--color-gray-50);
        color: var(--color-gray-800);
    }

    .mobile-search-bar input:focus {
        border-color: var(--color-primary);
        background: white;
    }

    .mobile-search-bar input::placeholder {
        color: var(--color-gray-500);
    }

    .mobile-search-close {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: var(--color-gray-600);
        flex-shrink: 0;
    }

    .mobile-search-results {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: white;
        z-index: 9999;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        display: none;
    }

    .mobile-search-results.show {
        display: block;
    }

    .mobile-search-results .search-result-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        text-decoration: none;
        color: inherit;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .mobile-search-results .search-item-image {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mobile-search-results .search-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-search-results .search-item-info {
        display: flex;
        flex-direction: column;
    }

    .mobile-search-results .search-item-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--color-gray-900);
    }

    .mobile-search-results .search-item-category {
        font-size: 12px;
        color: var(--color-gray-500);
    }

    .mobile-search-results .search-empty {
        padding: 20px 16px;
        text-align: center;
        color: var(--color-gray-500);
        font-size: 14px;
    }

    .mobile-search-results .search-item-placeholder {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: var(--color-gray-100);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        color: var(--color-gray-500);
    }

    .sub-navbar {
        display: none;
    }

    .sub-navbar-container {
        padding: 0 16px;
    }

    .sub-nav-link {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .sub-nav-link svg {
        width: 14px;
        height: 14px;
    }

    .sub-nav-right {
        display: none;
    }

    .main-content {
        padding: 0 16px;
        gap: 24px;
    }

    .banner-swiper {
        border-radius: 14px;
        margin-bottom: 0;
        height: auto;
    }

    .banner-swiper .swiper-slide {
        height: auto;
    }

    .banner-nav-prev {
        left: 10px;
    }

    .banner-nav-next {
        right: 10px;
    }

    .banner-nav-circle {
        width: 34px;
        height: 34px;
    }

    .banner-nav-circle svg {
        width: 12px;
        height: 12px;
    }

    .banner-swiper .swiper-pagination {
        bottom: 10px;
    }

    .banner-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .banner-swiper .swiper-pagination-bullet-active {
        width: 22px;
    }

    .banner-swiper .swiper-slide::after {
        height: 50px;
    }

    .categories-section {
        padding: 0;
        margin-bottom: 0;
        border-radius: 0;
    }

    .games-section {
        padding: 0;
        margin-bottom: 0;
        border-radius: 0;
    }

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

    .popular-games-grid .game-card {
        display: flex;
        flex-direction: row;
    }

    .popular-games-grid .game-image {
        width: 70px;
        min-width: 70px;
        height: 100%;
        min-height: 70px;
    }

    .popular-games-grid .game-info {
        padding: 12px;
    }

    .popular-games-grid .game-info h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .popular-games-grid .game-category {
        font-size: 10px;
    }

    .popular-games-grid .game-meta {
        display: none;
    }

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

    .games-grid .game-card {}

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

    .all-games-grid .game-card {
        display: flex;
        flex-direction: column;
    }

    .all-games-grid .game-info {
        padding: 12px;
    }

    .all-games-grid .game-info h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .all-games-grid .game-category {
        font-size: 11px;
    }

    .all-games-grid .game-developer {
        font-size: 10px;
    }

    .categories-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        gap: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .categories-grid::-webkit-scrollbar {
        display: none;
    }

    .categories-grid .category-card {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 10px 20px;
        border-radius: 20px;
        background: var(--color-black);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .categories-grid .category-card h3 {
        font-size: 13px;
        margin-bottom: 0;
        color: white !important;
    }

    .categories-grid .category-card p {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.main-footer {
    background: white;
    color: var(--color-gray-800);
    padding: 60px 0 20px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 150px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h4 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-desc {
    color: var(--color-gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(12, 149, 30, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    border: 1px solid transparent;
}

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

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

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

.footer-links a {
    color: var(--color-gray-600);
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

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

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-badge {
    background: var(--color-gray-100);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--color-gray-700);
    border: 1px solid var(--color-gray-200);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #808080;
    font-size: 14px;
    margin: 0;
}

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

.footer-bottom-links a {
    color: var(--color-gray-600);
    font-size: 14px;
    text-decoration: none;
}

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

.footer-bottom-links span {
    color: var(--color-gray-400);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        box-sizing: border-box;
    }

    .footer-container {
        padding: 0 20px;
    }

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

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

    .payment-methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(12, 149, 30, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #0C951E;
    border-radius: 10px;
}

/* Products Page Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span:not(:last-child) {
    color: var(--color-gray-400);
}

.game-header-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.game-banner {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.game-header-info {
    flex: 1;
}

.game-header-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-gray-800);
    margin-bottom: 8px;
}

.game-dev {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.game-cat-badge {
    display: inline-block;
    background: rgba(12, 149, 30, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.game-description {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-top: 16px;
}

.products-section {
    margin-bottom: 40px;
}

.section-desc {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-top: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.product-card {
    background: white;
    background-image: url('../storage/images/card-bg.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    border-color: var(--color-primary);
}

.product-card.active {
    border-color: var(--color-primary);
    background: rgba(12, 149, 30, 0.03);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-800);
}

.discount-badge {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.product-desc {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.price-original {
    font-size: 13px;
    color: var(--color-gray-500);
    text-decoration: line-through;
}

.price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.btn-select-product {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.btn-select-product:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

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

/* Order Form */
.order-form-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.order-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: 10px;
    font-size: 14px;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--color-gray-500);
    margin-top: 6px;
}

.order-summary {
    background: rgba(12, 149, 30, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.order-summary h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    padding-top: 16px;
    border-top: 2px solid rgba(12, 149, 30, 0.2);
    margin-top: 8px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-checkout:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 4px;
}

.step-text p {
    font-size: 12px;
    color: var(--color-gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Responsive Products */
@media (max-width: 768px) {
    .game-header-card {
        flex-direction: column;
        padding: 24px;
    }

    .game-banner {
        width: 100%;
        height: 200px;
    }

    .game-header-info h1 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .order-form-section {
        padding: 20px;
    }
}

/* ===============================================
   FLASH SALE HOME SECTION
   =============================================== */

.flash-sale-home-section {
    margin: 2rem 0;
}

.flash-sale-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-sale-header-title h2 {
    margin: 0;
}

.flash-icon-small {
    width: 24px;
    height: 24px;
    color: var(--color-primary, #0C951E);
}

/* removed flash-pulse keyframes */

.live-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--color-primary, #0C951E);
    color: white;
    font-size: 10px;
    font-weight: 800;
    border-radius: 12px;
}

/* removed pulse-live keyframes */

.flash-sale-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.flash-sale-home-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid transparent;
}

.flash-sale-home-card:hover {
    border-color: var(--color-primary);
}

.flash-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary, #0C951E);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 800;
    z-index: 5;
}

.flash-home-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

.flash-home-info {
    padding: 12px;
}

.flash-home-game {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 6px;
}

.flash-home-product {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.flash-home-price .original {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.flash-home-price .sale {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary, #0C951E);
}

.flash-home-stock {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-bar {
    flex: 1;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.stock-fill {
    height: 100%;
    background: var(--color-primary, #0C951E);
    border-radius: 2px;
}

.stock-label {
    font-size: 10px;
    color: var(--color-primary, #0C951E);
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive Flash Sale Home */
@media (max-width: 768px) {
    .flash-sale-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .flash-home-image {
        height: 100px;
    }

    .flash-home-info {
        padding: 10px;
    }

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

    .flash-sale-nav-link {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .flash-sale-nav-link span {
        display: none;
    }

    .flash-sale-nav-link {
        padding: 8px;
    }
}

/* ========================================
   Game Cards - Home Page Grid
   ======================================== */
.game-card {
    display: flex;
    flex-direction: column;
    background: #ffffff url('/storage/images/card-bg.jpg') center/cover no-repeat;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--color-primary);
}

.game-card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f2f5;
    position: relative;
}

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

.game-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e3a5f;
    position: absolute;
    top: 0;
    left: 0;
}

.game-card-placeholder span {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.game-card-info {
    padding: 14px 16px;
}

.game-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-developer {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* Empty tab content */
.empty-tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    color: #9ca3af;
    grid-column: 1 / -1;
}

.empty-tab-content svg {
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-tab-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.empty-tab-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* Responsive Game Cards */
@media (max-width: 768px) {
    .tab-content .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-card-image {
        aspect-ratio: 1;
    }

    .game-card-info {
        padding: 8px 10px;
    }

    .game-card-name {
        font-size: 12px;
    }

    .game-card-developer {
        font-size: 10px;
    }

    .category-tabs {
        gap: 8px;
    }

    .category-tabs .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tab-content .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .game-card {
        border-radius: 10px;
    }

    .game-card-info {
        padding: 6px 8px;
    }

    .game-card-name {
        font-size: 11px;
    }

    .game-card-developer {
        font-size: 9px;
    }
}