@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OC Together Display";
  src: url("fonts/OC-Together-Display.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  src: url("fonts/fa-brands-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  src: url("fonts/fa-regular-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  src: url("fonts/fa-solid-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

.fa-brands,
.fa-regular,
.fa-solid {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.fa-brands { font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.fa-regular { font-family: "Font Awesome 6 Free"; font-weight: 400; }
.fa-solid { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-bell::before { content: "\f0f3"; }
.fa-headset::before { content: "\f590"; }
.fa-rotate::before { content: "\f2f1"; }

:root {
  --bg: #e9ebf2;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-cn: "Microsoft YaHei UI", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  --font-sans: var(--font-cn);
  --font-display: "Geist Pixel Circle", monospace;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { touch-action: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #e9ebf2;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 12%, rgba(235, 201, 221, .18), transparent 34%),
    linear-gradient(180deg, rgba(244, 244, 249, .08), transparent 38%, rgba(44, 39, 54, .08));
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: brightness(1.14) saturate(.92) contrast(.96);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 11;
  width: min(960px, 100%);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 22px);
  animation: slideDown .7s cubic-bezier(.22, 1, .36, 1) both;
}

.logo-button {
  width: auto;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 18px 0 12px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(0,0,0,.82);
  box-shadow: var(--nav-shadow);
  transition: transform .25s ease;
}

.logo-button img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: invert(1);
}

.logo-button::after {
  content: "OC CLUB";
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .18em;
  white-space: nowrap;
}

.logo-button:hover { transform: scale(1.04); }
.logo-button:active { transform: scale(.98); }

.desktop-nav {
  height: clamp(44px, 5.2vw, 48px);
  max-width: 650px;
  padding: 4px 8px;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: space-around;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.desktop-nav a,
.mobile-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -.01em;
  opacity: .5;
  transition: opacity .22s ease, transform .22s ease;
}

.desktop-nav a { padding: 0 clamp(7px, 1vw, 12px) 4px; white-space: nowrap; }
.desktop-nav a:hover,
.mobile-menu a:hover { opacity: .75; }
.desktop-nav .together-link,
.mobile-menu .together-link {
  width: 96px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background-color: #17171a;
  background-image: url("/media/together/together-brush-nav-transparent.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
  text-indent: -999px;
  opacity: 1;
}
.desktop-nav .together-link:hover,
.mobile-menu .together-link:hover { opacity: 1; }
.desktop-nav a.active,
.mobile-menu a.active { opacity: 1; }

.desktop-nav a.active::after,
.mobile-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 #000, 5px 0 #000;
}

.sign-in {
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--sign-in-text);
  border-radius: 999px;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 500;
  white-space: nowrap;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}

.sign-in:hover { color: #fff; background: #323234; transform: translateY(-1px); }
.sign-in:active { transform: translateY(0) scale(.98); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  min-height: 0;
  padding: clamp(10px, 2vh, 22px) 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.headline {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 80px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-align: center;
  -webkit-text-stroke: clamp(.35px, .055vw, .85px) currentColor;
  text-shadow: 0 0 1px rgba(255,255,255,.28);
}

.headline.headline-cn {
  font-family: var(--font-cn);
  font-size: clamp(30px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: .035em;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.38);
}

.headline.anim { opacity: 1; filter: none; transform: none; animation: none; }
.headline span { display: block; overflow: hidden; white-space: nowrap; opacity: 0; transform: translateY(14px); }
.headline span:first-child { animation: headlineFade .85s .12s cubic-bezier(.22, 1, .36, 1) forwards; }
.headline span:last-child { animation: headlineFade .85s .3s cubic-bezier(.22, 1, .36, 1) forwards; }

.subhead {
  width: min(500px, 92%);
  margin: clamp(14px, 2.2vh, 22px) 0 0;
  color: #d0d0d0;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  font-weight: 400;
  line-height: 1.55;
  opacity: .8;
}

.cta {
  margin-top: clamp(16px, 2.5vh, 26px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  color: #000;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 22px rgba(255,255,255,.32), 0 0 44px rgba(255,255,255,.12);
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cta.anim { animation-name: revealPulse; }
.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 30px rgba(255,255,255,.48), 0 0 58px rgba(255,255,255,.2);
}
.cta:active { transform: translateY(0) scale(.98); }

.visit-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: clamp(24px, 4vh, 42px) 0 0;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-cn);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.visit-counter strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.anim {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(22px) scale(.98);
  animation: reveal .85s var(--d, 0s) cubic-bezier(.22, 1, .36, 1) forwards;
}

.mobile-overlay,
.mobile-menu { display: none; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes revealPulse {
  0% { opacity: 0; filter: blur(6px); transform: translateY(22px) scale(.92); }
  70% { opacity: 1; filter: blur(0); transform: translateY(-1px) scale(1.045); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes headlineFade {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes overlayIn { from { opacity: 0; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(9px); } }

@media (max-width: 720px) {
  .page { padding: 16px 14px; }
  .site-header { width: 100%; justify-content: space-between; }
  .desktop-nav,
  .desktop-signin { display: none; }
  .logo-button { width: auto; height: 48px; }
  .menu-toggle {
    position: relative;
    z-index: 12;
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: var(--pill-dark);
    box-shadow: var(--nav-shadow);
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
  }
  .menu-toggle span { width: 18px; height: 1.5px; display: block; background: currentColor; transition: transform .28s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] { color: #000; background: #fff; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
  .mobile-overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 9;
    display: block;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: overlayIn .28s ease both;
  }
  .mobile-menu:not([hidden]) {
    position: fixed;
    z-index: 10;
    top: 78px;
    right: 14px;
    left: 14px;
    padding: 22px 18px 20px;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    animation: menuIn .38s cubic-bezier(.22,1,.36,1) both;
  }
  .mobile-menu nav { display: grid; }
  .mobile-menu a {
    min-height: 52px;
    font-size: 16px;
    opacity: 0;
    animation: linkIn .35s cubic-bezier(.22,1,.36,1) forwards;
  }
  .mobile-menu a:nth-child(1) { animation-delay: .07s; }
  .mobile-menu a:nth-child(2) { animation-delay: .11s; }
  .mobile-menu a:nth-child(3) { animation-delay: .15s; }
  .mobile-menu a:nth-child(4) { animation-delay: .19s; }
  .mobile-menu a:nth-child(5) { animation-delay: .23s; }
  .mobile-menu a:nth-child(6) { animation-delay: .27s; }
  .mobile-menu a:nth-child(7) { animation-delay: .31s; }
  .mobile-menu a:nth-child(8) { animation-delay: .35s; }
  .mobile-menu a.active::after { bottom: 8px; }
  .mobile-menu .mobile-signin {
    min-height: 50px;
    margin-top: 10px;
    color: #fff;
    border-radius: 999px;
    background: var(--pill-dark);
    opacity: 1;
  }
  .headline { line-height: 1.05; letter-spacing: -.08em; }
  .subhead { max-width: 500px; }
  .desktop-break { display: none; }
}

@media (max-width: 420px) {
  .headline { line-height: 1.04; letter-spacing: -.09em; }
}

@media (max-height: 700px) {
  .page { padding-block: 12px; }
  .hero { padding-block: 4px; }
  .subhead { margin-top: 9px; line-height: 1.4; }
  .cta { margin-top: 12px; }
  .stat-value { margin-top: 2px; }
  .stat small { margin-top: 2px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .anim,
  .headline.anim,
  .headline span { opacity: 1; filter: none; transform: none; }
  .headline { color: #fff; }
}
