/*
Theme Name: x20.online
Theme URI: https://x20.online
Author: x20.online
Author URI: https://x20.online
Description: Custom futuristic theme matching the main x20.online website. Network distribution branding with neon green/cyan accents, glassmorphism cards and dark mode.
Version: 1.10.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ovm
*/

/* ════════════════════════════════════════════════
   CSS Variables — matches main site
   ════════════════════════════════════════════════ */

:root {
  --neon: #00ff88;
  --neon-dim: rgba(0, 255, 136, 0.15);
  --neon-glow: rgba(0, 255, 136, 0.35);
  --cyan: #00d4ff;
  --bg: #020409;
  --bg2: #060c14;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(0, 255, 136, 0.12);
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-dimmer: #475569;
}

/* ════════════════════════════════════════════════
   Reset & base
   ════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-glow); }

a { color: var(--neon); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan); }

img { max-width: 100%; height: auto; display: block; }

/* ════════════════════════════════════════════════
   Keyframes
   ════════════════════════════════════════════════ */

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,255,136,0.2), 0 0 40px rgba(0,255,136,0.05); }
  50%      { box-shadow: 0 0 40px rgba(0,255,136,0.45), 0 0 80px rgba(0,255,136,0.15); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ════════════════════════════════════════════════
   Utilities (mimic the main site)
   ════════════════════════════════════════════════ */

.ovm-neon-text {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ovm-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ovm-neon-border {
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ovm-neon-border:hover {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 0 30px rgba(0,255,136,0.08), inset 0 0 30px rgba(0,255,136,0.03);
}

.ovm-eyebrow {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--neon);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.ovm-mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.ovm-dot-grid {
  background-image: radial-gradient(rgba(0,255,136,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Corner brackets */
.corner-tl, .corner-tr, .corner-bl, .corner-br {
  position: absolute;
  width: 20px; height: 20px;
  border-color: rgba(0,255,136,0.4);
}
.corner-tl { top: 0; left: 0;  border-top: 2px solid; border-left:  2px solid; }
.corner-tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 0; left: 0;  border-bottom: 2px solid; border-left:  2px solid; }
.corner-br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

/* Buttons */
.ovm-btn-neon {
  display: inline-block;
  background: linear-gradient(135deg, #00ff88, #00c866);
  color: #020409 !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.ovm-btn-neon:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(0,255,136,0.5); color: #020409 !important; }

.ovm-btn-ghost {
  display: inline-block;
  border: 1px solid rgba(0,255,136,0.25);
  color: var(--text-dim) !important;
  padding: 12px 24px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.ovm-btn-ghost:hover {
  border-color: rgba(0,255,136,0.6);
  color: var(--neon) !important;
  box-shadow: 0 0 20px rgba(0,255,136,0.1);
}

/* ════════════════════════════════════════════════
   Navbar
   ════════════════════════════════════════════════ */

.ovm-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 4, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,255,136,0.08);
}

.ovm-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ovm-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ovm-logo-link img {
  height: 51px;
  width: auto;
}

.ovm-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}
.ovm-nav-links li { margin: 0; }
.ovm-nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}
.ovm-nav-links a:hover, .ovm-nav-links a.active {
  color: var(--neon);
}
.ovm-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width 0.3s;
}
.ovm-nav-links a:hover::after, .ovm-nav-links a.active::after {
  width: 100%;
}

.ovm-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ovm-cta {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ovm-nav-links { display: none; }
  .ovm-logo-link img { height: 42px; }
  .ovm-nav-actions .ovm-cta { display: none; }
}

/* ════════════════════════════════════════════════
   Language Switcher (Polylang)
   ════════════════════════════════════════════════ */

.ovm-lang-switcher {
  position: relative;
}

.ovm-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 2px;
  color: #cbd5e1;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  transition: all 0.2s;
}
.ovm-lang-trigger:hover {
  border-color: rgba(0,255,136,0.6);
  color: var(--neon);
}

.ovm-lang-flag {
  font-size: 16px;
  line-height: 1;
}

.ovm-lang-code {
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ovm-lang-chevron {
  transition: transform 0.2s;
}

.ovm-lang-switcher.open .ovm-lang-chevron {
  transform: rotate(180deg);
}

/* ─── Dropdown menu ─── */
.ovm-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 224px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(7, 12, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,136,0.08);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.ovm-lang-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.ovm-lang-switcher.open .ovm-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ovm-lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.ovm-lang-item:hover {
  background: rgba(0,255,136,0.05);
}
.ovm-lang-item.active {
  background: rgba(0,255,136,0.1);
}
.ovm-lang-item.active .ovm-lang-native {
  color: var(--neon);
  font-weight: 700;
}

.ovm-lang-item .ovm-lang-flag {
  font-size: 20px;
  flex-shrink: 0;
}

.ovm-lang-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ovm-lang-native {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.2;
}

.ovm-lang-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  margin-top: 2px;
}

.ovm-lang-check {
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   Main
   ════════════════════════════════════════════════ */

.ovm-main {
  min-height: calc(100vh - 64px);
}

/* ════════════════════════════════════════════════
   Blog hero / page header
   ════════════════════════════════════════════════ */

.ovm-blog-hero {
  position: relative;
  padding: 96px 24px 64px;
  overflow: hidden;
  background-image: radial-gradient(rgba(0,255,136,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ovm-blog-hero-bg-orb {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,136,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite;
}

.ovm-blog-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fade-up 0.7s ease forwards;
}

.ovm-hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: white;
}

.ovm-hero-sub {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   Posts grid
   ════════════════════════════════════════════════ */

.ovm-posts {
  padding: 64px 24px 96px;
}

.ovm-posts-container {
  max-width: 1280px;
  margin: 0 auto;
}

.ovm-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Post card */
.ovm-post-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,255,136,0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.ovm-post-card:hover {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 0 30px rgba(0,255,136,0.08);
  transform: translateY(-2px);
}

.ovm-post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.ovm-post-card:hover::before { opacity: 1; }

.ovm-post-thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg2);
}
.ovm-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ovm-post-card:hover .ovm-post-thumbnail img {
  transform: scale(1.05);
}

.ovm-post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ovm-post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.ovm-post-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px 0;
}
.ovm-post-title a {
  color: white;
  transition: color 0.2s;
}
.ovm-post-title a:hover {
  color: var(--neon);
}

.ovm-post-excerpt {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px 0;
  flex: 1;
}

.ovm-read-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon);
  text-transform: uppercase;
  align-self: flex-start;
  transition: gap 0.2s;
}
.ovm-read-more:hover {
  color: var(--cyan);
  letter-spacing: 0.2em;
}

.ovm-no-posts {
  text-align: center;
  color: var(--text-dim);
  padding: 80px 24px;
}

/* Pagination */
.ovm-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ovm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 2px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  transition: all 0.2s;
}
.ovm-pagination .page-numbers:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.ovm-pagination .page-numbers.current {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--bg);
  font-weight: 700;
}

/* ════════════════════════════════════════════════
   Fallback banner (when language has no posts yet)
   ════════════════════════════════════════════════ */

.ovm-fallback-banner {
  padding: 0 24px;
  margin-top: -24px;
  margin-bottom: 24px;
}

.ovm-fallback-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 2px;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ovm-fallback-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ovm-fallback-text {
  flex: 1;
  min-width: 0;
}

.ovm-fallback-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neon);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

.ovm-fallback-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .ovm-fallback-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }
  .ovm-fallback-title { font-size: 14px; }
  .ovm-fallback-sub   { font-size: 12px; }
}

.ovm-no-posts-block {
  text-align: center;
  padding: 80px 24px;
}

/* ════════════════════════════════════════════════
   Single post / Page
   ════════════════════════════════════════════════ */

.ovm-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 96px;
}

.ovm-single-header {
  text-align: center;
  margin-bottom: 48px;
}

.ovm-single-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: white;
}

.ovm-single-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  margin: 0;
}

.ovm-single-thumbnail {
  margin: 0 -24px 48px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(0,255,136,0.12);
}
.ovm-single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.ovm-single-content {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.ovm-single-content p { margin: 0 0 24px 0; }

.ovm-single-content h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  margin: 48px 0 16px 0;
}
.ovm-single-content h2::before {
  content: '◈ ';
  color: var(--neon);
  font-size: 0.7em;
  vertical-align: middle;
  margin-right: 4px;
}

.ovm-single-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 32px 0 12px 0;
}

.ovm-single-content a {
  color: var(--neon);
  border-bottom: 1px solid rgba(0,255,136,0.3);
  transition: all 0.2s;
}
.ovm-single-content a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.ovm-single-content strong { color: white; font-weight: 700; }

.ovm-single-content blockquote {
  border-left: 3px solid var(--neon);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--glass);
  font-style: italic;
  color: var(--text-dim);
}

.ovm-single-content code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg2);
  color: var(--neon);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.9em;
  border: 1px solid rgba(0,255,136,0.15);
}

.ovm-single-content pre {
  background: var(--bg2);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 2px;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.ovm-single-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
}

.ovm-single-content ul, .ovm-single-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}
.ovm-single-content li { margin: 8px 0; }
.ovm-single-content ul li::marker { color: var(--neon); }

.ovm-single-content img {
  border-radius: 2px;
  margin: 24px 0;
  border: 1px solid rgba(0,255,136,0.12);
}

.ovm-single-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), transparent);
  margin: 48px 0;
}

.ovm-single-footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,255,136,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ════════════════════════════════════════════════
   Social Share Buttons (single post)
   ════════════════════════════════════════════════ */

.ovm-share-block {
  margin-top: 48px;
  padding: 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,255,136,0.1);
  border-radius: 2px;
}

.ovm-share-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--neon);
  text-transform: uppercase;
  margin: 0 0 14px 0;
}

.ovm-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ovm-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 0;
}

.ovm-share-btn:hover {
  background: var(--neon);
  color: #020409 !important;
  border-color: var(--neon);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.ovm-share-btn[data-net="twitter"]:hover  { background: #000; color: #fff !important; border-color: #000; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.ovm-share-btn[data-net="facebook"]:hover { background: #1877F2; color: #fff !important; border-color: #1877F2; box-shadow: 0 4px 20px rgba(24,119,242,0.4); }
.ovm-share-btn[data-net="linkedin"]:hover { background: #0A66C2; color: #fff !important; border-color: #0A66C2; box-shadow: 0 4px 20px rgba(10,102,194,0.4); }
.ovm-share-btn[data-net="whatsapp"]:hover { background: #25D366; color: #fff !important; border-color: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
.ovm-share-btn[data-net="telegram"]:hover { background: #29B6F6; color: #fff !important; border-color: #29B6F6; box-shadow: 0 4px 20px rgba(41,182,246,0.4); }
.ovm-share-btn[data-net="email"]:hover    { background: #ec4899; color: #fff !important; border-color: #ec4899; box-shadow: 0 4px 20px rgba(236,72,153,0.4); }

.ovm-share-btn.ovm-share-copy:focus {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/* ════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════ */

.ovm-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.ovm-404-code {
  font-size: 144px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0,255,136,0.3));
}

.ovm-404-message {
  font-size: 24px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: white;
}

.ovm-404-sub {
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ════════════════════════════════════════════════
   Search form
   ════════════════════════════════════════════════ */

.ovm-search-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 48px;
}
.ovm-search-form input[type="search"] {
  flex: 1;
  background: var(--glass);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 2px;
  padding: 10px 16px;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.ovm-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(0,255,136,0.08);
}

/* ════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────
   Newsletter signup (above footer)
   ──────────────────────────────────────────────── */

.ovm-newsletter {
  background: var(--bg);
  border-top: 1px solid rgba(0,255,136,0.08);
  padding: 60px 24px;
}

.ovm-newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ovm-newsletter-heading {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}

.ovm-newsletter-sub {
  font-size: 13px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
  margin: 0 0 24px;
  line-height: 1.5;
}

.ovm-newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ovm-newsletter-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 2px;
  padding: 11px 16px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}
.ovm-newsletter-input::placeholder { color: #475569; }
.ovm-newsletter-input:focus {
  border-color: rgba(0,255,136,0.5);
  box-shadow: 0 0 20px rgba(0,255,136,0.08);
}

.ovm-newsletter-submit {
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  color: #020409;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ovm-newsletter-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,255,136,0.3);
}
.ovm-newsletter-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.ovm-newsletter-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin: 16px 0 0;
}
.ovm-newsletter-msg-success { color: #00ff88; }
.ovm-newsletter-msg-already { color: #94a3b8; }
.ovm-newsletter-msg-error   { color: #f87171; }

@media (max-width: 480px) {
  .ovm-newsletter { padding: 40px 16px; }
  .ovm-newsletter-form { flex-direction: column; }
  .ovm-newsletter-submit { width: 100%; }
}

/* ────────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────────── */

.ovm-footer {
  background: var(--bg);
  border-top: 1px solid rgba(0,255,136,0.08);
  padding: 40px 24px;
}

.ovm-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ovm-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ovm-footer-logo img { height: 45px; width: auto; }

.ovm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.ovm-footer-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  transition: color 0.2s;
}
.ovm-footer-nav a:hover { color: var(--neon); }

.ovm-copyright {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dimmer);
  letter-spacing: 0.05em;
  margin: 0;
}

.ovm-footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ovm-footer-legal a, .ovm-footer-legal span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  transition: color 0.2s;
}
.ovm-footer-legal a:hover { color: var(--neon); }

@media (max-width: 768px) {
  .ovm-footer-top { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════
   WordPress core required classes
   ════════════════════════════════════════════════ */

.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide, .alignfull { margin-left: -24px; margin-right: -24px; max-width: calc(100% + 48px); }

.wp-caption {
  margin: 24px 0;
  max-width: 100%;
}
.wp-caption-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.sticky, .gallery-caption, .bypostauthor { /* required by WP */ }
