/* ════════════════════════════════════════════════════════
   HARRIER EV THEME — assets/css/theme.css
   ════════════════════════════════════════════════════════ */

:root {
  --bg:          #070b0f;
  --surface:     #0e1419;
  --surface2:    #151c24;
  --border:      #1e2a36;
  --accent:      #00e5ff;
  --accent2:     #ff6b35;
  --text:        #e8edf2;
  --text-muted:  #6b7d8e;
  --text-dim:    #3a4a58;
  --green:       #00ff88;
  --purple:      #a78bfa;
  --teal:        #2dd4bf;
  --yellow:      #fbbf24;
  --red:         #f87171;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius:     4px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.5);
  --transition: 0.2s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── CONTAINER ── */
.hev-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── LAYOUT ── */
.hev-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px 0 60px;
}
.hev-main { min-width: 0; }

/* ── AD SLOTS ── */
.hev-ad-wrap { border-bottom: 1px solid var(--border); }
.hev-ad-wrap--mobile-top { display: none; }
.ad-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 90px;
  gap: 4px;
  font-family: var(--font-mono);
}
.ad-placeholder__label { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }
.ad-placeholder__size  { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.ad-placeholder__hint  { font-size: 10px; color: var(--accent); text-align: center; max-width: 300px; }
.ad-slot-wrap--ad-inline-1,
.ad-slot-wrap--ad-inline-2  { margin: 32px 0; }
.ad-slot-wrap--ad-sidebar-1,
.ad-slot-wrap--ad-sidebar-2 { margin-bottom: 24px; }
.ad-slot-wrap--ad-sidebar-halfpage { min-height: 600px; margin-bottom: 24px; }
.ad-slot-wrap--ad-sidebar-halfpage .ad-placeholder { min-height: 600px; }
.ad-slot-wrap--ad-mobile-banner { display: none; }

/* ── HEADER ── */
.hev-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,11,15,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.hev-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.hev-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── LOGO ── */
.hev-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; }
.hev-logo__dot { color: var(--accent); }
.hev-logo__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  background: var(--accent);
  color: var(--bg);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-top: 4px;
  text-transform: uppercase;
}
.hev-logo img { height: 40px; width: auto; }

/* ── NAV ── */
.hev-nav { background: var(--surface); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.hev-nav::-webkit-scrollbar { display: none; }
.hev-nav__list { display: flex; padding: 0 24px; white-space: nowrap; position: relative; }
.hev-nav__item { position: relative; }
.hev-nav__link {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.hev-nav__link:hover,
.hev-nav__link--active,
.current-menu-item .hev-nav__link {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.hev-nav__arrow { font-size: 10px; }
.hev-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 200px;
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.hev-nav__item--has-children:hover .hev-nav__dropdown { display: block; }
.hev-nav__dropdown .hev-nav__link { border-bottom: 1px solid var(--border); padding: 10px 16px; }

/* ── SEARCH ── */
.hev-header-search { display: flex; align-items: center; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hev-header-search__input {
  background: none;
  border: none;
  color: var(--text);
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  width: 180px;
  outline: none;
}
.hev-header-search__input::placeholder { color: var(--text-dim); }
.hev-header-search__btn { padding: 7px 10px; color: var(--text-muted); transition: color var(--transition); }
.hev-header-search__btn:hover { color: var(--accent); }

/* ── BUTTONS ── */
.hev-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.hev-btn--primary { background: var(--accent); color: var(--bg); }
.hev-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,229,255,.3); }
.hev-btn--secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.hev-btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.hev-btn--sm  { font-size: 11px; padding: 8px 16px; }
.hev-btn--md  { font-size: 12px; padding: 12px 24px; }
.hev-btn--lg  { font-size: 14px; padding: 16px 32px; }

/* ── BADGES ── */
.hev-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.badge--blue   { background: rgba(0,229,255,.12);  color: var(--accent);  border: 1px solid rgba(0,229,255,.3); }
.badge--orange { background: rgba(255,107,53,.12); color: var(--accent2); border: 1px solid rgba(255,107,53,.3); }
.badge--green  { background: rgba(0,255,136,.08);  color: var(--green);   border: 1px solid rgba(0,255,136,.2); }
.badge--purple { background: rgba(167,139,250,.1); color: var(--purple);  border: 1px solid rgba(167,139,250,.25); }
.badge--cyan   { background: rgba(45,212,191,.1);  color: var(--teal);    border: 1px solid rgba(45,212,191,.25); }
.badge--teal   { background: rgba(45,212,191,.08); color: var(--teal);    border: 1px solid rgba(45,212,191,.2); }
.badge--yellow { background: rgba(251,191,36,.1);  color: var(--yellow);  border: 1px solid rgba(251,191,36,.25); }
.badge--red    { background: rgba(248,113,113,.1); color: var(--red);     border: 1px solid rgba(248,113,113,.25); }
.badge--gray   { background: rgba(255,255,255,.05); color: var(--text-muted); border: 1px solid var(--border); }

/* ── CARDS ── */
.hev-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.hev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.hev-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.hev-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  margin-bottom: 32px;
}
.hev-card__thumb { position: relative; overflow: hidden; display: block; }
.hev-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hev-card__thumb:hover img { transform: scale(1.03); }
.hev-card__thumb--sm { height: 180px; }
.hev-card__thumb-overlay { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.hev-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.hev-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); flex-wrap: wrap; }
.hev-card__title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.hev-card__title a { color: var(--text); transition: color var(--transition); }
.hev-card__title a:hover { color: var(--accent); }
.hev-card__title--lg { font-family: var(--font-display); font-size: 28px; letter-spacing: .03em; line-height: 1.15; }
.hev-card__excerpt { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.7; margin-bottom: 12px; flex: 1; }

/* ── RATING ── */
.hev-rating { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.hev-rating__score { font-family: var(--font-display); font-size: 40px; color: var(--green); line-height: 1; }
.hev-rating__max { font-size: 13px; color: var(--text-muted); }
.hev-stars { position: relative; display: inline-block; font-size: 14px; }
.hev-stars__empty { color: var(--border); letter-spacing: 2px; }
.hev-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--green); letter-spacing: 2px; }

/* ── READ MORE ── */
.hev-read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.hev-read-more:hover { gap: 10px; }

/* ── QUICK SPECS ── */
.hev-quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 0;
}
.hev-quick-specs__item { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 80px; }
.hev-quick-specs__label { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.hev-quick-specs__val { font-family: var(--font-display); font-size: 20px; color: var(--accent); letter-spacing: .03em; }

/* ── PROS & CONS ── */
.hev-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.hev-pros, .hev-cons { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.hev-pros { border-top: 3px solid var(--green); }
.hev-cons { border-top: 3px solid var(--red); }
.hev-pros h3, .hev-cons h3 { font-family: var(--font-display); font-size: 18px; letter-spacing: .05em; margin-bottom: 12px; }
.hev-pros h3 { color: var(--green); }
.hev-cons h3 { color: var(--red); }
.hev-pros li, .hev-cons li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-start; }
.hev-pros li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.hev-cons li::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── VERDICT ── */
.hev-verdict {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.hev-verdict h3 { font-family: var(--font-display); font-size: 24px; color: var(--accent); letter-spacing: .05em; margin-bottom: 10px; }
.hev-verdict p { font-size: 15px; line-height: 1.7; color: var(--text); }

/* ── ARCHIVE HEADER ── */
.hev-archive-header { padding: 32px 0 20px; }
.hev-archive-header__title { font-family: var(--font-display); font-size: 48px; letter-spacing: .03em; margin-bottom: 8px; }
.hev-archive-header__desc { color: var(--text-muted); font-size: 15px; font-weight: 300; }

/* ── FILTER TABS ── */
.hev-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hev-filter-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: all var(--transition);
}
.hev-filter-tab:hover, .hev-filter-tab.is-active { border-color: var(--accent); color: var(--accent); background: rgba(0,229,255,.06); }

/* ── SINGLE POST ── */
.hev-single__header { padding: 32px 0 20px; }
.hev-single__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.hev-single__title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: .02em; margin-bottom: 14px; }
.hev-single__byline { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hev-single__hero-img { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.hev-single__img { width: 100%; max-height: 520px; object-fit: cover; }

/* ── CONTENT BODY ── */
.hev-content h2 { font-family: var(--font-display); font-size: 30px; letter-spacing: .04em; margin: 32px 0 12px; color: var(--text); }
.hev-content h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; margin: 24px 0 10px; color: var(--text); }
.hev-content p  { margin-bottom: 18px; font-weight: 300; line-height: 1.75; color: var(--text); }
.hev-content ul, .hev-content ol { margin: 0 0 18px 20px; list-style: revert; }
.hev-content li { margin-bottom: 6px; font-weight: 300; }
.hev-content a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hev-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--surface);
  font-style: italic;
  color: var(--text-muted);
}
.hev-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.hev-content th { background: var(--surface2); padding: 10px 14px; text-align: left; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--accent); }
.hev-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.hev-content tr:hover td { background: var(--surface); }

/* ── AUTHOR BIO ── */
.hev-author-bio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 32px 0;
}
.hev-author-bio__avatar { border-radius: 50%; flex-shrink: 0; }
.hev-author-bio strong { display: block; font-size: 15px; margin-bottom: 4px; }
.hev-author-bio p { font-size: 13px; color: var(--text-muted); font-weight: 300; margin: 0; }

/* ── BREADCRUMB ── */
.hev-breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); display: flex; gap: 8px; align-items: center; padding: 14px 0; }
.hev-breadcrumb a { color: var(--text-dim); }
.hev-breadcrumb a:hover { color: var(--accent); }
.hev-breadcrumb__sep { opacity: .4; }

/* ── SIDEBAR ── */
.hev-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* ── WIDGETS ── */
.hev-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hev-widget .widget-title,
.hev-widget__header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hev-widget__header::before,
.hev-widget .widget-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}
.hev-widget__list { padding: 4px 0; }
.hev-widget__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.hev-widget__item:last-child { border-bottom: none; }
.hev-widget__item:hover { background: var(--surface2); }
.hev-widget__num { font-family: var(--font-display); font-size: 22px; color: var(--text-dim); line-height: 1; flex-shrink: 0; width: 24px; margin-top: 2px; }
.hev-widget__title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; display: block; margin-bottom: 2px; transition: color var(--transition); }
.hev-widget__item:hover .hev-widget__title { color: var(--accent); }
.hev-widget__meta { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; }

/* ── PAGINATION ── */
.hev-pagination { margin: 32px 0; }
.hev-pagination .nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hev-pagination .page-numbers {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all var(--transition);
}
.hev-pagination .page-numbers:hover,
.hev-pagination .page-numbers.current { border-color: var(--accent); color: var(--accent); background: rgba(0,229,255,.06); }

/* ── FOOTER ── */
.hev-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 60px; }
.hev-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
}
.hev-footer__brand p { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.7; margin: 14px 0 20px; }
.hev-footer__col h4 { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.hev-footer__col ul li { margin-bottom: 8px; }
.hev-footer__col a { font-size: 13px; color: var(--text-dim); transition: color var(--transition); }
.hev-footer__col a:hover { color: var(--accent); }
.hev-footer__nav, .hev-footer__nav ul { list-style: none; padding: 0; }
.hev-footer__nav li { margin-bottom: 8px; }
.hev-footer__nav a { font-size: 13px; color: var(--text-dim); }
.hev-footer__nav a:hover { color: var(--accent); }
.hev-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.hev-footer__legal-list { display: flex; gap: 20px; flex-wrap: wrap; }
.hev-footer__legal-list li a { color: var(--text-dim); font-size: 11px; }
.hev-footer__legal-list li a:hover { color: var(--accent); }

/* ── MISC ── */
.hev-no-results { color: var(--text-muted); padding: 40px 0; }
.hev-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hev-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-muted); transition: all .25s ease; border-radius: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hev-layout { grid-template-columns: 1fr; }
  .hev-footer__main { grid-template-columns: 1fr 1fr; }
  .hev-card--featured { grid-template-columns: 1fr; }
  .hev-ad-wrap--mobile-top { display: block; }
  .hev-ad-wrap--leaderboard-top .ad-placeholder { display: none; }
  .hev-header-search { display: none; }
  .hev-mobile-toggle { display: flex; }
  .hev-nav { display: none; }
  .hev-nav.is-open { display: block; }
  .hev-nav__list { flex-direction: column; padding: 8px 0; }
  .hev-nav__dropdown { position: static; border: none; border-left: 3px solid var(--accent); margin-left: 16px; display: none; }
  .hev-nav__item.is-open .hev-nav__dropdown { display: block; }
}
@media (max-width: 600px) {
  .hev-footer__main { grid-template-columns: 1fr; }
  .hev-pros-cons { grid-template-columns: 1fr; }
  .hev-card-grid { grid-template-columns: 1fr; }
}
