body {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
  }

  header {
    background: linear-gradient(to right, #2c3e50, #4a6491);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .header-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .tab-btn {
    padding: 12px 25px;
    background: #fff;
    border: none;
    border-radius: 30px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #4a6491;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .tab-btn.active {
    background: #4a6491;
    color: white;
  }

  .tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  .tab-content {
    display: none;
  }

  .tab-content.active {
    display: block;
  }

  .photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
  }

  .photo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }

  .photo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
  }

  .photo-info {
    padding: 15px;
  }

  .photo-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
  }

  .photo-date {
    color: #7f8c8d;
    font-size: 0.9rem;
  }

  .video-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
  }

  .video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .video-info {
    padding: 15px;
  }

  .memory-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
  }

  .memory-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4a6491;
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding: 0 40px;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
  }

  .timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .timeline-date {
    font-weight: bold;
    color: #4a6491;
    margin-bottom: 10px;
  }

  .timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #4a6491;
    border-radius: 50%;
    top: 15px;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
  }

  footer {
    text-align: center;
    margin-top: 60px;
    color: #7f8c8d;
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    .photo-gallery {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .memory-timeline::before {
      left: 30px;
    }

    .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
      left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
      left: 20px;
    }
  }
  /* 视频占位符样式 */
  .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  /* 播放按钮样式 */
  .play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }

  .play-button i {
    font-size: 28px;
    color: #4a6491;
    margin-left: 5px;
  }

  .play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
  }

  /* 加载指示器样式 */
  .video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
}
