﻿/* 全局样式 */
:root {
  --primary-color: #ff4d00;
  --secondary-color: #e63900;
  --accent-color: #ffc107;
  --dark-color: #1a1a1a;
  --darker-color: #0f0f0f;
  --light-color: #f5f5f5;
  --gray-color: #888;
  --light-gray-color: #ddd;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --border-radius: 4px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-family: "Roboto", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--light-color);
  background-color: var(--dark-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--gray-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

.highlight {
  color: var(--primary-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--dark-color);
}

.btn-large {
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* 头部导航 */
header {
  background-color: var(--darker-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-subtitle {
  color: var(--light-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: var(--light-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.main-nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.main-nav ul li a:hover:after,
.main-nav ul li.active a:after {
  width: 100%;
}

.main-nav ul li.active a {
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  gap: 10px;

}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--light-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* 英雄区域 */
.hero {
  background-color: var(--darker-color);
  color: white;
  padding: 100px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-emoji {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.emoji-soldier {
  font-size: 150px;
  position: absolute;
  right: 20%;
  bottom: 20%;
}

.emoji-tank {
  font-size: 100px;
  position: absolute;
  right: 40%;
  bottom: 30%;
}

.emoji-explosion {
  font-size: 80px;
  position: absolute;
  right: 30%;
  bottom: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 欢迎区域 */
.welcome {
  background-color: var(--dark-color);
  padding: 80px 0;
}

.game-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mode-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.mode-image {
  margin-bottom: 20px;
}

.mode-image .emoji {
  font-size: 60px;
}

.mode-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* 游戏特性 */
.features {
  background-color: var(--darker-color);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 40px;
  margin-right: 20px;
  color: var(--primary-color);
}

.feature-content h3 {
  color: var(--light-color);
  margin-bottom: 10px;
}

/* 最新更新 */
.latest-update {
  background-color: var(--dark-color);
  padding: 80px 0;
}

.update-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.update-info {
  flex: 1;
}

.update-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.update-description {
  margin-bottom: 20px;
}

.update-features {
  margin-bottom: 30px;
}

.update-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: var(--primary-color);
  margin-right: 10px;
  font-weight: bold;
}

.update-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emoji-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.emoji-large {
  font-size: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.emoji-small {
  font-size: 50px;
  position: absolute;
}

.emoji-small:nth-child(2) {
  top: 20%;
  right: 20%;
}

.emoji-small:nth-child(3) {
  bottom: 20%;
  left: 20%;
}

/* 系统需求 */
.requirements {
  background-color: var(--darker-color);
  padding: 80px 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.req-column {
  background-color: var(--dark-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.req-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.req-icon {
  font-size: 30px;
  margin-right: 15px;
  color: var(--primary-color);
}

.req-header h3 {
  margin-bottom: 0;
}

.req-list {
  margin-top: 20px;
}

.req-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.req-list li:last-child {
  border-bottom: none;
}

.req-label {
  font-weight: 600;
  color: var(--gray-color);
}

/* 社区区域 */
.community {
  background-color: var(--dark-color);
  padding: 80px 0;
}

.community-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light-color);
}

.social-link:hover {
  color: var(--primary-color);
}

.social-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.social-name {
  font-size: 0.9rem;
}

/* CTA区域 */
.cta {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-form {
  display: flex;
  max-width: 500px;
  margin: 30px auto 0;
}

.cta-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.cta-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* 页脚 */
footer {
  background-color: var(--darker-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-column h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-column ul li {
  margin-bottom: 10px;
}

.footer-nav-column ul li a {
  color: var(--gray-color);
}

.footer-nav-column ul li a:hover {
  color: var(--light-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: var(--light-color);
}

/* 页面头部 */
.page-hero {
  background-color: var(--darker-color);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.page-hero h1 {
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 促销页面样式 */
.promotion-featured {
  display: flex;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promotion-content {
  flex: 1;
  padding: 40px;
}

.promotion-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.promotion-description {
  margin-bottom: 20px;
}

.promotion-timer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.timer-label {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.timer-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
}

.promotion-price {
  margin-bottom: 20px;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-color);
  margin-right: 10px;
}

.discount-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.promotion-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.promotion-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.promotion-card-image {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
}

.promotion-card-image .emoji {
  font-size: 80px;
}

.promotion-card-content {
  padding: 20px;
}

.promotion-card-content h3 {
  margin-bottom: 10px;
  color: var(--light-color);
}

.promotion-card-content p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

/* 套装交易 */
.bundle-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bundle-header {
  background-color: var(--primary-color);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bundle-header h3 {
  margin-bottom: 0;
  color: white;
}

.bundle-badge {
  background-color: white;
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.bundle-content {
  padding: 20px;
}

.bundle-items {
  margin-bottom: 20px;
}

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

.bundle-item:last-child {
  border-bottom: none;
}

.item-icon {
  font-size: 24px;
  margin-right: 15px;
}

.item-name {
  flex: 1;
}

.item-price {
  color: var(--gray-color);
}

.bundle-total {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.total-label {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.total-original {
  text-decoration: line-through;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.total-discount {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* 每日奖励 */
.rewards-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.calendar-day {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.day-number {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: 600;
}

.day-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reward-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.reward-name {
  font-size: 0.9rem;
}

.calendar-day.special {
  background-color: rgba(255, 77, 0, 0.2);
  border: 1px solid var(--primary-color);
}

.rewards-note {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* 即将到来的活动 */
.timeline-event {
  display: flex;
  margin-bottom: 30px;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.day {
  font-size: 1.8rem;
  font-weight: 700;
}

.event-content {
  padding: 20px;
  flex: 1;
}

.event-content h3 {
  margin-bottom: 10px;
}

.event-countdown {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.countdown-label {
  color: var(--gray-color);
}

.countdown-value {
  color: var(--accent-color);
  font-weight: 600;
}

/* 订阅区域 */
.subscription-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-info {
  flex: 1;
  padding: 40px;
}

.subscription-benefits {
  margin: 20px 0;
}

.subscription-benefits li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.price-options {
  margin-bottom: 20px;
}

.price-option {
  margin-bottom: 10px;
}

.price-option input[type="radio"] {
  display: none;
}

.price-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.price-option input[type="radio"]:checked+label {
  background-color: rgba(255, 77, 0, 0.2);
  border: 1px solid var(--primary-color);
}

.option-name {
  font-weight: 600;
}

.option-save {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-left: 10px;
}

.subscription-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  min-height: 400px;
}

/* 邀请好友页面样式 */
.invite-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.invite-info {
  flex: 1;
}

.invite-steps {
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  margin-bottom: 30px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

.invite-link-box {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-container {
  display: flex;
  margin: 15px 0;
}

.link-container input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.link-container .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.link-note {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.invite-rewards {
  flex: 1;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rewards-header {
  margin-bottom: 20px;
  text-align: center;
}

.rewards-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.reward-item {
  text-align: center;
}

.reward-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.reward-content h4 {
  margin-bottom: 5px;
}

.reward-content p {
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* 里程碑奖励 */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.milestone-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.milestone-card.special {
  border-color: var(--primary-color);
  background-color: rgba(255, 77, 0, 0.1);
}

.milestone-header {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  text-align: center;
  position: relative;
}

.milestone-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 15px;
}

.milestone-content {
  padding: 20px;
}

.milestone-reward {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.milestone-reward:last-child {
  margin-bottom: 0;
}

.milestone-reward .reward-icon {
  font-size: 24px;
  margin-right: 15px;
  margin-bottom: 0;
}

.milestone-reward .reward-name {
  font-size: 1rem;
}

/* 分享选项 */
.share-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.share-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  color: var(--light-color);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-method:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.share-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.share-message {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-message h3 {
  margin-bottom: 15px;
}

.share-message textarea {
  width: 100%;
  height: 100px;
  padding: 15px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  resize: none;
}

/* 邀请状态 */
.status-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.status-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.status-label {
  font-size: 1rem;
  color: var(--gray-color);
}

.status-note {
  text-align: center;
  margin-top: 20px;
}

.status-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* 邀请排行榜 */
.leaderboard-table {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-header {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  display: grid;
  grid-template-columns: 80px 1fr 150px 1fr;
  font-weight: 600;
}

.leaderboard-row {
  padding: 15px;
  display: grid;
  grid-template-columns: 80px 1fr 150px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.rank-column {
  text-align: center;
}

.player-column {
  display: flex;
  align-items: center;
}

.player-avatar {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

.player-avatar.small {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.invites-column {
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
}

.rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.rank-1 {
  background-color: var(--primary-color);
  color: white;
}

.rank-2 {
  background-color: #c0c0c0;
  color: var(--dark-color);
}

.rank-3 {
  background-color: #cd7f32;
  color: white;
}

.leaderboard-note {
  text-align: center;
  margin-top: 20px;
}

/* FAQ区域 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* 排行榜页面样式 */
.rankings-tabs {
  padding-top: 0;
  padding-bottom: 30px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--light-color);
  text-transform: uppercase;
}

.tab-btn.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.rankings-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.filter-group select {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background-color: var(--darker-color);
  color: var(--light-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 顶级玩家 */
.top-players {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 50px;
}

.top-player {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  margin: 0 15px;
  position: relative;
  width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-player.first {
  padding-top: 40px;
  transform: scale(1.1);
  z-index: 2;
  border-color: var(--primary-color);
}

.player-rank {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--dark-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.top-player.first .player-rank {
  background-color: var(--primary-color);
}

.top-player.second .player-rank {
  background-color: #a4b0be;
}

.top-player.third .player-rank {
  background-color: #cd7f32;
}

.player-avatar {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  position: relative;
}

.player-avatar .emoji {
  font-size: 40px;
}

.crown {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
}

.player-details {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.player-level {
  color: var(--primary-color);
  font-weight: 600;
}

.player-class {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.player-stats {
  display: flex;
  justify-content: space-around;
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-color);
  display: block;
}

.stat-value {
  font-weight: 600;
}

/* 排行榜表格 */
.rankings-table {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr 1fr 1fr;
  font-weight: 600;
}

.table-row {
  padding: 15px;
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row.highlighted {
  background-color: rgba(255, 77, 0, 0.1);
  border: 1px solid var(--primary-color);
}

.player-cell {
  display: flex;
  align-items: center;
}

.player-name {
  font-weight: 500;
}

.trend-cell.up {
  color: var(--success-color);
}

.trend-cell.down {
  color: var(--danger-color);
}

.your-ranking {
  margin-bottom: 30px;
}

.your-rank-label {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.rank-note {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.rankings-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-btn.next {
  width: auto;
  padding: 0 15px;
}

.pagination-dots {
  display: flex;
  align-items: center;
  color: var(--gray-color);
}

/* 战队排行榜 */
.squads-rankings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.squad-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.squad-card.top {
  background-color: rgba(255, 77, 0, 0.1);
  border: 2px solid var(--primary-color);
}

.squad-rank {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.squad-emblem {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  font-size: 30px;
}

.squad-info {
  flex: 1;
}

.squad-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.squad-benefits {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.squad-benefits h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 30px;
  margin-right: 15px;
  color: var(--primary-color);
}

.benefit-content h4 {
  margin-bottom: 5px;
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.benefit-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* 武器排行榜 */
.weapons-categories,
.missions-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.category-btn {
  padding: 8px 15px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  color: var(--light-color);
}

.category-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.weapons-grid,
.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.weapon-card,
.mission-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  padding: 20px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.weapon-card.top,
.mission-card.top {
  background-color: rgba(255, 77, 0, 0.1);
  border: 2px solid var(--primary-color);
}

.weapon-rank,
.mission-rank {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.weapon-icon,
.mission-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.weapon-info h3,
.mission-info h3 {
  margin-bottom: 10px;
}

.mission-info p {
  margin-bottom: 15px;
  color: var(--gray-color);
}

.weapon-stats,
.mission-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

/* 排名等级 */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tier-card {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-card.special {
  border-color: var(--primary-color);
}

.tier-header {
  padding: 20px;
  text-align: center;
  position: relative;
}

.tier-header.bronze {
  background-color: rgba(205, 127, 50, 0.2);
}

.tier-header.silver {
  background-color: rgba(192, 192, 192, 0.2);
}

.tier-header.gold {
  background-color: rgba(255, 215, 0, 0.2);
}

.tier-header.platinum {
  background-color: rgba(229, 228, 226, 0.2);
}

.tier-header.diamond {
  background-color: rgba(185, 242, 255, 0.2);
}

.tier-header.master {
  background-color: rgba(255, 77, 0, 0.2);
}

.tier-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.tier-content {
  padding: 20px;
}

.tier-divisions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.division {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.tier-requirements {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-requirements p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.tier-rewards h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.tier-rewards ul {
  padding-left: 20px;
}

.tier-rewards ul li {
  list-style-type: disc;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* 排名赛季 */
.season-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.current-season,
.next-season {
  background-color: var(--darker-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.season-header {
  background-color: var(--primary-color);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.season-header h3 {
  margin-bottom: 0;
  color: white;
}

.season-badge {
  background-color: white;
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.season-details {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.season-period {
  margin-bottom: 15px;
}

.period-label {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.period-value {
  font-weight: 600;
}

.season-progress {
  margin-top: 15px;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.progress-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.progress-value {
  font-size: 0.9rem;
  text-align: right;
}

.season-countdown {
  margin-top: 15px;
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.countdown-value {
  font-weight: 600;
  color: var(--accent-color);
}

.season-rewards,
.season-preview {
  padding: 20px;
}

.season-rewards h4,
.season-preview h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.season-preview ul {
  padding-left: 20px;
}

.season-preview ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .update-content {
    flex-direction: column;
  }

  .update-image {
    margin-top: 30px;
  }

  .promotion-featured {
    flex-direction: column;
  }

  .promotion-image {
    height: 300px;
  }

  .subscription-content {
    flex-direction: column;
  }

  .subscription-image {
    height: 300px;
  }

  .invite-content {
    flex-direction: column;
  }

  .top-players {
    flex-wrap: wrap;
  }

  .top-player {
    margin-bottom: 30px;
    width: 100%;
  }

  .top-player.first {
    order: -1;
  }

  .table-header,
  .table-row {
    grid-template-columns: 80px 2fr 1fr 1fr 1fr;
  }

  .trend-cell {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  header .container {
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: flex;
    order: 2;
  }

  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    order: 3;
  }

  .main-nav.active {
    max-height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px 0;
  }

  .main-nav ul li {
    margin: 0 0 15px 0;
  }

  .nav-buttons {

    position: fixed;
    width: 100vw;
    background: #000;
    bottom: 0px;
    left: 0;
    justify-content: space-around;
    padding: 10px;
  }

  /* 显示底部浮动按钮 */
  .mobile-bottom-buttons {
    display: flex;
    justify-content: space-between;
  }

  /* 为底部按钮腾出空间 */
  body {
    padding-bottom: 70px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-emoji {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .rewards-calendar {
    grid-template-columns: repeat(3, 1fr);
  }

  .calendar-day:nth-child(n + 7) {
    margin-top: 15px;
  }

  .table-header,
  .table-row {
    grid-template-columns: 60px 2fr 1fr 1fr;
  }

  .kd-cell {
    display: none;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 100px;
  }

  .reward-column {
    display: none;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content {
    text-align: center;
  }

  .community-stats {
    flex-direction: column;
    gap: 20px;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }

  .cta-form .btn {
    border-radius: var(--border-radius);
  }

  .rewards-calendar {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-header,
  .table-row {
    grid-template-columns: 50px 2fr 1fr;
  }

  .winrate-cell {
    display: none;
  }

  .rankings-filters {
    flex-direction: column;
    gap: 15px;
  }

  .filter-group {
    width: 100%;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 50px 1fr;
  }

  .invites-column {
    display: none;
  }
}

/* 移动端底部浮动按钮 */
.mobile-bottom-buttons {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--darker-color);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-buttons .btn {
  flex: 1;
  margin: 0 5px;
}