:root {
  --bg: #0a0a0c;
  --surface: #121216;
  --surface-2: #18181e;
  --surface-3: #202027;
  --text: #e1e1e6;
  --muted: #9898a6;
  --green: #00ff88;
  --green-dim: rgba(0, 255, 136, .12);
  --red: #ff3366;
  --red-dim: rgba(255, 51, 102, .12);
  --border: rgba(255,255,255,.09);
  --shadow: 0 18px 50px rgba(0,0,0,.34);
  --radius: 14px;
  --container: 1180px;
  --font-title: "Orbitron", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 15% 0%, rgba(0,255,136,.07), transparent 27rem), radial-gradient(circle at 85% 24%, rgba(255,51,102,.06), transparent 30rem); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; border-radius: 8px; background: var(--green); color: #04110a; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,10,12,.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.energy-line { height: 3px; background: linear-gradient(90deg, transparent 0 8%, var(--green) 24%, var(--red) 72%, transparent 92%); box-shadow: 0 0 22px rgba(0,255,136,.45); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; font-family: var(--font-title); font-size: 1.3rem; font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.brand img { display: block; width: auto; height: 38px; border-radius: 4px; object-fit: contain; }
.footer-brand .brand img, .footer-bottom .brand img { height: 34px; }
.brand strong { color: var(--red); text-shadow: 0 0 20px rgba(255,51,102,.32); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a:not(.youtube-button) { position: relative; color: #b8b8c3; font-size: .9rem; font-weight: 700; }
.main-nav > a:not(.youtube-button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--green); transition: right .2s ease; }
.main-nav > a:hover, .main-nav > a.is-active { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { right: 0; }
.youtube-button { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem .95rem; border: 1px solid rgba(255,51,102,.45); border-radius: 8px; background: var(--red-dim); color: #fff; font-size: .85rem; font-weight: 800; }
.youtube-button:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.youtube-button svg { width: 18px; fill: currentColor; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--text); transition: transform .2s, opacity .2s; }

.ad-section { padding-block: 1.4rem 1.2rem; text-align: center; }
.ad-label { display: block; margin-bottom: .35rem; color: #666673; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.ad-slot { display: grid; place-items: center; margin-inline: auto; border: 1px dashed rgba(255,255,255,.13); background: #0d0d10; color: #555560; font-family: var(--font-title); font-size: .75rem; letter-spacing: .08em; overflow: hidden; }
.ad-slot > span { display: grid; gap: .2rem; }
.ad-slot small { font-family: var(--font-body); font-size: .65rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.ad-slot--leaderboard { width: min(100%, 728px); height: 90px; }
.ad-slot--sidebar { width: min(100%, 300px); min-height: 250px; }
.article-sidebar .ad-slot--sidebar { min-height: 600px; }

.pulse-strip { border-block: 1px solid var(--border); background: linear-gradient(90deg, rgba(0,255,136,.055), transparent 45%, rgba(255,51,102,.04)); }
.pulse-inner { min-height: 46px; display: flex; align-items: center; gap: 1rem; font-size: .82rem; }
.pulse-label { display: flex; align-items: center; gap: .5rem; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pulse-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-dim), 0 0 14px var(--green); animation: pulse 2s infinite; }
.pulse-inner p { margin: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent, 0 0 18px var(--green); } }

.content-grid, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); padding-block: 3rem 5rem; align-items: start; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.35rem; }
.eyebrow, .widget-kicker { display: block; margin-bottom: .25rem; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--font-title); line-height: 1.18; }
.section-heading h1 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.035em; }
.result-count { padding-bottom: .25rem; color: var(--muted); font-size: .78rem; }
.category-filter { display: flex; gap: .55rem; padding-bottom: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.category-filter::-webkit-scrollbar { display: none; }
.category-filter button { padding: .5rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.category-filter button:hover, .category-filter button.is-active { border-color: var(--green); background: var(--green-dim); color: var(--green); }
.post-list { display: grid; gap: 1.25rem; }
.post-card { position: relative; display: grid; grid-template-columns: 240px minmax(0,1fr); min-height: 180px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(140deg, var(--surface), #101014); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(0,255,136,.35); box-shadow: var(--shadow); }
.post-card:first-child { grid-template-columns: 1fr; min-height: 420px; }
.post-card:first-child .post-image { position: absolute; inset: 0; height: 100%; }
.post-card:first-child .post-image::after { background: linear-gradient(0deg, rgba(10,10,12,.97), rgba(10,10,12,.2) 80%); }
.post-card:first-child .post-body { position: relative; align-self: end; z-index: 2; max-width: 680px; padding: 2rem; }
.post-card:first-child h2 { font-size: clamp(1.45rem, 4vw, 2.2rem); }
.post-image { position: relative; min-height: 180px; overflow: hidden; background: var(--surface-3); }
.post-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(18,18,22,.42)); }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-image img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.4rem; }
.post-labels { display: flex; align-items: center; gap: .55rem; margin-bottom: .65rem; }
.category-tag { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.new-badge { padding: .16rem .42rem; border-radius: 4px; background: var(--red); color: #fff; font-size: .59rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 0 18px rgba(255,51,102,.28); }
.post-card h2 { margin-bottom: .7rem; font-size: clamp(1.05rem, 2vw, 1.25rem); letter-spacing: -.025em; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-excerpt { display: -webkit-box; margin: 0 0 1rem; color: var(--muted); font-size: .88rem; line-height: 1.55; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: auto; color: #858591; font-size: .72rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta svg { width: 14px; height: 14px; fill: currentColor; }
.empty-state, .noscript-message { padding: 3rem 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); text-align: center; }

.sidebar { display: grid; gap: 1.35rem; position: sticky; top: 100px; }
.widget { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.widget-heading h2, .widget h2 { margin-bottom: .8rem; font-size: 1rem; }
.widget p { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.video-frame { position: relative; aspect-ratio: 16/9; margin: .9rem 0; border-radius: 8px; background: #050506; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.channel-widget { overflow: hidden; }
.channel-art { display: block; width: 100%; aspect-ratio: 16 / 9; margin: .9rem 0 1rem; border: 1px solid rgba(0,255,136,.2); border-radius: 10px; background: #0b0e0f; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.channel-art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .35s ease, filter .35s ease; }
.channel-art:hover img { transform: scale(1.025); filter: brightness(1.08); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .7rem 1rem; border-radius: 7px; font-size: .8rem; font-weight: 800; transition: transform .2s, filter .2s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.button--full { width: 100%; }
.button--red { background: var(--red); color: #fff; }
.button--green { background: var(--green); color: #04110a; }
.ad-widget { padding-inline: 0; text-align: center; background: transparent; border-style: dashed; }
.affiliate-widget { background: linear-gradient(155deg, rgba(0,255,136,.1), var(--surface) 48%); }
.affiliate-tag { display: inline-block; margin-bottom: 1rem; padding: .22rem .5rem; border: 1px solid rgba(0,255,136,.38); border-radius: 5px; color: var(--green); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.affiliate-art { display: grid; place-items: center; height: 85px; margin-bottom: 1rem; border: 1px solid rgba(0,255,136,.15); border-radius: 8px; background: radial-gradient(circle, rgba(0,255,136,.16), transparent 65%), #0c0c0f; color: var(--green); font-family: var(--font-title); font-size: 2rem; font-weight: 900; }
.affiliate-art { height: 130px; overflow: hidden; }
.affiliate-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.affiliate-art span { color: var(--red); }
.affiliate-widget small { display: block; margin-top: .75rem; color: #747480; font-size: .66rem; line-height: 1.45; }

.article { min-width: 0; }
.article-hero { margin-bottom: 2rem; }
.breadcrumbs { display: flex; gap: .5rem; margin-bottom: 1.35rem; color: var(--muted); font-size: .78rem; }
.breadcrumbs a:hover { color: var(--green); }
.article .category-tag { display: inline-block; margin-bottom: .8rem; }
.article h1 { max-width: 900px; margin-bottom: 1rem; font-size: clamp(2rem, 5.5vw, 3.7rem); letter-spacing: -.055em; }
.article-lead { max-width: 760px; margin: 0 0 1.25rem; color: #b7b7c2; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.article-meta { padding-block: 1rem; border-block: 1px solid var(--border); }
.article-cover { width: 100%; max-height: 530px; margin: 1.7rem 0 2.4rem; border-radius: var(--radius); object-fit: cover; aspect-ratio: 16/9; background: var(--surface); }
.article-cover:has(+ .article-cover-credit) { margin-bottom: .55rem; }
.article-cover-credit { margin: 0 0 2.4rem; color: #747480; font-size: .72rem; line-height: 1.5; }
.article-body { max-width: 760px; }
.article-body p { margin: 0 0 1.45rem; color: #c9c9d2; font-size: 1.05rem; line-height: 1.85; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.article-body h3 { margin: 2rem 0 .8rem; color: var(--green); font-size: clamp(1.05rem, 2.4vw, 1.3rem); }
.article-body blockquote { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--green); background: var(--green-dim); color: #fff; font-size: 1.08rem; font-weight: 600; }
.article-body .ad-section { margin-block: 2.3rem; padding: 1rem 0; border-block: 1px solid var(--border); }
.article-body .ad-slot { width: 100%; min-height: 250px; }
.article-figure { margin: 2.1rem 0 2.5rem; }
.article-figure img { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: var(--radius); object-fit: cover; background: var(--surface); }
.article-figure figcaption { margin-top: .65rem; color: #777783; font-size: .72rem; line-height: 1.5; }
.article-affiliate, .article-video-cta { margin: 2.5rem 0; padding: clamp(1.35rem, 4vw, 2rem); border: 1px solid rgba(0,255,136,.24); border-radius: var(--radius); background: linear-gradient(145deg, rgba(0,255,136,.11), var(--surface) 55%); }
.article-affiliate h2, .article-video-cta h2 { margin-bottom: .75rem; }
.article-affiliate p, .article-video-cta p { font-size: .95rem; line-height: 1.65; }
.article-affiliate small { display: block; margin-top: .8rem; color: #747480; font-size: .7rem; }
.article-video-cta { border-color: rgba(255,51,102,.28); background: linear-gradient(145deg, rgba(255,51,102,.12), var(--surface) 55%); }
.media-credit { padding-top: 1rem; border-top: 1px solid var(--border); color: #747480 !important; font-size: .75rem !important; }
.media-credit a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: 760px; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.article-tags span { padding: .35rem .65rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: .72rem; }
.not-found { padding: 4rem 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: center; }

.site-footer { border-top: 1px solid var(--border); background: #08080a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 3rem; padding-block: 3.5rem; }
.footer-grid h2 { margin-bottom: 1rem; font-size: .78rem; color: #fff; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-grid a:not(.brand), .footer-grid p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-grid a:hover { color: var(--green); }
.footer-brand p { color: var(--muted); font-size: .8rem; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); color: #747480; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--green); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; inset: calc(100% + 1px) 0 auto; display: grid; gap: 0; padding: .75rem 1rem 1rem; border-bottom: 1px solid var(--border); background: #0d0d10; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .2s ease; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > a:not(.youtube-button) { padding: .85rem .5rem; border-bottom: 1px solid var(--border); }
  .main-nav > a::after { display: none; }
  .youtube-button { justify-content: center; margin-top: .75rem; }
  .content-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-widget, .article-sidebar .ad-widget { grid-column: 1 / -1; }
  .channel-widget .channel-art { max-width: 620px; }
  .article-sidebar .ad-slot--sidebar { min-height: 250px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .header-inner { min-height: 66px; }
  .ad-section { padding-block: .8rem; }
  .ad-slot--leaderboard { width: 320px; max-width: 100%; height: 50px; }
  .pulse-inner { min-height: 42px; }
  .content-grid, .article-layout { padding-block: 2.2rem 3.5rem; }
  .section-heading { align-items: start; }
  .result-count { padding-top: .7rem; }
  .post-card, .post-card:first-child { grid-template-columns: 1fr; min-height: 0; }
  .post-card:first-child .post-image { position: relative; height: 230px; }
  .post-card:first-child .post-image::after, .post-image::after { background: linear-gradient(0deg, rgba(18,18,22,.38), transparent); }
  .post-card:first-child .post-body { padding: 1.2rem; }
  .post-card:first-child h2 { font-size: 1.25rem; }
  .post-image { height: 205px; }
  .post-body { padding: 1.15rem; }
  .post-excerpt { font-size: .85rem; }
  .sidebar { grid-template-columns: 1fr; }
  .channel-widget, .article-sidebar .ad-widget { grid-column: auto; }
  .article h1 { font-size: clamp(1.8rem, 9.5vw, 2.65rem); }
  .article-body p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
