/* ============================================================
   第九届全球最美空姐空哥选拔推介大赛 — 独立版样式
   依据 Figma 设计稿还原（蓝金主题）
   ============================================================ */

/* ---- 主题变量 ---- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E6B8;
  --navy: #1568A8;
  --navy-mid: #1A7FC0;
  --navy-card: #1878B8;
  --bg-top: #2E9FD4;
  --bg-mid: #1A7FC0;
  --bg-bottom: #1568A8;
  --foreground: #F0EDE6;
  --card-foreground: #EEF4FA;
  --muted-foreground: #D0E8F5;
  --border: rgba(201, 168, 76, 0.2);
  --card-bg: linear-gradient(135deg, rgba(20, 90, 145, 0.7), rgba(15, 75, 125, 0.8));
  --serif: "Noto Serif SC", "Playfair Display", serif;
  --sans: "Inter", "Noto Sans SC", sans-serif;
  --display: "Playfair Display", "Noto Serif SC", serif;
}

/* ---- 基础 ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-bottom);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 金线分隔 ---- */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider-sm {
  width: 40px;
  margin: 0 auto;
}

/* ---- 金色渐变文字 ---- */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gold-light-text {
  color: var(--gold-light);
}

/* ---- 导航栏 ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  color: #4a5568;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c53030;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 12px 24px;
  gap: 12px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-size: 14px;
  color: #4a5568;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(21, 104, 168, 0.3) 0%, rgba(26, 127, 192, 0.2) 50%, var(--navy) 100%);
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
  z-index: 0;
  pointer-events: none;
}

.ring-lg {
  width: 600px;
  height: 600px;
}

.ring-sm {
  width: 400px;
  height: 400px;
  border-color: rgba(201, 168, 76, 0.08);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeUp 0.8s ease forwards;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--muted-foreground);
  letter-spacing: 0.4em;
  margin: 16px 0 40px;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-cards {
    flex-direction: row;
  }
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 24px;
  text-align: center;
  min-width: 160px;
  background: var(--card-bg);
}

.info-card-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.info-card-value {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 14px;
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--gold);
  opacity: 0.4;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 40px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.btn-gold:hover {
  background: var(--gold-light);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---- 区块 ---- */
.section {
  padding: 96px 0;
}

.section-tint {
  background: rgba(22, 30, 50, 0.4);
}

.section-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-pale);
  line-height: 1.3;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

/* ---- 关于 ---- */
.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

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

.about-text p {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}

.about-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy), transparent);
}

.about-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  background: var(--card-bg);
}

.about-card-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.about-card-value {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 14px;
}

/* ---- 通用卡片 ---- */
.card {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
}

.hover-gold {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-gold:hover {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.08);
}

/* ---- 报名 ---- */
.register-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.card-title {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 20px;
}

.qr-box {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 12px;
}

.qr-box img {
  width: 100%;
  object-fit: contain;
}

.qr-labels {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.time-box {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.time-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  width: 100%;
  background: var(--card-bg);
}

.time-value {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

.time-label {
  color: var(--muted-foreground);
  font-size: 12px;
  margin-top: 2px;
}

.time-sep {
  color: var(--gold);
  font-size: 14px;
}

/* ---- 参赛条件 ---- */
.conditions-grid {
  display: grid;
  gap: 16px;
}

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

.condition-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  gap: 16px;
  background: var(--card-bg);
}

.condition-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.condition-card p {
  font-size: 14px;
  color: var(--card-foreground);
  line-height: 1.7;
}

/* ---- 赛事阶段 ---- */
.stages-rail {
  display: none;
  position: absolute;
}

@media (min-width: 768px) {
  .stages-rail {
    display: block;
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 200px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
  }
}

.stages-grid {
  position: relative;
  display: grid;
  gap: 24px;
}

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

.stage-card {
  padding: 28px;
  text-align: center;
}

.stage-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.stage-phase {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}

.stage-title {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stage-time {
  color: var(--gold-light);
  font-size: 12px;
  margin-bottom: 12px;
}

.stage-desc {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ---- 奖项 ---- */
.awards-subtitle {
  font-family: var(--serif);
  color: var(--gold-light);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.awards-main {
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}

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

.award-card {
  border-radius: 4px;
  padding: 24px;
}

.award-highlight {
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(22, 30, 50, 0.9));
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.06);
}

.award-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.award-rank {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.award-count {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.2;
}

.award-crown {
  font-size: 24px;
  opacity: 0.7;
}

.award-name {
  font-family: var(--serif);
  color: var(--card-foreground);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.award-prize {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin: 12px 0 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.award-desc {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* 单项奖 */
.special-awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .special-awards {
    grid-template-columns: repeat(5, 1fr);
  }
}

.special-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card-bg);
}

.special-num {
  color: var(--gold);
  font-size: 12px;
}

.special-card span:last-child {
  font-family: var(--serif);
  color: var(--card-foreground);
  font-size: 12px;
  line-height: 1.4;
}

/* 大使奖 */
.ambassador-card {
  padding: 28px;
  text-align: center;
}

.ambassador-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.ambassador-title {
  font-family: var(--serif);
  color: var(--gold-pale);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ambassador-prize {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 16px;
}

.ambassador-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ambassador-tags span {
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  padding: 6px 16px;
  font-family: var(--serif);
  color: var(--card-foreground);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ---- 联系我们 ---- */
.contact-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

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

.contact-card {
  padding: 20px;
  text-align: center;
  display: block;
}

.contact-icon {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-phone {
  font-family: var(--sans);
  color: var(--gold-pale);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.contact-role {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 4px;
}

#contact .container {
  text-align: center;
}

/* ---- 页脚 ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-title {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-subtitle {
  font-size: 12px;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
}

.footer-copyright {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 16px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

/* ---- 动画 ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.shimmer {
  animation: shimmer 3s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 响应式：移动端导航 ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}
