:root {
  color-scheme: dark;
  --bg: #0a0a09;
  --text: #f3efe4;
  --muted: #aaa59b;
  --gold: #d5b868;
  --gold-light: #f3dda0;
  --line: rgba(222, 195, 122, 0.22);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 32%, rgba(184, 145, 57, 0.13), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.poster {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: 100dvh;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 74px 1fr 54px;
}

.poster > * { min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; letter-spacing: 0.08em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; font-size: 17px; }
.topbar-note { color: #8f8a80; font-size: 12px; letter-spacing: 0.14em; }

.hero {
  display: grid;
  min-height: 0;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding: 34px 0 24px;
}

.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow { display: flex; margin: 0 0 24px; align-items: center; gap: 12px; color: var(--gold); font-size: 12px; letter-spacing: 0.18em; }
.eyebrow::before { width: 42px; height: 1px; content: ""; background: currentColor; }
h1 { margin: 0; font-size: clamp(56px, 6.2vw, 94px); font-weight: 560; letter-spacing: -0.06em; line-height: 0.98; }
.title-line { display: block; }
.title-gold { color: var(--gold-light); }
.hero-text { margin: 26px 0 30px; color: #d1cbc0; font-size: clamp(22px, 2.2vw, 31px); font-weight: 480; letter-spacing: 0.04em; }

.contact-box {
  position: relative;
  display: flex;
  width: min(100%, 510px);
  min-height: 92px;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(213, 184, 104, 0.11), rgba(255, 255, 255, 0.025));
}

.contact-box span { display: block; margin-bottom: 7px; color: var(--gold); font-size: 18px; letter-spacing: 0.12em; }
.contact-box strong { color: var(--gold-light); font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(25px, 3vw, 38px); letter-spacing: 0.04em; }
.copy-button { min-height: 44px; padding: 0 19px; border: 0; border-radius: 999px; background: var(--gold-light); color: #19150c; cursor: pointer; font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform 180ms ease, background-color 180ms ease; }
.contact-box .copy-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.copy-button:hover { transform: translateY(-2px); background: #fae8b4; }
.copy-button:active { transform: translateY(1px) scale(0.98); }
.copy-status { position: absolute; right: 20px; bottom: -24px; margin: 0; color: var(--muted); font-size: 11px; }

.brand-gallery { position: relative; width: min(100%, 640px); max-width: 100%; min-width: 0; height: min(62vh, 610px); min-height: 420px; justify-self: end; }
.brand-image { position: absolute; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #141412; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38); }
.brand-image::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.38); }
.brand-image-yaxing { top: 0; left: 0; width: 62%; aspect-ratio: 1; transform: rotate(-2deg); }
.brand-image-allbet { right: 0; bottom: 0; z-index: 2; width: 58%; aspect-ratio: 1; transform: rotate(2.2deg); }
.brand-image img { filter: saturate(0.78) contrast(1.06); }
.orbit { position: absolute; right: -24px; top: 5%; width: 160px; height: 160px; border: 1px solid rgba(213, 184, 104, 0.23); border-radius: 50%; }
.orbit::after { position: absolute; inset: 31px; content: ""; border: 1px solid rgba(213, 184, 104, 0.15); border-radius: inherit; }

footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #706c64; font-size: 11px; letter-spacing: 0.08em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 900px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .poster { width: calc(100vw - 32px); max-width: 720px; min-height: 100dvh; grid-template-columns: minmax(0, 1fr); grid-template-rows: 62px 1fr 42px; }
  .brand > span:last-child, .topbar-note { display: none; }
  .hero { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 0 14px; }
  .hero-copy { width: 100%; max-width: 100%; text-align: center; }
  .eyebrow { margin-bottom: 14px; justify-content: center; font-size: 10px; }
  .eyebrow::before { width: 26px; }
  h1 { width: 100%; font-size: clamp(40px, 10.8vw, 62px); line-height: 1.02; }
  .hero-text { margin: 15px 0 18px; font-size: clamp(18px, 5vw, 24px); }
  .contact-box { min-height: 72px; margin: 0 auto; padding: 12px 14px; text-align: left; }
  .contact-box strong { font-size: clamp(21px, 6.5vw, 32px); }
  .brand-gallery { width: 100%; max-width: 520px; height: min(39vh, 340px); min-height: 260px; justify-self: center; }
  .brand-image-yaxing { width: 51%; }
  .brand-image-allbet { width: 51%; }
  .orbit { width: 100px; height: 100px; }
  footer { font-size: 9px; }
}

@media (max-width: 520px) {
  .poster { grid-template-rows: 58px 1fr 34px; }
  .hero { gap: 14px; padding-top: 18px; }
  h1 { font-size: 42px; letter-spacing: -0.065em; }
  .title-line { white-space: nowrap; }
  .hero-text { margin: 13px 0 15px; }
  .contact-box { width: 100%; min-width: 0; min-height: 66px; gap: 8px; overflow: hidden; }
  .contact-box > div { min-width: 0; }
  .contact-box strong { font-size: 21px; }
  .copy-button { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .brand-gallery { height: min(35vh, 300px); min-height: 230px; }
  .brand-image-yaxing { left: 4%; width: 49%; }
  .brand-image-allbet { right: 4%; width: 49%; }
  footer span:last-child { display: none; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .poster { grid-template-rows: 64px 1fr 42px; }
  .hero { padding: 20px 0 14px; }
  .brand-gallery { height: 520px; min-height: 0; }
  h1 { font-size: clamp(54px, 5.6vw, 76px); }
  .hero-text { margin: 18px 0 22px; }
}
