:root {
  --bg-1: #06070f;
  --bg-2: #111b36;
  --bg-3: #240d31;
  --text: #f7f9ff;
  --muted: #b9c4db;
  --hot: #ff3d81;
  --sun: #ffbf1a;
  --mint: #3dffcb;
  --sky: #33d6ff;
  --laser: #7e57ff;
  --card: rgba(13, 20, 42, 0.78);
  --line: rgba(255, 255, 255, 0.18);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 550px at 85% -5%, rgba(126, 87, 255, 0.25), transparent 60%),
    radial-gradient(1000px 680px at 8% -10%, rgba(255, 61, 129, 0.3), transparent 60%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 38%, var(--bg-3));
  line-height: 1.6;
}

.flash-bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.flash-bg-orbs::before,
.flash-bg-orbs::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.33;
  animation: floatPulse 16s ease-in-out infinite;
}

.flash-bg-orbs::before {
  background: var(--hot);
  left: -130px;
  top: 8%;
}

.flash-bg-orbs::after {
  background: var(--sky);
  right: -150px;
  top: 60%;
  animation-delay: -8s;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-34px) scale(1.09);
  }
}

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

.wrapper {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 22, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-family: "Bungee", Impact, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.main-nav a:hover {
  border-color: var(--sun);
  color: var(--sun);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
}

.site-main {
  padding: 34px 0 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 94px);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 61, 129, 0.16), rgba(51, 214, 255, 0.12));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -120px -20%;
  height: 140px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0,
    rgba(255, 255, 255, 0.16) 2px,
    transparent 2px,
    transparent 30px
  );
  opacity: 0.18;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--mint);
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.hero p {
  color: var(--muted);
  max-width: 65ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(120deg, var(--hot), var(--sun));
  color: #0d1022;
}

.btn-primary:hover {
  filter: saturate(1.2) brightness(1.04);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.arcade-marquee {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 16, 35, 0.9);
  overflow: hidden;
}

.arcade-marquee p {
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  min-width: 200%;
  padding: 10px 0;
  animation: ticker 18s linear infinite;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.64rem;
  color: var(--sun);
  text-shadow: 0 0 10px rgba(255, 191, 26, 0.5);
}

.arcade-marquee span {
  margin-right: 56px;
}

.feature-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
}

.products-strip,
.posts-strip {
  margin-top: 34px;
}

.products-strip h2,
.posts-strip h2,
.archive-title {
  font-family: "Bungee", Impact, sans-serif;
  margin-bottom: 14px;
}

.product-cards,
.post-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card,
.post-card {
  margin: 0;
}

.product-card a,
.post-card a {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
}

.product-card a:hover,
.post-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.product-card__image img,
.post-card__image img,
.single-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-card h3,
.post-card h2,
.post-card h3 {
  margin: 14px 16px 8px;
}

.product-card__price {
  color: var(--mint);
  font-weight: 700;
  margin: 0 16px 16px;
}

.post-card p {
  color: var(--muted);
  margin: 0 16px 16px;
}

.single-view,
.site-sidebar,
.woocommerce .site-main .woocommerce,
.woocommerce-page .site-main .woocommerce {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 38px);
  background: var(--card);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 16, 33, 0.88);
  padding: 12px;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 10px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--hot), var(--sun));
  color: #0d1022;
  font-weight: 700;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--mint);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--line);
  border-top-color: var(--sky);
  background: rgba(11, 16, 33, 0.95);
  color: var(--text);
}

.entry-content a,
.site-main a {
  color: var(--sky);
}

.pagination-wrap {
  margin-top: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 14, 0.72);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
}

.footer-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--sun);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .feature-grid,
  .product-cards,
  .post-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: block;
    position: absolute;
    right: 4vw;
    top: 74px;
    background: rgba(11, 16, 33, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
  }

  .main-nav.is-open ul {
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .product-cards,
  .post-cards {
    grid-template-columns: 1fr;
  }

  .site-main {
    padding-top: 22px;
  }

  .arcade-marquee p {
    font-size: 0.56rem;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }
}

.woo-shell {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 34px);
  background: var(--card);
}

.shop-intro-panel {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(140deg, rgba(126, 87, 255, 0.2), rgba(61, 255, 203, 0.08));
}

.shop-intro-panel h2 {
  margin: 0 0 10px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
}

.shop-intro-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  color: var(--muted);
}

.shop-intro-stat {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.66rem;
  line-height: 1.9;
  color: var(--sun);
  text-shadow: 0 0 10px rgba(255, 191, 26, 0.48);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  overflow: hidden;
}

.flash-sale-badge {
  background: linear-gradient(120deg, var(--hot), var(--sun));
  color: #101326;
  border: 0;
  border-radius: 999px;
  font-size: 0.69rem;
  font-family: "Press Start 2P", "Courier New", monospace;
  padding: 8px 10px;
  box-shadow: 0 0 18px rgba(255, 61, 129, 0.5);
}

.loop-arcade-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 10, 23, 0.92);
  border: 1px solid var(--sky);
  color: var(--sky);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.woocommerce ul.products li.product .price {
  color: var(--mint);
  font-weight: 700;
}

@media (max-width: 720px) {
  .shop-intro-grid {
    grid-template-columns: 1fr;
  }
}

.game-select {
  margin-top: 34px;
}

.game-select__head h2 {
  margin: 0;
  font-family: "Bungee", Impact, sans-serif;
}

.game-select__grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mode-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: rgba(10, 15, 34, 0.9);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  isolation: isolate;
}

.mode-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(126, 87, 255, 0.45), rgba(255, 61, 129, 0.26));
  z-index: -1;
}

.mode-tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}

.mode-tile__name {
  display: block;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.1rem;
}

.mode-tile__count {
  font-size: 0.8rem;
  color: var(--mint);
}

.mode-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  overflow: hidden;
}

.product-card::after,
.woocommerce ul.products li.product::after,
.woocommerce-page ul.products li.product::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}

.product-card::before,
.woocommerce ul.products li.product::before,
.woocommerce-page ul.products li.product::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(130deg, rgba(255, 61, 129, 0.45), rgba(51, 214, 255, 0.4));
  opacity: 0;
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-card:hover::after,
.woocommerce ul.products li.product:hover::after,
.woocommerce-page ul.products li.product:hover::after {
  opacity: 0.55;
}

.product-card:hover::before,
.woocommerce ul.products li.product:hover::before,
.woocommerce-page ul.products li.product:hover::before {
  opacity: 1;
}

.product-card > a {
  position: relative;
  z-index: 1;
}

.woo-shell {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 34px);
  background: var(--card);
}

.shop-intro-panel {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(140deg, rgba(126, 87, 255, 0.2), rgba(61, 255, 203, 0.08));
}

.shop-intro-panel h2 {
  margin: 0 0 10px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
}

.shop-intro-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  color: var(--muted);
}

.shop-intro-stat {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.66rem;
  line-height: 1.9;
  color: var(--sun);
  text-shadow: 0 0 10px rgba(255, 191, 26, 0.48);
}

.flash-sale-badge {
  background: linear-gradient(120deg, var(--hot), var(--sun));
  color: #101326;
  border: 0;
  border-radius: 999px;
  font-size: 0.69rem;
  font-family: "Press Start 2P", "Courier New", monospace;
  padding: 8px 10px;
  box-shadow: 0 0 18px rgba(255, 61, 129, 0.5);
}

.loop-arcade-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 10, 23, 0.92);
  border: 1px solid var(--sky);
  color: var(--sky);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.woocommerce-cart .site-main .woocommerce,
.woocommerce-checkout .site-main .woocommerce {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(10, 14, 31, 0.92);
  padding: clamp(16px, 3vw, 30px);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-checkout-review-order-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 12, 26, 0.85);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255, 255, 255, 0.12);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  background: rgba(6, 10, 24, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--sky);
  outline: none;
  box-shadow: 0 0 0 2px rgba(51, 214, 255, 0.22);
}

.woocommerce-checkout #payment,
.woocommerce-checkout-review-order {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 12, 26, 0.85);
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .game-select__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .shop-intro-grid,
  .game-select__grid {
    grid-template-columns: 1fr;
  }
}

/* Hide SKU and category labels on single product pages */
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in {
  display: none !important;
}
