/* ===== 我的成长树 5-1 ===== */
.growth-tree-page {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gt-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

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

.gt-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 28px 24px;
  pointer-events: none;
  overflow-y: auto;
}

.gt-header {
  text-align: center;
  margin-bottom: 16px;
  pointer-events: auto;
}

.gt-title {
  font-size: 44px;
  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: 8px;
}

.gt-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  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);
}

.gt-subtitle .gt-star {
  color: #FFD166;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.9);
}

.gt-main {
  flex: 1;
  display: flex;
  gap: 22px;
  min-height: 0;
}

.gt-left-col,
.gt-right-col {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}

.gt-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.gt-tree-decoration {
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 30px rgba(123, 108, 219, 0.5));
  animation: gt-tree-float 3.5s ease-in-out infinite;
  pointer-events: none;
}

.gt-tree-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes gt-tree-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.gt-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(35, 42, 120, 0.75) 0%, rgba(22, 28, 90, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gt-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.gt-panel-header img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* 成长数据 */
.gt-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gt-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  cursor: pointer;
}

.gt-stat-box:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.gt-stat-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gt-stat-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-gold-light);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}

.gt-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* 里程碑 */
.gt-milestones-panel {
  flex: 1;
  min-height: 0;
}

.gt-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gt-milestone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  cursor: pointer;
}

.gt-milestone:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.gt-milestone-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.gt-milestone-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.gt-milestone-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gt-milestone-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.gt-milestone-info span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.gt-progress-bar {
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.gt-progress-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #FFD166, #F4B942);
  box-shadow: 0 0 8px rgba(244, 197, 66, 0.5);
}

/* 今日浇灌 */
.gt-daily-panel {
  flex: 1;
  min-height: 0;
}

.gt-daily-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.gt-daily-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gt-daily-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  cursor: pointer;
}

.gt-daily-task:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.gt-daily-task img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.gt-daily-task span:nth-child(2) {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.gt-task-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

.gt-task-status.done {
  color: #5C3D05;
  background: linear-gradient(135deg, #FFECB3 0%, #FFD166 100%);
}

.gt-task-status.todo {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
}

/* 按钮 */
.gt-actions-panel {
  flex: 0 0 auto;
  gap: 12px;
}

.gt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.gt-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gt-btn span:last-child {
  margin-left: auto;
  font-size: 18px;
}

.gt-btn-primary {
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 35%, #F4C542 65%, #E8A838 100%);
  color: #5C3D05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  box-shadow:
    0 4px 0 #C97D20,
    0 6px 16px rgba(244, 197, 66, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #C97D20,
    0 10px 22px rgba(244, 197, 66, 0.55);
}

.gt-btn-secondary {
  background: linear-gradient(180deg, rgba(110, 140, 245, 0.82) 0%, rgba(75, 105, 220, 0.88) 50%, rgba(55, 85, 195, 0.92) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 0 rgba(35, 60, 150, 0.9),
    0 6px 16px rgba(60, 90, 200, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gt-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 rgba(35, 60, 150, 0.9),
    0 10px 22px rgba(60, 90, 200, 0.45);
}

/* 响应式 */
@media (max-width: 1200px) {
  .gt-left-col,
  .gt-right-col { width: 260px; }
  .gt-tree-decoration { width: 260px; height: 260px; }
  .gt-title { font-size: 38px; }
}

@media (max-width: 992px) {
  .gt-main { flex-direction: column; }
  .gt-left-col,
  .gt-right-col { width: 100%; }
  .gt-center { display: none; }
}
