/* ========================================
   juhui.css - 线下聚会 Page Styles
   ======================================== */

/* --- Hero Section --- */
.juhui-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, #0b0f1a 0%, #0f1726 30%, #131f35 60%, #0e1a2d 100%);
  overflow: hidden;
}

.juhui-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0,120,255,0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.juhui-hero::after {
  content: '';
  position: absolute;
  bottom: -8%;
  right: -4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(100,50,200,0.08), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.juhui-hero .particles-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.juhui-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.juhui-hero-tag {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(0, 178, 255, 0.4);
  border-radius: 20px;
  color: #00B2FF;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
  background: rgba(0, 178, 255, 0.06);
}

.juhui-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}

.juhui-hero h1 span {
  color: #FEA631;
}

.juhui-hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  font-weight: 300;
}

.juhui-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.juhui-hero-stats .stat-item {
  text-align: center;
}

.juhui-hero-stats .stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #00B2FF;
  display: block;
}

.juhui-hero-stats .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.juhui-hero .cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #00B2FF, #0090cc);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0, 178, 255, 0.3);
}

.juhui-hero .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 178, 255, 0.45);
}

/* --- Value Section --- */
.juhui-value {
  padding: 100px 24px;
  background-color: #f8fafc;
  background-image: linear-gradient(rgba(0,178,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0,178,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}

.juhui-value .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.juhui-value .section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #0F1923;
  margin-bottom: 60px;
}

.juhui-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.juhui-value-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(15, 25, 35, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.juhui-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 25, 35, 0.1);
}

.juhui-value-card .card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.juhui-value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0F1923;
  margin-bottom: 12px;
}

.juhui-value-card p {
  font-size: 15px;
  color: #5a6775;
  line-height: 1.7;
}

/* --- Timeline Section --- */
.juhui-timeline-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
}

.juhui-timeline-section .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.juhui-timeline-section .section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.juhui-timeline-section .section-subtitle {
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 70px;
}

/* Timeline wrapper */
.juhui-timeline {
  position: relative;
  padding: 0;
}

.juhui-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #00B2FF, rgba(0, 178, 255, 0.15));
  transform: translateX(-50%);
}

/* Year Badge */
.timeline-year-badge {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 40px;
}

.timeline-year-badge span {
  display: inline-block;
  background: linear-gradient(135deg, #FEA631, #e8912a);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 8px 28px;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(254, 166, 49, 0.35);
}

/* Timeline Item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 60px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  padding-right: 60px;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  padding-left: 60px;
  text-align: left;
}

/* Node circle on the line */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00B2FF;
  border: 3px solid #0F1923;
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 178, 255, 0.5);
}

.timeline-item.left::before {
  right: -8px;
}

.timeline-item.right::before {
  left: -8px;
}

/* Card */
.timeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 178, 255, 0.12);
  border-color: rgba(0, 178, 255, 0.2);
}

.timeline-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.15), rgba(254, 166, 49, 0.1));
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  padding: 20px;
  text-align: center;
  line-height: 1.6;
}

.timeline-card-body {
  padding: 24px;
}

.timeline-card-body .event-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.timeline-item.left .timeline-card-body .event-title {
  justify-content: flex-end;
}

.timeline-card-body .event-title .event-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.timeline-card-body .event-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 14px;
}

.timeline-card-body .event-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #00B2FF;
  background: rgba(0, 178, 255, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
}

.timeline-item.left .timeline-card-body .event-desc,
.timeline-item.left .timeline-card-body .event-location {
  text-align: right;
}

.timeline-item.left .timeline-card-body .event-location {
  float: right;
}

/* --- Stats Section --- */
.juhui-stats {
  padding: 80px 24px;
  background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.juhui-stats .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.juhui-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.juhui-stat-item {
  padding: 32px 16px;
}

.juhui-stat-item .stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: #00B2FF;
  line-height: 1.1;
  margin-bottom: 8px;
}

.juhui-stat-item .stat-number .stat-suffix {
  font-size: 0.6em;
  color: #FEA631;
}

.juhui-stat-item .stat-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Join Section --- */
.juhui-join {
  padding: 100px 24px;
  background-color: #f8fafc;
  background-image: linear-gradient(rgba(0,178,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0,178,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  text-align: center;
}

.juhui-join .section-inner {
  max-width: 600px;
  margin: 0 auto;
}

.juhui-join .section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #0F1923;
  margin-bottom: 16px;
}

.juhui-join .section-desc {
  font-size: 16px;
  color: #5a6775;
  margin-bottom: 40px;
  line-height: 1.7;
}

.juhui-join .qr-wrapper {
  display: inline-block;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(15, 25, 35, 0.08);
  margin-bottom: 20px;
}

.juhui-join .qr-wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  display: block;
}

.juhui-join .qr-text {
  font-size: 14px;
  color: #8a95a3;
  margin-bottom: 36px;
}

.juhui-join .cta-btn-outline {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid #00B2FF;
  color: #00B2FF;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.juhui-join .cta-btn-outline:hover {
  background: #00B2FF;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .juhui-value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .juhui-value-card {
    padding: 32px 24px;
  }

  .juhui-hero-stats {
    gap: 24px;
  }

  .juhui-hero-stats .stat-num {
    font-size: 28px;
  }

  /* Timeline mobile */
  .juhui-timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-year-badge {
    text-align: left;
    padding-left: 40px;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    padding: 0 0 40px 50px;
    text-align: left;
  }

  .timeline-item::before,
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 13px;
    right: auto;
  }

  .timeline-item.left .timeline-card-body .event-title {
    justify-content: flex-start;
  }

  .timeline-item.left .timeline-card-body .event-desc,
  .timeline-item.left .timeline-card-body .event-location {
    text-align: left;
  }

  .timeline-item.left .timeline-card-body .event-location {
    float: none;
  }

  .juhui-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .juhui-stat-item .stat-number {
    font-size: 36px;
  }

  .juhui-join .qr-wrapper img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .juhui-hero {
    padding: 100px 16px 60px;
    min-height: 80vh;
  }

  .juhui-hero-stats {
    gap: 16px;
  }

  .juhui-hero-stats .stat-num {
    font-size: 24px;
  }

  .juhui-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .juhui-stat-item {
    padding: 20px 12px;
  }
}
