:root {
  --red: #ff0000;
  --violet: #8b00ff;
  --ink: #261717;
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.09);
  --glass-2: rgba(255, 255, 255, 0.16);
  --r: 18px;
  --maxw: 1180px;
  --pad: clamp(14px, 4vw, 44px);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f7ecec;
  font-family: "Nunito Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 12% 6%, rgba(255, 0, 0, 0.6), transparent 70%),
    radial-gradient(44% 46% at 88% 12%, rgba(139, 0, 255, 0.52), transparent 72%),
    radial-gradient(50% 42% at 50% 98%, rgba(255, 0, 0, 0.24), transparent 72%);
  filter: blur(52px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(38, 23, 23, 0.3), rgba(38, 23, 23, 0.82));
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffd6d6;
  outline-offset: 3px;
}

article[id] {
  scroll-margin-top: 20px;
}

/* 顶部两行：品牌行 + 菜单行 */
.top {
  padding: 16px var(--pad) 0;
}

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: #fff;
}

.logo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--line);
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--violet));
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.75);
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact:hover {
  background: var(--glass-2);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.menu {
  max-width: var(--maxw);
  margin: 12px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu p {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 4px 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: #f0e2e2;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--violet));
  opacity: 0.7;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.menu a:hover {
  background: var(--glass-2);
  color: #fff;
}

.menu a:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.85);
}

/* 头图区：左文右图，紧凑 */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  min-height: 45vh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3.6vw, 38px) var(--pad);
}

.hero-copy {
  min-width: 0;
  max-width: 36ch;
  text-align: left;
}

h1 {
  margin: 0 0 14px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  background: linear-gradient(96deg, #ffffff 22%, #ffd5d5 58%, #e0c2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  color: rgba(255, 240, 240, 0.84);
}

.hero-figure {
  position: relative;
  margin: 0;
  min-width: 0;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 34px 64px -26px rgba(0, 0, 0, 0.8);
}

.hero-figure::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 58%;
  height: 52%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 0, 255, 0.55), transparent);
  filter: blur(26px);
}

/* 正文 + 右侧栏 */
main {
  display: block;
}

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(6px, 1.6vw, 18px) var(--pad) 56px;
}

.col-main {
  min-width: 0;
}

.content {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 62px -36px rgba(0, 0, 0, 0.9);
  overflow-wrap: break-word;
}

.content > article {
  padding: 26px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  scroll-margin-top: 20px;
}

.content > article:first-child {
  padding-top: 2px;
}

.content > article:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.content h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.36;
  color: #fff;
}

.content h2 > span {
  position: relative;
  padding-bottom: 7px;
}

.content h2 > span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--violet));
  opacity: 0.85;
}

.content h3 {
  margin: 22px 0 8px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.4;
  color: #ffecec;
}

.content p {
  margin: 0 0 14px;
}

.content ul,
.content ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
}

.content li {
  margin: 0.35em 0;
}

.content a {
  color: #ffb5b5;
  text-underline-offset: 3px;
}

.content a:hover {
  color: #fff;
}

.content strong {
  color: #fff;
}

.content time {
  font-size: 16px;
  color: rgba(255, 240, 240, 0.66);
}

.content img {
  border-radius: 14px;
}

.content blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--violet);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(255, 255, 255, 0.07);
}

/* 右侧栏 */
.side {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.panel {
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95);
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

.panel h2 > span {
  position: relative;
  padding-left: 12px;
}

.panel h2 > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 15px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red), var(--violet));
}

.side-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  color: #f0e2e2;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-list a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.panel-brand {
  margin: 0 0 10px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  overflow-wrap: break-word;
}

.panel-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* 页脚：两栏 + 超大品牌 + 版权 */
footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.fwrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 3vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px) var(--pad) 22px;
}

.bigbrand {
  margin: 0 0 14px;
  font-family: "Rubik", "PingFang SC", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 7.6vw, 82px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--red), #ff93ac 46%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  overflow-wrap: break-word;
}

footer address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  font-size: 17px;
  color: rgba(255, 244, 244, 0.82);
  overflow-wrap: break-word;
}

.fdesc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 240, 240, 0.66);
}

.flinks ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flinks a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: #f2e6e6;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.flinks a:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.copy {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad) 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 16px;
  color: rgba(255, 240, 240, 0.62);
}

/* 滚动显现 */
html.js .rev {
  opacity: 0;
  transform: translateY(16px);
}

html.js .rev.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.7, 0.3, 1);
}

@media (max-width: 960px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .side {
    grid-template-columns: minmax(0, 1fr);
  }

  .fwrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu a {
    padding: 0 9px;
  }

  .content {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .rev {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contact,
  .menu a,
  .side-list a,
  .flinks a {
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
