/* ===============================
   VTA-STORE - DARK EMERALD & GOLD LUXURY
   Dark Theme + Emerald Green + Premium Gold
================================*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #020617; /* Slate 950 - Deep Dark */
    --bg-secondary: #0f172a; /* Slate 900 - Darker */
    --primary: #10b981; /* Emerald 500 */
    --primary-dark: #064e3b; /* Emerald 900 */
    --gold: #fbbf24;    /* Amber 400 - Gold Look */
    --gold-dark: #d97706; /* Amber 600 */
    --text-main: #f8fafc; /* Slate 50 */
    --text-muted: #94a3b8; /* Slate 400 */
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    --gold-shadow: 0 10px 25px rgba(251, 191, 36, 0.15);
}

/* Global Styles */
body {
    font-family: 'Kanit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Hero Section Refinement */
.hero-text-shadow {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-glow {
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.5));
}

/* Navbar */
.navbar-bg {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.nav-link {
    color: #f8fafc;
    transition: 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold);
}

/* Buttons with Shimmer Effect */
.btn-vip {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #020617;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    box-shadow: var(--gold-shadow);
}

.btn-vip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.6s;
}

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

.btn-vip:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.3);
    filter: brightness(1.1);
}

/* Product Card */
.product-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 24px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Game Card Icon Styles */
.game-card .icon-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(251, 191, 36, 0.1);
    background: #000;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover img {
    transform: scale(1.1);
}

/* Price Tag */
.price-tag {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Glass Effect */
.glass {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-animate {
    animation: fadeInUp 0.5s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Mobile 2-Column Support */
@media (max-width: 640px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card {
        padding: 8px;
        border-radius: 16px;
    }
    .product-card h3 {
        font-size: 0.9rem;
    }
    .price-tag {
        font-size: 1.1rem;
    }
}

[x-cloak] { display: none !important; }
