/*
Theme Name: Neon Empire Elementor
Theme URI: https://neonempiremb.com/
Author: Neon Empire
Description: Elementor-friendly Neon Empire theme with automatic YouTube, playlist, character, album, store, and newsletter sections.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: neon-empire-elementor
*/

:root {
  --ne-accent: #f20f84;
  --ne-accent-dark: #c90068;
  --ne-ink: #07070a;
  --ne-muted: #6d6d75;
  --ne-line: #e8e8ec;
  --ne-surface: #ffffff;
  --ne-soft: #f7f7fa;
  --ne-footer-text: #4f4f58;
  --ne-radius: 8px;
  --ne-container: 1180px;
  --ne-shadow: 0 18px 45px rgba(10, 10, 18, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ne-ink);
  background: var(--ne-surface);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg, .ne-icon { display: inline-block; flex: 0 0 auto; max-width: 24px; max-height: 24px; vertical-align: middle; }
.site-wrap { min-height: 100vh; overflow: hidden; background: var(--ne-surface); }
.ne-container, .header-inner { width: min(100% - 48px, var(--ne-container)); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 999; border-bottom: 1px solid var(--ne-line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 74px; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 150px; }
.brand img { width: auto; max-width: 158px; max-height: 58px; }
.brand-text { display: grid; line-height: .86; letter-spacing: .03em; text-transform: uppercase; }
.brand-neon { color: var(--ne-accent); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 32px; font-style: italic; transform: skew(-10deg); }
.brand-empire { color: var(--ne-ink); font-size: 18px; font-weight: 900; letter-spacing: .18em; }
.main-nav { justify-self: center; }
.main-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 34px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ne-accent); }
.main-nav a::after { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--ne-accent); content: ""; transition: width 160ms; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.icon-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.icon-link svg { width: 22px; height: 22px; fill: currentColor; }
.cart-count { position: absolute; top: -6px; right: -8px; display: inline-grid; min-width: 17px; height: 17px; place-items: center; padding: 0 5px; border-radius: 99px; color: #fff; background: var(--ne-accent); font-size: 10px; font-weight: 900; }
.ne-mobile-toggle { display: none; border: 0; background: transparent; font-size: 25px; cursor: pointer; }

/* Hero */
.ne-hero { position: relative; min-height: 470px; display: grid; align-items: center; overflow: hidden; background-position: center; background-size: cover; }
.ne-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.82) 38%,rgba(255,255,255,.18) 68%,rgba(255,255,255,0) 100%); content: ""; }
.ne-hero-content { position: relative; z-index: 1; max-width: 560px; padding: 58px 0 52px; }
.ne-eyebrow { margin: 0 0 10px; font-size: 22px; letter-spacing: .16em; text-transform: uppercase; }
.ne-hero h1 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(58px,8vw,108px); line-height: .88; text-transform: uppercase; }
.ne-accent-rule { width: 44px; height: 3px; margin: 22px 0 14px; background: var(--ne-accent); }
.ne-hero-tagline { margin: 0 0 14px; color: var(--ne-accent); font-size: 20px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ne-hero-copy { max-width: 450px; margin: 0 0 30px; font-weight: 650; }
.ne-button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ne-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 24px; border: 0; border-radius: 5px; font-weight: 900; text-transform: uppercase; box-shadow: 0 10px 22px rgba(0,0,0,.12); cursor: pointer; }
.ne-btn-primary { color: #fff; background: var(--ne-accent); }
.ne-btn-dark { color: #fff; background: #050506; }
.ne-btn:hover { transform: translateY(-1px); }
.ne-platforms { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.ne-platforms a { font-size: 12px; font-weight: 800; }

/* Dynamic sections */
.ne-section { padding: 28px 0 0; }
.ne-section:last-child { padding-bottom: 32px; }
.ne-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 15px; }
.ne-section-title { margin: 0; font-size: 20px; font-weight: 950; letter-spacing: .01em; text-transform: uppercase; }
.ne-section-title::before { margin-right: 10px; color: var(--ne-accent); content: "★"; }
.ne-view-link { color: #33333a; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.ne-view-link::after { margin-left: 8px; color: var(--ne-accent); content: "›"; font-size: 21px; vertical-align: -2px; }
.ne-rail-wrap { position: relative; }
.ne-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px,1fr); grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ne-rail::-webkit-scrollbar { display: none; }
.ne-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.ne-card { position: relative; display: block; overflow: hidden; min-height: 176px; border-radius: var(--ne-radius); background: #111; box-shadow: 0 12px 24px rgba(0,0,0,.13); scroll-snap-align: start; }
.ne-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform 220ms; }
.ne-card:hover img { transform: scale(1.04); }
.ne-card::after { position: absolute; inset: auto 0 0; height: 58%; background: linear-gradient(transparent,rgba(0,0,0,.9)); content: ""; }
.ne-card-info { position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 1; color: #fff; }
.ne-card-title { margin: 0 0 2px; font-size: 15px; font-weight: 950; }
.ne-card-meta { margin: 0; font-size: 12px; font-weight: 800; }
.ne-character-card .ne-card-title { color: var(--ne-accent); font-size: 17px; text-align: center; text-transform: uppercase; }
.ne-character-card .ne-card-meta { text-align: center; }
.ne-video-card { display: block; min-width: 0; scroll-snap-align: start; }
.ne-video-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: var(--ne-radius); background: #111; }
.ne-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ne-duration { position: absolute; right: 6px; bottom: 5px; padding: 2px 5px; border-radius: 3px; color: #fff; background: rgba(0,0,0,.85); font-size: 11px; font-weight: 900; }
.ne-video-title { margin: 8px 0 1px; font-size: 13px; font-weight: 950; line-height: 1.35; text-transform: uppercase; }
.ne-video-meta { margin: 0; color: var(--ne-muted); font-size: 12px; font-weight: 700; }
.ne-empty { padding: 24px; border: 1px dashed var(--ne-line); border-radius: var(--ne-radius); color: var(--ne-muted); background: var(--ne-soft); }

/* Store */
.ne-products { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.ne-product { display: grid; padding: 12px; border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: #fff; }
.ne-product img { width: 100%; aspect-ratio: 1/.86; object-fit: contain; }
.ne-product-title { align-self: end; margin: 8px 0 2px; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.ne-product-price { margin: 0; font-size: 12px; font-weight: 750; }

/* Newsletter */
.ne-newsletter { margin: 28px auto; }
.ne-newsletter-inner { display: grid; grid-template-columns: 1fr minmax(320px,430px); align-items: center; gap: 28px; padding: 24px 34px; border-radius: var(--ne-radius); color: #fff; background: radial-gradient(circle at 85% 10%,rgba(242,15,132,.55),transparent 32%),linear-gradient(90deg,#2e133a 0%,#371243 52%,#8a0a58 100%); }
.ne-newsletter h2 { margin: 0; font-size: 22px; font-weight: 950; text-transform: uppercase; }
.ne-newsletter p { margin: 3px 0 0; font-weight: 650; }
.ne-newsletter-form { display: grid; grid-template-columns: 1fr auto; }
.ne-newsletter-form input[type=email] { min-width: 0; min-height: 45px; padding: 0 16px; border: 0; border-radius: 5px 0 0 5px; font: inherit; }
.ne-newsletter-form button { min-height: 45px; padding: 0 26px; border: 0; border-radius: 0 5px 5px 0; color: #fff; background: var(--ne-accent); font-weight: 950; text-transform: uppercase; cursor: pointer; }
.ne-hp { position: absolute!important; left: -9999px!important; }
.ne-form-notice { margin: 10px 0 0; font-weight: 800; }

/* Content and footer */
.ne-page-main { min-height: 55vh; padding: 48px 0; }
.ne-page-title { margin: 0 0 28px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(44px,7vw,86px); line-height: .95; text-transform: uppercase; }
.ne-entry-content > *:first-child { margin-top: 0; }
.ne-entry-content a { color: var(--ne-accent-dark); text-decoration: underline; }
.ne-single-hero { display: grid; grid-template-columns: minmax(260px,42%) 1fr; gap: 42px; align-items: center; }
.ne-single-image { overflow: hidden; border-radius: var(--ne-radius); background: #111; }
.ne-single-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.site-footer { border-top: 1px solid var(--ne-line); background: #fff; color: var(--ne-footer-text); }
.footer-inner { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 42px; padding: 34px 0 28px; }
.footer-column h3 { margin: 0 0 10px; color: var(--ne-accent); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.footer-column ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-column a { color: #141419; font-size: 13px; font-weight: 650; }
.footer-brand p { max-width: 220px; font-size: 13px; font-weight: 650; }
.copyright { margin: 0; padding: 0 0 20px; color: #8a8a92; font-size: 13px; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* WooCommerce */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: 5px; color: #fff; background: var(--ne-accent); }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { color: #fff; background: var(--ne-accent-dark); }
.woocommerce span.onsale { background: var(--ne-accent); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 15px; padding: 9px 0; }
  .ne-mobile-toggle { display: inline-flex; }
  .main-nav { display: none; grid-column: 1/-1; justify-self: stretch; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-wrap: wrap; justify-content: flex-start; gap: 10px 22px; padding: 10px 0; }
  .ne-rail { grid-template-columns: none; grid-auto-columns: minmax(220px,40vw); }
  .ne-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ne-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .ne-container, .header-inner { width: min(100% - 28px,var(--ne-container)); }
  .brand img { max-width: 125px; }
  .header-actions .ne-social-icon { display: none; }
  .ne-hero { min-height: 500px; background-position: 66% center; }
  .ne-hero-content { padding: 42px 0; }
  .ne-eyebrow { font-size: 15px; }
  .ne-hero h1 { font-size: clamp(54px,18vw,82px); }
  .ne-hero-tagline { font-size: 16px; }
  .ne-button-row .ne-btn { width: 100%; }
  .ne-section-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ne-rail { grid-auto-columns: minmax(210px,76vw); }
  .ne-grid { grid-template-columns: 1fr; }
  .ne-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ne-newsletter-inner { grid-template-columns: 1fr; padding: 22px; }
  .ne-newsletter-form { grid-template-columns: 1fr; }
  .ne-newsletter-form input[type=email], .ne-newsletter-form button { border-radius: 5px; }
  .ne-newsletter-form button { margin-top: 8px; }
  .ne-single-hero { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
