/* ============================================================
   ROOT ART HUB - Custom Styles
   ============================================================ */
:root {
    --brand-600: #d97706;
    --brand-700: #b45309;
    --ink-900: #1c1917;
}

html {
    scroll-behavior: smooth;
}

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

.font-display {
    font-family: 'Poppins', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

/* Hero background */
.hero-bg {
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.25), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(180, 83, 9, 0.2), transparent 50%),
        linear-gradient(160deg, #1c1917 0%, #292524 55%, #44403c 100%);
}

.hero-bg-light {
    background:
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.12), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.1), transparent 45%),
        linear-gradient(180deg, #fff7ed 0%, #fffbeb 60%, #fafaf9 100%);
}

/* Section title accents */
.section-kicker {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-600);
}

/* Card hover effects */
.hover-lift {
    transition: transform .25s ease, box-shadow .25s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
}

/* Star rating display */
.stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.stars-empty {
    color: #e7e5e4;
}

/* Table styles */
.data-table th {
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #78716c;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e7e5e4;
    background: #fafaf9;
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f5f5f4;
    font-size: 0.85rem;
    vertical-align: middle;
}
.data-table tr:hover td { background: #fffbeb; }

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-active { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-approved { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-confirmed { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-accepted { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-completed { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-rejected { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-cancelled { background: #f5f5f4; color: #57534e; border: 1px solid #e7e5e4; }
.badge-expired { background: #f5f5f4; color: #57534e; border: 1px solid #e7e5e4; }
.badge-paused { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-suspended { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-pending-active { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-open { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-closed { background: #f5f5f4; color: #57534e; border: 1px solid #e7e5e4; }
.badge-draft { background: #f5f5f4; color: #57534e; border: 1px solid #e7e5e4; }
.badge-voting { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-reviewing { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-funded { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-negotiating { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* Form controls */
.form-control {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.6rem;
    font-size: 0.875rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #57534e;
    margin-bottom: 0.35rem;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }

/* Content prose (CMS pages) */
.content-prose h1 { font-size: 1.8rem; font-weight: 700; margin: 1.2rem 0 0.6rem; }
.content-prose h2 { font-size: 1.4rem; font-weight: 700; margin: 1.2rem 0 0.5rem; color: #1c1917; }
.content-prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1rem 0 0.4rem; }
.content-prose p { margin: 0.6rem 0; line-height: 1.75; color: #44403c; }
.content-prose ul { list-style: disc; padding-left: 1.4rem; margin: 0.6rem 0; }
.content-prose ol { list-style: decimal; padding-left: 1.4rem; margin: 0.6rem 0; }
.content-prose a { color: var(--brand-700); text-decoration: underline; }
.content-prose blockquote { border-left: 3px solid var(--brand-600); padding-left: 1rem; color: #57534e; font-style: italic; margin: 1rem 0; }

/* Embedded video */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 1rem; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Skeleton / image fallback */
.img-fallback {
    background: linear-gradient(135deg, #fde68a, #fb923c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Ripple button */
.btn-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 0.7rem;
    background: var(--brand-600);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background .15s;
}
.btn-brand:hover { background: var(--brand-700); }

/* Loading overlay for AJAX */
.ajax-loading { opacity: 0.5; pointer-events: none; }
