/* NumStore - Styles CSS */

:root {
    --noir: #0a0a0a;
    --surface: #141414;
    --champagne: #C9A227;
    --champagne-hover: #D4B84A;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--noir);
    color: #ffffff;
    line-height: 1.6;
}

.font-heading {
    font-family: 'Playfair Display', serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* Colors */
.bg-noir { background-color: var(--noir); }
.bg-surface { background-color: var(--surface); }
.text-champagne { color: var(--champagne); }
.text-champagne-hover { color: var(--champagne-hover); }

/* Layout */
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:col-span-5 { grid-column: span 5 / span 5; }
    .md\:col-span-6 { grid-column: span 6 / span 6; }
    .md\:col-span-7 { grid-column: span 7 / span 7; }
    .md\:col-span-12 { grid-column: span 12 / span 12; }
    .md\:flex-row { flex-direction: row; }
    .md\:w-1\/2 { width: 50%; }
    .md\:h-full { height: 100%; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Colors */
.text-white { color: #ffffff; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-red-400 { color: #f87171; }
.text-emerald-400 { color: #34d399; }
.text-amber-400 { color: #fbbf24; }

.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-champagne\/10 { background-color: rgba(201, 162, 39, 0.1); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }

/* Borders */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-champagne\/20 { border-color: rgba(201, 162, 39, 0.2); }
.border-champagne\/30 { border-color: rgba(201, 162, 39, 0.3); }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.bottom-3 { bottom: 0.75rem; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Sizing */
.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-full { height: 100%; }
.h-0\.5 { height: 0.125rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.min-h-screen { min-height: 100vh; }
.min-h-\[80px\] { min-height: 80px; }
.min-h-\[60px\] { min-height: 60px; }
.min-h-\[90vh\] { min-height: 90vh; }
.min-h-\[80vh\] { min-height: 80vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[120px\] { min-height: 120px; }
.max-h-\[90vh\] { max-height: 90vh; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Transform */
.translate-y-1\/2 { transform: translateY(50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-1 { transform: translateY(-0.25rem); }

/* Visibility */
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.inline { display: inline; }

/* Effects */
.opacity-30 { opacity: 0.3; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-top { object-position: top; }

/* Rounded */
.rounded-full { border-radius: 9999px; }

/* Divide */
.divide-y > * + * { border-top-width: 1px; }
.divide-white\/5 > * + * { border-color: rgba(255, 255, 255, 0.05); }

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation */
.glass-nav {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cards */
.luxury-card {
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.luxury-card:hover {
    transform: translateY(-0.25rem);
    border-color: rgba(201, 162, 39, 0.2);
}

.gold-border {
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.gold-glow {
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.1);
}

/* Buttons */
.btn-gold {
    background-color: var(--champagne);
    color: var(--noir);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: var(--champagne-hover);
}

.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline-luxury {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    border-color: var(--champagne);
    color: var(--champagne);
}

/* Form Inputs */
.input-field {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    background-color: var(--noir);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.input-field::placeholder {
    color: #52525b;
}

.input-field:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 0 0 1px var(--champagne);
}

.textarea-field {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--noir);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.875rem;
    resize: vertical;
    transition: all 0.2s ease;
}

.textarea-field::placeholder {
    color: #52525b;
}

.textarea-field:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 0 0 1px var(--champagne);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
}

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Hover States */
.hover\:text-champagne:hover { color: var(--champagne); }
.hover\:text-zinc-300:hover { color: #d4d4d8; }
.hover\:text-red-400:hover { color: #f87171; }
.hover\:border-champagne:hover { border-color: var(--champagne); }
.hover\:border-champagne\/20:hover { border-color: rgba(201, 162, 39, 0.2); }
.hover\:bg-white\/\[0\.02\]:hover { background-color: rgba(255, 255, 255, 0.02); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

.group:hover .group-hover\:text-champagne { color: var(--champagne); }
.group:hover .group-hover\:scale-\[1\.02\] { transform: scale(1.02); }

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-spin { animation: spin 1s linear infinite; }
.animate-fade-up { animation: fade-up 0.6s ease-out forwards; }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-noir { --tw-gradient-from: var(--noir); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-noir\/80 { --tw-gradient-stops: var(--tw-gradient-from), rgba(10, 10, 10, 0.8), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }
.to-noir\/40 { --tw-gradient-to: rgba(10, 10, 10, 0.4); }
.from-surface\/60 { --tw-gradient-from: rgba(20, 20, 20, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-surface { --tw-gradient-from: var(--surface); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

/* Fill */
.fill-current { fill: currentColor; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
