:root {
  --primary-deep-red: #800020;
  --dark-violet: #4A0E4E;
  --gold: #D4AF37;
  --soft-pink: #E8A2B3;
  --neon-pink: #FF1493;
  --ink-black: #0D0D0D;
  --ivory-light: #F5F0E6;
  --grey-purple: #B7A8C9;
  --font-heading: 'Playfair Display', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container-max: 1200px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivory-light);
  background-color: var(--ink-black);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ivory-light);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: rgba(255, 20, 147, 0.3);
  color: var(--ivory-light);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink-black);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-deep-red);
  border-radius: 5px;
}

#main-content {
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, 840px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.page-header {
  padding-block: clamp(2rem, 5vw, 3.5rem) 1rem;
  position: relative;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.page-desc {
  font-size: 1rem;
  color: var(--grey-purple);
  max-width: 60ch;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5em;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3em;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--ink-black);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 5px 5px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease;
}

.site-header-wrap.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(212, 175, 55, 0.3);
}

.header-rule {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.site-header {
  position: relative;
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
  padding: 1.25rem 0 0.75rem;
  text-align: center;
}

.brand {
  display: block;
}

.brand-en {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--grey-purple);
  margin-bottom: 0.4rem;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  color: var(--ivory-light);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.brand-name::before,
.brand-name::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  background: radial-gradient(circle, var(--gold), var(--neon-pink));
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.5);
}

.brand-name::before {
  margin-right: 0.55rem;
}

.brand-name::after {
  margin-left: 0.55rem;
}

.brand-desc {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--grey-purple);
}

.nav-toggle {
  position: absolute;
  top: 1.1rem;
  right: 0.25rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  background: rgba(13, 13, 13, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.site-nav[data-open="true"] {
  display: block;
  animation: nav-slide-in 0.22s ease-out;
}

@keyframes nav-slide-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.nav-link {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--grey-purple);
  border: 1px solid transparent;
  border-radius: 2em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.35);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.07);
}

.site-footer {
  position: relative;
  margin-top: 2rem;
  padding: 3rem 0 1.75rem;
  background: linear-gradient(180deg, var(--dark-violet) 0%, #1a0518 100%);
  border-top: 3px solid var(--gold);
  color: var(--ivory-light);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(255, 20, 147, 0.12), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-col {
  position: relative;
  min-width: 0;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ivory-light);
  position: relative;
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
}

.footer-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.4em;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer-slogan {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--soft-pink);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--grey-purple);
  max-width: 30ch;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-links a {
  display: inline-block;
  color: var(--grey-purple);
  font-size: 0.9rem;
  line-height: 2.1;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.footer-contact-list li {
  position: relative;
  padding-left: 1.2em;
  color: var(--grey-purple);
  font-size: 0.9rem;
  line-height: 2.1;
}

.footer-contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--grey-purple);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.82rem;
  color: var(--grey-purple);
}

.footer-icp {
  letter-spacing: 0.05em;
}

.btn {
  display: inline-block;
  padding: 0.7em 1.6em;
  border-radius: 2em;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary-deep-red);
  color: var(--ivory-light);
  border-color: rgba(212, 175, 55, 0.5);
}

.btn-primary:hover {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 20, 147, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.6);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--grey-purple);
}

.breadcrumb a {
  color: var(--grey-purple);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-separator {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 0.45rem;
  background: var(--gold);
  opacity: 0.5;
  vertical-align: middle;
}

.tag {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: 2em;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid;
}

.tag-gold {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
}

.tag-pink {
  color: var(--soft-pink);
  border-color: rgba(232, 162, 179, 0.5);
  background: rgba(232, 162, 179, 0.06);
}

.img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 20, 147, 0.12), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.12), transparent 40%),
    linear-gradient(135deg, rgba(128, 0, 32, 0.5), rgba(74, 14, 78, 0.5));
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 240, 230, 0.08) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
}

.img-frame[data-ratio="21/9"] {
  aspect-ratio: 21 / 9;
}

.img-frame[data-ratio="4/3"] {
  aspect-ratio: 4 / 3;
}

.img-frame[data-ratio="1/1"] {
  aspect-ratio: 1 / 1;
}

.img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tilt-left {
  transform: rotate(-1.2deg);
}

.tilt-right {
  transform: rotate(1.2deg);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.js [data-reveal][data-delay="1"] {
  transition-delay: 0.15s;
}

html.js [data-reveal][data-delay="2"] {
  transition-delay: 0.3s;
}

html.js [data-reveal][data-delay="3"] {
  transition-delay: 0.45s;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}

.scroll-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--gold), var(--neon-pink));
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.4);
  transition: width 0.1s linear;
}

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

@media (min-width: 768px) {
  .site-header {
    padding: 1.5rem 0 0.85rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    margin-top: 1.1rem;
    padding-top: 0.8rem;
  }

  .nav-list {
    flex-direction: row;
    justify-content: center;
    gap: 0.4rem;
  }

  .nav-item {
    width: auto;
    max-width: none;
  }

  .nav-link {
    padding: 0.45rem 1.05rem;
    font-size: 0.88rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding: 1.75rem 0 0.9rem;
  }

  .nav-link {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 2.75rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress-bar {
    transition: none;
  }

  .nav-toggle-line {
    transition: none;
  }

  .btn,
  .btn-primary,
  .btn-ghost,
  .nav-link,
  .site-header-wrap {
    transition: none;
  }
}
