/*
Theme Name: ENP Theme — GACP Sports
Theme URI: https://gacpsports.com/
Description: Classic WordPress theme cloned from the GACP Sports investment-terminal design (code.html). Dark "Sovereign" layout with Tailwind CDN, Inter/Public Sans, and Material Symbols. Ships template parts for front page, single, archive, category, page, search, and 404.
Author: GACP Sports
Version: 1.0.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: enp-theme
*/
/* Inline styles from code.html, kept verbatim. */
.metric-glow { text-shadow: 0 0 8px rgba(169, 186, 211, 0.4); }
.glass-panel { backdrop-filter: blur(12px); }
.ingot-bg { background: linear-gradient(135deg, #bec6e0, #0f172a); }
::-webkit-scrollbar { width: 0px; background: transparent; }

body { color: #dae2fd; background: #0b1326; }
/* Force text visible on dark surfaces for every content block. */
.entry-content, .entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content td, .entry-content th { color: #dae2fd; }
.entry-content a { color: #ffb95f; }
.entry-content a:hover { color: #bec6e0; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Featured image styling — single post + category cards. */
.enp-featured-image img { display: block; width: 100%; height: auto; }
.enp-card-thumb { aspect-ratio: 3 / 2; }
.enp-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.enp-card-thumb:hover img { transform: scale(1.04); }
/* Fallback for older browsers without aspect-ratio. */
@supports not (aspect-ratio: 1) {
  .enp-card-thumb { position: relative; padding-top: 66.66%; }
  .enp-card-thumb img { position: absolute; inset: 0; }
}

/* Hero background textures (Unsplash — free commercial use, served by Unsplash CDN). */
.enp-bg-mesh {
  background-image: url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.enp-bg-arena {
  background-image: url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.enp-bg-terminal {
  background-image: url('https://images.unsplash.com/photo-1642543492481-44e81e3914a7?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.enp-bg-search {
  background-image: url('https://images.unsplash.com/photo-1518186285589-2f7649de83e0?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.enp-hero-overlay {
  position: absolute; inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Unified page hero — shared structure across archive/index/search/404/page/homepage. */
.enp-page-hero { position: relative; overflow: hidden; border-radius: 0.5rem; }
.enp-page-hero > .relative { position: relative; z-index: 10; }
.enp-page-hero h1 { font-family: Inter, sans-serif; font-weight: 900; letter-spacing: -0.025em; color: #bec6e0; }
.enp-page-hero p.font-label { color: #798098; letter-spacing: 0.1em; }

/* 404 illustration. */
.enp-404-illustration {
  width: 180px; height: 180px;
  background-image: url('https://images.unsplash.com/photo-1506259091721-347e791bab0f?auto=format&fit=crop&q=80&w=400');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  opacity: 0.6;
  filter: grayscale(30%) contrast(110%);
  border: 2px solid rgba(255, 185, 95, 0.2);
}
