* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff6b9d;
  --primary-light: #ff8fb7;
  --secondary: #a78bfa;
  --secondary-light: #c4b5fd;
  --accent: #f472b6;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --bg-main: #fdf4ff;
  --bg-card: #ffffff;
  --bg-dark: #1e1b4b;
  --text-main: #334155;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.15);
  --shadow-md: 0 4px 20px rgba(255, 107, 157, 0.2);
  --shadow-lg: 0 8px 32px rgba(167, 139, 250, 0.25);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮样式 */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-main {
  display: inline-block;   /* 让 padding/宽高表现和 button 一致 */
  text-decoration: none;   /* 去掉下划线 */
  color: display;          /* 或写死你的按钮文字色 */
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnShine 3s infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-small {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-small:hover {
  transform: scale(1.05);
}

.btn-mini {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-mini:hover {
  transform: scale(1.08);
}

/* 顶部栏 */
.top-bar {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s;
}

.top-links a:hover {
  color: white;
}

.top-links span {
  opacity: 0.5;
}

/* 头部 */
.header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 24px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: -1px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(255, 107, 157, 0.1);
}

.nav a.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 107, 157, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: rgba(255, 107, 157, 0.2);
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--primary);
  bottom: -3px;
  right: -4px;
  transform: rotate(45deg);
}

/* Hero区域 */
.hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 50%, #eff6ff 100%);
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: #ff9ec7;
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 350px;
  height: 350px;
  background: #c4b5fd;
  top: 100px;
  right: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: #fbcfe8;
  bottom: -100px;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-sparkle {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent),
    radial-gradient(2px 2px at 10% 90%, white, transparent);
  opacity: 0.6;
  animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 157, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-main {
  padding: 14px 36px;
  font-size: 16px;
}

.platform-badges {
  display: flex;
  gap: 10px;
}

.platform-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.platform-tag.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.hero-visual {
  position: relative;
  flex: 1;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: absolute;
  width: 230px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s ease;
}

.visual-card:nth-child(1) {
  transform: rotate(-8deg) translateX(-120px);
  z-index: 1;
}

.visual-card:nth-child(2) {
  transform: scale(1.1);
  z-index: 3;
}

.visual-card:nth-child(3) {
  transform: rotate(8deg) translateX(120px);
  z-index: 2;
}

.card-float {
  animation: cardFloat 6s ease-in-out infinite;
}

.delay-1 {
  animation-delay: 1s;
}

.delay-2 {
  animation-delay: 2s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, -8deg)) translateX(var(--x, -120px)); }
  50% { transform: translateY(-20px) rotate(var(--r, -8deg)) translateX(var(--x, -120px)); }
}

.visual-card:nth-child(1) { --r: -8deg; --x: -120px; }
.visual-card:nth-child(2) { --r: 0deg; --x: 0px; }
.visual-card:nth-child(3) { --r: 8deg; --x: 120px; }

.char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 107, 157, 0.4);
  border-radius: 12px;
}

.scroll-hint::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* 通用区块 */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header.center {
  flex-direction: column;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  position: relative;
}

.title-deco {
  position: relative;
  display: inline-block;
}

.title-deco::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  opacity: 0.3;
  z-index: -1;
}

.section-subtitle {
  color: var(--text-light);
  margin-top: 8px;
  font-size: 15px;
}

.tab-group {
  display: flex;
  gap: 8px;
  background: rgba(255, 107, 157, 0.08);
  padding: 4px;
  border-radius: 100px;
}

.tab {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.more-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: var(--secondary);
}

/* 分类区域 */
.categories-section {
  padding: 60px 0;
  background: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: white;
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-icon::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.8;
}

.cat-1 .cat-icon { background: linear-gradient(135deg, #f87171, #ef4444); }
.cat-2 .cat-icon { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.cat-3 .cat-icon { background: linear-gradient(135deg, #34d399, #10b981); }
.cat-4 .cat-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.cat-5 .cat-icon { background: linear-gradient(135deg, #f472b6, #ec4899); }
.cat-6 .cat-icon { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.cat-7 .cat-icon { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.cat-8 .cat-icon { background: linear-gradient(135deg, #4ade80, #22c55e); }
.cat-9 .cat-icon { background: linear-gradient(135deg, #fb923c, #f97316); }
.cat-10 .cat-icon { background: linear-gradient(135deg, #c084fc, #a855f7); }
.cat-11 .cat-icon { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.cat-12 .cat-icon { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }

.cat-name {
  font-size: 14px;
  font-weight: 600;
}

/* 游戏网格 */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.game-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.game-cover {
  position: relative;
  aspect-ratio: 3/5;
  overflow: hidden;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.08);
}

.rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  z-index: 2;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.5);
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.5);
}

.game-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.hot-tag {
  background: linear-gradient(135deg, #f87171, #ef4444);
  animation: pulse 2s infinite;
}

.new-tag {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.game-info {
  padding: 12px;
}

.game-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.discount-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.players {
  color: var(--text-light);
}

/* 0.1折专区 */
.discount-section {
  background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 100%);
}

.discount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.discount-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.discount-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f87171, #ef4444);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.discount-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.discount-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.discount-card:hover .discount-cover img {
  transform: scale(1.08);
}

.discount-info {
  padding: 16px;
}

.discount-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.discount-info p {
  font-size: 13px;
  color: var(--danger);
  font-weight: 600;
  margin-bottom: 12px;
}

.discount-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.perk {
  background: rgba(167, 139, 250, 0.1);
  color: var(--secondary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* BT游戏专区 */
.bt-section {
  background: white;
}

.bt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bt-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.bt-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.bt-cover {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.bt-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  font-size: 10px;
  padding: 2px 0;
  font-weight: 600;
}

.bt-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bt-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.bt-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.bt-price {
  font-size: 12px;
  color: var(--text-light);
}

.price-num {
  color: var(--danger);
  font-size: 18px;
  font-weight: 800;
}

/* MMO精选 */
.mmo-section {
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
}

.mmo-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.mmo-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 415px;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mmo-featured:hover .featured-img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.featured-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 12px;
}

.featured-overlay h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.featured-overlay p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.featured-perks {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.featured-perks span {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.mmo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mmo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mmo-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.mmo-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.mmo-item-info {
  flex: 1;
  min-width: 0;
}

.mmo-item-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.mmo-item-info p {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mmo-discount {
  display: inline-block;
  background: rgba(255, 107, 157, 0.1);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}

/* 平台优势 */
.advantage-section {
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.advantage-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.adv-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.adv-icon::before {
  content: '';
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 8px;
  opacity: 0.9;
}

.adv-icon-1 { background: linear-gradient(135deg, #f87171, #ef4444); }
.adv-icon-2 { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.adv-icon-3 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.adv-icon-4 { background: linear-gradient(135deg, #34d399, #10b981); }

.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* 下载区域 */
.download-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #312e81 100%);
  padding: 80px 0;
  overflow: hidden;
}

.download-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,157,0.3) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  filter: blur(60px);
}

.download-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  color: white;
}

.download-text {
  flex: 1;
}

.download-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-text p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 500px;
}

.download-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-download-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-download-platform:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.dl-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: white;
  opacity: 0.9;
}

.download-perks {
  display: flex;
  gap: 20px;
}

.download-perks span {
  font-size: 13px;
  opacity: 0.7;
  position: relative;
  padding-left: 16px;
}

.download-perks span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.download-qr {
  flex-shrink: 0;
}

.qr-box {
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.qr-code {
  width: 160px;
  height: 160px;
  background: 
    linear-gradient(45deg, #333 25%, transparent 25%),
    linear-gradient(-45deg, #333 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #333 75%),
    linear-gradient(-45deg, transparent 75%, #333 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  position: relative;
}

.qr-code::before,
.qr-code::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 8px solid #333;
  background: white;
}

.qr-code::before {
  top: 0;
  left: 0;
}

.qr-code::after {
  top: 0;
  right: 0;
}

.qr-box p {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.qr-note {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 400 !important;
  margin-top: 4px;
}

/* 页脚 */
.footer {
  background: #0f0d24;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.7;
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 13px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.8;
}

/* 悬浮按钮 */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.float-download {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.5);
  animation: floatPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.float-download:hover {
  transform: scale(1.1);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 107, 157, 0.5); }
  50% { box-shadow: 0 8px 40px rgba(255, 107, 157, 0.8); }
}

/* 弹跳动效 */
.bounce-in {
  opacity: 0;
  transform: translateY(30px);
  animation: bounceIn 0.6s ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式 */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .discount-grid { grid-template-columns: repeat(2, 1fr); }
  .bt-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .mmo-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
}

@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .discount-grid { grid-template-columns: 1fr; }
  .bt-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 40px 0 60px; }
  .download-inner { flex-direction: column; text-align: center; }
  .download-btns { justify-content: center; }
  .download-perks { justify-content: center; }
  .top-links { display: none; }
}
