/*
Theme Name: Neon Empire MB
Theme URI: https://neonempiremb.com
Author: Codex
Author URI: https://openai.com
Description: Fresh editable Neon Empire homepage theme with music, anime, playlist, and merch sections.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
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: neon-empire
Tags: custom-logo, custom-menu, featured-images, entertainment, e-commerce, one-column
*/

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  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;
  background: #fff;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.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 {
  max-width: 158px;
  max-height: 58px;
}

.brand-text {
  display: grid;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-neon {
  color: var(--neon-pink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 32px;
  font-style: italic;
  transform: skew(-10deg);
}

.brand-empire {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.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(--neon-pink);
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--neon-pink);
  content: "";
  transition: width 160ms ease;
}

.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: 17px;
}

.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
}

.icon-link svg {
  width: 24px;
  height: 24px;
  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(--neon-pink);
  font-size: 10px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(255, 255, 255, 0.14) 62%, rgba(255, 255, 255, 0) 100%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: 58px 0 52px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.accent-rule {
  width: 44px;
  height: 3px;
  margin: 22px 0 14px;
  background: var(--neon-pink);
}

.hero-tagline {
  margin: 0 0 14px;
  color: var(--neon-pink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 430px;
  margin: 0 0 30px;
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 5px;
  border: 0;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.btn-primary {
  color: #fff;
  background: var(--neon-pink);
}

.btn-dark {
  color: #fff;
  background: #050506;
}

.available {
  margin-top: 24px;
}

.available-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platforms a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}

.platforms svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.section {
  padding: 24px 0 0;
}

.section + .section {
  padding-top: 22px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-title svg {
  width: 21px;
  height: 21px;
  color: var(--neon-pink);
  fill: currentColor;
}

.view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #33333a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.view-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--neon-pink);
  stroke-width: 3;
  fill: none;
}

.rail-wrap {
  position: relative;
}

.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;
}

.rail::-webkit-scrollbar {
  display: none;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.13);
  scroll-snap-align: start;
}

.card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card::after {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 100%);
  content: "";
}

.card-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 1;
  color: #fff;
}

.card-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 950;
}

.card-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.character .card-title {
  color: var(--neon-pink);
  font-size: 17px;
  text-align: center;
  text-transform: uppercase;
}

.character .card-meta {
  text-align: center;
}

.rail-next {
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 4;
  display: inline-flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #17171c;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(-50%);
}

.rail-next svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.7;
  fill: none;
}

.video-rail {
  grid-auto-columns: minmax(200px, 1fr);
}

.video-card {
  scroll-snap-align: start;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #111;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration {
  position: absolute;
  right: 6px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  background: rgba(0, 0, 0, 0.85);
  font-size: 11px;
  font-weight: 900;
}

.video-title {
  margin: 8px 0 1px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.video-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.store-section {
  margin-top: 4px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}

.product-card,
.store-callout {
  min-height: 206px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-card {
  display: grid;
  padding: 12px;
  color: var(--ink);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: contain;
}

.product-title {
  align-self: end;
  margin: 8px 0 2px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-price {
  margin: 0;
  color: #202025;
  font-size: 12px;
  font-weight: 750;
}

.store-callout {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.callout-kicker {
  color: var(--neon-pink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 42px;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
  transform: skew(-8deg);
}

.callout-title {
  margin: 8px 0 16px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.newsletter {
  margin: 0 auto 26px;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: auto 1fr minmax(320px, 420px) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 34px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 15, 132, 0.55), transparent 32%),
    linear-gradient(90deg, #2e133a 0%, #371243 52%, #8a0a58 100%);
}

.mail-badge {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--neon-pink);
}

.mail-badge svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.newsletter h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  text-transform: uppercase;
}

.newsletter p {
  margin: 2px 0 0;
  max-width: 310px;
  font-weight: 650;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-form input {
  min-width: 0;
  min-height: 45px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px 0 0 5px;
  font: inherit;
}

.newsletter-form button {
  min-height: 45px;
  padding: 0 30px;
  border: 0;
  border-radius: 0 5px 5px 0;
  color: #fff;
  background: var(--neon-pink);
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.newsletter-socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--footer-text);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr) auto;
  gap: 42px;
  padding: 30px 0 26px;
}

.footer-brand {
  max-width: 190px;
}

.footer-brand .brand-text {
  margin-bottom: 13px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--neon-pink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.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-mark {
  align-self: center;
  color: var(--neon-pink);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.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;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 10px 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
  }

  .main-nav ul {
    justify-content: flex-start;
    gap: 20px;
    min-width: max-content;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 430px;
    background-position: 60% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.25) 100%);
  }

  .rail {
    grid-template-columns: none;
    grid-auto-columns: minmax(220px, 40vw);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter-inner {
    grid-template-columns: auto 1fr;
  }

  .newsletter-form,
  .newsletter-socials {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-actions {
    gap: 10px;
  }

  .icon-link {
    width: 24px;
  }

  .hero {
    min-height: 520px;
    background-position: 68% center;
  }

  .hero-content {
    padding: 42px 0;
  }

  .eyebrow {
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 82px);
  }

  .hero-tagline {
    font-size: 16px;
  }

  .button-row .btn {
    width: 100%;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .rail {
    grid-auto-columns: minmax(210px, 76vw);
  }

  .rail-next {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-callout {
    grid-column: 1 / -1;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 5px;
  }

  .newsletter-form button {
    margin-top: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
