/*
Theme Name: Playzex One Page
Theme URI: https://playzex.com
Author: 12Dimension AI Labs
Author URI: https://12dimensionai.com
Description: Custom one-page marketing theme for Playzex Gaming Technologies.
Version: 1.0.5
Requires PHP: 7.4
Text Domain: playzex
*/

/* ---------- Reset & base ---------- */
html, body { margin: 0; padding: 0; background: #050505; color: #fff; font-family: 'Space Grotesk', sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
a { color: #fff; text-decoration: none; }
a:hover { color: #FF1313; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: #FF1313; color: #fff; }
.pz-heading { font-family: 'Unbounded', sans-serif; }

@keyframes pz-spin { to { transform: rotate(360deg); } }
@keyframes pz-spin-rev { to { transform: rotate(-360deg); } }
@keyframes pz-marquee { to { transform: translateX(-50%); } }
@keyframes pz-pulse { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.6); opacity: 0; } }
@keyframes pz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.pz-page { position: relative; overflow: hidden; background: #050505; min-height: 100vh; }

/* ---------- Nav ---------- */
.pz-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); background: linear-gradient(#050505 60%, rgba(5,5,5,0)); backdrop-filter: blur(6px); }
.pz-nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.pz-nav__brand img { display: block; width: auto; height: 40px; }
.pz-nav__brand:hover { color: #fff; opacity: .85; }
.pz-nav__brand:focus-visible { outline: 2px solid #FF1313; outline-offset: 4px; border-radius: 4px; }
.pz-nav__links { display: flex; gap: clamp(14px, 2.5vw, 34px); align-items: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.pz-nav__links a { color: #bbb; padding: 6px 0; }
.pz-nav__links a:hover { color: #fff; }
.pz-nav__toggle { display: none; position: relative; z-index: 2; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; min-width: 44px; min-height: 44px; padding: 8px 10px; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.pz-nav__toggle:focus-visible { outline: 2px solid #FF1313; outline-offset: 4px; }

.pz-btn { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; border: 0; padding: 16px 28px; }
.pz-btn:focus-visible { outline: 2px solid #FF1313; outline-offset: 4px; }
.pz-btn--sm { padding: 10px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pz-btn--primary { background: #FF1313; color: #fff; }
.pz-btn--primary:hover { background: #fff; color: #050505; }
.pz-btn--white { background: #fff; color: #050505; }
.pz-btn--white:hover { background: #FF1313; color: #fff; }
.pz-btn--outline { border: 1px solid rgba(255,255,255,.3); color: #fff; background: transparent; }
.pz-btn--outline:hover { border-color: #fff; color: #fff; }

/* ---------- Contact modal ---------- */
.pz-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.78); backdrop-filter: blur(10px); display: none; justify-content: center; padding: 20px; overflow-y: auto; }
.pz-modal-overlay.is-open { display: flex; }
.pz-modal { position: relative; margin: auto; width: 100%; max-width: 680px; background: linear-gradient(160deg,#111,#070707); border: 1px solid rgba(255,255,255,.14); border-radius: 28px; padding: clamp(24px,4vw,48px); box-shadow: 0 40px 120px rgba(255,19,19,.25); }
.pz-modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pz-modal__close:hover { background: #FF1313; border-color: #FF1313; }
.pz-modal__kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #FF1313; font-weight: 600; margin-bottom: 14px; }
.pz-modal__title { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(26px,3vw,40px); line-height: 1; letter-spacing: -.02em; margin: 0 0 30px; }
.pz-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px), 1fr)); gap: 18px; }
.pz-field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #aaa; }
.pz-field--full { grid-column: 1 / -1; }
.pz-field input, .pz-field textarea { background: #0a0a0a; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 16px; color: #fff; font-size: 15px; font-family: inherit; outline: none; }
.pz-field textarea { resize: vertical; line-height: 1.5; }
.pz-field input:focus, .pz-field textarea:focus { border-color: #FF1313; }
.pz-form__footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.pz-form__footer span { font-size: 13px; color: #777; }
.pz-form__footer a { color: #ccc; }
.pz-form__error { grid-column: 1 / -1; color: #ff6b6b; font-size: 13px; display: none; }
.pz-form__error.is-visible { display: block; }
.pz-hp { position: absolute; left: -9999px; top: -9999px; }
.pz-modal__success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 30px 0; }
.pz-modal__success[hidden] { display: none; }
#pz-modal-form-wrap[hidden] { display: none; }
.pz-modal__success h3 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(26px,3vw,40px); line-height: 1; margin: 0; }
.pz-modal__success p { font-size: 16px; color: #c4c4c4; margin: 0; max-width: 400px; line-height: 1.5; }

/* ---------- Hero ---------- */
.pz-hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px), 1fr)); align-items: center; padding: 140px clamp(16px,4vw,48px) 120px; gap: 40px; background: radial-gradient(ellipse 60% 50% at 75% 45%, rgba(255,19,19,.16), transparent 70%); }
.pz-hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); pointer-events: none; }
.pz-hero__content { position: relative; z-index: 2; max-width: 760px; }
.pz-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ddd; margin-bottom: 34px; }
.pz-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #FF1313; display: inline-block; }
.pz-hero__title { font-weight: 900; font-size: clamp(44px,7.4vw,118px); line-height: .92; letter-spacing: -.02em; margin: 0 0 30px; }
.pz-hero__title em { color: #FF1313; font-style: normal; }
.pz-hero__lead { font-size: clamp(16px,1.4vw,21px); line-height: 1.5; color: #c8c8c8; max-width: 560px; margin: 0 0 40px; }
.pz-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pz-hero__visual { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.pz-hero__rings { position: absolute; inset: 0; pointer-events: none; }
.pz-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); transform: translate(-50%,-50%); }
.pz-ring::after { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #FF1313; }
.pz-ring--outer { width: min(92%,520px); aspect-ratio: 1; border-style: dashed; animation: pz-spin 28s linear infinite; }
.pz-ring--inner { width: min(72%,400px); aspect-ratio: 1; animation: pz-spin-rev 18s linear infinite; }
.pz-hero__mark { position: relative; width: min(70%,380px); transition: transform .25s ease-out; filter: drop-shadow(0 30px 60px rgba(255,19,19,.35)); }
.pz-ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.1); background: rgba(5,5,5,.7); backdrop-filter: blur(8px); z-index: 3; }
.pz-ticker__row { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.pz-ticker__item { flex: 1 0 220px; padding: 16px 22px; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
.pz-ticker__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #888; }
.pz-ticker__vals { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pz-ticker__val { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 15px; color: #fff; }
.pz-ticker__delta { font-size: 12px; font-weight: 600; }
.pz-ticker__bar-track { height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pz-ticker__bar { height: 100%; background: #FF1313; transition: width .8s ease; }

/* ---------- Section shared ---------- */
.pz-section { position: relative; padding: 120px clamp(16px,4vw,48px); border-top: 1px solid rgba(255,255,255,.08); }
.pz-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #FF1313; font-weight: 600; margin-bottom: 18px; }
.pz-eyebrow--dark { color: #E30000; }
.pz-section__title { font-weight: 800; font-size: clamp(32px,4.4vw,64px); line-height: 1; letter-spacing: -.02em; margin: 0; }

/* ---------- Ecosystem ---------- */
.pz-eco__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 24px; align-items: end; margin-bottom: 70px; }
.pz-eco__intro { font-size: 17px; line-height: 1.55; color: #bdbdbd; margin: 0; max-width: 480px; }
.pz-eco__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px), 1fr)); gap: 48px; align-items: center; }
.pz-eco__diagram { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; padding: 0 clamp(40px,8%,80px); }
.pz-orbit-ring { position: absolute; border-radius: 50%; }
.pz-orbit-ring--1 { inset: 8%; border: 1px solid rgba(255,255,255,.14); }
.pz-orbit-ring--2 { inset: 8%; border: 1px dashed rgba(255,19,19,.5); animation: pz-spin 30s linear infinite; }
.pz-orbit-ring--3 { inset: 37%; border: 1px solid rgba(255,19,19,.4); animation: pz-pulse 3s ease-out infinite; }
.pz-orbit-line--v { position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(rgba(255,255,255,.12), transparent, rgba(255,255,255,.12)); }
.pz-orbit-line--h { position: absolute; top: 50%; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent, rgba(255,255,255,.12)); }
.pz-eco__engine { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 26%; aspect-ratio: 1; border-radius: 50%; background: #0c0c0c; border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 0 80px rgba(255,19,19,.25); }
.pz-eco__engine svg { width: 38%; }
.pz-eco__engine span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #aaa; text-align: center; }
.pz-node { position: absolute; transform: translate(-50%,-50%); border-radius: 999px; padding: 12px 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer; white-space: nowrap; transition: all .25s; border: 1px solid rgba(255,255,255,.2); background: #0c0c0c; color: #fff; }
.pz-node:hover { border-color: #FF1313; }
.pz-node.is-active { border-color: #FF1313; background: #FF1313; box-shadow: 0 0 40px rgba(255,19,19,.5); }
.pz-eco__panel { border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: clamp(24px,3vw,44px); background: linear-gradient(160deg,#0f0f0f,#070707); min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.pz-eco__panel-title { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(24px,2.6vw,38px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.01em; }
.pz-eco__panel-desc { font-size: 16px; line-height: 1.55; color: #c4c4c4; margin: 0; }
.pz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-tag { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: #e8e8e8; }

/* ---------- Technology (light section) ---------- */
.pz-tech { position: relative; padding: 120px 0 0; border-top: 1px solid rgba(255,255,255,.08); background: #fff; color: #050505; }
.pz-tech__inner { padding: 0 clamp(16px,4vw,48px); }
.pz-tech__title { max-width: 900px; margin: 0 0 60px; }
.pz-tech__list { border-top: 1px solid #050505; }
.pz-tech__row { border-bottom: 1px solid #050505; }
.pz-tech__toggle { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(14px,3vw,40px); align-items: center; background: transparent; border: 0; padding: 28px 0; cursor: pointer; text-align: left; color: #050505; }
.pz-tech__toggle:hover { color: #E30000; }
.pz-tech__num { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 14px; color: #E30000; min-width: 34px; }
.pz-tech__name { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(20px,3vw,44px); line-height: 1.05; letter-spacing: -.015em; }
.pz-tech__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #050505; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 300; transition: transform .3s, background .2s, color .2s; }
.pz-tech__row.is-open .pz-tech__icon { transform: rotate(45deg); background: #050505; color: #fff; }
.pz-tech__panel { display: none; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 32px; padding: 0 0 40px clamp(0px,4vw,74px); }
.pz-tech__row.is-open .pz-tech__panel { display: grid; }
.pz-tech__desc { font-size: 18px; line-height: 1.5; margin: 0; color: #333; max-width: 520px; }
.pz-caps { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.pz-cap { background: #050505; color: #fff; border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 500; }
.pz-marquee { margin-top: 80px; background: #FF1313; color: #fff; padding: 22px 0; overflow: hidden; border-top: 1px solid #050505; }
.pz-marquee__track { display: flex; width: max-content; animation: pz-marquee 40s linear infinite; }
.pz-marquee__item { display: inline-flex; align-items: center; gap: 28px; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(16px,1.6vw,24px); white-space: nowrap; padding-right: 28px; }
.pz-marquee__item::after { content: ''; width: 10px; height: 10px; background: #050505; transform: rotate(45deg); display: inline-block; }

/* ---------- Results ---------- */
.pz-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px), 1fr)); gap: 20px; }
.pz-case { border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: clamp(24px,3vw,40px); background: linear-gradient(160deg,#101010,#060606); display: flex; flex-direction: column; gap: 32px; transition: border-color .2s; }
.pz-case:hover { border-color: rgba(255,19,19,.6); }
.pz-case__kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #888; margin-bottom: 10px; }
.pz-case__title { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(22px,2.2vw,30px); line-height: 1.1; margin: 0; }
.pz-case__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 22px; }
.pz-stat__value { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(34px,3.4vw,52px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.pz-stat__value.is-primary { color: #FF1313; }
.pz-stat__label { font-size: 13px; color: #aaa; margin-top: 8px; line-height: 1.35; }

/* ---------- Contact ---------- */
.pz-contact { position: relative; padding: 140px clamp(16px,4vw,48px) 60px; border-top: 1px solid rgba(255,255,255,.08); background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255,19,19,.22), transparent 70%); }
.pz-contact__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.pz-contact__mark { width: 70px; animation: pz-float 5s ease-in-out infinite; }
.pz-contact__title { font-weight: 900; font-size: clamp(40px,7vw,110px); line-height: .95; letter-spacing: -.025em; margin: 0; max-width: 1100px; }
.pz-contact__title em { color: #FF1313; font-style: normal; }
.pz-contact__lead { font-size: 18px; line-height: 1.5; color: #c4c4c4; max-width: 560px; margin: 0; }
.pz-contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.pz-contact__ctas .pz-btn { padding: 16px 28px; font-size: 15px; line-height: 1.2; }
.pz-contact__email { display: inline-flex; align-items: center; gap: 14px; }
.pz-footer { margin-top: 120px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #888; }
.pz-footer__brand { font-family: 'Unbounded', sans-serif; font-weight: 800; letter-spacing: .14em; color: #fff; }
.pz-footer__brand span { color: #666; font-family: 'Space Grotesk', sans-serif; font-weight: 400; letter-spacing: 0; }

/* ---------- Reduced motion & mobile ---------- */
@media (prefers-reduced-motion: reduce) {
  .pz-ring--outer, .pz-ring--inner, .pz-orbit-ring--2, .pz-orbit-ring--3, .pz-marquee__track, .pz-contact__mark { animation: none !important; }
  .pz-nav__links { transition: none !important; }
}
@media (max-width: 760px) {
  .pz-nav__brand img { height: 32px; }
  .pz-nav.is-open::before { content: ''; position: fixed; inset: 0; z-index: 0; background: rgba(5,5,5,.55); }
  .pz-nav__links { position: fixed; top: 0; right: 0; z-index: 1; height: 100vh; width: min(78vw, 320px); background: #0a0a0a; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px 32px; gap: 26px; transform: translateX(100%); transition: transform .3s ease; }
  .pz-nav__links.is-open { transform: translateX(0); }
  .pz-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
}
