/* ==========================================================
   One Strike Capital — Shared Styles for Subpages
   Inherits main site's visual language
   ========================================================== */

:root {
  --bg: #0A0A0A;
  --bg-deep: #050505;
  --gold: #C9A961;
  --gold-bright: #D4AF37;
  --gold-dim: #8B7A3F;
  --text: #E8E6E1;
  --text-muted: #8B8680;
  --hairline: rgba(201, 169, 97, 0.2);
  --serif: 'Cormorant Garamond', 'Songti SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', sans-serif;
  --mono: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* ---------- Ethereal particle field (behind everything) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 620px at 18% 22%, rgba(212,175,55,0.075), transparent 60%),
    radial-gradient(ellipse 780px 540px at 84% 78%, rgba(212,175,55,0.055), transparent 60%),
    radial-gradient(ellipse 620px 520px at 52% 50%, rgba(212,175,55,0.020), transparent 70%);
  animation: aurora-drift 60s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'><g fill='%23C9A961'><circle cx='24' cy='47' r='0.7' opacity='0.45'/><circle cx='83' cy='19' r='0.5' opacity='0.35'/><circle cx='148' cy='72' r='0.6' opacity='0.4'/><circle cx='209' cy='31' r='0.5' opacity='0.3'/><circle cx='276' cy='98' r='0.8' opacity='0.5'/><circle cx='341' cy='42' r='0.5' opacity='0.35'/><circle cx='402' cy='85' r='0.6' opacity='0.42'/><circle cx='465' cy='27' r='0.5' opacity='0.32'/><circle cx='49' cy='134' r='0.6' opacity='0.4'/><circle cx='117' cy='168' r='0.5' opacity='0.3'/><circle cx='189' cy='142' r='0.7' opacity='0.48'/><circle cx='254' cy='176' r='0.5' opacity='0.32'/><circle cx='318' cy='121' r='0.6' opacity='0.38'/><circle cx='388' cy='159' r='0.5' opacity='0.3'/><circle cx='456' cy='138' r='0.7' opacity='0.45'/><circle cx='31' cy='219' r='0.5' opacity='0.32'/><circle cx='96' cy='253' r='0.6' opacity='0.4'/><circle cx='162' cy='229' r='0.5' opacity='0.3'/><circle cx='231' cy='268' r='0.8' opacity='0.5'/><circle cx='295' cy='214' r='0.5' opacity='0.32'/><circle cx='360' cy='247' r='0.6' opacity='0.4'/><circle cx='428' cy='225' r='0.5' opacity='0.33'/><circle cx='489' cy='262' r='0.7' opacity='0.44'/><circle cx='67' cy='308' r='0.5' opacity='0.3'/><circle cx='138' cy='342' r='0.6' opacity='0.4'/><circle cx='201' cy='319' r='0.5' opacity='0.32'/><circle cx='268' cy='356' r='0.7' opacity='0.45'/><circle cx='334' cy='302' r='0.5' opacity='0.3'/><circle cx='399' cy='338' r='0.6' opacity='0.4'/><circle cx='463' cy='316' r='0.5' opacity='0.32'/><circle cx='19' cy='391' r='0.7' opacity='0.45'/><circle cx='82' cy='425' r='0.5' opacity='0.3'/><circle cx='153' cy='402' r='0.6' opacity='0.4'/><circle cx='218' cy='438' r='0.5' opacity='0.32'/><circle cx='283' cy='411' r='0.7' opacity='0.45'/><circle cx='349' cy='447' r='0.5' opacity='0.3'/><circle cx='415' cy='419' r='0.6' opacity='0.4'/><circle cx='481' cy='452' r='0.5' opacity='0.32'/><circle cx='41' cy='486' r='0.6' opacity='0.4'/><circle cx='108' cy='469' r='0.5' opacity='0.3'/><circle cx='176' cy='502' r='0.7' opacity='0.45'/><circle cx='241' cy='477' r='0.5' opacity='0.32'/><circle cx='308' cy='494' r='0.6' opacity='0.38'/><circle cx='374' cy='479' r='0.5' opacity='0.3'/><circle cx='442' cy='501' r='0.7' opacity='0.42'/></g></svg>");
  background-repeat: repeat;
  background-size: 520px 520px;
  animation: dust-drift 90s linear infinite;
}

@keyframes aurora-drift {
  0%   { transform: translate(0, 0)     scale(1); }
  50%  { transform: translate(-2%, 1%)  scale(1.02); }
  100% { transform: translate(2%, -1%)  scale(1); }
}

@keyframes dust-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 520px 260px; }
}

/* ---------- Bilingual visibility (EN / ZH) ---------- */
.en, .zh { display: none; }
html[data-lang="en"] .en { display: inline; }
html[data-lang="zh"] .zh { display: inline; }
html[data-lang="zh"] body { font-family: 'PingFang SC', 'Noto Sans SC', var(--sans); }

/* ---------- Navigation ---------- */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 26px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,10,0.85), rgba(10,10,10,0.4) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav .logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-decoration: none;
}

nav .nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--gold);
}

/* Two-button EN / 中 language switch — matches main site */
.lang {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
}
.lang button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  padding: 4px 2px;
  opacity: 0.45;
  transition: opacity 0.2s, color 0.2s;
}
.lang button.on {
  opacity: 1;
  color: var(--gold);
}
.lang button:hover { opacity: 0.8; }

/* ---------- Layout ---------- */
section {
  min-height: 100vh;
  padding: 120px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Typography ---------- */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 640px;
  line-height: 1.7;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--gold-bright);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hairline dividers ---------- */
.hairline {
  height: 1px;
  background: var(--hairline);
  width: 100%;
}

/* ---------- Contact card (replaces modal on subpages) ---------- */
.contact-card {
  max-width: 620px;
  margin: 40px auto 0;
  border: 1px solid var(--hairline);
  padding: 44px 48px;
  background: linear-gradient(135deg, rgba(201,169,97,0.03), rgba(201,169,97,0.06));
  text-align: left;
}
.contact-card .contact-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  gap: 20px;
  flex-wrap: wrap;
}
.contact-card .contact-line:last-child { border-bottom: none; }
.contact-card .contact-line .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card .contact-line .v {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
}
.contact-card .contact-line .v a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.contact-card .contact-line .v a:hover {
  border-bottom-color: var(--gold);
}

/* ---------- Footer ---------- */
footer {
  padding: 60px 48px 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  position: relative;
  z-index: 1;
}

footer .disclaimer {
  max-width: 720px;
  margin: 22px auto 0;
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.8;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  body::before, body::after { animation: none !important; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  nav.main-nav { padding: 20px 24px; }
  nav .nav-links { gap: 18px; }
  nav .nav-links a { font-size: 11px; letter-spacing: 0.1em; }
  .lang { margin-left: 4px; padding-left: 12px; }
  .lang button { font-size: 11px; }
  section { padding: 100px 24px; }
  .contact-card { padding: 32px 24px; }
}

@media (max-width: 560px) {
  nav.main-nav { padding: 16px 20px; }
  nav .logo { font-size: 18px; }
  nav .nav-links a { display: none; }
  nav .nav-links a[data-keep-mobile] { display: inline; }
  .contact-card .contact-line { flex-direction: column; align-items: flex-start; gap: 6px; }
}
