:root {
    --bg-page: #f4f6fb;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #2563eb;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    --shadow-hover: 0 16px 36px rgba(124, 58, 237, 0.16);
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Khmer', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navbar */
.site-header {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.brand-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    font-size: 1rem;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px;
    border-radius: 999px;
}

.lang-btn {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    transition: all var(--transition);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Main Content */
.site-main {
    flex: 1;
    padding: 1.75rem 0 3.5rem;
}

/* Hero Banner */
.hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 52%, #1d4ed8 100%);
    color: var(--text-light);
    border-radius: var(--radius);
    padding: 2.25rem 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(167, 139, 250, 0.4);
    color: #ddd6fe;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-card h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.hero-card p {
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
}

.hero-stat-box strong {
    display: block;
    font-size: 1.2rem;
    color: #fff;
}

.hero-stat-box span {
    font-size: 0.78rem;
    color: #cbd5e1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

/* Section Headers */
.section-block {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Search & Category Toolbar */
.games-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-tab {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.cat-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
}

/* Game Grid & Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 58, 237, 0.35);
}

.game-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1e1b4b, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-monogram {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.game-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.game-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.game-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.game-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.game-publisher {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.game-cta {
    margin-top: auto;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: all var(--transition);
}

.game-card:hover .game-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.12));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Payment Methods Showcase */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow);
}

.payment-code-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-card strong {
    font-size: 0.95rem;
    display: block;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding-top: 2.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-desc {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.footer-col a:hover {
    color: #fff;
}

.payment-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Desktop & Tablet Breakpoints */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .hero-card {
        padding: 3rem;
        grid-template-columns: 1.5fr 1fr;
    }

    .games-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payments-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.2fr;
    }
}
/* ==========================================================
   PHASE 04: Game Detail, Verification, Packages & Review
   ========================================================== */
.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.game-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.game-info-card,
.step-card,
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.game-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-info-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.game-info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.step-card {
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.verify-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.alert-box {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.alert-box.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-box.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Package Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.package-card {
    position: relative;
    border: 2px solid var(--border);
    background: var(--bg-page);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all var(--transition);
}

.package-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    background: #fff;
}

.package-card.selected {
    border-color: var(--primary);
    background: #f5f3ff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.16);
}

.pkg-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.pkg-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.pkg-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.pkg-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.pkg-old-price {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Review Summary */
.review-list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.92rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
}

.review-row span {
    color: var(--text-muted);
}

.review-row.total {
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    padding-top: 0.25rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (min-width: 900px) {
    .game-layout {
        grid-template-columns: 1.65fr 1fr;
    }

    .form-grid.two-col {
        grid-template-columns: 1fr 1fr;
    }

    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-card {
        position: sticky;
        top: 90px;
    }
}
/* ==========================================================
   PHASE 05: Checkout, Receipt Upload, Success & Tracking
   ========================================================== */
.pm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.pm-option {
    border: 2px solid var(--border);
    background: var(--bg-page);
    border-radius: 12px;
    padding: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: inherit;
    text-align: left;
    transition: all var(--transition);
}

.pm-option:hover {
    border-color: rgba(124, 58, 237, 0.5);
    background: #fff;
}

.pm-option.selected {
    border-color: var(--primary);
    background: #f5f3ff;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.14);
}

.pm-detail-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem;
    margin-bottom: 1.25rem;
}

.pm-detail-box p {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.pm-detail-box p:last-child {
    margin-bottom: 0;
}

.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color var(--transition);
}

.upload-box:hover {
    border-color: var(--primary);
}

.receipt-preview {
    max-width: 240px;
    max-height: 240px;
    border-radius: 10px;
    margin: 0.85rem auto 0;
    display: none;
    border: 1px solid var(--border);
}

.center-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.order-number-pill {
    display: inline-block;
    background: #f5f3ff;
    border: 1px solid rgba(124, 58, 237, 0.35);
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
    padding: 0.65rem 1.35rem;
    border-radius: 12px;
    margin: 1rem 0 1.5rem;
    letter-spacing: 0.5px;
}

.track-form {
    display: flex;
    gap: 0.75rem;
    margin: 1.25rem 0 1.75rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-pending    { background: #fef3c7; color: #92400e; }
.status-verifying  { background: #e0f2fe; color: #075985; }
.status-processing { background: #ede9fe; color: #5b21b6; }
.status-completed  { background: #dcfce7; color: #166534; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }
.status-refunded   { background: #f1f5f9; color: #334155; }

@media (min-width: 768px) {
    .pm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ==========================================================
   PHASE 06: Admin Dashboard & Data Tables
   ========================================================== */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.admin-stat-card span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.admin-stat-card strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

.admin-table th,
.admin-table td {
    padding: 0.85rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    background: #f8fafc;
}

.admin-inline-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-select {
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.85rem;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

@media (min-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ==========================================================
   Promotional Banner Carousel (Auto-slide every 5s)
   ========================================================== */
.banner-slider-section {
    margin-bottom: 2.25rem;
}

.banner-slider-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #0b1120;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.banner-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.banner-slide {
    min-width: 100%;
    height: clamp(190px, 36vw, 390px);
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    z-index: 5;
}

.banner-arrow:hover {
    background: var(--primary);
}

.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }

.banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.banner-dot.active {
    width: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
/* ==========================================================
   Clean Full-Width Responsive Banner Carousel
   ========================================================== */
.banner-slider-section {
    background: transparent;
    padding: 0;
    margin-bottom: 1.75rem;
}

.banner-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.banner-slide {
    min-width: 100%;
    width: 100%;
    padding: 0;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    transform: none;
    border-radius: 0;
}

.banner-arrow {
    display: none !important;
}

.banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.banner-dot.active {
    width: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
/* ==========================================================
   Compact 3-Col (Mobile) / 5-Col (PC) Game Cards
   ========================================================== */
.games-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem !important;
}

.game-card {
    border-radius: 12px;
}

.game-card-media {
    aspect-ratio: 1 / 1;
}

.game-card-body {
    padding: 0.55rem 0.6rem;
    text-align: center;
}

.game-title {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-category,
.game-publisher,
.game-cta {
    display: none !important;
}

.game-badge {
    top: 0.4rem;
    left: 0.4rem;
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1rem !important;
    }

    .game-card-body {
        padding: 0.7rem 0.8rem;
    }

    .game-title {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 1.15rem !important;
    }
}
/* ==========================================================
   Premium Gaming Animations for Package Cards & Buttons
   ========================================================== */
@keyframes pkgPop {
    0%   { transform: scale(0.96); }
    60%  { transform: translateY(-3px) scale(1.02); }
    100% { transform: translateY(-3px) scale(1); }
}

@keyframes btnGlowPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.32); }
    50%      { box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5); }
}

.package-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease;
}

/* Shine sweep effect on hover */
.package-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.65) 50%,
        transparent 100%
    );
    transition: left 0.55s ease;
    pointer-events: none;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.16);
}

.package-card:hover::before {
    left: 140%;
}

.package-card.selected {
    background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28), 0 0 0 3px rgba(124, 58, 237, 0.14);
    animation: pkgPop 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Checkmark badge when selected */
.package-card.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}

.package-card.selected .pkg-price {
    color: var(--secondary);
}

/* Glowing Primary Action Button when enabled */
.btn-primary:not(:disabled) {
    animation: btnGlowPulse 2.6s infinite ease-in-out;
}
/* ==========================================================
   Hide Search Bar & Apply Custom Sky-Blue Background
   ========================================================== */
.search-box,
.game-search,
#gameSearch {
    display: none !important;
}

body {
    background-image: url('../images/bg.jpg') !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}
/* ==========================================================
   Floating Telegram Admin Support Button
   ========================================================== */
@keyframes tgFloatPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 22px rgba(34, 158, 217, 0.38);
    }
    50% {
        transform: translateY(-5px) scale(1.04);
        box-shadow: 0 14px 28px rgba(34, 158, 217, 0.55);
    }
}

.floating-tg-btn {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #229ED9, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: tgFloatPulse 2.8s infinite ease-in-out;
    transition: transform 0.25s ease;
}

.floating-tg-btn:hover {
    transform: scale(1.1);
}

.floating-tg-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #0f172a;
}

.floating-tg-btn .tg-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #229ED9;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .floating-tg-btn {
        right: 14px;
        bottom: 18px;
        width: 56px;
        height: 56px;
    }
}