
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0010;
  --bg2: #0d0018;
  --card-bg: #130020;
  --pink: #ff2d78;
  --teal: #00f5d4;
  --orange: #ff6b1a;
  --gold: #ffd700;
  --purple: #9b30ff;
  --text: #e8e0f0;
  --text-dim: #8a7a9a;
  --border: rgba(0,245,212,0.15);
  --header-h: 56px;
  --ticker-h: 36px;
}

html, body, #lhq-site-wrapper, .lhq-main, main {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ===== TICKER ===== */
.lhq-ticker-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ticker-h);
  background: rgba(10,0,16,0.96);
  border-bottom: 1px solid var(--pink);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
}
.ticker-live-badge {
  flex-shrink: 0;
  background: var(--teal);
  color: #000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 10px;
  margin: 0 12px;
  border-radius: 3px;
  box-shadow: 0 0 10px var(--teal), 0 0 20px rgba(0,245,212,0.4);
}
.ticker-track-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-track-wrapper:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-block;
  padding: 0 40px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 0 8px var(--pink), 0 0 15px rgba(255,45,120,0.5);
  letter-spacing: 0.5px;
}
.ticker-item a { color: #fff; }
.ticker-item a:hover { color: var(--teal); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.lhq-header {
  position: fixed;
  top: var(--ticker-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,0,16,0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 32px;
  z-index: 9998;
  backdrop-filter: blur(10px);
}
.lhq-logo { flex-shrink: 0; }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: #fff; letter-spacing: 2px; }
.logo-hq { color: var(--teal); text-shadow: 0 0 10px var(--teal); }
.lhq-logo img { height: 36px; width: auto; }
.lhq-nav { display: flex; gap: 20px; flex: 1; }
.nav-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--teal) !important;
  text-shadow: 0 0 8px rgba(0,245,212,0.6);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--pink) !important; text-shadow: 0 0 8px rgba(255,45,120,0.7); }
.btn-subscribe {
  flex-shrink: 0;
  border: 1px solid var(--teal);
  color: var(--teal) !important;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-radius: 3px;
  transition: all 0.2s;
}
.btn-subscribe:hover { background: var(--teal); color: #000 !important; box-shadow: 0 0 15px rgba(0,245,212,0.5); }

/* ===== MAIN OFFSET ===== */
.lhq-main { padding-top: calc(var(--ticker-h) + var(--header-h)); background-color: var(--bg) !important; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--ticker-h) - var(--header-h));
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: transparent !important;
  background: linear-gradient(
    105deg,
    rgba(10,0,16,0.60) 0%,
    rgba(60,0,30,0.20) 55%,
    rgba(10,0,16,0.05) 100%
  ) !important;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 0 56px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag-row { margin-bottom: 12px; }
.hero-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 4px 12px;
  border-radius: 3px;
  text-shadow: 0 0 8px var(--teal);
}

/* === HERO TITLE BLOCK === */
.hero-title-block {
  position: relative;
  margin-bottom: 14px;
}
/* Ghost watermark behind the solid lines */
.hero-ghost-bg {
  position: absolute;
  top: 30%;
  left: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 9.5vw, 128px);
  line-height: 0.85;
  letter-spacing: 3px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,45,120,0.18);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.hero-line {
  display: block;
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(58px, 7.5vw, 100px);
  line-height: 0.88;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
}
.hero-line-teal {
  color: var(--teal);
  text-shadow: 0 0 25px var(--teal), 0 0 50px rgba(0,245,212,0.3);
}
.hero-line-pink {
  color: var(--pink);
  text-shadow: 0 0 25px var(--pink), 0 0 50px rgba(255,45,120,0.3);
}
.hero-line-white {
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.hero-desc {
  font-size: 14px;
  color: rgba(232,224,240,0.80);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 22px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 11px 26px;
  border-radius: 3px;
  transition: all 0.25s;
  text-shadow: 0 0 8px rgba(0,245,212,0.6);
}
.hero-btn:hover { background: var(--teal); color: #000; text-shadow: none; box-shadow: 0 0 20px rgba(0,245,212,0.5); }
.hero-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(232,224,240,0.35);
}

/* ===== SITE CONTAINER ===== */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--teal);
  text-shadow: 0 0 10px rgba(0,245,212,0.4);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ===== POST GRID ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,245,212,0.1); }
.post-card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-card-img-wrap img { transform: scale(1.04); }
.post-card-body { padding: 16px; }
.post-card-tag { font-family: 'Share Tech Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--pink); text-transform: uppercase; display: block; margin-bottom: 8px; }
.post-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; line-height: 1.2; margin-bottom: 8px; }
.post-card-title a:hover { color: var(--teal); }
.post-card-excerpt { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-date { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: var(--text-dim); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 12px; padding: 24px 0; }
.pagination a { font-family: 'Share Tech Mono', monospace; font-size: 12px; letter-spacing: 1px; color: var(--teal); border: 1px solid var(--border); padding: 8px 16px; border-radius: 3px; transition: all 0.2s; }
.pagination a:hover { border-color: var(--teal); background: rgba(0,245,212,0.1); }

/* ===== SIDEBAR ===== */
.sidebar-col { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.sidebar-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 2px; color: var(--teal); margin-bottom: 10px; }
.sidebar-card-text { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 14px; }
.sidebar-btn { display: block; font-family: 'Share Tech Mono', monospace; font-size: 12px; letter-spacing: 1.5px; color: var(--teal); border: 1px solid var(--teal); padding: 9px 16px; border-radius: 3px; text-align: center; transition: all 0.2s; }
.sidebar-btn:hover { background: var(--teal); color: #000; }

/* ===== TAG HERO ===== */
.tag-hero { background: linear-gradient(135deg, var(--bg2) 0%, rgba(20,0,40,0.9) 100%); border-bottom: 1px solid var(--border); padding: 60px 24px 40px; text-align: center; }
.tag-hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 6vw, 80px); letter-spacing: 4px; color: var(--teal); text-shadow: 0 0 20px rgba(0,245,212,0.4); }
.tag-hero-desc { font-size: 15px; color: var(--text-dim); margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== MAP COMING SOON ===== */
.map-coming-soon { background: linear-gradient(135deg, var(--bg2) 0%, rgba(15,0,30,1) 100%); border-bottom: 2px solid var(--teal); padding: 80px 24px 60px; text-align: center; }
.map-coming-icon { font-size: 64px; margin-bottom: 20px; filter: drop-shadow(0 0 15px var(--teal)); }
.map-coming-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 8vw, 100px); letter-spacing: 6px; color: var(--teal); text-shadow: 0 0 30px rgba(0,245,212,0.5); line-height: 1; }
.map-coming-sub { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 4vw, 48px); letter-spacing: 8px; color: var(--pink); text-shadow: 0 0 20px rgba(255,45,120,0.5); margin-top: 8px; }
.map-coming-desc { font-size: 15px; color: var(--text-dim); max-width: 480px; margin: 20px auto; line-height: 1.7; }
.map-coming-tags { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.map-coming-tags span { font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 2px; color: rgba(0,245,212,0.6); border: 1px solid rgba(0,245,212,0.2); padding: 4px 12px; border-radius: 3px; }

/* ===== SINGLE POST ===== */
.single-post { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.post-hero { width: 100%; height: 400px; background-size: cover; background-position: center; border-radius: 8px; margin-bottom: 40px; }
.post-container { max-width: 760px; margin: 0 auto; }
.post-tag-label { font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--pink); text-transform: uppercase; border: 1px solid var(--pink); padding: 3px 10px; border-radius: 3px; display: inline-block; margin-bottom: 16px; }
.post-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 64px); letter-spacing: 2px; line-height: 1.05; color: #fff; margin-bottom: 16px; }
.post-meta { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--text-dim); display: flex; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.gh-content { color: var(--text); line-height: 1.75; }
.gh-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 1px; color: #fff; margin: 32px 0 12px; }
.gh-content h3 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; color: #fff; margin: 24px 0 10px; }
.gh-content p { margin-bottom: 18px; }
.gh-content a { color: var(--teal); text-decoration: underline; }
.gh-content img { border-radius: 6px; margin: 24px 0; }
.gh-content blockquote { border-left: 3px solid var(--pink); padding: 12px 20px; background: rgba(255,45,120,0.08); margin: 24px 0; font-style: italic; color: var(--text-dim); }

/* ===== FOOTER ===== */
.lhq-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px; }
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-inner .logo-text { font-size: 28px; margin-bottom: 12px; display: block; }
.footer-tagline { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; font-family: 'Share Tech Mono', monospace; letter-spacing: 1px; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-family: 'Share Tech Mono', monospace; font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: rgba(138,122,154,0.5); font-family: 'Share Tech Mono', monospace; }

/* ===== DARK READER OVERRIDE ===== */
.hero-overlay { background-color: transparent !important; }
[data-darkreader-inline-bgcolor] .hero-overlay { --darkreader-inline-bgcolor: transparent !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-container { grid-template-columns: 1fr; }
  .sidebar-col { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lhq-header { padding: 0 16px; gap: 12px; }
  .lhq-nav { display: none; }
  .hero-content { padding: 0 24px; }
  .sidebar-col { grid-template-columns: 1fr; }
}
