:root {
  --primary: #7B68EE;
  --secondary: #4CAF50;
  --accent: #FFD700;
  --dark: #0a0f1a;
  --darker: #05070c;
  --light: #F8F9FA;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.header-scrolled {
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-hero-recharge {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a103c 60%, #0a0f1a 100%);
  overflow: hidden;
}

.page-hero-recharge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://file.3xiangyx.com/main/img/20260618/6a33ccc4b41e6.jpg') center/cover no-repeat;
  opacity: 0.25;
}

.page-hero-recharge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.4) 0%, rgba(10, 15, 26, 0.9) 80%, var(--dark) 100%);
}

.hero-recharge-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.hero-recharge-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.hero-recharge-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  line-height: 1.7;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

.recharge-info {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(123, 104, 238, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 1.5rem;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.recharge-info p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.recharge-info p:last-child {
  margin-bottom: 0;
}

.recharge-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  overflow: hidden;
}

.recharge-table {
  width: 100%;
  border-collapse: collapse;
}

.recharge-table thead {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.3), rgba(123, 104, 238, 0.15));
}

.recharge-table th {
  padding: 1.25rem 1rem;
  text-align: left;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recharge-table td {
  padding: 1.25rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.recharge-table tbody tr {
  transition: all 0.3s ease;
}

.recharge-table tbody tr:hover {
  background: rgba(123, 104, 238, 0.08);
}

.recharge-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.recharge-table tbody tr:nth-child(even):hover {
  background: rgba(123, 104, 238, 0.1);
}

.recharge-table .amount {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
}

.recharge-table .item-name {
  color: white;
  font-weight: 600;
}

.recharge-table .item-count {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.recharge-note {
  background: linear-gradient(180deg, var(--dark) 0%, #0f1420 100%);
}

.note-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.note-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 104, 238, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.note-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.note-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.download-section {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.15) 0%, rgba(76, 175, 80, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffaa00 100%);
  color: #1a1200;
  font-size: 1.25rem;
  font-weight: 800;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 8px 0 #b8860b, 0 15px 35px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 0 #b8860b, 0 25px 50px rgba(255, 215, 0, 0.4);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .page-hero-recharge {
    min-height: 45vh;
    padding-top: 90px;
  }

  .recharge-table th,
  .recharge-table td {
    padding: 0.875rem 0.625rem;
    font-size: 0.85rem;
  }

  .recharge-table .item-count {
    margin-left: 0;
    margin-top: 0.25rem;
  }
}
