/*
Theme Name: WarungTekno NeonPress
Theme URI: https://warungtekno.com
Author: Open AI for WarungTekno
Description: Premium cyberpunk news magazine theme for WarungTekno — flagship editorial UI with local inline styling.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warungtekno-neonpress
Tags: blog, news, grid-layout, custom-logo, featured-images, responsive-layout
*/

@charset "UTF-8";

:root {
  --wt-void: #03040a;
  --wt-night: #070b18;
  --wt-panel: rgba(9, 15, 32, .72);
  --wt-panel-2: rgba(255, 255, 255, .055);
  --wt-text: #f7fbff;
  --wt-muted: rgba(247, 251, 255, .7);
  --wt-soft: rgba(247, 251, 255, .42);
  --wt-cyan: #58f8ff;
  --wt-pink: #ff4ced;
  --wt-gold: #fff3a8;
  --wt-violet: #8d68ff;
  --wt-line: rgba(247, 251, 255, .13);
  --wt-radius: 30px;
  --wt-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wt-text);
  background:
    radial-gradient(circle at 15% -10%, rgba(88,248,255,.16), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(255,76,237,.14), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(141,104,255,.16), transparent 35%),
    linear-gradient(180deg, #03040a 0%, #070b18 52%, #020309 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88,248,255,.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,76,237,.047) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

.wt-progress { position: fixed; left: 0; top: 0; z-index: 1000; height: 3px; width: 0; background: linear-gradient(90deg, var(--wt-cyan), var(--wt-pink), var(--wt-gold)); box-shadow: 0 0 20px rgba(88,248,255,.72); }
.wt-stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: .62; }

.wt-loader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(88,248,255,.18), transparent 28%), radial-gradient(circle at 58% 58%, rgba(255,76,237,.14), transparent 30%), #03040a; transition: opacity .8s var(--wt-ease), visibility .8s var(--wt-ease), transform .8s var(--wt-ease); }
.wt-loader.is-loaded { opacity: 0; visibility: hidden; transform: scale(1.04); pointer-events: none; }
.wt-loader-card { width: min(420px, calc(100vw - 48px)); padding: 34px 30px; text-align: center; border: 1px solid rgba(88,248,255,.24); border-radius: 32px; background: rgba(255,255,255,.055); backdrop-filter: blur(22px); box-shadow: 0 44px 130px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12); }
.wt-loader-card img { width: 260px; margin: 0 auto 18px; animation: wtFloat 3s var(--wt-ease) infinite; }
.wt-loader-card strong { display: block; letter-spacing: .16em; text-transform: uppercase; color: var(--wt-cyan); font-size: .82rem; }
.wt-loader-card span { display: block; margin-top: 10px; color: var(--wt-muted); font-size: .9rem; }

.wt-site { position: relative; z-index: 1; }
.wt-header { position: sticky; top: 0; z-index: 100; padding: 18px clamp(18px, 4vw, 62px) 0; }
.wt-nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 14px 12px 18px; border: 1px solid rgba(247,251,255,.13); border-radius: 999px; background: rgba(3, 4, 10, .68); backdrop-filter: blur(24px); box-shadow: 0 22px 80px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.wt-logo, .custom-logo-link { display: inline-flex; align-items: center; color: var(--wt-text); }
.wt-logo img { width: 210px; max-height: 58px; }
.wt-logo-inline { display: inline-flex; align-items: center; gap: 12px; }
.wt-logo-inline b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(135deg, var(--wt-cyan), var(--wt-pink), var(--wt-gold)); color: #03040a; font-weight: 1000; letter-spacing: -.08em; box-shadow: 0 0 34px rgba(255,76,237,.28); }
.wt-logo-inline strong { display: block; line-height: .88; font-size: 1.05rem; letter-spacing: -.055em; text-transform: uppercase; }
.custom-logo { max-height: 54px; width: auto; }
.wt-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.wt-nav a { display: inline-flex; padding: 11px 13px; border-radius: 999px; color: var(--wt-muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .13em; font-weight: 900; transition: .25s var(--wt-ease); }
.wt-nav a:hover { color: var(--wt-text); background: rgba(255,255,255,.075); box-shadow: inset 0 0 0 1px rgba(88,248,255,.18); }
.wt-nav-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border-radius: 999px; color: #03040a; background: linear-gradient(135deg, var(--wt-cyan), var(--wt-pink)); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 1000; box-shadow: 0 16px 46px rgba(255,76,237,.18); }
.wt-menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.wt-menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--wt-text); }

.wt-main { padding: 0 clamp(18px, 4vw, 62px) 80px; }
.wt-hero { position: relative; min-height: calc(100vh - 92px); display: grid; align-items: center; overflow: hidden; padding: 74px 0 72px; }
.wt-hero::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(1000px, 110vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) rotateX(68deg); border: 1px solid rgba(88,248,255,.18); box-shadow: inset 0 0 80px rgba(88,248,255,.04); animation: wtOrbit 28s linear infinite; }
.wt-hero-inner { width: min(1300px, 100%); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 78px); align-items: center; position: relative; z-index: 2; }
.wt-kicker { display: inline-flex; color: var(--wt-cyan); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 1000; margin-bottom: 18px; text-shadow: 0 0 18px rgba(88,248,255,.55); }
.wt-hero h1, .wt-section-head h1, .wt-section-head h2, .wt-article-header h1 { margin: 0; line-height: .84; letter-spacing: -.09em; text-transform: uppercase; }
.wt-hero h1 { font-size: clamp(4.2rem, 10vw, 11.5rem); max-width: 940px; background: linear-gradient(110deg, #fff, #bffcff 24%, #ffb9fa 58%, #fff3a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wt-hero p, .wt-section-head p, .wt-featured-card p, .wt-post-card p, .wt-dek, .wt-footer p, .wt-empty p { color: var(--wt-muted); line-height: 1.72; }
.wt-hero p { max-width: 650px; font-size: clamp(1.04rem, 1.4vw, 1.22rem); }
.wt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.wt-button, .wt-search-form button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 21px; border-radius: 999px; border: 1px solid rgba(88,248,255,.32); background: linear-gradient(135deg, rgba(88,248,255,.96), rgba(255,76,237,.9)); color: #04020b; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 1000; box-shadow: 0 18px 70px rgba(255,76,237,.18); transition: transform .25s var(--wt-ease), box-shadow .25s var(--wt-ease); }
.wt-button::after { content: ""; position: absolute; inset: -60% -90%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.55), transparent 58%); transform: translateX(-80%) rotate(12deg); transition: transform .7s var(--wt-ease); }
.wt-button:hover::after { transform: translateX(80%) rotate(12deg); }
.wt-button.ghost { color: var(--wt-text); background: rgba(255,255,255,.06); }
.wt-button:hover, .wt-search-form button:hover { transform: translateY(-4px); box-shadow: 0 22px 86px rgba(88,248,255,.24); }
.neon-panel { border: 1px solid rgba(247,251,255,.12); background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); border-radius: var(--wt-radius); box-shadow: 0 34px 120px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(18px); position: relative; overflow: hidden; }
.neon-panel::after { content: ""; position: absolute; inset: -40% -80%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.15), transparent 58%); transform: translateX(-80%) rotate(12deg); animation: wtSweep 9s var(--wt-ease) infinite; pointer-events: none; }
.wt-featured-card { padding: clamp(22px, 3vw, 34px); transform-style: preserve-3d; transition: transform .28s ease-out; }
.wt-card-label, .post-chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(88,248,255,.09); border: 1px solid rgba(88,248,255,.18); color: var(--wt-cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; font-weight: 1000; }
.wt-featured-thumb { aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; margin: 18px 0; background: radial-gradient(circle at 50% 40%, rgba(255,76,237,.28), transparent 32%), linear-gradient(135deg, rgba(88,248,255,.18), rgba(141,104,255,.16)); }
.wt-featured-thumb img, .wt-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--wt-ease); }
.wt-featured-card:hover img, .wt-post-card:hover img { transform: scale(1.06); }
.wt-featured-thumb.placeholder { display: grid; place-items: center; min-height: 300px; }
.wt-featured-thumb.placeholder img { object-fit: contain; padding: 10px; opacity: .92; }
.wt-featured-card h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .95; letter-spacing: -.06em; }

.wt-hero-orbital, .wt-hero-mecha, .wt-laser { position: absolute; pointer-events: none; z-index: 1; }
.wt-hero-orbital { right: -7%; top: 3%; width: min(720px, 60vw); opacity: .78; animation: wtShipFloat 8s var(--wt-ease) infinite; }
.wt-hero-mecha { right: 21%; bottom: -8%; width: min(520px, 42vw); opacity: .92; filter: drop-shadow(0 40px 70px rgba(0,0,0,.38)); animation: wtFloat 5.2s var(--wt-ease) infinite; }
.wt-laser { height: 2px; width: 280px; background: linear-gradient(90deg, transparent, var(--wt-pink), var(--wt-gold)); box-shadow: 0 0 18px var(--wt-pink); transform-origin: left center; opacity: 0; }
.laser-one { right: 27%; top: 39%; transform: rotate(-18deg); animation: wtLaser 4.2s ease-in-out infinite; }
.laser-two { right: 10%; top: 58%; transform: rotate(16deg); animation: wtLaser 5.5s ease-in-out -1.5s infinite; --r: 16deg; }

.wt-section-head { max-width: 920px; margin: 0 auto 42px; text-align: center; }
.wt-section-head.compact { margin-bottom: 24px; }
.wt-section-head h1, .wt-section-head h2 { font-size: clamp(2.8rem, 7vw, 7rem); }
.wt-news-lab, .wt-category-radar { width: min(1280px, 100%); margin: 0 auto; padding: 86px 0; }
.wt-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wt-post-card { transition: transform .25s var(--wt-ease), border-color .25s var(--wt-ease); }
.wt-post-card:hover { transform: translateY(-8px); border-color: rgba(88,248,255,.28); }
.wt-post-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: linear-gradient(135deg, rgba(88,248,255,.16), rgba(255,76,237,.16)); }
.wt-thumb-fallback { height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 1000; color: var(--wt-cyan); }
.wt-thumb-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(88,248,255,.25), transparent); height: 34%; transform: translateY(-100%); animation: wtScan 5s var(--wt-ease) infinite; }
.wt-post-body { padding: 20px; }
.wt-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--wt-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin-bottom: 14px; }
.wt-post-card h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.04; letter-spacing: -.045em; }
.wt-read-more { display: inline-flex; margin-top: 10px; color: var(--wt-gold); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 1000; }
.wt-radar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.wt-radar-card { min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s var(--wt-ease); }
.wt-radar-card:hover { transform: translateY(-7px) rotate(-1deg); }
.wt-radar-card span, .wt-radar-card em { color: var(--wt-soft); font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.wt-radar-card strong { font-size: 1.35rem; letter-spacing: -.04em; }

.wt-single-main { width: min(980px, 100%); margin: 0 auto; padding-top: 70px; }
.wt-article { padding: clamp(24px, 5vw, 58px); }
.wt-article-header h1 { font-size: clamp(3rem, 7vw, 7.5rem); }
.wt-featured-image { margin: 34px 0; border-radius: 28px; overflow: hidden; }
.wt-content { color: rgba(247,251,255,.86); font-size: 1.08rem; line-height: 1.82; }
.wt-content a { color: var(--wt-cyan); text-decoration: underline; text-decoration-color: rgba(88,248,255,.35); }
.wt-content h2, .wt-content h3 { line-height: 1.05; letter-spacing: -.045em; }
.wt-content blockquote { margin: 32px 0; padding: 24px; border-left: 4px solid var(--wt-pink); background: rgba(255,255,255,.055); border-radius: 18px; }
.wt-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.wt-tags span { color: var(--wt-gold); }
.wt-post-nav { margin-top: 18px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wt-post-nav div:last-child { text-align: right; }
.wt-search-form { display: flex; gap: 10px; margin-top: 18px; }
.wt-search-form label { flex: 1; }
.wt-search-form input { width: 100%; min-height: 50px; border-radius: 999px; border: 1px solid rgba(247,251,255,.14); background: rgba(255,255,255,.06); color: var(--wt-text); padding: 0 18px; }
.wt-pagination { margin-top: 38px; text-align: center; }
.wt-pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.wt-pagination a, .wt-pagination span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.06); }
.wt-footer { padding: 70px clamp(18px, 4vw, 62px) 30px; border-top: 1px solid rgba(247,251,255,.1); background: rgba(3,4,10,.72); }
.wt-footer-grid { width: min(1280px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px; }
.wt-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--wt-cyan); }
.wt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wt-footer-bottom { width: min(1280px, 100%); margin: 42px auto 0; padding-top: 22px; border-top: 1px solid rgba(247,251,255,.09); display: flex; justify-content: space-between; gap: 16px; color: var(--wt-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

@keyframes wtOrbit { to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); } }
@keyframes wtSweep { 0%,20% { transform: translateX(-80%) rotate(12deg); opacity: 0; } 34% { opacity: 1; } 54%,100% { transform: translateX(80%) rotate(12deg); opacity: 0; } }
@keyframes wtFloat { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes wtShipFloat { 0%,100% { transform: translate(0,0) rotate(-2deg); } 45% { transform: translate(-28px, 20px) rotate(2deg); } 72% { transform: translate(10px, 34px) rotate(-1deg); } }
@keyframes wtLaser { 0%, 68%, 100% { opacity: 0; transform: scaleX(.1) rotate(var(--r, -18deg)); } 72%, 82% { opacity: 1; transform: scaleX(1) rotate(var(--r, -18deg)); } }
@keyframes wtScan { 0%, 30% { transform: translateY(-100%); opacity: 0; } 45%, 70% { opacity: .85; } 86%,100% { transform: translateY(240%); opacity: 0; } }

@media (max-width: 1080px) {
  .wt-hero-inner, .wt-footer-grid { grid-template-columns: 1fr; }
  .wt-post-grid { grid-template-columns: repeat(2, 1fr); }
  .wt-radar-grid { grid-template-columns: repeat(3, 1fr); }
  .wt-hero-mecha { right: 2%; opacity: .28; }
  .wt-hero-orbital { opacity: .3; }
}
@media (max-width: 760px) {
  .wt-header { padding-inline: 12px; }
  .wt-main { padding-inline: 14px; }
  .wt-nav-shell { border-radius: 28px; align-items: center; }
  .wt-logo img { width: 165px; }
  .wt-logo-inline b { width: 46px; height: 46px; }
  .wt-logo-inline strong { font-size: .92rem; }
  .wt-nav-cta { display: none; }
  .wt-menu-toggle { display: block; }
  .wt-nav { display: none; position: absolute; left: 14px; right: 14px; top: 84px; padding: 14px; border-radius: 24px; background: rgba(3,4,10,.96); border: 1px solid rgba(247,251,255,.14); }
  .wt-nav.is-open { display: block; }
  .wt-nav ul { display: grid; }
  .wt-post-grid, .wt-radar-grid, .wt-post-nav { grid-template-columns: 1fr; }
  .wt-hero { min-height: auto; padding-top: 48px; }
  .wt-hero h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .wt-hero-mecha { width: 260px; bottom: 0; opacity: .22; }
  .wt-hero-orbital { width: 420px; right: -35%; top: 10%; }
  .wt-laser { display: none; }
  .wt-hero-actions, .wt-button, .wt-search-form { width: 100%; }
  .wt-search-form { flex-direction: column; }
  .wt-footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .wt-loader, .wt-stars { display: none; }
}
