/* ==========================================================================
   麟贝网站样式表 - 基础样式
   ========================================================================== */

/* ==========================================================================
   1. 基础样式重置和全局设置
   ========================================================================== */

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础body样式 */
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* 平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   2. 背景和布局样式
   ========================================================================== */

/* 统一背景渐变 */
.unified-background {
  min-height: 100vh;
  background-attachment: fixed;
  background-size: 100% 300vh;
  position: relative;
}

/* 为不同section添加微妙的叠加效果 */
#home {
  position: relative;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 240, 245, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 182, 193, 0.05) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Hero区域默认背景图片 */
#hero {
  background: url("assets/image.png") center/cover no-repeat;
}

#game {
  position: relative;
  background: url("assets/banner_1280×720.jpg") top center/cover no-repeat;
}

#game::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 240, 245, 0.3) 50%,
    rgba(255, 182, 193, 0.2) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#about {
  position: relative;
  background: white;
}

/* ==========================================================================
   3. 动画定义
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes butterfly {
  0%,
  100% {
    transform: translateX(0px) translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateX(20px) translateY(-10px) rotate(5deg);
  }
  50% {
    transform: translateX(0px) translateY(-20px) rotate(-5deg);
  }
  75% {
    transform: translateX(-20px) translateY(-10px) rotate(5deg);
  }
}

/* ==========================================================================
   4. 导航栏样式
   ========================================================================== */

/* 导航栏首页状态 */
.navbar-transparent {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 导航栏正常状态 */
.navbar-solid {
  background: linear-gradient(to right, rgba(255, 182, 193, 0.2), rgba(255, 239, 213, 1));
  backdrop-filter: blur(16px);
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  text-shadow: none;
  color: #333333;
}

.navbar-transparent .nav-link {
  color: #333333;
}

.navbar-solid .nav-link {
  color: #333333;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

.nav-link.active,
.nav-link:not(.active):hover {
  color: #e91e63;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(233, 30, 99, 0.3);
}

.nav-link.active::after,
.nav-link:not(.active):hover::after {
  width: 100%;
}

/* ==========================================================================
   5. 滚动条和特殊效果
   ========================================================================== */

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffb6c1, #ffd700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff91a4, #ffd700);
}

/* 特殊效果 */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, #ffb6c1, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   6. 按钮样式
   ========================================================================== */

.download-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  justify-content: center;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.download-btn.bg-garden-pink {
  background: linear-gradient(135deg, #ffb6c1, #ff91a4);
  color: white;
}

.download-btn.bg-garden-pink:hover {
  background: linear-gradient(135deg, #ff91a4, #ff6b8a);
}

.download-btn.bg-garden-green {
  background: linear-gradient(135deg, #90ee90, #7fdd7f);
  color: white;
}

.download-btn.bg-garden-green:hover {
  background: linear-gradient(135deg, #7fdd7f, #6fcc6f);
}

/* ==========================================================================
   7. 游戏产品区域样式
   ========================================================================== */

.game-main-container {
  position: relative;
  width: calc(min(100rem, 90%));
  margin: 0 auto;
  min-height: 100vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
  display: flex;
  align-items: center;
  z-index: 20;
}

.game-left-content {
  flex: 1;
  max-width: 45%;
}

.game-content-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 16px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.game-subtitle {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  color: #371a00;
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
  text-align: left;
}

.game-subtitle-info {
  text-align: left;
  margin-left: 30px;
  padding-bottom: 16px;
}

.game-subtitle-info p {
  font-size: 16px;
  color: #371a00;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: left;
}

.game-title {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  font-size: 48px;
  color: #371a00;
  text-shadow: none;
  text-align: left;
  margin-left: 25px;
}

.game-divider {
  display: none;
  background: linear-gradient(45deg, #ffb6c1, #87ceeb);
  height: 0.25rem;
  width: 6.25rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

.game-description {
  line-height: 1.6;
  font-size: 16px;
  color: #371a00;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: left;
}

.game-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #371a00;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.3);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.game-achievement {
  padding: 0;
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
  flex-direction: column;
}

.achievement-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #ffb6c1, #87ceeb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.achievement-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #371a00;
  margin-bottom: 0.5rem;
}

.achievement-desc {
  text-align: left;
  line-height: 1.6;
  color: #371a00;
  font-size: 14px;
}

/* ==========================================================================
   8. 关于麟贝页面样式
   ========================================================================== */

.about-main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.about-main-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-main-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #ffb6c1, #87ceeb);
  margin: 0 auto 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
  margin-top: 0;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ffb6c1;
}

.mission-section {
  margin-bottom: 1.5rem;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  max-width: 500px;
}

.vision-section {
  margin-bottom: 1.5rem;
}

.vision-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  max-width: 500px;
}

.achievements-grid {
  display: flex;
}

.achievements-grid.justify-center {
  margin: 0 auto;
  justify-items: center;
}

.achievement-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wheat-decoration .icon {
  width: 50px;
  height: 50px;
  fill: #DAA520;
  opacity: 0.8;
}

.wheat-left .icon {
  transform: rotate(20deg);
}

.wheat-right .icon {
  transform: scaleX(-1) rotate(20deg);
}

.achievement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.5rem;
}

.achievement-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #371a00;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.achievement-label {
  font-size: 0.9rem;
  color: #371a00;
  font-weight: 500;
}

.values-container {
  background: #fafafa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
}

.contact-container {
  background: transparent;
  border-radius: 12px;
  padding: 0;
  border: none;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.2rem;
  color: #ff69b4;
  min-width: 32px;
  height: 32px;
  background: rgba(255, 105, 180, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-content {
  flex: 1;
}

.contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.value-item:last-child {
  border-bottom: none;
}

.value-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #87ceeb;
  min-width: 32px;
  height: 32px;
  background: rgba(135, 206, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-content {
  flex: 1;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.company-info {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.company-location {
  display: inline-block;
}

.location-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ffb6c1, #87ceeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   9. 社交媒体链接样式
   ========================================================================== */

.social-links {
  width: 100%;
  margin-left: 16px;
}

.social-links-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
}

.social-link {
  display: inline-block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #371a00;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.social-link:hover {
  color: #2a1300;
}

.social-text {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.social-text svg,
.social-text img {
  width: 25px;
  height: 25px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.social-link.weibo .social-text {
  width: 28px;
  height: 28px;
  background-color: white;
}

.social-link.weibo .social-text svg {
  width: 28px;
  height: 28px;
}

.social-link.taptap .social-text {
  background-color: white;
}

.mobile-only {
  display: none;
}

.social-link:hover .social-text {
  transform: scale(1.1);
}

/* ==========================================================================
   10. 移动端向下箭头样式
   ========================================================================== */

.mobile-scroll-indicator {
  display: none;
  position: absolute;
  bottom: 2rem;
  z-index: 20;
}

.mobile-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin: 0 auto 0.5rem;
  opacity: 0.8;
}

.mobile-scroll-text {
  color: white;
  font-size: 0.75rem;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
}
