


@font-face {
  font-family: 'Fusion Pixel';
  src: url('https://cdn.jsdelivr.net/gh/AQZL/ttf/mc.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg-primary: #e6f3ff;
  --bg-secondary: #cce7ff;
  --bg-elevated: #b3daff;
  --text-primary: #1a3a52;
  --text-secondary: #2d5a7b;
  --accent-primary: #3b9dff;
  --accent-hover: #2b8ae6;
  --border-color: #80c0ff;
  --slime-blue: #3b9dff;
  --slime-light: #66b3ff;
  --card-bg: rgba(255, 255, 255, 0.85);
  --section-bg: rgba(230, 243, 255, 0.9);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fusion Pixel', 'Microsoft YaHei', sans-serif;
  background-image: url('https://img.fastmirror.net/s/2026/03/07/69ab02d6df547.png'), url('https://img.fastmirror.net/s/2025/10/11/68ea6bba771ba.png');
  background-size: cover, auto;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-repeat: repeat, repeat;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}


.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url('https://img.fastmirror.net/s/2026/03/06/69aae6179689d.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 6px solid rgba(135, 206, 235, 0.7);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.nav-container {
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  padding-left: 0;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo a {
  display: block;
}

.logo-img {
  height: 62px;
  width: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.logo-img.shake {
  animation: shake 1.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-8deg); }
  20% { transform: rotate(8deg); }
  30% { transform: rotate(-6deg); }
  40% { transform: rotate(6deg); }
  50% { transform: rotate(-4deg); }
  60% { transform: rotate(4deg); }
  70% { transform: rotate(-2deg); }
  80% { transform: rotate(2deg); }
  90% { transform: rotate(-1deg); }
}

.nav-title-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.nav-site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-site-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.2;
}

.nav-spacer {
  width: 25px;
  flex-shrink: 0;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}


.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 4px;
}

.nav-menu a:hover {
  color: var(--slime-blue);
  background-color: rgba(59, 157, 255, 0.1);
}


.nav-icon-item a {
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-icon-item a:hover .nav-icon {
  transform: scale(1.1);
  opacity: 0.8;
}


.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 1rem;
  flex-shrink: 0;
}

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Fusion Pixel', 'Microsoft YaHei', sans-serif;
  overflow: hidden;
  width: 100px;
  height: 36px;
}

.lang-toggle:hover {
  border-color: var(--slime-blue);
  box-shadow: 0 2px 8px rgba(59, 157, 255, 0.3);
}

.lang-zh,
.lang-en {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-primary);
  transition: color 0.3s ease;
  padding: 4px 0;
  line-height: 1;
}

.lang-zh.active,
.lang-en.active {
  color: white;
}

.lang-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--slime-blue) 0%, var(--slime-light) 100%);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-toggle.active .lang-slider {
  transform: translateX(calc(100% + 4px));
}

.lang-toggle:active {
  transform: scale(0.98);
}


body {
  padding-top: 80px;
}


.hero-carousel-section {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: visible;
  background-color: transparent;
  margin-bottom: 0;
  padding-bottom: 32px;
  z-index: 1;
}

.hero-side-border {
  position: absolute;
  top: 0;
  width: 32px;
  height: 100%;
  background-image: url('https://img.fastmirror.net/s/2026/03/07/69ab15abe9bcc.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center;
  z-index: 5;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.hero-left-border {
  left: 0;
  transform: scaleX(-1);
}

.hero-right-border {
  right: 0;
}

.hero-carousel-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background-image: url('../assets/images/separator.png');
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center;
  z-index: 1;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 60%, 
    rgba(0,0,0,0.9) 70%,
    rgba(0,0,0,0.7) 80%,
    rgba(0,0,0,0.4) 90%,
    rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 60%, 
    rgba(0,0,0,0.9) 70%,
    rgba(0,0,0,0.7) 80%,
    rgba(0,0,0,0.4) 90%,
    rgba(0,0,0,0) 100%);
}

.hero-separator-decoration {
  position: absolute;
  bottom: -63px;
  left: 80%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.separator-dryad {
  display: block;
  height: 220px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  object-fit: contain;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  z-index: 1;
}


.hero-fixed-content {
  position: absolute;
  bottom: 0;
  left: 3rem;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: -80px;
  pointer-events: none;
}

.hero-fixed-content * {
  pointer-events: auto;
}

.hero-slide-character {
  width: 200px;
  height: 350px;
  background-image: url('https://img.fastmirror.net/s/2026/03/06/69aadcd5d946d.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  flex-shrink: 0;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  margin-bottom: -150px;
  z-index: 201;
  position: relative;
}

.hero-textbox-container {
  position: relative;
  margin-left: -30px;
  margin-bottom: -40px;
}

.hero-slide-textbox {
  background-color: rgba(60, 60, 60, 0.75);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 200;
}

.hero-slide-textbox.active {
  opacity: 1;
  position: relative;
}

.hero-slide-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-slide-description {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}


.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 2px solid var(--slime-blue);
  width: 50px;
  height: 50px;
  border-radius: 4px;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-btn:hover {
  background-color: var(--slime-blue);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-btn.prev {
  left: 20px;
}

.hero-carousel-btn.next {
  right: 20px;
}


.hero-carousel-thumbnails {
  position: absolute;
  bottom: -140px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.hero-thumbnail {
  width: 150px;
  height: 90px;
  border: 3px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  padding: 0;
  opacity: 0.7;
}

.hero-thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.05);
  border-color: var(--slime-blue);
}

.hero-thumbnail.active {
  border-color: var(--slime-blue);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(59, 157, 255, 0.5);
  border-width: 4px;
}

.hero-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 1024px) {
  .hero-carousel-section {
    height: 600px;
  }
  
  .hero-slide {
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }
  
  .hero-slide-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-slide-title {
    font-size: 2.5rem;
  }
  
  .hero-slide-preview {
    max-width: 300px;
  }
  
  .hero-carousel-thumbnails {
    gap: 10px;
  }
  
  .hero-thumbnail {
    width: 90px;
    height: 55px;
  }
}

@media (max-width: 640px) {
  .hero-carousel-section {
    height: 500px;
  }
  
  
  .hero-fixed-content {
    display: none;
  }
  
  
  .hero-separator-decoration {
    display: none;
  }
  
  .hero-slide-title {
    font-size: 2rem;
  }
  
  .hero-slide-description {
    font-size: 1rem;
  }
  
  .hero-slide-preview {
    max-width: 250px;
  }
  
  .hero-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .hero-carousel-btn.prev {
    left: 10px;
  }
  
  .hero-carousel-btn.next {
    right: 10px;
  }
  
  .hero-thumbnail {
    width: 70px;
    height: 45px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-image: url('https://img.fastmirror.net/s/2026/03/06/69aae6179689d.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(59, 157, 255, 0.3);
    align-items: flex-start;
    gap: 1rem;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .lang-switcher {
    position: fixed;
    top: 1rem;
    right: 4rem;
    z-index: 1001;
    margin-left: 0;
  }
  
  .lang-toggle {
    width: 90px;
    height: 32px;
  }
  
  .lang-zh,
  .lang-en {
    font-size: 12px;
  }
}



.features-section {
  padding: 4rem 2rem;
  background-color: var(--section-bg);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--slime-blue);
  text-shadow: 2px 2px 4px rgba(59, 157, 255, 0.3);
}

.gallery-title-image {
  text-align: center;
  margin-bottom: -2rem;
  margin-top: 3rem;
}

.gallery-title-image img {
  max-width: 1000px;
  height: auto;
  display: inline-block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.download-title-image {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 0;
}

.download-title-image img {
  max-width: 1000px;
  height: auto;
  display: inline-block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--card-bg);
  border: 2px solid var(--slime-blue);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 157, 255, 0.15);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--slime-light);
  box-shadow: 0 8px 20px rgba(59, 157, 255, 0.3);
}

.feature-icon {
  color: var(--slime-blue);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


.carousel-section {
  padding: 2rem 2rem;
  background-color: transparent;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-section-wrapper {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.gallery-cards-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding: 2rem 2rem;
  align-items: start;
}

.gallery-character {
  position: absolute;
  right: -100px;
  bottom: -20px;
  width: 200px;
  height: 350px;
  pointer-events: none;
  z-index: 10;
}

.gallery-character-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.gallery-card {
  background-color: transparent;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card:hover .gallery-card-content {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.gallery-card-image {
  width: 100%;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  background-color: #000;
  position: relative;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery-card-image img.slide-out-left {
  animation: slideOutLeft 0.5s ease forwards;
  z-index: 1;
}

.gallery-card-image img.slide-in-right {
  animation: slideInRight 0.5s ease forwards;
  z-index: 2;
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.card-decoration {
  position: absolute;
  top: -175px;
  right: -42px;
  width: 350px;
  height: auto;
  transform: scaleX(-1);
  z-index: 10;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: none !important;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-image img:not(.card-decoration) {
  transform: scale(1.05);
}

.gallery-card-content {
  padding: 2.5rem 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.gallery-card-title {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.2;
}

.gallery-card-description {
  font-size: 1.25rem;
  color: #CCCCCC;
  line-height: 1.6;
}

.carousel-3d-container {
  position: relative;
  width: 100%;
  max-width: 1800px;
  height: 900px;
  margin: 0 auto;
  perspective: 2500px;
}

.carousel-3d-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
}

.carousel-3d-stage:active {
  cursor: grabbing;
}

.carousel-3d-item {
  position: absolute;
  width: 1000px;
  height: 600px;
  left: 50%;
  top: 50%;
  margin-left: -500px;
  margin-top: -300px;
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  cursor: pointer;
}

.carousel-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-3d-item:hover img {
  transform: scale(1.05);
}

.carousel-3d-item[data-index="0"] {
  transform: translateZ(0px) translateX(0px) scale(1);
  z-index: 3;
  opacity: 1;
}

.carousel-3d-item[data-index="1"] {
  transform: translateZ(-350px) translateX(600px) rotateY(-25deg) scale(0.8);
  z-index: 2;
  opacity: 0.7;
}

.carousel-3d-item[data-index="2"] {
  transform: translateZ(-350px) translateX(-600px) rotateY(25deg) scale(0.8);
  z-index: 2;
  opacity: 0.7;
}


.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.image-lightbox.active {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.image-lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-lightbox.active .image-lightbox-content {
  transform: scale(1);
}

.image-lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.image-lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1;
  padding: 0;
}

.image-lightbox-close:hover {
  background-color: #FF0000;
  color: white;
  transform: scale(1.1);
}

.carousel-3d-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 10;
}

.carousel-3d-btn {
  pointer-events: all;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 2px solid var(--slime-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel-3d-btn:hover {
  background-color: var(--slime-blue);
  color: white;
  transform: scale(1.1);
}


.download-section {
  padding: 2rem 2rem 4rem 2rem;
  background-color: transparent;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.download-tabs-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.download-tabs-nav {
  width: 300px;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-right: none;
  flex-shrink: 0;
  position: relative;
}

.download-nav-decoration {
  position: absolute;
  bottom: -25px;
  left: -175px;
  width: 195px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  pointer-events: none;
  z-index: 5;
}

.download-panels-decoration {
  position: absolute;
  bottom: -15px;
  right: -207px;
  width: 220px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  pointer-events: none;
  z-index: 5;
}

.download-tab {
  padding: 0;
  background-color: #1E1E1E;
  border: none;
  border-bottom: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'Fusion Pixel', 'Microsoft YaHei', sans-serif;
  font-size: 1.2rem;
  color: #FFFFFF;
  text-align: left;
  position: relative;
  margin-bottom: 2px;
}

.download-tab:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.download-tab:hover {
  background-color: #2A2A2A;
}

.download-tab.active {
  background-color: #2A2A2A;
  font-weight: normal;
}

.download-tab.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #FFFFFF;
}

.download-tab-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
}

.download-tab-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.download-tab-title {
  display: block;
  line-height: 1.2rem;
}

.download-tabs-panels {
  flex: 1;
  position: relative;
  min-height: 400px;
  background-color: #2A2A2A;
}

.download-tab-panel {
  display: none;
  padding: 3rem;
  height: 100%;
}

.download-tab-panel.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.download-panel-content {
  max-width: 600px;
  width: 100%;
}

.download-panel-content.with-video {
  max-width: 100%;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.download-panel-left {
  flex: 1;
  min-width: 0;
}

.download-panel-content h3 {
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.download-panel-content p {
  font-size: 1.2rem;
  color: #CCCCCC;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: none;
}

.download-panel-left h3 {
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.download-panel-left p {
  font-size: 1.2rem;
  color: #CCCCCC;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: none;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-video-container {
  flex-shrink: 0;
  width: 500px;
  position: relative;
  padding-bottom: 281.25px; 
  height: 0;
  overflow: hidden;
  background-color: #000;
}

.download-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.download-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Fusion Pixel', 'Microsoft YaHei', sans-serif;
  text-shadow: none;
}

.download-btn.primary {
  background-color: #16A34A;
  color: white;
  border-color: #16A34A;
}

.download-btn.primary:hover {
  background-color: #15803D;
  border-color: #15803D;
  transform: translateY(-2px);
}

.download-btn.primary:active {
  transform: translateY(0);
}

.download-btn.secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.download-btn.secondary:hover {
  background-color: #FFFFFF;
  color: #1E1E1E;
  transform: translateY(-2px);
}

.download-btn.secondary:active {
  transform: translateY(0);
}

.download-btn.disabled {
  background-color: #3C3C3C;
  color: #888888;
  border-color: #3C3C3C;
  cursor: not-allowed;
}

.download-btn.disabled:hover,
.download-btn.disabled:active {
  transform: none;
  background-color: #3C3C3C;
}


.sponsor-section {
  padding: 4rem 2rem;
  background-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sponsor-description {
  text-align: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 3rem;
  max-width: 700px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sponsor-qr-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 3rem;
}

.sponsor-qr-card {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 3px solid #ddd;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.sponsor-qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.alipay-card {
  border-color: #1677ff;
}

.wechat-card {
  border-color: #07c160;
}

.sponsor-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sponsor-icon {
  width: 32px;
  height: 32px;
}

.sponsor-card-title {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.sponsor-recommend {
  background-color: #1677ff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.wechat-recommend {
  background-color: #07c160;
}

.sponsor-qr-image {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.sponsor-qr-hint {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.sponsor-action {
  background-color: #1677ff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.sponsor-checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #07c160;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.sponsor-checkmark svg {
  width: 24px;
  height: 24px;
}

.sponsor-footer {
  border-top: 2px solid #ddd;
  padding-top: 1rem;
}

.sponsor-footer-title {
  font-size: 1.25rem;
  color: #1677ff;
  margin-bottom: 0.25rem;
}

.wechat-card .sponsor-footer-title {
  color: #07c160;
}

.sponsor-footer-text {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.sponsor-thanks {
  text-align: center;
  font-size: 1.25rem;
  color: white;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


@media (max-width: 1024px) {
  .gallery-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .download-tabs-container {
    flex-direction: column;
  }
  
  .download-tabs-nav {
    width: 100%;
    flex-direction: row;
    border-right: none;
    border-bottom: 3px solid var(--slime-blue);
  }
  
  .download-tab {
    flex: 1;
    border-right: 2px solid var(--border-color);
    border-bottom: none;
  }
  
  .download-tab:last-child {
    border-right: none;
  }
  
  .download-tab.active::before {
    right: 0;
    top: auto;
    bottom: -3px;
    width: 100%;
    height: 3px;
  }
}

@media (max-width: 768px) {
  
  .gallery-card-content {
    display: none;
  }
  
  
  .gallery-card {
    overflow: hidden;
  }
  
  .gallery-card-image {
    border-radius: 8px;
  }
}

@media (max-width: 640px) {
  .sponsor-qr-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-cards-container {
    grid-template-columns: 1fr;
  }
  
  
  .gallery-character {
    display: none;
  }
  
  
  .download-nav-decoration,
  .download-panels-decoration,
  .panel-decoration {
    display: none;
  }
  
  .download-tab-panel {
    padding: 2rem 1rem;
  }
  
  .download-panel-content h3 {
    font-size: 1.8rem;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .download-btn {
    width: 100%;
  }

  .download-tabs-nav {
    flex-direction: column;
  }
  
  .download-tab {
    border-right: none;
    border-bottom: 2px solid var(--border-color);
  }
}



.site-footer {
  background-color: rgba(30, 30, 30, 0.9);
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 3px solid rgba(135, 206, 235, 0.5);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: #CCCCCC;
  font-size: 0.95rem;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer-content a {
  color: #87CEEB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-content a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}


.panel-decoration {
  position: absolute;
  top: -155px;
  right: 50px;
  width: 300px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  pointer-events: none;
  z-index: 10;
}
