/* ===========================
   activity.css — Dark Theme (8px Grid)
   Brand: #6A0DAD → #FF7F00
   =========================== */

/* ---------- Hero ---------- */
.activity-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 64px;
}
.activity-hero-bg {
  position: absolute;
  inset: 0;
  background: #121218 linear-gradient(135deg, rgba(106,13,173,0.12), rgba(255,127,0,0.08));
  z-index: 0;
}
.activity-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106,13,173,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,13,173,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
.activity-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.activity-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px;
}
.activity-hero p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #CCCCCC;
  margin: 0 auto;
  max-width: 700px;
}

/* ---------- Tab Nav ---------- */
.activity-tab-nav {
  background: #121218;
  padding: 8px 0;
  position: sticky;
  top: 80px;
  z-index: 89;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.activity-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.activity-tabs::-webkit-scrollbar { display: none; }
.activity-tab {
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #CCCCCC;
  background: #1A1A22;
  border: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}
.activity-tab:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}
.activity-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(106,13,173,0.3);
}

/* ---------- Body ---------- */
.activity-body {
  background: #121218;
  padding: 48px 0 0;
}

/* ---------- Sections ---------- */
.activity-section {
  padding: 48px 0;
  scroll-margin-top: 140px;
}

/* ---------- Section Title ---------- */
.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.4px;
  color: #ffffff;
  margin: 0 0 8px;
  text-align: center;
}
.section-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #CCCCCC;
  margin: 0 auto 32px;
  text-align: center;
  max-width: 600px;
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Card ---------- */
.activity-card {
  background: #1A1A22;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}
.activity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106,13,173,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Card Icon */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(106,13,173,0.12);
  margin-bottom: 16px;
  color: #FF7F00;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card Title */
.card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: #ffffff;
  margin: 0 0 12px;
}

/* Card Text */
.card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #EEEEEE;
  margin: 0 0 12px;
  flex: 1;
}

/* Card Perk / Condition */
.card-perk {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #c084fc;
  padding: 10px 12px;
  background: rgba(106,13,173,0.08);
  border-radius: 6px;
  margin-bottom: 16px;
}
.card-condition {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #FF7F00;
  padding: 8px 0;
  margin-bottom: 16px;
}

/* Card Button */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #ffffff;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(106,13,173,0.3);
  align-self: stretch;
  text-align: center;
}
.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,13,173,0.4);
}

/* ---------- Single Card (云服务权益) ---------- */
.card-single {
  max-width: 720px;
  margin: 0 auto;
}
.card-single-content {
  background: #1A1A22;
  border-radius: 8px;
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: all 0.35s ease;
}
.card-single-content:hover {
  border-color: rgba(106,13,173,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.card-single-content .card-title {
  text-align: center;
}
.card-single-content .card-text {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 12px;
}
.card-single-content .card-perk {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 16px;
}
.card-single-content .card-btn {
  align-self: center;
  display: inline-flex;
}
.card-single-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(106,13,173,0.12);
  margin: 0 auto 20px;
  color: #FF7F00;
}
.card-single-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- FAQ Cards ---------- */
.faq-card {
  text-align: center;
}
.faq-card .card-btn {
  align-self: center;
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---------- Contact ---------- */
.contact-wrap {
  background: #0F0F13;
  padding: 48px 0;
}
.contact-section-content {
  position: relative;
  text-align: center;
  padding: 48px 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #1A1A22;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(106,13,173,0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(255,127,0,0.04), transparent 60%);
  z-index: 0;
}
.contact-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.contact-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #EEEEEE;
  margin: 0 auto 24px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  background: rgba(106,13,173,0.1);
  border: 1px solid rgba(106,13,173,0.2);
  color: #c084fc;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.contact-btn:hover {
  background: rgba(106,13,173,0.2);
  border-color: rgba(106,13,173,0.4);
  transform: translateY(-2px);
}
.contact-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A1A22;
  border: 1px solid rgba(255,255,255,0.1);
  color: #CCCCCC;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(106,13,173,0.3);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15,15,19,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
  padding: 8px 0;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #CCCCCC;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2px;
  gap: 4px;
  padding: 4px 12px;
  min-width: 56px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.mobile-nav-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-item.active {
  color: #FF7F00;
}
.mobile-nav-item.active svg {
  stroke: #FF7F00;
}

/* ---------- Button Ripple ---------- */
.btn-ripple-effect {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  transform: scale(0);
  animation: btnRipple 0.6s linear;
  pointer-events: none;
}
@keyframes btnRipple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .card-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .activity-hero { min-height: 280px; padding: 80px 16px 40px; }
  .activity-hero h1 { font-size: 28px; }
  .activity-hero p { font-size: 14px; }
  .activity-body { padding: 32px 0 0; }
  .activity-section { padding: 32px 0; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 13px; margin-bottom: 24px; }
  .card-grid.col-3,
  .card-grid.col-4 {
    grid-template-columns: 1fr;
  }
  .card-single-content { padding: 24px 20px; }
  .contact-section-content { padding: 32px 24px; }
  .contact-title { font-size: 24px; }
  .activity-tabs { justify-content: flex-start; gap: 6px; }
  .activity-tab { padding: 6px 14px; font-size: 13px; }
  .mobile-nav { display: flex !important; }
  .back-to-top { bottom: 64px; right: 16px; width: 40px; height: 40px; }
}

@media (max-width: 576px) {
  .activity-hero h1 { font-size: 24px; }
  .activity-tab { font-size: 12px; padding: 6px 12px; }
}
