/* ========================================
   GAME TOPUP HOMEPAGE - FUTURISTIC DARK-LIGHT THEME
   Modern, Unique, User-Friendly Design
   ======================================== */

/* CSS Variables - Futuristic Dark-Light Theme */
:root {
    /* Dark backgrounds with subtle warmth */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2128;
    --bg-card-hover: #21262d;
    --bg-elevated: rgba(30, 36, 44, 0.95);

    /* Text colors - softer whites */
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;

    /* Futuristic accent colors - Cyan/Purple gradient */
    --accent-primary: #58a6ff;
    --accent-secondary: #a371f7;
    --accent-tertiary: #3fb950;
    --accent-gradient: linear-gradient(135deg, #58a6ff 0%, #a371f7 50%, #f778ba 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(88, 166, 255, 0.15) 0%, rgba(163, 113, 247, 0.15) 100%);
    --accent-glow: rgba(88, 166, 255, 0.4);
    --accent-glow-purple: rgba(163, 113, 247, 0.4);

    /* Neon effects */
    --neon-blue: #00d4ff;
    --neon-purple: #bf5af2;
    --neon-pink: #ff375f;
    --neon-green: #30d158;

    /* Category accent colors - vibrant but not harsh */
    --cat-games: linear-gradient(135deg, #a371f7 0%, #8957e5 100%);
    --cat-pulsa: linear-gradient(135deg, #f778ba 0%, #db61a2 100%);
    --cat-data: linear-gradient(135deg, #58a6ff 0%, #388bfd 100%);
    --cat-emoney: linear-gradient(135deg, #3fb950 0%, #2ea043 100%);
    --cat-pln: linear-gradient(135deg, #f0883e 0%, #d29922 100%);
    --cat-voucher: linear-gradient(135deg, #ff7b72 0%, #f85149 100%);

    /* Utility */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px -10px var(--accent-glow);
    --shadow-glow-purple: 0 0 40px -10px var(--accent-glow-purple);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(88, 166, 255, 0.4);

    /* Glass effect */
    --glass-bg: rgba(22, 27, 34, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
}

/* Loading Placeholder */
.loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-placeholder i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    animation: pulse-glow 2s infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px var(--accent-glow));
    }

    50% {
        opacity: 0.6;
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(88, 166, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(163, 113, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   NAVIGATION BAR - Modern Professional Design
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 2rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.logo-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-logo:hover .logo-glow {
    opacity: 0.5;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover i {
    opacity: 1;
    color: var(--accent-primary);
}

/* Highlighted Nav Link (Cloud VPS) */
.nav-link-highlight {
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid rgba(88, 166, 255, 0.15);
}

.nav-link-highlight:hover {
    background: rgba(88, 166, 255, 0.15);
    border-color: rgba(88, 166, 255, 0.3);
}

/* Nav Badge */
.nav-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

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

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

/* Auth Section */
.nav-auth {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn i {
    font-size: 0.85rem;
}

/* Outline Button (Login) */
.nav-btn-outline {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.nav-btn-outline:hover {
    background: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px -3px rgba(88, 166, 255, 0.3);
}

/* Primary Button (Dashboard) */
.nav-btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(88, 166, 255, 0.4);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navbar Responsive */
@media (max-width: 1024px) {
    .nav-link span {
        display: none;
    }

    .nav-link i {
        font-size: 1rem;
        opacity: 1;
    }

    .nav-badge {
        display: none;
    }

    .nav-auth {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }

    .nav-btn span {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-link {
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid transparent;
    }

    .nav-link span {
        display: inline;
    }

    .nav-link i {
        width: 24px;
        text-align: center;
    }

    .nav-link:hover {
        background: rgba(88, 166, 255, 0.1);
        border-color: rgba(88, 166, 255, 0.2);
    }

    .nav-badge {
        display: inline-block;
        margin-left: auto;
    }

    .nav-auth {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .nav-btn span {
        display: inline;
    }

    /* Mobile Menu Overlay */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 100%;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease, right 0s 0.3s;
        pointer-events: none;
    }

    .nav-links.active::before {
        right: 80%;
        opacity: 1;
        transition: opacity 0.3s ease, right 0s;
        pointer-events: auto;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Order Notification Toast */
.order-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    transition: opacity 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 2px solid #10b981;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.notification-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon i {
    font-size: 1.5rem;
    color: #10b981;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

.notification-text p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.notification-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.notification-note>i {
    color: #5865F2;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.discord-link:hover {
    background: #4752c4;
    transform: scale(1.05);
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Animated background orbs */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(163, 113, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float-slow {

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

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient-soft);
    border: 1px solid var(--border-color-active);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px -10px var(--accent-glow);
}

.btn-primary:hover::before {
    left: 100%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Hero Visual/Illustration */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 30px rgba(88, 166, 255, 0.3));
}

.hero-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 40px rgba(163, 113, 247, 0.4));
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
    position: relative;
    overflow: hidden;
}

.categories-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float-orb 20s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.gradient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    bottom: 10%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes float-orb {

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

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, -10px) scale(1.05);
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient-soft);
    border: 1px solid var(--border-color-active);
    color: var(--accent-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-badge i {
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--accent-gradient));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-color-active);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5), 0 0 40px -10px var(--accent-glow);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
    color: var(--accent-primary);
}

.category-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.category-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--card-accent, var(--accent-gradient));
    opacity: 0.3;
    filter: blur(20px);
    z-index: 1;
    transition: all 0.4s ease;
}

.category-card:hover .category-glow {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.2);
}

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

.category-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.category-count {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.count-number {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.count-label {
    font-weight: 400;
}

.category-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-arrow {
    background: var(--accent-gradient);
    color: white;
}

/* ========================================
   GAME/CATEGORY CARDS (Legacy - kept for compatibility)
   ======================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--accent-gradient));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-active);
    box-shadow: var(--shadow-glow);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover::after {
    opacity: 1;
}

.game-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Dynamic card colors */
.game-ml .game-icon {
    background: var(--cat-games);
    color: white;
    box-shadow: 0 8px 24px rgba(163, 113, 247, 0.3);
}

.game-ff .game-icon {
    background: var(--cat-pulsa);
    color: white;
    box-shadow: 0 8px 24px rgba(247, 120, 186, 0.3);
}

.game-pubg .game-icon {
    background: var(--cat-data);
    color: white;
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.3);
}

.game-genshin .game-icon {
    background: var(--cat-emoney);
    color: white;
    box-shadow: 0 8px 24px rgba(63, 185, 80, 0.3);
}

.game-roblox .game-icon {
    background: var(--cat-pln);
    color: white;
    box-shadow: 0 8px 24px rgba(240, 136, 62, 0.3);
}

.game-valorant .game-icon {
    background: var(--cat-voucher);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 123, 114, 0.3);
}

.game-codm .game-icon {
    background: linear-gradient(135deg, #56d364 0%, #3fb950 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(86, 211, 100, 0.3);
}

.game-lol .game-icon {
    background: linear-gradient(135deg, #79c0ff 0%, #58a6ff 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(121, 192, 255, 0.3);
}

.game-ml {
    --card-accent: var(--cat-games);
}

.game-ff {
    --card-accent: var(--cat-pulsa);
}

.game-pubg {
    --card-accent: var(--cat-data);
}

.game-genshin {
    --card-accent: var(--cat-emoney);
}

.game-roblox {
    --card-accent: var(--cat-pln);
}

.game-valorant {
    --card-accent: var(--cat-voucher);
}

.game-codm {
    --card-accent: linear-gradient(135deg, #56d364, #3fb950);
}

.game-lol {
    --card-accent: linear-gradient(135deg, #79c0ff, #58a6ff);
}

/* Cloud VPS Special Card */
.category-card.cloud-vps {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.category-card.cloud-vps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
    opacity: 1;
}

.category-card.cloud-vps::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
    animation: vps-glow 4s ease-in-out infinite;
}

@keyframes vps-glow {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-20px) translateY(10px);
    }
}

.category-card.cloud-vps .category-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: vps-icon-pulse 3s ease-in-out infinite;
}

@keyframes vps-icon-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.category-card.cloud-vps .category-glow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    opacity: 0.4;
    animation: vps-glow-pulse 2s ease-in-out infinite;
}

@keyframes vps-glow-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.category-card.cloud-vps .category-name {
    color: #e0e7ff;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.category-card.cloud-vps .category-count {
    color: #c7d2fe;
}

.category-card.cloud-vps .count-label {
    color: #a5b4fc;
}

.category-card.cloud-vps .category-arrow {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #818cf8;
}

.category-card.cloud-vps:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6), 0 0 60px -15px rgba(99, 102, 241, 0.5);
}

.category-card.cloud-vps:hover .category-arrow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.game-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.game-type {
    color: var(--text-secondary);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--bg-secondary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(88, 166, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-active);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   STEPS SECTION
   ======================================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.3;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    opacity: 0.3;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--accent-gradient);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-cta {
    background: white;
    color: var(--accent-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FOOTER - Modern Professional Design
   ======================================== */
.footer {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Wave Decoration */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main Footer Content */
.footer-main {
    background: var(--bg-secondary);
    padding: 4rem 2rem 3rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(88, 166, 255, 0.15);
    border-color: rgba(88, 166, 255, 0.4);
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 0.7rem;
}

/* Social Links - Enhanced */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px -5px rgba(88, 166, 255, 0.4);
}

/* Instagram hover */
.social-link:nth-child(1):hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-color: transparent;
    color: white;
}

/* TikTok hover */
.social-link:nth-child(2):hover {
    background: linear-gradient(135deg, #000, #25f4ee, #fe2c55);
    border-color: transparent;
    color: white;
}

/* Discord hover */
.social-link:nth-child(3):hover {
    background: #5865F2;
    border-color: transparent;
    color: white;
}

/* WhatsApp hover */
.social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: transparent;
    color: white;
}

/* Footer Blocks */
.footer-block h4 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-block h4 i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

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

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    padding: 0.15rem 0;
}

.footer-links a i {
    font-size: 0.6rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
    color: var(--accent-primary);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Section */
.footer-contact .contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    background: rgba(30, 36, 44, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(40, 46, 54, 0.8);
    border-color: var(--border-color-active);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-icon.discord {
    background: #5865F2;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Payment Methods Section */
.footer-payments {
    background: rgba(22, 27, 34, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

.footer-payments .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.payments-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.payments-label i {
    color: var(--accent-primary);
}

.payment-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 36, 44, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.payment-icon:hover {
    background: rgba(40, 46, 54, 0.9);
    border-color: var(--border-color-active);
    transform: translateY(-3px);
}

.payment-icon i {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.payment-icon span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--bg-secondary);
    padding: 1.5rem 2rem;
}

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

.footer-bottom .copyright,
.footer-bottom .made-with {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom .copyright i {
    font-size: 0.75rem;
}

.footer-bottom .made-with i {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

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

    50% {
        transform: scale(1.15);
    }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-wave {
        top: -30px;
        height: 60px;
    }

    .footer-main {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-desc {
        text-align: center;
        max-width: 400px;
    }

    .trust-badges {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-block h4 {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-contact .contact-items {
        align-items: center;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
    }

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

    .payment-icons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* ========================================
   CHECK TRANSACTION SECTION
   ======================================== */
.check-trx-container {
    max-width: 600px;
    margin: 0 auto;
}

.check-trx-form {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.check-trx-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.check-trx-input-group:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.check-trx-input-group i {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.check-trx-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.75rem 0;
    outline: none;
}

.check-trx-input-group input::placeholder {
    color: var(--text-muted);
}

.btn-check-trx {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-check-trx:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.trx-result-card {
    margin-top: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.trx-result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
}

.trx-result-header.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.trx-result-header.pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.trx-result-header.failed {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.trx-result-body {
    padding: 1.5rem;
}

.trx-result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trx-result-item:last-child {
    border-bottom: none;
}

.trx-result-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trx-result-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.trx-result-value.status-success {
    color: #10b981;
}

.trx-result-value.status-pending {
    color: #f59e0b;
}

.trx-result-value.status-failed {
    color: #ef4444;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-section {
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 200px);
    background: var(--bg-primary);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.checkout-product {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-detail {
    text-align: center;
    flex: 1;
}

.product-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-brand {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-brand i {
    color: var(--accent-primary);
}

.product-price-big {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.product-detail-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.product-image {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 3px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

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

.optional-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.checkout-form-container {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.checkout-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-title i {
    color: var(--accent-primary);
}

.checkout-form .form-group {
    margin-bottom: 1.25rem;
}

.checkout-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.checkout-form label i {
    color: var(--accent-primary);
    width: 16px;
}

.checkout-form input[type="text"],
.checkout-form input[type="tel"],
.checkout-form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Payment Section */
.payment-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.payment-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-title i {
    color: var(--accent-primary);
}

.payment-group {
    margin-bottom: 1.5rem;
}

.payment-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.payment-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.payment-badge.disabled {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.payment-options.disabled {
    opacity: 0.5;
}

.payment-option {
    cursor: pointer;
}

.payment-option.disabled {
    cursor: not-allowed;
}

.payment-option input {
    display: none;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.payment-card i {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.payment-card span {
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-option:not(.disabled):hover .payment-card {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.payment-option input:checked+.payment-card {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.payment-option input:checked+.payment-card i {
    color: var(--accent-primary);
}

.payment-badge.closed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.payment-group.closed {
    opacity: 0.7;
}

.payment-closed-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.payment-closed-info i {
    color: #ef4444;
    font-size: 1.1rem;
}

/* Payment Row Layout */
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-list.disabled {
    opacity: 0.5;
}

.payment-row {
    cursor: pointer;
    width: 100%;
    display: block;
}

.payment-row.disabled {
    cursor: not-allowed;
}

.payment-row input {
    display: none;
}

.payment-row-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-row:not(.disabled):hover .payment-row-card {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.payment-row input:checked+.payment-row-card {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.payment-row-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-row-left i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    width: 32px;
    text-align: center;
}

.payment-logo {
    width: 80px;
    height: 24px;
    object-fit: contain;
}

.payment-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.payment-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.payment-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.payment-status.closed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.payment-row-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-price {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-back {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Checkout Confirmation Page */
.checkout-confirm-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.order-summary-card,
.payment-confirm-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.order-details {
    margin-top: 1rem;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.order-row.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    border-bottom: none;
}

.order-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-value {
    font-weight: 500;
}

.order-row.total .order-value {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Payment Method Info */
.payment-method-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-top: 1rem;
}

.bank-logo {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-logo i {
    font-size: 1.5rem;
    color: white;
}

.bank-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bank-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.bank-account-number {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 2px;
}

.bank-account-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-copy {
    padding: 0.75rem 1rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    transform: scale(1.05);
}

/* Transfer Amount */
.transfer-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 2px dashed var(--accent-primary);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.amount-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.amount-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Payment Notes */
.payment-notes {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.note-item.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.note-item.info {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.note-item.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.btn-back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-confirm-payment {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-confirm-payment:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-confirm-payment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .checkout-confirm-container {
        grid-template-columns: 1fr;
    }
}

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

    .checkout-product {
        position: static;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container::before {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .category-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .category-glow {
        width: 80px;
        height: 80px;
    }

    .category-name {
        font-size: 1rem;
    }

    .category-arrow {
        width: 36px;
        height: 36px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .game-card {
        padding: 1.25rem;
    }

    .game-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .category-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .category-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .category-glow {
        width: 72px;
        height: 72px;
    }

    .category-name {
        font-size: 0.95rem;
    }

    .category-count {
        font-size: 0.75rem;
    }

    .count-number {
        font-size: 1rem;
    }

    .category-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg), 0 0 60px -20px var(--accent-glow);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content.modal-large {
    max-width: 900px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-title i {
    color: var(--accent-primary);
}

.modal-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-back:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(248, 81, 73, 0.15);
    border-color: rgba(248, 81, 73, 0.5);
    color: #f85149;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    border-color: var(--border-color-active);
    background: var(--bg-card-hover);
}

.product-item.unavailable {
    opacity: 0.5;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-sku {
    font-family: 'SF Mono', Monaco, monospace;
    background: var(--bg-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-item.available .product-stock {
    color: var(--accent-tertiary);
}

.product-item.available .product-stock i {
    color: var(--accent-tertiary);
}

.product-item.unavailable .product-stock {
    color: #f85149;
}

.product-item.unavailable .product-stock i {
    color: #f85149;
}

.product-price {
    font-weight: 700;
    font-size: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    padding-left: 1rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        max-height: 90vh;
    }

    .modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .product-price {
        padding-left: 0;
        font-size: 1.1rem;
    }

    .product-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-content {
        max-height: 95vh;
        border-radius: var(--border-radius-sm);
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ========================================
   VIEW PAGES (Category/Brand Browsing)
   ======================================== */

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 100px;
    padding-bottom: 0.5rem;
    background: var(--bg-primary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

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

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb span.current {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb i.fa-chevron-right {
    font-size: 0.7rem;
}

/* View Section */
.view-section {
    padding: 2rem 0 4rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

.view-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.view-header.has-image {
    align-items: stretch;
}

.view-header-image {
    width: 140px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

.view-header-content {
    flex: 1;
}

.view-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.view-title i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.view-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Search Box for View Pages */
.search-box-view {
    position: relative;
    max-width: 500px;
    margin: 1.5rem 0;
}

.search-box-view i.fa-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box-view input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s ease;
}

.search-box-view input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-box-view input::placeholder {
    color: #64748b;
}

.search-box-view .clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.search-box-view .clear-search:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Brand Image Cards */
.brand-image-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand-image-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.brand-image-card:hover .brand-image {
    transform: scale(1.1);
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
}

.brand-overlay .brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-overlay .brand-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}


/* Products List Page - Compact Grid Design */
.products-list-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    max-width: 100%;
}

.products-list-page .product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.products-list-page .product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.products-list-page .product-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, rgba(40, 51, 69, 0.7) 0%, rgba(20, 28, 47, 0.9) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.3);
}

.products-list-page .product-item:hover::before {
    opacity: 1;
}

.products-list-page .product-item.unavailable {
    opacity: 0.4;
}

.products-list-page .product-info {
    flex: 1;
    min-width: 0;
    padding-right: 0.75rem;
}

.products-list-page .product-name {
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-list-page .product-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #64748b;
}

.products-list-page .product-sku {
    display: none;
    /* Hide SKU for cleaner look */
}

.products-list-page .product-stock {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
}

.products-list-page .product-stock i {
    font-size: 0.6rem;
}

.products-list-page .product-item.available .product-stock {
    color: #34d399;
}

.products-list-page .product-item.unavailable .product-stock {
    color: #f87171;
}

.products-list-page .product-price {
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Game cards as links */
a.game-card {
    text-decoration: none;
    color: inherit;
}

/* View Pages Responsive */
@media (max-width: 768px) {
    .view-title {
        font-size: 1.5rem;
    }

    .products-list-page {
        grid-template-columns: 1fr;
    }

    .products-list-page .product-item {
        padding: 0.75rem;
    }

    .products-list-page .product-name {
        font-size: 0.8rem;
    }

    .products-list-page .product-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
    }

    .view-title {
        font-size: 1.25rem;
    }
}