/* ============================================================
   主题: 8090经典怀旧
   风格：深色磨砂玻璃 · 橙色主色调 · 左橙条标题
   参考 www.8090moyu.com 设计
   ============================================================ */

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #1e1e32;
  --bg-card: rgba(40, 40, 60, 0.7);
  --bg-card-hover: rgba(50, 50, 70, 0.85);
  --bg-input: rgba(30, 30, 50, 0.8);
  --accent-primary: #ff8c00;
  --accent-secondary: #ffa500;
  --accent-dim: #cc7000;
  --accent-glow: rgba(255, 140, 0, 0.25);
  --danger: #ff4d4f;
  --danger-light: #ff6b6b;
  --success: #2ecc71;
  --text-primary: #e8e8e8;
  --text-secondary: rgba(255,255,255,.75);
  --text-muted: #a0a0a0;
  --border-color: rgba(255, 140, 0, 0.25);
  --border-hover: rgba(255, 140, 0, 0.5);
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --shadow-hover: 0 6px 20px rgba(255, 140, 0, 0.25);
  --gold: #ff8c00;
  --gold-light: #ffa500;
  --gold-dark: #cc7000;
}

body {
  background: #1a1a2e !important;
  color: #e8e8e8 !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
}

/* 顶部导航 — 磨砂玻璃 */
.topbar {
  background: rgba(20, 20, 35, 0.5) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 140, 0, 0.4) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.4) !important;
}

.topbar-link {
  color: rgba(255,255,255,.9) !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: .2s !important;
}

.topbar-link:hover,
.topbar-link.active {
  color: #fff !important;
  background: rgba(255, 140, 0, 0.3) !important;
}

/* 横幅区域 */
.hero-banner {
  background: transparent !important;
  border: none !important;
  padding: 40px 20px 30px !important;
}

.hero-heading {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(255, 140, 0, 0.8) !important;
  font-size: 2rem !important;
}

.hero-divider {
  color: rgba(255,255,255,.8) !important;
  letter-spacing: 2px !important;
}

.hero-subtitle {
  color: rgba(255,255,255,.7) !important;
}

/* 按钮 — 橙色渐变胶囊 */
.hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 22px !important;
  border-radius: 22px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ffa500, #ff8c00) !important;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.5) !important;
  border: none !important;
  transition: .2s !important;
  white-space: nowrap !important;
}

.hero-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.7) !important;
}

/* 公告栏 */
.notice-bar {
  background: rgba(255, 140, 0, 0.2) !important;
  border-bottom: 1px solid rgba(255, 140, 0, 0.4) !important;
  padding: 7px 16px !important;
  font-size: 13px !important;
  color: #ffd699 !important;
}

/* 区块卡片 — 磨砂玻璃 */
.game-section {
  padding: 18px 16px !important;
}

.parchment {
  background: rgba(40, 40, 60, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 140, 0, 0.25) !important;
  border-radius: 12px !important;
  padding: 20px 22px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.4) !important;
}

/* 栏目标题 — 左橙条 */
.section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
}

.section-name {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative !important;
  padding-left: 13px !important;
}

.section-name::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 5px !important;
  height: 22px !important;
  border-radius: 3px !important;
  background: linear-gradient(180deg, #ffa500, #ff8c00) !important;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.6) !important;
}

/* 信息网格 */
.info-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 14px !important;
}

.info-cell {
  background: rgba(50, 50, 70, 0.75) !important;
  border: 1px solid rgba(255, 140, 0, 0.2) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: .2s !important;
}

.info-cell:hover {
  transform: translateY(-2px) !important;
  border-color: #ffa500 !important;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25) !important;
}

.info-cell-icon {
  color: #ffa500 !important;
}

.info-cell-title {
  color: #fff !important;
  font-size: 16px !important;
}

.info-cell-text {
  color: rgba(255,255,255,.75) !important;
  font-size: 13px !important;
}

/* 展示卡片（武器/时装/坐骑） */
.showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 14px !important;
}

.showcase-card {
  position: relative !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 140, 0, 0.2) !important;
  background: rgba(40, 40, 60, 0.6) !important;
  aspect-ratio: 8/5 !important;
  cursor: pointer !important;
  transition: .3s !important;
}

.showcase-card:hover {
  border-color: #ffa500 !important;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25) !important;
}

.showcase-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: .4s !important;
}

.showcase-card:hover .showcase-card-img {
  transform: scale(1.06) !important;
}

.showcase-card-body {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 22px 12px 8px !important;
  font-size: 13px !important;
  color: #fff !important;
  background: linear-gradient(transparent, rgba(0,0,0,.65)) !important;
}

.showcase-card-name {
  color: #fff !important;
  font-weight: 700 !important;
}

.showcase-card-desc {
  color: rgba(255,255,255,.8) !important;
}

/* 轮播 */
.royal-carousel {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 140, 0, 0.25) !important;
}

.carousel-arrow {
  background: rgba(255, 140, 0, 0.8) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
}

.carousel-pip {
  background: rgba(255,255,255,.3) !important;
}

.carousel-pip.active {
  background: #ff8c00 !important;
}

/* 表格 */
.royal-table th {
  background: rgba(255, 140, 0, 0.15) !important;
  color: #ffa500 !important;
  border: 1px solid rgba(255,255,255,.15) !important;
}

.royal-table td {
  border: 1px solid rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.85) !important;
}

/* 充值卡片 */
.reward-card {
  background: rgba(50, 50, 70, 0.75) !important;
  border: 2px solid #ff8c00 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.reward-price {
  background: #ff8c00 !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  padding: 10px 16px !important;
  text-align: center !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.3) !important;
}

.reward-detail {
  color: rgba(255,255,255,.85) !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  padding: 12px 16px 16px !important;
}

/* 悬浮充值按钮 — 右侧橙色卡片 */
.float-recharge {
  position: fixed !important;
  right: 16px !important;
  top: 42% !important;
  left: auto !important;
  z-index: 130 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  width: 92px !important;
  padding: 14px 8px 12px !important;
  border-radius: 16px !important;
  color: #3a1e00 !important;
  text-align: center !important;
  text-decoration: none !important;
  background: linear-gradient(160deg, #fff0a8, #ffb43a 55%, #ff7a1a) !important;
  border: 2px solid #fff3c4 !important;
  box-shadow: 0 8px 26px rgba(255,140,30,.55) !important;
  animation: pulse8090 1.6s infinite !important;
  font-size: 0.85rem !important;
}

.float-recharge i {
  font-size: 34px !important;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)) !important;
}

.float-recharge span {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #7a3d00 !important;
}

@keyframes pulse8090 {
  0%   { box-shadow: 0 8px 26px rgba(255,140,30,.55), 0 0 0 0 rgba(255,170,60,.7); }
  70%  { box-shadow: 0 8px 26px rgba(255,140,30,.55), 0 0 0 18px rgba(255,170,60,0); }
  100% { box-shadow: 0 8px 26px rgba(255,140,30,.55), 0 0 0 0 rgba(255,170,60,0); }
}

/* 页脚 */
.footer {
  background: rgba(30, 30, 45, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  color: rgba(255,255,255,.7) !important;
  padding: 26px 0 !important;
  border-top: 1px solid rgba(255, 140, 0, 0.2) !important;
}

.footer a {
  color: rgba(255,255,255,.85) !important;
}

/* 弹窗 */
.modal-bg {
  background: rgba(0,0,0,.9) !important;
}

.modal-box {
  background: rgba(40, 40, 60, 0.95) !important;
  border: 1px solid rgba(255, 140, 0, 0.3) !important;
  border-radius: 12px !important;
}

/* 返回顶部 */
#backToTop {
  background: linear-gradient(135deg, #ffa500, #ff8c00) !important;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.5) !important;
}

/* 响应式 */
@media (max-width: 760px) {
  .topbar-link {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  .hero-heading {
    font-size: 1.5rem !important;
  }
  .section-name {
    font-size: 18px !important;
  }
  .parchment {
    padding: 16px 14px !important;
  }
  .float-recharge {
    width: 76px !important;
    padding: 10px 6px !important;
    right: 10px !important;
  }
  .float-recharge i {
    font-size: 26px !important;
  }
  .showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  }
}
