/* Main styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --primary-color: #8A5CF5;
  --primary-light: #A78BF8;
  --primary-dark: #6C3CE4;
  --secondary-color: #FF4655;
  --background-color: #f8f9fa;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #999;
  --white: #fff;
  --black: #000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --container-width: 1280px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

main {
  min-height: 100vh;
  padding-top: 64px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-800);
}

.view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.view-all:hover {
  color: var(--primary-dark);
}

.view-all .arrow {
  margin-left: 4px;
  font-weight: 800;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  
  main {
    padding-top: 56px;
  }
  
  .section-header h2 {
    font-size: 20px;
  }
}
.close-iframe-button {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.close-iframe-button:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

/* Add this to your CSS files */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

.game-image {
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: Add a placeholder background */
.game-image {
  background-color: #f0f0f0;
}
/* 基础样式 - 兼容PC和移动端 */
    .breadcrumb-container {
      font-family: 'Arial', sans-serif;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
    }

    /* 面包屑导航样式 */
    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      padding: 0;
      margin: 0;
      align-items: center;
    }

    .breadcrumb-item {
      display: flex;
      align-items: center;
      margin-right: 5px;
      font-size: 14px;
      color: #6c757d;
    }

    .breadcrumb-item a {
      color: #007bff;
      text-decoration: none;
      padding: 5px 8px;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .breadcrumb-item a:hover {
      background-color: #e9ecef;
      color: #0056b3;
    }

    .breadcrumb-item.active {
      color: #495057;
      font-weight: 500;
    }

    .breadcrumb-separator {
      margin: 0 8px;
      color: #adb5bd;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .breadcrumb-container {
        padding: 10px;
      }

      .breadcrumb-item {
        font-size: 12px;
      }

      .breadcrumb-separator {
        margin: 0 5px;
      }

      /* 移动端可以添加更多紧凑样式 */
    }

    /* 动画效果 */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-5px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .breadcrumb-item {
      animation: fadeIn 0.3s ease forwards;
    }