/* =====================================================
   MyStarVault.store - Premium Black & Gold Theme
   Global Celebrity Marketplace
   ===================================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --gold: #d4af37;
    --gold-light: #f0d77b;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0d77b 50%, #d4af37 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #777777;
    --border: #2a2a2a;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 10px 40px rgba(0,0,0,0.4);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    color: #000 !important;
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold) !important;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #000 !important;
}

.btn-dark {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ========== Navigation ========== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1205 50%, #0a0a0a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-search {
    max-width: 560px;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 18px 160px 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.hero-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.hero-search .btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 28px;
}

/* ========== Sections ========== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== Cards ========== */
.celeb-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.celeb-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.celeb-card .card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-elevated);
}

.celeb-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.celeb-card:hover .card-img img {
    transform: scale(1.05);
}

.celeb-card .verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.celeb-card .card-body {
    padding: 20px;
}

.celeb-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.celeb-card .card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.celeb-card .price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Category Cards */
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.category-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--gold);
}

/* ========== Forms ========== */
.form-control, .form-select {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 6px;
}

/* ========== Dashboard ========== */
.dashboard-sidebar {
    background: var(--bg-secondary);
    min-height: 100vh;
    border-right: 1px solid var(--border);
    padding: 24px 0;
}

.dashboard-sidebar .nav-link {
    color: var(--text-secondary) !important;
    padding: 12px 24px !important;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold) !important;
    border-left-color: var(--gold);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== Tables ========== */
.table {
    color: var(--text-primary);
}

.table thead th {
    background: var(--bg-elevated);
    border-color: var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    border-color: var(--border);
    vertical-align: middle;
}

/* ========== Badges ========== */
.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-approved, .badge-completed { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge-processing { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

/* ========== Alerts ========== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
}

.alert-success { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.alert-danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.alert-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.alert-info { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

/* ========== Footer ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer a {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== Utilities ========== */
.bg-card { background: var(--bg-card) !important; }
.bg-elevated { background: var(--bg-elevated) !important; }
.border-gold { border-color: var(--gold) !important; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-search {
        margin: 0 auto;
    }
    .section {
        padding: 50px 0;
    }
}
