:root {
    --mh-bg: #0d0d0d;
    --mh-surface: #1a1a1a;
    --mh-border: #2a2a2a;
    --mh-yellow: #f5c518;
    --mh-yellow-dark: #1a1404;
    --mh-text-muted: #9a9a9a;
}

body {
    background-color: var(--mh-bg);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
    text-decoration: none;
}

.accent {
    color: var(--mh-yellow);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--mh-yellow);
    color: var(--mh-yellow-dark);
    margin-right: 8px;
    font-size: 16px;
}

.navbar-brand {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.site-header {
    border-bottom: 1px solid var(--mh-border);
    padding: 0.5rem 0;
}

.nav-link {
    color: #b8b8b8 !important;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #fff !important;
}

.btn-accent {
    background-color: var(--mh-yellow);
    color: var(--mh-yellow-dark) !important;
    border: none;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #ffd84a;
    color: var(--mh-yellow-dark) !important;
}

.btn-outline-accent {
    border: 1px solid var(--mh-yellow);
    color: var(--mh-yellow) !important;
    background: transparent;
}

.btn-outline-accent:hover {
    background-color: var(--mh-yellow);
    color: var(--mh-yellow-dark) !important;
}

/* Hero */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p.lead {
    color: var(--mh-text-muted);
    font-size: 1rem;
}

.search-box {
    max-width: 560px;
    margin: 1.5rem auto 1rem;
}

.search-box .form-control {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    color: #fff;
    height: 48px;
}

.search-box .form-control:focus {
    border-color: var(--mh-yellow);
    box-shadow: none;
}

.search-box .btn {
    height: 48px;
    padding: 0 1.5rem;
}

.chip {
    display: inline-block;
    font-size: 0.8rem;
    color: #aaa;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    padding: 4px 12px;
    margin: 4px;
    text-decoration: none;
}

.chip:hover {
    border-color: var(--mh-yellow);
    color: var(--mh-yellow);
}

/* Features strip */
.features {
    border-top: 1px solid var(--mh-border);
    border-bottom: 1px solid var(--mh-border);
}

.feature-item {
    padding: 1.25rem 1rem;
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--mh-yellow);
}

.feature-item p.title {
    margin: 0.5rem 0 0.1rem;
    font-size: 0.9rem;
    color: #fff;
}

.feature-item p.subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: var(--mh-text-muted);
}

/* Category cards */
.category-card {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: border-color 0.15s ease;
    color: #fff;
    display: block;
}

.category-card:hover {
    border-color: var(--mh-yellow);
    color: #fff;
}

.category-card i {
    font-size: 1.75rem;
    color: var(--mh-yellow);
}

.category-card p {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}

/* CTA bar */
.cta-bar {
    border-top: 1px solid var(--mh-border);
    padding: 1.5rem 0;
}

.cta-bar p {
    color: var(--mh-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Listing card */
.listing-card {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.listing-card .listing-photo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #222;
}

.listing-card .listing-photo-placeholder {
    width: 100%;
    height: 160px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 2rem;
}

.listing-card .body {
    padding: 0.85rem 1rem;
}

.listing-card .title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.listing-card .price {
    color: var(--mh-yellow);
    font-weight: 700;
    font-size: 1.05rem;
}

.listing-card .meta {
    font-size: 0.8rem;
    color: var(--mh-text-muted);
}

.badge-pinned {
    background: var(--mh-yellow);
    color: var(--mh-yellow-dark);
    font-size: 0.7rem;
    font-weight: 600;
}

/* Forms */
.form-section {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    padding: 2rem;
}

.form-section label {
    color: #ccc;
    font-size: 0.9rem;
}

.form-section .form-control,
.form-section .form-select {
    background: var(--mh-bg);
    border: 1px solid var(--mh-border);
    color: #fff;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
    border-color: var(--mh-yellow);
    box-shadow: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--mh-border);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-link {
    color: var(--mh-text-muted);
}

.footer-link:hover {
    color: var(--mh-yellow);
}

/* Section heading */
.section-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.page-section {
    padding: 2.5rem 0;
}

/* How it works */
.how-card {
    background: var(--mh-surface);
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    height: 100%;
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mh-yellow);
    color: var(--mh-yellow-dark);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.how-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.how-text {
    color: var(--mh-text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}
