.hero {
    position: relative;
    padding: 5rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-with-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 35%;
    transform: scale(1.03);
}

.hero-with-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8, 18, 31, 0.92) 0%, rgba(8, 18, 31, 0.72) 45%, rgba(8, 18, 31, 0.55) 100%);
}

.hero-inner,
.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero-subtitle { color: var(--text-secondary); max-width: 640px; }

.hero-search {
    display: flex;
    gap: 0.75rem;
    margin: 1.75rem 0;
    max-width: 720px;
}

.hero-search input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; color: var(--gold); }
.hero-stats span { color: var(--text-muted); font-size: 0.85rem; }
.hero-game-link { margin-top: 1.25rem; }

.section { padding: 3rem 0; }
.section-alt { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.section-intro { color: var(--text-muted); margin: -0.5rem 0 0; max-width: 520px; }
.section-head h2, .page-head h1 { font-family: var(--font-heading); margin: 0; }

.page-head { padding: 2.5rem 0 1rem; }
.page-head p { color: var(--text-secondary); }

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.listing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.listing-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.listing-card-link { color: inherit; display: block; }
.listing-card-image {
    aspect-ratio: 16/10;
    background: #152338 center/cover no-repeat;
    position: relative;
}
.listing-chip {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(8, 18, 31, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.listing-card-body { padding: 1rem; }
.similar-listings {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.similar-listings .section-head {
    margin-bottom: 1.25rem;
}
.similar-listings h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 0.25rem;
}
.similar-listings .section-intro {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}
.pending-banner {
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid var(--gold);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}
.blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 4px;
}
.blog-card h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-meta { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.read-more { color: var(--gold); font-weight: 500; }
.blog-body { line-height: 1.7; }
.blog-body ul { padding-left: 1.25rem; }
.agency-checkout-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.agency-email input { width: 100%; }
.hero-agent { font-size: 0.9rem; color: var(--text-muted); margin: 0.75rem 0; }
.hero-agent a { color: var(--gold); }
.agent-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 0.35rem; vertical-align: middle; }
.agent-status-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); margin-bottom: 2rem; }
.agent-pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.agent-pulse.ok { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
.agent-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; }
.agent-stats li { margin: 0; }
.listing-blurb { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; margin: 0.35rem 0; }
.listing-price { color: var(--gold); font-weight: 600; }
.listing-price.large { font-size: 1.6rem; }
.listing-meta, .listing-source { color: var(--text-muted); font-size: 0.88rem; }
.listing-source { display: block; margin-top: 0.5rem; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.filter-bar input, .filter-bar select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.split-grid, .pricing-grid, .sources-grid, .footer-grid {
    display: grid;
    gap: 1.5rem;
}

.split-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sources-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; padding: 2.5rem 0 1rem; }

.pricing-card, .source-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.pricing-card.featured { border-color: var(--gold); }
.pricing-card .price { font-size: 2rem; color: var(--gold); font-family: var(--font-heading); }
.pricing-card .price span { font-size: 0.95rem; color: var(--text-muted); }

.criteria-list { color: var(--text-secondary); line-height: 1.9; }

.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer-brand { font-family: var(--font-heading); color: var(--gold); margin-bottom: 0.5rem; }
.footer-heading { color: var(--text-primary); margin-bottom: 0.5rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--text-muted); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

.property-hero {
    height: 360px;
    border-radius: var(--radius);
    background: #152338 center/cover no-repeat;
    margin-bottom: 1.5rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.property-summary { color: var(--text-secondary); max-width: 760px; line-height: 1.8; }
.property-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.checked-note { color: var(--text-muted); font-size: 0.85rem; }

.eligibility-box {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(177, 130, 55, 0.08);
}

.source-status { display: inline-block; margin-top: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.status-active { color: #6ecf8f; }
.status-planned { color: var(--text-muted); }

.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

.list-form-wrap { max-width: 720px; }
.list-form label { display: block; margin-bottom: 1rem; color: var(--text-secondary); }
.list-form input, .list-form textarea, .list-form select {
    display: block; width: 100%; margin-top: 0.35rem;
    background: var(--bg-secondary); border: 1px solid var(--border);
    color: var(--text-primary); border-radius: var(--radius); padding: 0.7rem 0.85rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: #f08080; }
.form-success { color: #8fd48f; }

.property-video-wrap { margin: 1.5rem 0; }
.property-video { width: 100%; max-height: 480px; border-radius: var(--radius); background: #000; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .hero-search { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}
