/* GameAcc Pro - Custom Styles */

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #16161d;
}
::-webkit-scrollbar-thumb {
    background: #3a3a4a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

/* Product card */
.product-card {
    background: linear-gradient(145deg, #1e1e27, #16161d);
    border: 1px solid #2a2a36;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    border-color: #6366f1;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}

.product-card .badge-sold {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
.product-card .badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.product-card .badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
}
.product-card .badge-sale {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

/* Price */
.price-current {
    color: #fbbf24;
    font-weight: 700;
}
.price-original {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}
.btn-buy {
    background: linear-gradient(135deg, #10b981, #059669);
}
.btn-buy:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Banner slider */
.banner-slide {
    border-radius: 1rem;
    overflow: hidden;
}

/* Form inputs */
.form-input {
    background: #1e1e27;
    border: 1px solid #2a2a36;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #e5e7eb;
    width: 100%;
    transition: all 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Stats card */
.stat-card {
    background: linear-gradient(145deg, #1e1e27, #16161d);
    border: 1px solid #2a2a36;
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Loading spinner */
.spinner {
    border: 3px solid #2a2a36;
    border-top-color: #6366f1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #1e1e27 25%, #2a2a36 50%, #1e1e27 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}
@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Admin sidebar */
.admin-sidebar {
    background: #0f0f13;
    border-right: 1px solid #2a2a36;
}

/* Toast animation */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast-enter {
    animation: slideInRight 0.3s ease-out;
}
