/* ===== Wonderverse世界 2 ===== */
.wonderverse-world-page {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 背景图 */
.world-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

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

/* 内容层 */
.world-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

/* 顶部标题 */
.world-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 16px;
  text-align: center;
  pointer-events: auto;
}

.world-title {
  font-size: 42px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-shadow:
    0 0 20px rgba(123, 108, 219, 0.7),
    0 0 40px rgba(244, 197, 66, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
}

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

.world-subtitle .star {
  color: #FFD166;
  font-size: 12px;
}

/* 地图交互区 */
.world-map {
  position: relative;
  flex: 1;
  min-height: 0;
}

/* 地点卡片 */
.world-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 220px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(30, 38, 110, 0.72) 0%, rgba(18, 24, 80, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.world-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.world-card.star-island {
  top: 11%;
  left: 4%;
  border-left-color: #A78BFA;
}

.world-card.moon-forest {
  top: 10%;
  right: 17%;
  border-left-color: #5FC9A8;
}

.world-card.cloud-city {
  top: 40%;
  right: 15%;
  border-left-color: #5B9FE8;
}

.world-card.rainbow-harbor {
  top: 63%;
  left: 3%;
  border-left-color: #F08BA8;
}

.world-card.galaxy-theater {
  top: 63%;
  right: 12%;
  border-left-color: #B08CFF;
}

.world-card-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
}

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

.world-card-body {
  flex: 1;
  min-width: 0;
}

.world-card-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.world-card-keywords {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 6px;
}

.world-card-desc {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

/* 世界探索进度 */
.world-progress {
  position: absolute;
  top: 8%;
  right: 1.2%;
  width: 205px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 248, 230, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #5C3D05;
  pointer-events: auto;
}

.world-progress-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.world-progress-title img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.world-progress-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 32px;
  font-weight: 900;
  color: #7B6CDB;
  margin-bottom: 8px;
}

.world-progress-value span {
  font-size: 18px;
  font-weight: 700;
}

.world-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(123, 108, 219, 0.18);
  overflow: hidden;
  margin-bottom: 10px;
}

.world-progress-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #A78BFA, #7B6CDB);
}

.world-progress-unlocked {
  font-size: 12px;
  color: #8A6D3B;
  margin-bottom: 14px;
}

.world-progress-btn {
  width: 100%;
  height: 38px;
  border-radius: 20px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 40%, #F4C542 70%, #E8A838 100%);
  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);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}

.world-progress-btn:hover {
  transform: translateY(-2px);
}

.world-progress-btn span {
  color: #5C3D05;
}

/* 未来地图 */
.world-future-map {
  position: absolute;
  right: 1.2%;
  bottom: 13%;
  width: 200px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(40, 34, 100, 0.78) 0%, rgba(24, 20, 70, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.25s ease;
}

.world-future-map:hover {
  transform: translateY(-3px);
}

.world-future-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.world-future-map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.world-future-map-title img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.world-future-map-arrow {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.world-future-map-text {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* 底部信息栏 */
.world-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  background: rgba(255, 250, 243, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #5C4A2E;
  pointer-events: auto;
}

.world-mascot {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  margin-top: -36px;
}

.world-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.world-bottom-text {
  flex: 0 0 auto;
  max-width: 320px;
}

.world-bottom-text p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.world-bottom-categories {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.world-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 112px;
  height: 78px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
}

.world-category:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
}

.world-category img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.world-category-name {
  font-size: 13px;
  font-weight: 700;
  color: #5C4A2E;
}

.world-category-desc {
  font-size: 10px;
  color: #8A7A60;
}

/* 简单响应式 */
@media (max-width: 1200px) {
  .world-card { width: 190px; }
  .world-card-name { font-size: 15px; }
  .world-card-desc { font-size: 11px; }
  .world-progress,
  .world-future-map { width: 180px; }
  .world-category { width: 96px; }
  .world-bottom-text p { font-size: 14px; }
}
