/* ==========================================================================
   NAXEON ENTERTAINMENT — Shared Stylesheet
   Design tokens:
   --bg-void   #05030c   deepest background
   --bg-deep   #0f0a1f   section background
   --bg-panel  #17102e   card / panel background
   --line      rgba(216,150,255,.18)  hairline dividers
   --pink      #ff8fd8   primary accent (from logo gradient)
   --purple    #b073ff   secondary accent
   --violet    #6d28d9   deep accent / shadows
   --gold      #f3d9a4   rare highlight (recruitment CTA only)
   --ink       #f3edff   primary text
   --ink-dim   #a99bc7   secondary text
   Display face: 'Orbitron' (English wordmark + numerals, used sparingly)
   Body face:    'Noto Sans TC'
   Utility face: 'Rajdhani' (uppercase eyebrows / labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-void: #05030c;
  --bg-deep: #0f0a1f;
  --bg-panel: #17102e;
  --line: rgba(216,150,255,.18);
  --pink: #ff8fd8;
  --purple: #b073ff;
  --violet: #6d28d9;
  --gold: #f3d9a4;
  --ink: #f3edff;
  --ink-dim: #a99bc7;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* ---------- starfield ambient background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 10%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 30% 85%, #fff, transparent),
    radial-gradient(1px 1px at 90% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 45% 40%, #fff, transparent),
    radial-gradient(1px 1px at 15% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 90%, #fff, transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: .5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; z-index: 1; }

.eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--pink);
}

.wordmark {
  font-family: 'Orbitron', sans-serif;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,3,12,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 6vw;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: .65rem; }
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav-brand .zh { font-weight: 900; font-size: 1.05rem; letter-spacing: .04em; }
.nav-brand .en { font-family: 'Orbitron', sans-serif; font-size: .58rem; letter-spacing: .28em; color: var(--ink-dim); }
.nav-links { display: flex; align-items: center; gap: 2.1rem; font-size: .93rem; }
.nav-links a { color: var(--ink-dim); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}
.nav-cta {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff !important;
  font-size: .88rem;
  box-shadow: 0 0 20px rgba(255,143,216,.35);
}
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line); color: var(--ink);
    width: 40px; height: 40px; border-radius: 8px; font-size: 1.1rem;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 1rem;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  box-shadow: 0 8px 30px rgba(176,115,255,.4);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn:hover { filter: brightness(1.12); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: var(--bg-void);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--pink);
  margin-bottom: .9rem;
  text-transform: uppercase;
}
.footer-col a, .footer-col p { color: var(--ink-dim); font-size: .92rem; display: block; margin-bottom: .55rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--ink-dim);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- shared page hero (inner pages) ---------- */
.page-hero {
  padding: 5.5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(176,115,255,.18), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero p { color: var(--ink-dim); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---------- utility ---------- */
.grad-text {
  background: linear-gradient(120deg, var(--pink), var(--purple) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-pad { padding: 6rem 0; }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: .8rem;
}
.section-sub { color: var(--ink-dim); max-width: 560px; margin-bottom: 3rem; }
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 auto;
}

@media (max-width: 780px) {
  .section-pad { padding: 4rem 0; }
}

/* ---------- mobile menu ---------- */
.mobile-menu {
  display: none;
  position: absolute;
  top: 76px; left: 0; right: 0;
  z-index: 60;
  max-height: 0;
  background: #08050f;
  padding: 0 8vw;
  flex-direction: column;
  gap: 0;
  font-size: 1.1rem;
  opacity: 0;
  overflow-y: auto;
  transition: opacity .2s ease, max-height .3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  max-height: calc(100vh - 76px);
  padding: 1.6rem 8vw 2.2rem;
  gap: 1.3rem;
}
.mobile-menu a { color: var(--ink); font-weight: 700; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: .5rem; text-align: center; justify-content: center; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(176,115,255,.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 3rem;
}
.hero-eyebrow { margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.3rem;
}
.hero p.lead { color: var(--ink-dim); font-size: 1.1rem; max-width: 460px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-art .logo-ring {
  width: min(360px, 70vw);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255,143,216,.35)); }
  50% { filter: drop-shadow(0 0 55px rgba(176,115,255,.55)); }
}
.hero-art .spark {
  position: absolute;
  color: var(--pink);
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 1rem; }
}

/* ---------- constellation map ---------- */
.constellation {
  position: relative;
  height: 560px;
  margin-top: 2rem;
}
.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constellation-path {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: .3;
  stroke-dasharray: 2 1.4;
  vector-effect: non-scaling-stroke;
  opacity: .7;
}
.star-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 168px;
  text-align: center;
}
.star-node .dot {
  width: 14px; height: 14px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--pink));
  box-shadow: 0 0 18px 4px rgba(255,143,216,.55);
  animation: twinkle 3s ease-in-out infinite;
}
.star-node h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.star-node p { font-size: .82rem; color: var(--ink-dim); line-height: 1.5; }

@media (max-width: 900px) {
  .constellation { height: auto; }
  .constellation svg { display: none; }
  .constellation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1rem;
  }
  .star-node { position: static; transform: none; width: auto; }
}

/* ---------- feature / info cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.1rem 1.8rem;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,143,216,.4); }
.card .num {
  font-family: 'Orbitron', sans-serif;
  font-size: .8rem;
  color: var(--pink);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .7rem; }
.card p { color: var(--ink-dim); font-size: .93rem; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- recruitment banner ---------- */
.recruit-banner {
  border-radius: 28px;
  padding: 3.5rem 3rem;
  background: linear-gradient(135deg, rgba(176,115,255,.16), rgba(255,143,216,.08));
  border: 1px solid rgba(216,150,255,.3);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.recruit-banner ul { list-style: none; }
.recruit-banner li { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .95rem; color: var(--ink-dim); }
.recruit-banner li::before { content: '✓'; color: var(--pink); font-weight: 900; }
@media (max-width: 900px) {
  .recruit-banner { grid-template-columns: 1fr; padding: 2.4rem 1.6rem; text-align: center; }
  .recruit-banner li { justify-content: center; }
}

/* ---------- stat strip ---------- */
.stat-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; flex: 1; min-width: 130px; }
.stat .n { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 700; color: var(--pink); }
.stat .l { font-size: .85rem; color: var(--ink-dim); margin-top: .3rem; }

/* ---------- timeline (about page) ---------- */
.timeline { border-left: 1px solid var(--line); padding-left: 2rem; }
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.42rem; top: .3rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px 3px rgba(255,143,216,.5);
}
.timeline-item h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.timeline-item p { color: var(--ink-dim); font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; cursor: pointer; font-weight: 700; font-size: 1.02rem;
}
.faq-q::after {
  content: '+';
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; color: var(--pink);
  transition: transform .25s ease;
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--ink-dim); font-size: .95rem;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 1.6rem; }

/* ---------- form ---------- */
.form-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.6rem;
}
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .88rem; color: var(--ink-dim); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--ink-dim); margin-top: 1rem; }
.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.3rem;
  border-radius: 12px;
  background: rgba(255,143,216,.12);
  border: 1px solid rgba(255,143,216,.35);
  font-size: .92rem;
}

/* ---------- two column content block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split img { border-radius: 20px; border: 1px solid var(--line); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.blog-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(255,143,216,.4); }
.blog-card .tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .8rem; line-height: 1.5; }
.blog-card p { color: var(--ink-dim); font-size: .92rem; flex: 1; margin-bottom: 1.3rem; }
.blog-card .read-more { font-size: .88rem; font-weight: 700; color: var(--pink); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  gap: 1rem;
  color: var(--ink-dim);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.article h2 { font-size: 1.4rem; font-weight: 800; margin: 2.2rem 0 1rem; }
.article h3 { font-size: 1.15rem; font-weight: 700; margin: 1.8rem 0 .8rem; color: var(--pink); }
.article p { color: var(--ink-dim); margin-bottom: 1.2rem; font-size: 1rem; }
.article ul, .article ol { color: var(--ink-dim); margin: 0 0 1.2rem 1.4rem; }
.article li { margin-bottom: .5rem; }
.article strong { color: var(--ink); }
.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(176,115,255,.16), rgba(255,143,216,.08));
  border: 1px solid rgba(216,150,255,.3);
  text-align: center;
}
.article-cta p { color: var(--ink-dim); margin-bottom: 1.3rem; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.contact-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}
.contact-card .icon { font-size: 1.8rem; margin-bottom: .8rem; }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card p { color: var(--ink-dim); font-size: .9rem; margin-bottom: 1.1rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
