:root {
  --gc-gold: #FFD166;
  --gc-gold-light: #FFE5A0;
  --gc-purple: #7B6CDB;
  --gc-blue: #5B9FE8;
  --gc-pink: #E879A8;
  --gc-cream: #FFF8E8;
}

.growth-center-page {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gc-bg {
  position: fixed;
  top: 0;
  left: 110px;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.gc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gc-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(10, 12, 46, 0.25) 60%, rgba(10, 12, 46, 0.45) 100%);
  pointer-events: none;
}

.gc-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  padding: 18px 28px 24px;
  display: flex;
  flex-direction: column;
}

.gc-header {
  text-align: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.gc-title {
  font-size: 42px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 4px;
  text-shadow:
    0 0 20px rgba(123, 108, 219, 0.75),
    0 0 45px rgba(244, 197, 66, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 6px;
}

.gc-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #FFF5C8;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(244, 197, 66, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.gc-star {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gc-star img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.9));
}

.gc-main {
  flex: 1;
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 20px;
  min-height: 0;
  margin-bottom: 18px;
}

/* 左侧统计 */
.gc-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
}

.gc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gc-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 20px;
  background: rgba(20, 26, 80, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gc-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  background: rgba(30, 38, 110, 0.72);
}

.gc-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gc-stat-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.45));
}

.gc-stat-value {
  font-size: 26px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.35);
}

.gc-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.gc-floating-growth {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 20px;
  background: rgba(20, 26, 80, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gc-floating-mascot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 209, 102, 0.45);
}

.gc-floating-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-floating-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gc-floating-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.gc-floating-text strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--gc-gold-light);
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

/* 中间成长树 */
.gc-tree-area {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
}

.gc-tree-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(20, 26, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  border: none;
  min-width: 84px;
}

.gc-tree-node:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 24px var(--node-color);
}

.gc-node-ring {
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  border: 2px solid var(--node-color);
  opacity: 0.6;
  animation: gc-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gc-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.25; }
}

.gc-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.gc-node-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.4));
}

.gc-node-name {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.gc-node-level {
  font-size: 11px;
  color: var(--gc-gold-light);
  font-weight: 600;
}

/* 右侧报告 */
.gc-report {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.92) 0%, rgba(255, 242, 220, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 520px;
}

.gc-report::before,
.gc-report::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 18px;
  height: 40px;
  background: url('/assets/modules/5/插图/5-0-18.png') no-repeat center/contain;
  opacity: 0.35;
}

.gc-report::before { left: 8px; }
.gc-report::after { right: 8px; }

.gc-report-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 18px 20px;
}

.gc-report-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #8A6D3B;
}

.gc-header-spark {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.7));
}

.gc-report-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #6A4A10;
}

.gc-report-section {
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gc-report-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.gc-report-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gc-report-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(106, 74, 16, 0.25));
}

.gc-report-section-title strong {
  font-size: 14px;
  color: #6A4A10;
}

.gc-report-content {
  font-size: 12px;
  color: #7A5A20;
  line-height: 1.7;
  margin-bottom: 8px;
}

.gc-report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gc-report-tag {
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  background: #FFD166;
  color: #5C3D05;
}

.gc-report-tag:nth-child(2) { background: #A8D0FF; color: #2A4A7A; }
.gc-report-tag:nth-child(3) { background: #FFB8D0; color: #7A2A4A; }

.gc-report-image {
  width: 100%;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}

.gc-report-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 底部卡片 */
.gc-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex-shrink: 0;
}

.gc-bottom-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(20, 26, 80, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.gc-bottom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  background: rgba(30, 38, 110, 0.72);
}

.gc-bottom-info {
  flex: 1;
  min-width: 0;
}

.gc-bottom-info h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.gc-bottom-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 8px;
}

.gc-bottom-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gc-bottom-arrow img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.5));
}

.gc-bottom-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

.gc-bottom-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 节点弹窗 */
.gc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 46, 0.72);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gc-modal-backdrop.show {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
}

.gc-modal {
  width: 360px;
  max-width: 90vw;
  background: linear-gradient(180deg, #1A1F5C 0%, #121646 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  padding: 24px;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

.gc-modal-backdrop.show .gc-modal {
  transform: translateY(0) scale(1);
}

.gc-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: transparent;
  box-shadow: none;
}

.gc-modal-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, 0.5));
}

.gc-modal-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.gc-modal-level {
  font-size: 15px;
  color: var(--gc-gold-light);
  margin-bottom: 16px;
}

.gc-modal-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.gc-modal-actions {
  display: flex;
  gap: 12px;
}

.gc-modal-actions a,
.gc-modal-actions button {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.gc-xp-panel {
  margin-top: 16px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(12, 16, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.gc-xp-panel h3 { margin: 0 0 8px; font-size: 16px; }
.gc-xp-level { margin: 0 0 8px; font-size: 14px; color: #FFD166; }
.gc-xp-bar {
  height: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.gc-xp-bar i {
  display: block;
  height: 100%;
  width: 8%;
  background: linear-gradient(90deg, #FFECB3, #FFD166);
}
.gc-xp-meta { margin: 8px 0 10px; font-size: 12px; color: rgba(255,255,255,.72); }
.gc-xp-rules { margin: 0 0 12px; padding-left: 18px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.82); }
#gcCheckin {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  color: #5C3D05;
  background: linear-gradient(180deg, #FFECB3, #FFD166);
}
#gcCheckin:hover { transform: translateY(-1px); }
#gcCheckin:disabled { opacity: .7; cursor: default; transform: none; }

.gc-modal-actions .btn-primary {
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 50%, #F4B942 100%);
  color: #5C3D05;
}

.gc-modal-actions .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.18);
}

/* 响应式 */
@media (max-width: 1400px) {
  .gc-main { grid-template-columns: 200px 1fr 280px; }
  .gc-bottom-image { display: none; }
}

@media (max-width: 1200px) {
  .gc-main { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .gc-tree-area { grid-column: 1 / -1; order: -1; min-height: 360px; }
  .gc-report { max-height: 360px; }
  .gc-floating-growth { position: static; }
  .gc-bottom { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gc-main { grid-template-columns: 1fr; }
  .gc-tree-area { min-height: 320px; }
  .gc-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-bottom { grid-template-columns: 1fr; }
  .gc-bg { left: 0; }
  .gc-title { font-size: 32px; }
}
