/* 每日大赛 DAILY PAGEANT - Official Stylesheet */
/* Black Gold Stage Visual System */

:root {
  --bg-main: #050505;
  --bg-deep: #090909;
  --bg-content: #10100F;
  --bg-secondary: #171611;
  --bg-hover: #201E18;
  --title: #FFF9E9;
  --text: #E5DDCA;
  --text-secondary: #AAA18D;
  --text-muted: #7C7467;
  --gold: #D6AE55;
  --gold-highlight: #F4D77F;
  --gold-light: #FFE7A4;
  --gold-deep: #9C722A;
  --gold-dark: #5D4116;
  --border: rgba(214,174,85,0.18);
  --border-focus: rgba(244,215,127,0.48);
  --shadow: 0 18px 50px rgba(0,0,0,0.48);
  --shadow-gold: 0 18px 48px rgba(214,174,85,0.18);
  --btn-gradient: linear-gradient(135deg, #FFE7A4 0%, #D6AE55 50%, #90651C 100%);
  --btn-text: #181107;
  --footer-bg: #030303;
  --nav-height: 76px;
  --max-width: 1320px;
  --radius: 6px;
  --radius-sm: 2px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

a:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,5,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--title);
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand-cn {
  font-size: 1.05rem;
  color: var(--title);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-text .brand-en {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-center {
  display: none;
  flex: 1;
  justify-content: center;
}

.nav-center ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-center a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-center a:hover {
  color: var(--title);
}

.nav-center a.active {
  color: var(--title);
  border-bottom-color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-btn {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
}

.search-btn:hover {
  color: var(--title);
  border-color: var(--border-focus);
}

.btn-participate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--btn-gradient);
  color: var(--btn-text) !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  white-space: nowrap;
  min-height: 44px;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.btn-participate:hover {
  opacity: 0.92;
  box-shadow: var(--shadow-gold);
  color: var(--btn-text) !important;
}

/* Mobile header adjustments */
.mobile-participate {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .nav-center {
    display: flex;
  }
  .search-btn {
    display: flex;
  }
  .mobile-participate {
    display: none;
  }
  .nav-right .btn-participate {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  .nav-right .btn-participate.desktop-only {
    display: none;
  }
}

/* ===== Side Menu Panel ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(460px, 88vw);
  background: var(--bg-deep);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  visibility: hidden;
  pointer-events: none;
}

.side-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.side-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-menu-brand img {
  height: 32px;
}

.side-menu-brand .brand-info {
  display: flex;
  flex-direction: column;
}

.side-menu-brand .cn {
  font-size: 1rem;
  color: var(--title);
  font-weight: 600;
}

.side-menu-brand .en {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--title);
}

.menu-close:hover {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.side-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0 40px;
  -webkit-overflow-scrolling: touch;
}

.menu-group {
  padding: 12px 24px 8px;
}

.menu-group-title {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

.menu-group a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 4px;
  transition: background 0.2s;
}

.menu-group a:hover {
  background: var(--bg-hover);
}

.menu-group a .link-name {
  display: block;
  color: var(--title);
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.menu-group a .link-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ===== Main Content ===== */
.site-main {
  min-height: 60vh;
  padding-bottom: 40px;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 28px;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  min-height: 46px;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--btn-text) !important;
}

.btn-primary:hover {
  opacity: 0.93;
  box-shadow: var(--shadow-gold);
  color: var(--btn-text) !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-focus);
  color: var(--gold-light) !important;
}

.btn-outline:hover {
  background: var(--bg-hover);
  color: var(--title) !important;
}

.btn-text {
  background: none;
  border: none;
  color: var(--gold);
  padding: 8px 0;
  font-weight: 500;
  min-height: auto;
}

.btn-text:hover {
  color: var(--gold-highlight);
}

/* ===== Hero / Banner ===== */
.hero-stage {
  position: relative;
  background: var(--bg-deep);
}

.hero-image-wrap {
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-info-bar {
  background: linear-gradient(180deg, #0c0b09 0%, #050505 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.hero-info-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .hero-info-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 28px;
  }
}

.hero-brand-line {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.hero-short-title {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--title);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 640px;
  margin-bottom: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.hero-keywords span {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* ===== Index secondary nav ===== */
.index-channel-bar {
  background: var(--bg-content);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.index-channel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  gap: 8px 24px;
  white-space: nowrap;
}

.index-channel-inner a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  position: relative;
  padding: 4px 0;
}

.index-channel-inner a:hover {
  color: var(--title);
}

.index-channel-inner a.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== Sections common ===== */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-content);
}

.section-deep {
  background: var(--bg-deep);
}

.section-header {
  margin-bottom: 36px;
}

.section-header .eyebrow {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header .lead {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 0.98rem;
}

/* ===== Cards & grids ===== */
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-4 {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.card-link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}

.card-link:hover {
  color: var(--gold-highlight);
}

/* Feature focus layout */
.focus-block {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .focus-block {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
  }
}

.focus-main {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.focus-main h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.focus-main p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.focus-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.focus-side .quick-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}

.focus-side .quick-item:hover {
  border-color: var(--border-focus);
}

.focus-side .quick-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.focus-side .quick-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Track / channel showcase uneven sizes */
.track-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .track-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .track-grid .track-item:nth-child(1) {
    grid-row: span 2;
  }
}

.track-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.track-item.large {
  min-height: 280px;
}

.track-item h3 {
  margin-bottom: 12px;
}

.track-item p {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Fashion topics */
.fashion-list {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .fashion-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .fashion-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fashion-item {
  border-left: 2px solid var(--gold-dark);
  padding: 16px 18px 16px 20px;
  background: var(--bg-content);
}

.fashion-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.fashion-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Archive placeholders */
.archive-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.archive-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.archive-num {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.archive-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Roadmap steps */
.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 900px) {
  .roadmap-steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
  }
}

.step-item {
  flex: 1;
  min-width: 160px;
  padding: 24px 18px;
  border-left: 2px solid var(--border);
  position: relative;
}

@media (min-width: 900px) {
  .step-item {
    border-left: none;
    border-top: 2px solid var(--border);
    padding-top: 32px;
  }
  .step-item::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
  }
}

.step-num {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Criteria numbers */
.criteria-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .criteria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.criteria-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.criteria-num {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.85;
}

.criteria-item h3 {
  margin-bottom: 10px;
}

.criteria-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Program list style */
.program-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.program-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  background: var(--bg-content);
}

.program-row:last-child {
  border-bottom: none;
}

.program-row:nth-child(even) {
  background: var(--bg-secondary);
}

.program-title {
  color: var(--title);
  font-weight: 500;
}

.program-status {
  font-size: 0.82rem;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Studio magazine style */
.studio-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .studio-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius);
}

.studio-block h3 {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.studio-block p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Academy articles */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.article-item:last-child {
  border-bottom: none;
}

.article-item h3 {
  margin-bottom: 8px;
}

.article-item h3 a {
  color: var(--title);
}

.article-item h3 a:hover {
  color: var(--gold-highlight);
}

.article-item p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Insights editorial */
.insight-list {
  display: grid;
  gap: 22px;
}

@media (min-width: 768px) {
  .insight-list {
    grid-template-columns: 1fr 1fr;
  }
}

.insight-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
}

.insight-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.insight-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Results status */
.results-status-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 28px;
}

.status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.status-tag {
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 2px;
}

/* Participate box */
.participate-box {
  background: #080807;
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.participate-box h2 {
  margin-bottom: 16px;
}

.participate-box p {
  color: var(--text);
  line-height: 1.8;
}

/* Safety split */
.safety-split {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .safety-split {
    grid-template-columns: 1fr 1fr;
  }
  .safety-split .safety-block:nth-child(2) {
    margin-top: 40px;
  }
}

.safety-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius);
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-content);
}

.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  color: var(--title);
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Page hero for inner pages */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.page-hero .eyebrow {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero .page-lead {
  color: var(--text-secondary);
  max-width: 780px;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Content prose */
.prose {
  max-width: 820px;
}

.prose p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}

.prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.prose ul, .prose ol {
  margin: 1rem 0 1.2rem 1.4rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

/* Numbered list for criteria / steps */
.num-list {
  counter-reset: item;
}

.num-list-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  margin-bottom: 28px;
  align-items: start;
}

.num-list-item .num {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
}

/* Timeline vertical */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 8px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-main);
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* App section */
.app-section {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
}

.app-section h2 {
  margin-bottom: 16px;
}

.app-section p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Brand manifesto */
.manifesto {
  background: linear-gradient(180deg, #0a0907 0%, #050505 100%);
  border-top: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto h2 {
  margin-bottom: 20px;
}

.manifesto p {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1.02rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 120px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 56px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 420px;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-brand .brand-name {
  font-size: 1.15rem;
  color: var(--title);
  font-weight: 600;
}

.footer-brand .brand-en {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.footer-columns {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--title);
}

.footer-notice {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 20px;
}

.footer-notice p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 900px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== Mobile Bottom Nav ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(3,3,3,0.97);
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  min-height: 52px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.mobile-bottom-nav a.active {
  color: var(--gold);
}

.mobile-bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 20px;
}

/* Page specific helpers */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gallery-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item .caption {
  padding: 14px 16px;
}

.gallery-item .caption h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.gallery-item .caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.challenge-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.challenge-num {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}

.challenge-card h3 {
  margin-bottom: 8px;
}

.challenge-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Handbook chapters */
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.chapter-nav a {
  font-size: 0.88rem;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-secondary);
}

.chapter-nav a:hover {
  border-color: var(--border-focus);
  color: var(--title);
}

.chapter {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.chapter:last-child {
  border-bottom: none;
}

/* Contact categories */
.contact-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: var(--radius);
}

.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

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

/* Ensure no horizontal scroll */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}
