/* 云海世界二级页面公共样式 */
:root {
  --gold: #fbbf24;
  --rose: #f472b6;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --green: #34d399;
  --text: #ffffff;
  --text-2: #d4d4d4;
  --muted: #a3a3a3;
  --radius-sm: 0.375rem;
  --radius-lg: 9999px;
  --serif: 'Noto Serif SC', serif;
  --sans: 'Inter', sans-serif;
  --max-width: 1440px;
  --padding-x: clamp(24px, 4vw, 72px);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
/* 统一页头 */
.subpage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1.5rem var(--padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: conic-gradient(from 90deg at 50% 50%, var(--cyan), var(--violet), var(--rose), var(--gold), var(--cyan));
  animation: spin 8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.brand-text em {
  font-size: 0.625rem;
  font-style: normal;
  letter-spacing: 0.2em;
  opacity: 0.6;
  font-weight: 500;
}
.subpage-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.subpage-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.subpage-nav a:hover, .subpage-nav a.active {
  color: var(--cyan);
}
/* 统一按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}
.btn-primary:hover {
  background: #06b6d4;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: white;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
/* 统一页面容器 */
.subpage-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
  width: 100%;
}
/* 统一标题字号 */
.h1 {
  font-size: clamp(42px, 9vw, 76px);
  line-height: 1.05;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 700;
}
/* 统一段落行高 */
p {
  line-height: 1.8;
  color: var(--text-2);
}
/* 统一section上下留白 */
.section {
  padding: clamp(72px, 8vw, 96px) 0;
}
/* 16:9与超宽屏断点适配 */
@media (min-aspect-ratio: 16/9) {
  .subpage-container {
    max-width: 1520px;
  }
}
@media (max-width: 768px) {
  .subpage-header {
    padding: 1rem var(--padding-x);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .subpage-nav {
    gap: 1rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
}