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

:root {
    --bg-dark: #09090b; /* Very dark background */
    --bg-panel: #18181b; /* Slightly lighter panel */
    --primary-red: #ef4444; /* Vibrant red */
    --primary-red-hover: #dc2626;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
}

html, body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

*, ::before, ::after {
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark); 
}
::-webkit-scrollbar-thumb {
    background: #3f3f46; 
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red); 
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-nav {
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Product Card - Premium styling */
.tcg-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    background: linear-gradient(145deg, rgba(24,24,27,1) 0%, rgba(9,9,11,1) 100%);
    overflow: hidden;
}
.tcg-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(239, 68, 68, 0.5); /* Primary red glow border */
    box-shadow: 0 12px 40px -10px rgba(239, 68, 68, 0.15), 0 4px 20px -5px rgba(0,0,0,0.5);
}
.tcg-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2.5 / 3.5; /* Standard TCG aspect ratio */
}
.tcg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.tcg-card:hover .tcg-card-img {
    transform: scale(1.08);
}

/* Micro-animations */
.hover-scale {
    transition: transform 0.2s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow:hover {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Glowing text */
.text-glow {
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}
.text-glow-red {
    text-shadow: 0 0 20px rgba(239,68,68,0.8), 0 0 40px rgba(239,68,68,0.4) !important;
}

/* Redesigned Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #f87171 0%, var(--primary-red) 100%);
}

/* Status Badges */
.badge-verified {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Overrides for specific tailwind config colors */
.bg-tcg-dark { background-color: var(--bg-dark) !important; }
.bg-tcg-panel { background-color: var(--bg-panel) !important; }
.text-tcg-red { color: var(--primary-red) !important; }
.text-tcg-muted { color: var(--text-muted) !important; }
