﻿/* ================================================================
   雨林奇观页面样式 - 炫酷沉浸式设计
   ================================================================ */

/* ------------------------------------------------------------
   01. CSS变量
   ------------------------------------------------------------ */
:root {
  --wonder-primary: #22c55e;
  --wonder-primary-dark: #16a34a;
  --wonder-secondary: #4ade80;
  --wonder-accent: #10b981;
  --wonder-gold: #fbbf24;
  --wonder-bg-dark: #052e16;
  --wonder-bg-darker: #022c22;
  --wonder-bg-card: rgba(20, 83, 45, 0.6);
  --wonder-text: #f0fdf4;
  --wonder-text-muted: rgba(240, 253, 244, 0.8);
  --wonder-border: rgba(34, 197, 94, 0.4);
  --wonder-glow: rgba(34, 197, 94, 0.5);
}

/* 页面头部 - 全屏沉浸式 */
.wonders-header {
  position: relative;
  height: 100vh !important;
  min-height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, 
    rgba(5, 46, 22, 0.4) 0%, 
    rgba(5, 46, 22, 0.7) 50%,
    var(--wonder-bg-dark) 100%),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920') center/cover no-repeat;
  overflow: hidden;
}

/* 动态光晕背景 */
.wonders-header::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 60%);
  pointer-events: none;
  animation: headerGlow 6s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.15);
  }
}

/* 头部内容 */
.wonders-header .header-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.wonders-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(16, 185, 129, 0.2) 100%);
  backdrop-filter: blur(20px);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wonder-secondary);
  margin-bottom: 28px;
  border: 1px solid var(--wonder-border);
  animation: fadeInDown 1s ease-out;
  letter-spacing: 2px;
}

.wonders-header h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  color: var(--wonder-text);
  margin-bottom: 24px;
  text-shadow: 0 0 80px rgba(34, 197, 94, 0.6);
  animation: fadeInUp 1s ease-out 0.2s both;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.wonders-header h1 .highlight {
  background: linear-gradient(135deg, var(--wonder-secondary) 0%, var(--wonder-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wonders-header p {
  font-size: 1.3rem;
  color: var(--wonder-text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  animation: fadeInUp 1s ease-out 0.4s both;
  line-height: 1.8;
}

/* fadeInUp, fadeInDown 已移至 main.css */

/* 简介部分 */
.wonders-intro {
  background: linear-gradient(180deg, var(--wonder-bg-dark) 0%, var(--wonder-bg-darker) 100%);
  padding: 0;
  position: relative;
}

.wonders-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.wonders-intro .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 简介内容 */
.intro-content {
  text-align: center;
  padding: 100px 0;
  max-width: 900px;
  margin: 0 auto;
}

.intro-content .intro-icon {
  font-size: 60px;
  margin-bottom: 28px;
  display: inline-block;
  animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

.intro-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--wonder-text);
  margin-bottom: 28px;
  line-height: 1.4;
}

.intro-content h2 .highlight {
  color: var(--wonder-secondary);
  position: relative;
}

.intro-content h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--wonder-secondary), transparent);
  border-radius: 2px;
}

.intro-content p {
  font-size: 1.2rem;
  color: var(--wonder-text-muted);
  line-height: 2;
  margin-bottom: 0;
}

/* 奇观列表区域 */
.wonders-section {
  background: var(--wonder-bg-darker);
  padding: 100px 0;
  position: relative;
}

.wonders-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 10% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.wonders-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* 奇观网格 */
.wonders-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* 奇观卡片 - 全新设计 */
.wonder-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--wonder-bg-card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--wonder-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
}

.wonder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.wonder-card:hover {
  transform: translateY(-10px);
  border-color: var(--wonder-secondary);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(34, 197, 94, 0.15),
    inset 0 0 40px rgba(34, 197, 94, 0.05);
}

.wonder-card:hover::before {
  opacity: 1;
}

/* 奇数卡片反向布局 */
.wonder-card:nth-child(odd) {
  direction: rtl;
}

.wonder-card:nth-child(odd) > * {
  direction: ltr;
}

/* 卡片图片区域 */
.wonder-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.wonder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wonder-card:hover .wonder-image img {
  transform: scale(1.12);
}

/* 图片遮罩层 */
.wonder-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--wonder-bg-card) 0%, transparent 100%);
  pointer-events: none;
}

/* 序号标签 */
.wonder-number {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--wonder-primary) 0%, var(--wonder-accent) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 35px rgba(34, 197, 94, 0.4);
  z-index: 2;
  transition: all 0.4s ease;
}

.wonder-card:hover .wonder-number {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 15px 45px rgba(34, 197, 94, 0.5);
}

/* 分类徽章 */
.wonder-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: all 0.4s ease;
  letter-spacing: 1px;
}

.wonder-card:hover .wonder-badge {
  background: linear-gradient(135deg, var(--wonder-primary) 0%, var(--wonder-accent) 100%);
  border-color: transparent;
  transform: scale(1.05);
}

.wonder-badge.danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(185, 28, 28, 0.9) 100%);
  border-color: rgba(239, 68, 68, 0.4);
}

.wonder-badge.night {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(67, 56, 202, 0.9) 100%);
  border-color: rgba(99, 102, 241, 0.4);
}

.wonder-badge.magic {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9) 0%, rgba(126, 34, 206, 0.9) 100%);
  border-color: rgba(168, 85, 247, 0.4);
}

/* 卡片内容区域 */
.wonder-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.wonder-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--wonder-text);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.wonder-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--wonder-secondary) 0%, transparent 100%);
  border-radius: 2px;
}

.wonder-desc {
  font-size: 1.1rem;
  color: var(--wonder-text-muted);
  line-height: 2;
  margin-bottom: 28px;
}

/* 特性列表 */
.wonder-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.wonder-features .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 18px 12px;
  border-radius: 16px;
  transition: all 0.4s ease;
  cursor: default;
}

.wonder-features .feature:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
  transform: translateY(-6px);
}

.wonder-features .feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.4s ease;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.wonder-features .feature:hover .feature-icon {
  background: linear-gradient(135deg, var(--wonder-primary) 0%, var(--wonder-accent) 100%);
  transform: scale(1.1) rotate(5deg);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.wonder-features .feature span:last-child {
  font-size: 13px;
  color: var(--wonder-text-muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.wonder-features .feature:hover span:last-child {
  color: var(--wonder-text);
}

/* 观赏位置标签 */
.wonder-location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 14px;
  color: var(--wonder-secondary);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  width: fit-content;
  transition: all 0.4s ease;
}

.wonder-location:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
  border-color: var(--wonder-border);
  transform: translateX(8px);
}

.wonder-location .location-icon {
  font-size: 20px;
}

/* 警告提示 */
.wonder-warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(185, 28, 28, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 14px;
  padding: 16px 24px;
  color: #fca5a5;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

/* 小贴士 */
.wonder-tip {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(67, 56, 202, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 14px;
  padding: 16px 24px;
  color: #a5b4fc;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

/* 特殊卡片样式 */
.wonder-card-danger {
  border-color: rgba(239, 68, 68, 0.3);
}

.wonder-card-danger:hover {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(239, 68, 68, 0.15);
}

.wonder-card-night {
  border-color: rgba(99, 102, 241, 0.3);
}

.wonder-card-night:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.15);
}

/* 预约提示区域 */
.booking-tip {
  background: linear-gradient(180deg, var(--wonder-bg-darker) 0%, var(--wonder-bg-dark) 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.booking-tip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.booking-tip .tip-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.booking-tip h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--wonder-text);
  margin-bottom: 24px;
}

.booking-tip p {
  font-size: 1.2rem;
  color: var(--wonder-text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.booking-tip .tip-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.booking-tip .btn {
  padding: 18px 48px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.booking-tip .btn-primary {
  background: linear-gradient(135deg, var(--wonder-primary) 0%, var(--wonder-accent) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.35);
}

.booking-tip .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.45);
}

.booking-tip .btn-outline {
  background: transparent;
  color: var(--wonder-secondary);
  border: 2px solid var(--wonder-border);
}

.booking-tip .btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--wonder-secondary);
  transform: translateY(-4px);
}

/* 响应式设计 */




/* 动画类 */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 图片加载占位 */
.wonder-image img {
  background: linear-gradient(135deg, #14532d 0%, #052e16 100%);
}
