/* ============================================
   币安英雄 - 电影级游戏官网 V2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Noto+Sans+SC:wght@300;400;600;900&display=swap');

/* === 核心变量 === */
:root {
  --gold: #f4d03f;
  --gold-light: #ffeaa7;
  --gold-glow: rgba(244, 208, 63, 0.6);
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.5);
  --purple: #a855f7;
  --crimson: #dc2626;
  --bg-dark: #050505;
  --bg-card: rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-dark);
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-dark);
  color: #fff;
  overflow-x: hidden;
  cursor: default;
}

/* === 游戏风格边框装饰 === */
.game-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, var(--gold), transparent 50%, var(--gold)) border-box;
}

.game-border::before,
.game-border::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gold);
}

.game-border::before {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
}

.game-border::after {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
}

/* === 导航栏 === */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow), inset 0 0 20px rgba(244, 208, 63, 0.2);
}

.logo-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--gold-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: var(--gold);
  color: #000;
}

.play-btn {
  background: linear-gradient(135deg, var(--gold), #d4a017);
  color: #000;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
}

.play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.play-btn:hover::before {
  left: 100%;
}

.play-btn:hover {
  box-shadow: 0 0 30px var(--gold-glow), 0 0 60px var(--gold-glow);
  transform: scale(1.05);
}

/* === 首屏 - 全屏英雄图 === */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/bh.jpeg') center/cover;
  filter: brightness(0.4) saturate(1.2);
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.2);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, transparent 50%, var(--bg-dark) 100%);
}

/* 边角装饰 */
.corner-decor {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid var(--gold);
  opacity: 0.5;
}

.corner-decor.tl {
  top: 2rem;
  left: 2rem;
  border-right: none;
  border-bottom: none;
}

.corner-decor.tr {
  top: 2rem;
  right: 2rem;
  border-left: none;
  border-bottom: none;
}

.corner-decor.bl {
  bottom: 2rem;
  left: 2rem;
  border-right: none;
  border-top: none;
}

.corner-decor.br {
  bottom: 2rem;
  right: 2rem;
  border-left: none;
  border-top: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--gold-glow);
  }

  50% {
    box-shadow: 0 0 20px 5px var(--gold-glow);
  }
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--gold) 50%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--gold-glow));
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #bbb;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4a017);
  color: #000;
  padding: 1rem 3rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 1rem 3rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-glow);
}

/* 数据统计 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-hint span {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-hint::after {
  content: '▼';
  color: var(--gold);
  font-size: 1.2rem;
}

/* === 通用板块 === */
.section {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-desc {
  color: #777;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === 关于板块 === */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-content p {
  color: #999;
  line-height: 2;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tag {
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: var(--gold);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}

/* === 英雄卡片 === */
.heroes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hero-card {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(0, 0, 0, 0.95));
  border: 1px solid rgba(244, 208, 63, 0.2);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.hero-card:hover {
  transform: translateY(-15px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(244, 208, 63, 0.2);
}

.hero-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s;
}

.hero-card:hover .hero-card-img {
  transform: scale(1.1);
}

.hero-card-body {
  padding: 1.5rem;
  position: relative;
}

.hero-card-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.hero-card-role {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero-card-desc {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

.hero-card-skills {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.skill {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--cyan);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--cyan);
}

/* === 玩法板块 === */
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gameplay-card {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s;
}

.gameplay-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s;
}

.gameplay-card:hover::before {
  width: 100%;
}

.gameplay-card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
}

.gameplay-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.gameplay-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.gameplay-desc {
  color: #888;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* === 代币板块 === */
.tokenomics-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.token-chart {
  position: relative;
  display: flex;
  justify-content: center;
}

.token-chart canvas {
  max-width: 350px;
}

.token-info h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.token-list {
  list-style: none;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-color {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.token-label {
  flex: 1;
  color: #999;
}

.token-percent {
  font-weight: 700;
  color: var(--gold);
}

/* === 路线图 === */
.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  transform: translateX(-50%);
}

.roadmap-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.roadmap-item:nth-child(even) .roadmap-card {
  grid-column: 3;
}

.roadmap-item:nth-child(even) .roadmap-spacer {
  grid-column: 1;
}

.roadmap-marker {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  justify-self: center;
  box-shadow: 0 0 20px var(--gold-glow);
  z-index: 10;
}

.roadmap-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(244, 208, 63, 0.3);
  padding: 2rem;
}

.roadmap-date {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.roadmap-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.roadmap-desc {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === 社区 === */
.community-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.community-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 3rem;
  text-align: center;
  min-width: 200px;
  transition: all 0.4s;
  text-decoration: none;
  color: #fff;
}

.community-card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(244, 208, 63, 0.15);
}

.community-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.community-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.community-count {
  color: #666;
  font-size: 0.85rem;
}

/* === 页脚 === */
.footer {
  background: #000;
  border-top: 1px solid rgba(244, 208, 63, 0.2);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #666;
  margin-top: 1rem;
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  color: #555;
  font-size: 0.85rem;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .heroes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tokenomics-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .heroes-grid {
    grid-template-columns: 1fr;
  }

  .gameplay-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }

  .roadmap-line {
    display: none;
  }

  .roadmap-marker {
    display: none;
  }

  .roadmap-spacer {
    display: none;
  }

  .hero-stats {
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* === 英文版布局调整 === */
.lang-en .hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
}

.lang-en .hero-subtitle {
  font-size: 1.1rem;
  max-width: 550px;
}

.lang-en .hero-badge {
  font-size: 0.75rem;
  letter-spacing: 2px;
  padding: 0.4rem 1.2rem;
}

.lang-en .hero-content {
  padding-top: 2rem;
}

.lang-en .stat-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* 英文版按钮 */
.lang-en .btn-primary,
.lang-en .btn-outline {
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
}

/* 英文版卡片 */
.lang-en .hero-card-desc {
  font-size: 0.85rem;
}

.lang-en .gameplay-desc {
  font-size: 0.9rem;
}

.lang-en .roadmap-desc {
  font-size: 0.9rem;
}