:root {
  --teal: #2AACA7;
  --teal-light: #E8F8F7;
  --teal-dark: #1F8A85;
  --gold: #D4AF37;
  --gold-light: #FDF6E3;
  --gold-dark: #B8941F;
  --ink: #1A1A2E;
  --text-secondary: #5F6877;
  --text-muted: #8D98A8;
  --bg: #F5F7FA;
  --bg-white: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.05);
  --shadow: 0 10px 30px rgba(26, 26, 46, 0.08);
  --shadow-teal: 0 16px 40px rgba(42, 172, 167, 0.16);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(42, 172, 167, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

#shared-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin-right: auto;
}

.nav-logo {
  display: block;
  width: clamp(132px, 15vw, 178px);
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

#shared-navbar .nav-link,
#shared-navbar .nav-user,
#shared-navbar .nav-action {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 14px;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

#shared-navbar .nav-user {
  cursor: default;
  color: var(--text-secondary) !important;
}

#shared-navbar .nav-auth-trigger {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

#shared-navbar .nav-auth-trigger:hover {
  color: var(--teal) !important;
}

#shared-navbar .nav-action {
  color: var(--text-muted) !important;
  font-size: 13px;
}

#shared-navbar .nav-link:hover,
#shared-navbar .nav-action:hover {
  color: var(--teal) !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-screen {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(42, 172, 167, 0.15), transparent 35%),
    radial-gradient(ellipse at 84% 18%, rgba(212, 175, 55, 0.13), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--teal-light) 58%, #fff 100%);
}

.landing-navigation-progress {
  position: fixed;
  top: 60px;
  left: 50%;
  z-index: 120;
  width: min(460px, calc(100vw - 32px));
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(42, 172, 167, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.landing-navigation-progress strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.landing-navigation-progress-bar {
  height: 6px;
  overflow: hidden;
  background: var(--border-light);
  border-radius: 999px;
}

.landing-navigation-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  transition: width 0.32s ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(390px, 1.2fr);
  gap: 24px;
  align-items: center;
  max-width: 1280px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(18px, 3vh, 34px) 24px clamp(8px, 1.5vh, 18px);
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 4px 14px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 999px;
  color: var(--gold-dark);
  background: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.hero-brand-logo {
  display: block;
  width: min(430px, 86vw);
  max-height: 112px;
  margin-bottom: 6px;
  object-fit: contain;
  object-position: left center;
}

.hero-subtitle {
  max-width: 440px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
}

.hero-visual-wrap {
  position: relative;
  min-width: 0;
}

.hero-platform-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(42, 172, 167, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-teal);
  max-height: clamp(240px, 40vh, 380px);
}

.activities {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(10px, 2vh, 18px) 24px clamp(18px, 2.8vh, 30px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-heading span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.section-all-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

.section-all-link:hover {
  color: var(--gold-dark);
}

.section-heading h2 {
  margin-top: 2px;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.25;
}

.activity-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.activity-carousel {
  margin-top: 2px;
}

.activity-carousel .el-carousel__item--card {
  width: 58%;
}

.activity-carousel-card {
  display: flex;
  height: 100%;
  padding: 0 10px;
}

.activity-carousel-card .activity-card {
  width: 100%;
  min-height: 0;
  height: 256px;
}

.activity-card {
  overflow: hidden;
  min-height: 256px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.activity-carousel .el-carousel__arrow {
  width: 36px;
  height: 36px;
  background: rgba(26, 26, 46, 0.62);
  box-shadow: var(--shadow-sm);
}

.activity-carousel .el-carousel__arrow:hover {
  background: var(--teal-dark);
}

.activity-carousel .el-carousel__indicator--horizontal {
  padding: 10px 5px 0;
}

.activity-carousel .el-carousel__button {
  width: 20px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(31, 138, 133, 0.62);
}

.activity-card:hover {
  border-color: rgba(42, 172, 167, 0.22);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}

.card-cover {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  height: 150px;
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(135deg, rgba(42, 172, 167, 0.9), rgba(212, 175, 55, 0.76));
}

.card-cover::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  transform: rotate(-4deg);
}

.card-cover::after {
  content: '';
  position: absolute;
  right: 26px;
  bottom: -34px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.card-cover-has-image::before,
.card-cover-has-image::after {
  display: none;
}

.card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .card-cover img {
  transform: scale(1.04);
}

.card-cover-quiz {
  background:
    radial-gradient(circle at 24% 32%, rgba(255, 255, 255, 0.38) 0 11px, transparent 12px),
    radial-gradient(circle at 58% 58%, rgba(255, 255, 255, 0.28) 0 8px, transparent 9px),
    linear-gradient(135deg, #2AACA7 0%, #157D90 58%, #D4AF37 100%);
}

.card-cover-creative {
  background:
    radial-gradient(circle at 28% 62%, rgba(255, 255, 255, 0.36) 0 12px, transparent 13px),
    linear-gradient(135deg, #FDF6E3 0%, #2AACA7 46%, #1F8A85 100%);
}

.card-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(26, 26, 46, 0.58);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.card-body p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.activity-dialog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-height: min(70vh, 680px);
  overflow-y: auto;
  padding: 4px 2px;
}

.activity-dialog-card {
  min-height: 244px;
}

.activities-dialog .el-dialog__body {
  padding-top: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 8px 24px;
  background: #101828;
  color: rgba(255, 255, 255, 0.68);
}

.footer-logo {
  display: block;
  width: 118px;
  height: 32px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .landing-screen {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-brand-logo {
    margin-right: auto;
    margin-left: auto;
    object-position: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-platform-visual {
    max-height: 300px;
    object-position: center;
  }

  .activity-carousel .el-carousel__item--card {
    width: 68%;
  }
}

@media (max-width: 720px) {
  #shared-navbar {
    gap: 4px;
    padding: 0 12px;
    overflow: visible;
  }

  .nav-logo {
    width: 124px;
    height: 36px;
  }

  #shared-navbar .nav-link,
  #shared-navbar .nav-user,
  #shared-navbar .nav-action {
    padding: 0 8px;
    font-size: 13px;
  }

  .hero {
    gap: 16px;
    padding: 22px 18px 12px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-brand-logo {
    width: min(330px, 88vw);
    max-height: 88px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-platform-visual {
    max-height: 194px;
  }

  .activities {
    padding: 10px 18px 14px;
  }

  .section-heading {
    display: block;
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .activity-track-grid {
    gap: 12px;
  }

  .activity-carousel .el-carousel__item--card {
    width: 82%;
  }

  .activity-carousel-card {
    padding: 0 6px;
  }

  .activity-card {
    display: block;
    min-height: 244px;
  }

  .card-cover {
    height: 132px;
    min-height: 0;
  }

  .card-cover::before {
    inset: 18px;
  }

  .card-cover::after {
    right: 18px;
    bottom: -28px;
    width: 104px;
    height: 104px;
  }

  .card-body {
    padding: 14px 16px 16px;
  }

  .card-body h3 {
    font-size: 16px;
  }

  .card-body p {
    display: block;
    overflow: visible;
  }

  .site-footer {
    gap: 12px;
    min-height: 44px;
    padding: 8px 18px;
  }
}

@media (max-width: 440px) {
  .activity-track-grid {
    grid-template-columns: 1fr;
  }

  .card-cover {
    height: 128px;
  }
}
