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

:root {
  --gold: #F5B842;
  --purple: #9C4DFF;
  --deep: #0B0E14;
  --blue: #101B2E;
  --steel: #7BF0E0;
  --moon: #EAF0F8;
  --gray: #8B9BB4;
  --ink: #1B1035;
  --orange: #FF7A45;
  --max-width: 1280px;
  --font-display: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--deep);
  color: var(--moon);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(245, 184, 66, 0.35);
  color: var(--moon);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--deep);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 80px 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: var(--deep);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.25s ease;
}
.skip-link:focus-visible {
  top: 0;
  outline: none;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.04em;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.3s ease, filter 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.btn--gold {
  display: inline-block;
  background: var(--gold);
  color: var(--deep);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 4px 18px rgba(245, 184, 66, 0.3);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  filter: brightness(1.12);
  box-shadow: 0 6px 28px rgba(245, 184, 66, 0.5);
  transform: translateY(-1px);
}

.btn--ghost {
  display: inline-block;
  background: linear-gradient(var(--deep), var(--deep)) padding-box,
              linear-gradient(130deg, rgba(245, 184, 66, 0.7), rgba(156, 77, 255, 0.5)) border-box;
  border: 1px solid transparent;
  color: var(--gold);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  filter: brightness(1.3);
  background: linear-gradient(rgba(245, 184, 66, 0.06), rgba(245, 184, 66, 0.06)) padding-box,
              linear-gradient(130deg, var(--gold), var(--purple)) border-box;
  box-shadow: 0 0 20px rgba(245, 184, 66, 0.25);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.98) 0%, rgba(16, 27, 46, 0.95) 100%);
  border-bottom: 1px solid rgba(139, 155, 180, 0.12);
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  background: linear-gradient(90deg, var(--gold) 0%, var(--purple) 55%, rgba(156, 77, 255, 0.1) 100%);
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: radial-gradient(ellipse at right top, rgba(156, 77, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}

.brand__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, #d4942f 100%);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  box-shadow: 0 0 16px rgba(245, 184, 66, 0.35);
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--moon);
}
.brand__text small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-top: 2px;
  white-space: nowrap;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
  transform: scaleX(0) skewX(-30deg);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--moon);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1) skewX(-30deg);
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}

.site-header__cta {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
}

.site-header__progress {
  position: relative;
  z-index: 2;
  height: 2px;
  background: rgba(139, 155, 180, 0.12);
  overflow: hidden;
}
.site-header__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 400;
  height: 100vh;
  width: min(340px, 85vw);
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
  border-left: 1px solid rgba(156, 77, 255, 0.25);
  padding: 80px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.mobile-nav::before {
  content: '彩';
  position: absolute;
  right: -30px;
  bottom: -50px;
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 900;
  color: rgba(156, 77, 255, 0.06);
  pointer-events: none;
  line-height: 1;
}
.mobile-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav a {
  position: relative;
  display: block;
  padding: 14px 16px;
  color: var(--moon);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 155, 180, 0.1);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  transition: color 0.3s, background 0.3s, border-color 0.3s, padding-left 0.3s;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(245, 184, 66, 0.07);
  border-bottom-color: rgba(245, 184, 66, 0.3);
  padding-left: 22px;
}
.mobile-nav__cta {
  margin-top: 24px;
  text-align: center;
}
.mobile-nav__cta.btn--gold {
  padding: 14px 24px;
  font-size: 16px;
}

.site-footer {
  position: relative;
  background: linear-gradient(165deg, var(--blue) 0%, var(--ink) 55%, var(--deep) 100%);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245, 184, 66, 0.1), var(--gold) 30%, var(--purple) 70%, rgba(156, 77, 255, 0.1));
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 80px;
  right: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(156, 77, 255, 0.09), transparent 70%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.3fr;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.brand__glyph--lg {
  width: 52px;
  height: 52px;
  font-size: 24px;
}
.site-footer__brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--moon);
  line-height: 1.3;
}
.site-footer__brand-text p {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.site-footer__center {
  display: flex;
  gap: 48px;
}

.site-footer__col {
  flex: 1;
}

.site-footer__heading {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
  padding-left: 14px;
}
.site-footer__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--purple));
  transform: skewX(-20deg);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__nav a {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.25s, padding-left 0.25s;
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__nav a[aria-current="page"] {
  color: var(--gold);
  padding-left: 6px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__contact-item,
.site-footer__address {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}
.site-footer__contact-item {
  position: relative;
  padding-left: 18px;
}
.site-footer__contact-item::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 9px;
}
.site-footer__address {
  padding-left: 18px;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(139, 155, 180, 0.12);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--gray);
  font-size: 13px;
}
.site-footer__bottom span {
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--gray);
  transition: color 0.25s;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb [aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}
.breadcrumb__sep {
  color: var(--purple);
  transform: skewX(-15deg);
  display: inline-block;
  font-size: 12px;
}

.section-heading {
  margin-bottom: 44px;
}
.section-heading__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-heading__kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: skewX(-32deg);
}
.section-heading__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--moon);
  margin-bottom: 12px;
}
.section-heading__desc {
  max-width: 620px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--purple);
  background: rgba(156, 77, 255, 0.12);
  border-left: 2px solid var(--purple);
  border-radius: 0 6px 6px 0;
  transform: skewX(-8deg);
}
.tag--gold {
  color: var(--gold);
  background: rgba(245, 184, 66, 0.1);
  border-left-color: var(--gold);
}
.tag--steel {
  color: var(--steel);
  background: rgba(123, 240, 224, 0.08);
  border-left-color: var(--steel);
}

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 184, 66, 0.3);
  clip-path: inherit;
  z-index: 2;
  pointer-events: none;
}
.img-frame::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(225deg, rgba(245, 184, 66, 0.14), transparent 70%);
  z-index: 3;
  pointer-events: none;
}
.img-frame--purple::before {
  border-color: rgba(156, 77, 255, 0.4);
}
.img-frame--purple::after {
  background: linear-gradient(225deg, rgba(156, 77, 255, 0.2), transparent 70%);
}
.img-frame--gold {
  box-shadow: 0 0 0 1px rgba(245, 184, 66, 0.06), 0 8px 40px rgba(0, 0, 0, 0.45);
}
.img-frame--purple {
  box-shadow: 0 0 0 1px rgba(156, 77, 255, 0.08), 0 8px 40px rgba(0, 0, 0, 0.5);
}
.img-frame > img,
.img-frame > .img-frame__ph {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.img-frame__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--blue), var(--ink));
  color: var(--gray);
  font-size: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
}
.img-frame--ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.img-frame--ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.img-frame--ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple), transparent);
  transform: skewX(-20deg);
  max-width: 260px;
  margin: 40px 0;
}
.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
}
.js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .site-header__inner {
    gap: 16px;
  }
  .site-nav a {
    padding: 8px 8px;
    font-size: 14px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .site-footer__center {
    grid-column: 1 / -1;
    order: 3;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }
  .site-header__inner {
    padding: 0 20px;
  }
  .site-nav {
    display: none;
  }
  .site-header__cta {
    margin-left: auto;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .brand__glyph {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .brand__text strong {
    font-size: 15px;
  }
  .brand__text small {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 450;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d4942f);
    color: var(--deep);
    box-shadow: 0 6px 24px rgba(245, 184, 66, 0.45), 0 0 0 1px rgba(245, 184, 66, 0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  }
  .nav-toggle:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(245, 184, 66, 0.6);
  }
  .nav-toggle__icon {
    position: relative;
    width: 22px;
    height: 22px;
  }
  .nav-toggle__icon > span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s ease, top 0.3s var(--ease);
  }
  .nav-toggle__icon > span:nth-child(1) {
    top: 5px;
  }
  .nav-toggle__icon > span:nth-child(2) {
    top: 10px;
  }
  .nav-toggle__icon > span:nth-child(3) {
    top: 15px;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 32px;
  }
  .site-footer__center {
    flex-direction: column;
    gap: 32px;
  }
  .site-footer__bottom {
    padding: 16px 20px;
    justify-content: flex-start;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .site-header__cta {
    display: none;
  }
  .section-heading__title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-header__progress {
    display: none;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mobile-nav {
    transition: none;
  }
  .nav-toggle,
  .btn,
  .site-nav a,
  .site-nav a::after,
  .site-footer__nav a,
  .site-footer__bottom,
  .breadcrumb a {
    transition: none !important;
  }
  .nav-toggle:hover {
    transform: none;
  }
}
