:root {
    --primary: #6366f1;
    --primary-alt: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --background: #0b0f1a;
    --surface: #161c2e;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --font: 'Outfit', sans-serif;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--background);
    color: var(--text-main);
    font-family: var(--font);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), transparent),
                      radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.08), transparent);
}

/* Common Components */
.melo-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.melo-card:hover { border-color: var(--primary); transform: translateY(-3px); }

.btn-melo {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-melo:hover { filter: brightness(1.2); box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }

.melo-input {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.9rem 1.2rem;
    border-radius: 0.75rem;
    width: 100%;
    font-family: inherit;
    transition: 0.3s;
}

.melo-input:focus { outline: none; border-color: var(--primary); background: rgba(0,0,0,0.4); }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0; z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

/* Layouts */
.admin-layout { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
}

.sidebar nav a {
    display: block;
    padding: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    transition: 0.3s;
}

.sidebar nav a.active, .sidebar nav a:hover {
    background: var(--glass);
    color: white;
}

/* Grids */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

.product-image {
    width: 100%; height: 220px; object-fit: cover; border-radius: 1rem;
}

/* Badge */
.badge-verified {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 800;
}
