/* ========================================
   十五五经营模拟对抗赛 — 样式文件
   主色调：深蓝 #0a1628 / 金色 #c9a84c / 白色
   强调色：红橙 #e84c3d / #f39c12
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #f8f9fb;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-list a:hover {
  color: #c9a84c;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #c9a84c;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Float Button ---------- */
.float-btn {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 999;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.5);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  background: #0a1628;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 76, 61, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(10, 22, 40, 1) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 20px;
}

.hero-pk-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pk-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  background: linear-gradient(135deg, #e84c3d, #d63031);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.pk-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  margin-top: 20px;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-tags span {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: #c9a84c;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: #c9a84c;
  border: 2px solid #c9a84c;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual - Scene image + PK Board */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero-scene {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

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

.pk-board {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  padding: 24px 20px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.pk-board::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05), transparent 70%);
  pointer-events: none;
}

.pk-badge {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #c9a84c;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
}

.pk-badge::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  margin: 10px auto 0;
}

.pk-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pk-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 70px;
}

.pk-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.pk-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pk-card {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pk-card:hover {
  transform: translateY(-3px);
}

.pk-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.pk-style {
  font-size: 10px;
  color: rgba(201, 168, 76, 0.8);
  background: rgba(201, 168, 76, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Per-company card accents */
.pk-a { border-color: rgba(52, 152, 219, 0.3); }
.pk-a:hover { background: rgba(52, 152, 219, 0.15); }
.pk-a .pk-style { color: #5dade2; background: rgba(52, 152, 219, 0.12); }

.pk-b { border-color: rgba(231, 76, 60, 0.3); }
.pk-b:hover { background: rgba(231, 76, 60, 0.15); }
.pk-b .pk-style { color: #ec7063; background: rgba(231, 76, 60, 0.12); }

.pk-c { border-color: rgba(46, 204, 113, 0.3); }
.pk-c:hover { background: rgba(46, 204, 113, 0.15); }
.pk-c .pk-style { color: #58d68d; background: rgba(46, 204, 113, 0.12); }

.pk-d { border-color: rgba(155, 89, 182, 0.3); }
.pk-d:hover { background: rgba(155, 89, 182, 0.15); }
.pk-d .pk-style { color: #af7ac5; background: rgba(155, 89, 182, 0.12); }

.pk-e { border-color: rgba(243, 156, 18, 0.3); }
.pk-e:hover { background: rgba(243, 156, 18, 0.15); }
.pk-e .pk-style { color: #f4d03f; background: rgba(243, 156, 18, 0.12); }

.pk-f { border-color: rgba(26, 188, 156, 0.3); }
.pk-f:hover { background: rgba(26, 188, 156, 0.15); }
.pk-f .pk-style { color: #48c9b0; background: rgba(26, 188, 156, 0.12); }

.pk-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pk-metric {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}

.pk-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.pk-trophy {
  font-size: 13px;
  font-weight: 700;
  color: #c9a84c;
}

.pk-podium {
  font-size: 20px;
  letter-spacing: 4px;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}

.section-dark {
  background: #0a1628;
  color: #fff;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(26, 26, 46, 0.6);
  margin-bottom: 50px;
  line-height: 1.6;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Pain / Highlight cards */
.card-icon {
  margin-bottom: 16px;
}

.card-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.7;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Intro section ---------- */
.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-4px);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 13px;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.6;
}

/* ---------- Timeline ---------- */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #c9a84c, rgba(201, 168, 76, 0.2));
}

.tl-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-year {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.tl-body {
  padding-top: 10px;
}

.tl-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.tl-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Schedule ---------- */
.schedule {
  max-width: 700px;
  margin: 0 auto;
}

.sched-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.sched-time {
  flex-shrink: 0;
  width: 110px;
  font-weight: 700;
  color: #c9a84c;
  font-size: 15px;
}

.sched-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sched-body p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.65);
}

/* ---------- Metric cards ---------- */
.metric-card {
  text-align: center;
  padding: 32px 20px;
}

.metric-icon span {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.metric-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Audience cards ---------- */
.audience-card {
  position: relative;
  padding-top: 48px;
}

.audience-tag {
  position: absolute;
  top: -1px;
  left: 24px;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  padding: 6px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
}

.audience-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.7;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background 0.3s;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.benefit-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- Highlight cards ---------- */
.highlight-card {
  text-align: center;
  padding: 32px 20px;
}

.hl-icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.highlight-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- Cooperation ---------- */
.coop-card {
  text-align: center;
  padding: 32px 18px;
}

.coop-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.coop-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.coop-desc {
  max-width: 750px;
  margin: 40px auto 0;
  text-align: center;
  padding: 24px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.coop-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Register ---------- */
.register-box {
  max-width: 700px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  flex-shrink: 0;
  font-weight: 700;
  color: #c9a84c;
  min-width: 80px;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 10px;
}

.register-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  margin-bottom: 10px;
}

.qr-text {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.6);
  text-align: center;
}

.register-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Ranking Preview ---------- */
.ranking-preview {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3a 100%);
  position: relative;
}

.ranking-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.ranking-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.ranking-header {
  padding: 16px 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ranking-icon {
  font-size: 22px;
}

.ranking-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.profit-color .ranking-header,
.profit-color { border-top: 3px solid #e84c3d; }
.health-color .ranking-header,
.health-color { border-top: 3px solid #2ecc71; }
.growth-color .ranking-header,
.growth-color { border-top: 3px solid #3498db; }
.strategy-color .ranking-header,
.strategy-color { border-top: 3px solid #f39c12; }

.ranking-body {
  padding: 8px 10px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 2px;
  transition: background 0.2s;
}

.ranking-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ranking-item.gold { background: rgba(255, 215, 0, 0.08); }
.ranking-item.silver { background: rgba(192, 192, 192, 0.06); }
.ranking-item.bronze { background: rgba(205, 127, 50, 0.06); }

.rk-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.gold .rk-num { background: #f1c40f; color: #0a1628; }
.silver .rk-num { background: #bdc3c7; color: #0a1628; }
.bronze .rk-num { background: #e67e22; color: #0a1628; }

.rk-team {
  flex: 1;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.rk-val {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ranking-footer {
  padding: 8px 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.ranking-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* ---------- Team Showcase ---------- */
.team-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-letter {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.team-a .team-letter { background: linear-gradient(135deg, #3498db, #5dade2); }
.team-b .team-letter { background: linear-gradient(135deg, #e74c3c, #ec7063); }
.team-c .team-letter { background: linear-gradient(135deg, #27ae60, #58d68d); }
.team-d .team-letter { background: linear-gradient(135deg, #8e44ad, #af7ac5); }
.team-e .team-letter { background: linear-gradient(135deg, #f39c12, #f4d03f); }
.team-f .team-letter { background: linear-gradient(135deg, #16a085, #48c9b0); }

.team-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.team-style {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 10px;
  margin-bottom: 3px;
}

.team-a .team-style { color: #3498db; background: rgba(52, 152, 219, 0.1); }
.team-b .team-style { color: #e74c3c; background: rgba(231, 76, 60, 0.1); }
.team-c .team-style { color: #27ae60; background: rgba(46, 204, 113, 0.1); }
.team-d .team-style { color: #8e44ad; background: rgba(142, 68, 173, 0.1); }
.team-e .team-style { color: #d4ac0d; background: rgba(243, 156, 18, 0.1); }
.team-f .team-style { color: #16a085; background: rgba(26, 188, 156, 0.1); }

.team-info p {
  font-size: 12px;
  color: rgba(26, 26, 46, 0.5);
  line-height: 1.4;
}

/* ---------- Dashboard Preview ---------- */
.dashboard-preview {
  max-width: 700px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dash-header {
  background: #0a1628;
  padding: 16px 20px 12px;
}

.dash-round {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 10px;
}

.dash-tabs {
  display: flex;
  gap: 8px;
}

.dash-tab {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  cursor: default;
}

.dash-tab.active {
  background: rgba(201, 168, 76, 0.2);
  color: #c9a84c;
}

.dash-body {
  padding: 16px 20px;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dash-bar:last-child {
  margin-bottom: 0;
}

.dash-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 26, 46, 0.5);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

.dash-bar-1 .dash-rank { background: #f1c40f; color: #0a1628; }
.dash-bar-2 .dash-rank { background: #bdc3c7; color: #0a1628; }
.dash-bar-3 .dash-rank { background: #e67e22; color: #fff; }

.dash-name {
  flex-shrink: 0;
  width: 58px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.8);
}

.dash-fill {
  flex: 1;
  height: 24px;
  background: linear-gradient(90deg, #c9a84c, #d4b85c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  position: relative;
  min-width: 30px;
  transition: width 1s ease;
}

.dash-val {
  font-size: 11px;
  font-weight: 700;
  color: #0a1628;
  white-space: nowrap;
}

.dash-bar-1 .dash-fill { background: linear-gradient(90deg, #e84c3d, #ec7063); }
.dash-bar-2 .dash-fill { background: linear-gradient(90deg, #e67e22, #f39c12); }
.dash-bar-3 .dash-fill { background: linear-gradient(90deg, #f39c12, #f4d03f); }
.dash-bar-4 .dash-fill { background: linear-gradient(90deg, #3498db, #5dade2); }
.dash-bar-5 .dash-fill { background: linear-gradient(90deg, #2ecc71, #58d68d); }
.dash-bar-6 .dash-fill { background: linear-gradient(90deg, #95a5a6, #bdc3c7); }

.dash-bar-1 .dash-val,
.dash-bar-2 .dash-val,
.dash-bar-3 .dash-val { color: #fff; }

.dash-note {
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  color: rgba(26, 26, 46, 0.4);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(0, 0, 0, 0.02);
}

/* ---------- Hero CTA Text ---------- */
.hero-cta-text {
  font-size: clamp(13px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  padding: 10px 16px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 3px solid #c9a84c;
  border-radius: 0 6px 6px 0;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- Urgency Section ---------- */
.urgency-section {
  background: #f8f9fb;
}

.urgency-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}

.urgency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #d4b85c);
  opacity: 0;
  transition: opacity 0.3s;
}

.urgency-card:hover::before {
  opacity: 1;
}

.urgency-icon {
  margin-bottom: 14px;
}

.urgency-icon span {
  font-size: 32px;
  display: block;
}

.urgency-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.urgency-card p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.65);
  line-height: 1.7;
}

/* ---------- Register Scarcity ---------- */
.register-scarcity {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
  margin: -20px auto 24px;
  padding: 12px 20px;
  background: rgba(232, 76, 61, 0.06);
  border: 1px solid rgba(232, 76, 61, 0.15);
  border-radius: 10px;
}

.scarcity-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #e84c3d, #d63031);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.register-scarcity p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.5;
}

.register-scarcity strong {
  color: #e84c3d;
}

/* ---------- Register Event Message ---------- */
.register-event-msg {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 12px 20px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
}

.event-tag {
  flex-shrink: 0;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.register-event-msg p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.5;
}

/* ---------- Gold Button ---------- */
.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid #c9a84c;
  text-align: center;
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #0a1628;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

/* ---------- Instructor Section ---------- */
.instructor-section {
  background: #f8f9fb;
}

.instructor-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.instructor-header {
  margin-bottom: 20px;
}

.instructor-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 6px;
}

.instructor-title {
  font-size: 14px;
  color: #c9a84c;
  font-weight: 600;
  line-height: 1.6;
}

.instructor-desc p {
  font-size: 15px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.9;
  margin-bottom: 14px;
}

.instructor-desc p:last-child {
  margin-bottom: 0;
}

.instructor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.instructor-tags span {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: #8a7a3a;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.instructor-photo {
  position: sticky;
  top: 100px;
}

.photo-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.instructor-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 14px;
  border: 3px solid #c9a84c;
}

.photo-name {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 4px;
}

.photo-role {
  font-size: 13px;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.5;
}

.instructor-emphasis {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
  padding: 20px 24px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.04);
  position: relative;
}

.emphasis-line {
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  margin: 0 auto 12px;
}

.instructor-emphasis p {
  font-size: 15px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.8;
  font-weight: 500;
}

/* ---------- Gallery Section ---------- */
.gallery-section {
  background: #f8f9fb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.75);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Service Section ---------- */
.service-section {
  background: #f8f9fb;
}

.service-quote {
  max-width: 700px;
  margin: 0 auto 28px;
  text-align: center;
  padding: 16px 24px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.04);
}

.quote-line {
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  margin: 0 auto 12px;
}

.service-quote p {
  font-size: 15px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.8;
  font-weight: 500;
}

.service-intro {
  max-width: 800px;
  margin: 0 auto 36px;
}

.service-intro p {
  font-size: 15px;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.9;
  margin-bottom: 14px;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

.service-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(201, 168, 76, 0.3);
}

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

.service-image-caption {
  text-align: center;
  font-size: 13px;
  color: rgba(26, 26, 46, 0.4);
  margin-top: 12px;
  margin-bottom: 40px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.faq-item.open {
  border-color: rgba(201, 168, 76, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  line-height: 1.4;
  font-family: inherit;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #c9a84c;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(201, 168, 76, 0.15);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

/* ---------- Scroll Animation ---------- */
.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .team-showcase { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-scene {
    max-width: 360px;
  }

  .pk-board {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .team-showcase { grid-template-columns: repeat(2, 1fr); }

  .register-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-item {
    flex-direction: column;
    gap: 4px;
  }

  .info-label {
    min-width: auto;
  }

  .instructor-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .instructor-photo {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }

  .instructor-header h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .nav-list a {
    font-size: 16px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .team-showcase { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-tabs { flex-wrap: wrap; }
  .dash-name { width: 46px; font-size: 12px; }

  .float-btn {
    padding: 10px 18px;
    font-size: 13px;
    right: 16px;
    bottom: 24px;
  }
}

@media (max-width: 600px) {
  .card-grid-4 { grid-template-columns: 1fr; }
  .card-grid-5 { grid-template-columns: 1fr; }
  .card-grid-6 { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ranking-grid { grid-template-columns: 1fr; }
  .team-showcase { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img-wrap { aspect-ratio: 16 / 9; }
  .service-cards { grid-template-columns: 1fr; }

  .sched-item {
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
  }

  .sched-time {
    width: auto;
  }

  .hero-tags span {
    font-size: 12px;
    padding: 4px 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .tl-year {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }

  .timeline::before {
    left: 25px;
  }

  .register-box {
    padding: 24px 16px;
  }

  .register-scarcity {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .register-event-msg {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }

  .faq-answer p {
    font-size: 13px;
  }

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