@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=ZCOOL+XiaoWei&display=swap");

:root {
  --ink: #1f2c24;
  --muted: #5b6a60;
  --accent: #1f8f5a;
  --accent-strong: #187246;
  --accent-warm: #f0b35a;
  --surface: #ffffff;
  --surface-2: #f7f4ee;
  --surface-3: #edf6f0;
  --border: rgba(31, 44, 36, 0.12);
  --shadow-sm: 0 8px 18px rgba(16, 33, 24, 0.12);
  --shadow-md: 0 20px 40px rgba(16, 33, 24, 0.16);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 244, 233, 0.9), transparent 52%),
    radial-gradient(circle at 88% 0%, rgba(214, 238, 224, 0.9), transparent 46%),
    linear-gradient(120deg, #f7f4ee 0%, #edf6f0 46%, #f7f0e8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(2px);
}

body::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(240, 179, 90, 0.6), rgba(240, 179, 90, 0.08));
}

body::after {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(31, 143, 90, 0.5), rgba(31, 143, 90, 0.05));
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-wrap {
  padding: 24px 0 64px;
}

.container {
  max-width: 1160px;
}

.glass-nav {
  background: rgba(24, 54, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 4px;
  font-size: 0.92rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 24px rgba(31, 143, 90, 0.25);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-strong);
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: #ffffff;
  color: #ffffff;
}

.section {
  margin-top: 48px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head-emphasis {
  align-items: center;
  margin-bottom: 24px;
}

.section-head-emphasis > div {
  width: fit-content;
  max-width: 100%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 44, 36, 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 12px;
  position: relative;
}

.section-head-emphasis > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #58b98a);
}

.section-head-emphasis .section-title {
  padding-left: 12px;
}

.section-head-emphasis .section-subtitle {
  padding-left: 12px;
}

.section-title {
  font-size: 1.8rem;
  margin: 0;
}

.section-subtitle {
  color: var(--muted);
  margin: 0;
}

.hero-splash {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 42px;
  min-height: 360px;
  background-image: linear-gradient(115deg, rgba(18, 33, 24, 0.9), rgba(18, 33, 24, 0.35)), var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: #f7fbf9;
}

.hero-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2), transparent 48%),
    radial-gradient(circle at 16% 84%, rgba(240, 179, 90, 0.2), transparent 46%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  margin: 14px 0 12px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hero-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hero-meta {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.hero-meta .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta .meta-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 143, 90, 0.12);
  color: var(--accent);
  font-size: 1.2rem;
}

.village-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.village-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.village-cover {
  min-height: 190px;
  background-size: cover;
  background-position: center;
}

.village-cover-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.village-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.village-location {
  color: var(--muted);
  font-size: 0.9rem;
}

.village-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 0.8rem;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(110deg, rgba(31, 143, 90, 0.12), rgba(240, 179, 90, 0.16));
  border: 1px solid rgba(31, 143, 90, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.detail-visual {
  border-radius: var(--radius-lg);
  min-height: 320px;
  background-image: linear-gradient(120deg, rgba(18, 33, 24, 0.8), rgba(18, 33, 24, 0.2)), var(--hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.detail-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
}

.section-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.spot-card,
.stay-card,
.food-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}

.spot-card img,
.stay-card img,
.food-card img {
  width: 100%;
  object-fit: cover;
}

.spot-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.spot-cover {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.spot-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.spot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.spot-title {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 1;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.spot-card .card-body,
.stay-card .card-body,
.food-card .card-body {
  padding: 18px;
}

.spot-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  min-height: 48px;
}

.stay-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stay-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stay-cover {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.price-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(31, 143, 90, 0.92);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.stay-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.stay-card .price {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.food-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.food-card img {
  height: 100%;
  min-height: 160px;
}

.food-price {
  color: #d9654f;
  font-weight: 700;
}

.spot-hero {
  border-radius: var(--radius-lg);
  padding: 32px;
  background-image: linear-gradient(120deg, rgba(18, 33, 24, 0.88), rgba(18, 33, 24, 0.32)), var(--hero-image);
  color: #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.breadcrumb {
  background: transparent;
  margin-bottom: 16px;
}

.chat-shell {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.chat-header {
  padding: 20px 24px;
  background: linear-gradient(120deg, rgba(31, 143, 90, 0.16), rgba(240, 179, 90, 0.18));
  border-bottom: 1px solid var(--border);
}

.chat-window {
  padding: 20px 24px;
  height: 520px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(247, 244, 238, 0.6), rgba(237, 246, 240, 0.4));
}

.chat-row {
  display: flex;
  margin-bottom: 14px;
}

.chat-row.me {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}

.chat-bubble p {
  margin-bottom: 0.5rem;
}

.chat-bubble ul,
.chat-bubble ol {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.chat-row.me .chat-bubble {
  background: var(--accent);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.chat-row.ai .chat-bubble {
  border-bottom-left-radius: 6px;
}

.chat-footer {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.quick-asks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.footer-note {
  color: var(--muted);
}

.classroom-section {
  margin-top: 32px;
}

.category-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 143, 90, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.video-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #0f1a14;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: 14px 16px 18px;
}

.video-actions {
  margin-top: 6px;
}

.cloud-project-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.cloud-project-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(19, 38, 29, 0.08), rgba(31, 143, 90, 0.1));
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.cloud-project-content h5 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}

.cloud-project-content p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.78;
}

.cloud-course-list {
  color: var(--muted);
  padding-left: 1.1rem;
  line-height: 1.7;
}

.service-grid-card {
  display: block;
  background:
    linear-gradient(140deg, rgba(14, 28, 21, 0.72), rgba(14, 28, 21, 0.38)),
    var(--card-image);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  text-decoration: none;
  height: 100%;
  color: #f5fbf8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-grid-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.2rem;
}

.service-grid-desc {
  color: rgba(245, 251, 248, 0.9);
  margin-bottom: 10px;
}

.service-grid-card .text-success {
  color: #d8f9e9 !important;
}

.team-achievements {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.achievement-item {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(31, 44, 36, 0.15);
  color: var(--muted);
  font-size: 0.92rem;
}

.achievement-item:last-child {
  border-bottom: 0;
}

.team-section-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  height: 100%;
}

.team-section-no {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.team-focus {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

.team-desc {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.volunteer-gallery-card {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.volunteer-gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.volunteer-gallery-card figcaption {
  padding: 14px 16px 16px;
}

.gallery-showcase {
  display: grid;
  gap: 14px;
}

.gallery-stage-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.18fr) minmax(0, 0.64fr) minmax(0, 0.18fr);
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.gallery-stage-panel,
.gallery-preview {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(31, 44, 36, 0.12);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 179, 90, 0.16), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(31, 143, 90, 0.18), transparent 34%),
    linear-gradient(135deg, #13261d 0%, #1a3328 100%);
}

.gallery-stage-panel {
  min-height: 520px;
}

.gallery-stage {
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
}

.gallery-preview {
  min-height: 360px;
  opacity: 0.88;
  transform: scale(0.94);
}

.gallery-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 38, 29, 0.06), rgba(19, 38, 29, 0.22));
}

.gallery-preview.left::after {
  background: linear-gradient(90deg, rgba(19, 38, 29, 0.45), rgba(19, 38, 29, 0.08));
}

.gallery-preview.right::after {
  background: linear-gradient(270deg, rgba(19, 38, 29, 0.45), rgba(19, 38, 29, 0.08));
}

.gallery-preview-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 74px;
  height: 124px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.09));
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gallery-nav span {
  transform: translateY(-2px);
}

.gallery-nav.prev { left: calc(18% - 14px); }
.gallery-nav.next { right: calc(18% - 14px); }

.gallery-nav:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 143, 90, 0.24);
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gallery-dot.active {
  width: 34px;
  background: var(--accent);
}

.module-intro-text {
  color: var(--muted);
  line-height: 1.9;
  white-space: pre-line;
}

.submodule-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.submodule-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 0.78rem;
}

.activity-feed {
  display: grid;
  gap: 22px;
}

.activity-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.activity-media {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 179, 90, 0.22), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(31, 143, 90, 0.25), transparent 32%),
    linear-gradient(130deg, #13261d 0%, #1a3328 100%);
}

.activity-stage {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.activity-stage.contain {
  object-fit: contain;
}

.activity-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(18, 33, 24, 0.36);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.activity-nav.prev {
  left: 14px;
}

.activity-nav.next {
  right: 14px;
}

.activity-nav span {
  transform: translateY(-2px);
}

.activity-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.activity-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.activity-dot.active {
  width: 30px;
  background: #ffffff;
}

.activity-body {
  padding: 22px 24px;
}

.activity-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.activity-meta-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--surface-3);
}

.activity-desc {
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}

.competition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.competition-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 16px;
}

.competition-title {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.competition-award {
  display: inline-block;
  color: var(--accent);
  background: var(--surface-3);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.competition-desc {
  color: var(--muted);
  line-height: 1.75;
}

.competition-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.competition-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #2fa36d);
}

.reveal {
  animation: revealUp 0.7s ease both;
}

.feature-card,
.service-grid-card,
.village-card,
.spot-card,
.stay-card,
.food-card,
.video-card,
.team-section-card,
.volunteer-gallery-card,
.submodule-card,
.activity-card,
.competition-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .food-card {
    grid-template-columns: 1fr;
  }

  .gallery-stage-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-preview {
    display: none;
  }

  .gallery-stage-panel {
    min-height: 380px;
  }

  .gallery-stage {
    height: 380px;
  }

  .gallery-nav.prev {
    left: 16px;
  }

  .gallery-nav.next {
    right: 16px;
  }

  .activity-body {
    padding: 18px;
  }

  .cloud-project-image {
    min-height: 240px;
  }

  .competition-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .activity-media {
    min-height: 260px;
  }

  .activity-stage {
    min-height: 260px;
  }
}

@media (max-width: 575px) {
  .hero-splash {
    padding: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .chat-window {
    height: 420px;
  }

  .gallery-stage {
    height: 260px;
  }

  .gallery-stage-panel {
    min-height: 260px;
  }

  .gallery-nav {
    width: 52px;
    height: 88px;
    font-size: 2rem;
  }

  .gallery-nav.prev {
    left: 10px;
  }

  .gallery-nav.next {
    right: 10px;
  }

  .activity-nav {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }

  .activity-nav.prev {
    left: 8px;
  }

  .activity-nav.next {
    right: 8px;
  }

  .activity-dot.active {
    width: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}
