* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; background: #0f1115; color: #eaeaea; line-height: 1.5; }
.mp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }

.mp-header { position: sticky; top: 0; background: rgba(15,17,21,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #222; z-index: 100; }
.mp-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.mp-logo { font-size: 20px; font-weight: 700; }
.mp-logo span { color: #f5a623; }
.mp-nav { display: flex; gap: 24px; align-items: center; }
.mp-nav a { color: #9aa0a6; transition: color .2s; }
.mp-nav a:hover { color: #f5a623; }
.mp-btn { background: #f5a623; color: #0f1115 !important; padding: 8px 16px; border-radius: 6px; font-weight: 600; }

.mp-hero { padding: 80px 0 60px; text-align: center; }
.mp-hero h1 { font-size: 42px; margin-bottom: 16px; }
.mp-hero-sub { color: #9aa0a6; font-size: 18px; margin-bottom: 32px; }
.mp-hero-search { display: flex; max-width: 600px; margin: 0 auto 40px; }
.mp-hero-search input { flex: 1; padding: 14px 18px; background: #1a1d24; border: 1px solid #333; border-right: none; border-radius: 6px 0 0 6px; color: #eaeaea; font-size: 16px; outline: none; }
.mp-hero-search button { padding: 14px 28px; background: #f5a623; border: none; border-radius: 0 6px 6px 0; color: #0f1115; font-weight: 700; cursor: pointer; font-size: 16px; }
.mp-hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 40px; }
.mp-hero-stats div { display: flex; flex-direction: column; }
.mp-hero-stats b { font-size: 32px; color: #f5a623; }
.mp-hero-stats span { color: #9aa0a6; font-size: 14px; }

.mp-section { padding: 60px 0; }
.mp-section-dark { background: #12151a; }
.mp-section h2 { font-size: 32px; margin-bottom: 24px; }

.mp-filters { display: flex; gap: 12px; margin-bottom: 24px; }
.mp-filters select { padding: 10px 14px; background: #1a1d24; border: 1px solid #333; border-radius: 6px; color: #eaeaea; font-size: 14px; }

.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mp-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: #9aa0a6; }

.mp-card { background: #1a1d24; border: 1px solid #222; border-radius: 10px; padding: 20px; transition: border-color .2s, transform .2s; }
.mp-card:hover { border-color: #f5a623; transform: translateY(-2px); }
.mp-card-type { display: inline-block; padding: 2px 8px; font-size: 11px; border-radius: 4px; background: #f5a623; color: #0f1115; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.mp-card-title { font-size: 18px; margin-bottom: 8px; }
.mp-card-desc { color: #9aa0a6; font-size: 14px; margin-bottom: 16px; min-height: 42px; }
.mp-card-price { font-size: 20px; color: #f5a623; font-weight: 700; }
.mp-card-seller { font-size: 12px; color: #666; margin-top: 12px; }

.mp-form { display: grid; gap: 12px; max-width: 500px; }
.mp-form input, .mp-form textarea { padding: 12px 14px; background: #0f1115; border: 1px solid #333; border-radius: 6px; color: #eaeaea; font-family: inherit; font-size: 14px; outline: none; }
.mp-form input:focus, .mp-form textarea:focus { border-color: #f5a623; }
.mp-form button { padding: 14px; background: #f5a623; color: #0f1115; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 16px; }
.mp-msg { padding: 12px; border-radius: 6px; margin-top: 8px; font-size: 14px; }
.mp-msg.success { background: #1a3a1a; color: #7dc97d; }
.mp-msg.error { background: #3a1a1a; color: #e77; }

.mp-footer { padding: 30px 0; text-align: center; color: #666; border-top: 1px solid #222; font-size: 14px; }

@media (max-width: 640px) {
  .mp-hero h1 { font-size: 28px; }
  .mp-nav a:not(.mp-btn) { display: none; }
  .mp-hero-stats { gap: 30px; }
}

/* Ссылка на Щит Воблы */
.mp-shield-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(245,166,35,0.1); border: 1px solid #f5a623; border-radius: 20px; color: #f5a623; font-size: 13px; font-weight: 600; transition: all .2s; }
.mp-shield-link:hover { background: #f5a623; color: #0f1115; }
.mp-shield-link span { color: inherit; }

.mp-shield-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(245,166,35,0.1); border: 1px solid #f5a623; border-radius: 20px; color: #f5a623; font-size: 13px; font-weight: 600; transition: all .2s; }
.mp-shield-link:hover { background: #f5a623; color: #0f1115; }
.mp-shield-link span { color: inherit; }

.mp-footer-legal { margin-bottom: 12px; font-size: 13px; }
.mp-footer-legal a { color: #f5a623; margin: 0 4px; }
.mp-footer-legal a:hover { text-decoration: underline; }

.mp-footer-legal { margin-bottom: 12px; font-size: 13px; }
.mp-footer-legal a { color: #f5a623; margin: 0 4px; }
.mp-footer-legal a:hover { text-decoration: underline; }

.mp-footer-legal { margin-bottom: 12px; font-size: 13px; }
.mp-footer-legal a { color: #f5a623; margin: 0 4px; }
.mp-footer-legal a:hover { text-decoration: underline; }

/* Компактная шапка */
.mp-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 20px; }
.mp-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mp-nav a:not(.mp-btn):not(.mp-shield-link) { color: #9aa0a6; font-size: 14px; transition: color .2s; }
.mp-nav a:not(.mp-btn):not(.mp-shield-link):hover { color: #f5a623; }
.mp-shield-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(245,166,35,0.08); border: 1px solid rgba(245,166,35,0.4); border-radius: 16px; color: #f5a623 !important; font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap; }
.mp-shield-link:hover { background: #f5a623; color: #0f1115 !important; }
.mp-shield-link span { color: inherit; }
.mp-btn { padding: 8px 16px; font-size: 13px; white-space: nowrap; }

@media (max-width: 768px) {
  .mp-nav a:not(.mp-btn) { display: none; }
  .mp-nav .mp-btn { display: inline-block; }
}

.mp-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 20px; }
.mp-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mp-nav a:not(.mp-btn):not(.mp-shield-link) { color: #9aa0a6; font-size: 14px; transition: color .2s; }
.mp-nav a:not(.mp-btn):not(.mp-shield-link):hover { color: #f5a623; }
.mp-shield-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(245,166,35,0.08); border: 1px solid rgba(245,166,35,0.4); border-radius: 16px; color: #f5a623 !important; font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap; }
.mp-shield-link:hover { background: #f5a623; color: #0f1115 !important; }
.mp-shield-link span { color: inherit; }
.mp-btn { padding: 8px 16px; font-size: 13px; white-space: nowrap; }

@media (max-width: 768px) {
  .mp-nav a:not(.mp-btn) { display: none; }
  .mp-nav .mp-btn { display: inline-block; }
}
