/* =================================================================
   🎮 退款助手 - 极简高品质落地页样式 (Landing Page Premium Styles)
   ================================================================= */
:root {
  --bg-primary: #0a0810;
  --bg-secondary: #13101d;
  --bg-card: rgba(22, 19, 32, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #f5f5f9;
  --text-muted: #9a98a6;
  --accent-primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-green-gradient: linear-gradient(135deg, #30d158 0%, #10b981 100%);
  --accent-purple-gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --text-gradient: linear-gradient(135deg, #ffffff 30%, #4facfe 100%);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

/* 背景发光 */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.glow-circle-1 {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,242,254,0.1) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}
.glow-circle-2 {
  position: absolute;
  top: 400px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}

/* 导航栏 */
header {
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 16, 0.8);
}
.nav-container {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  background: var(--accent-primary-gradient);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
}
.logo-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.badge-certified {
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.2);
  color: #30d158;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero 区域 */
.hero-section {
  display: flex;
  padding: 60px 0;
  gap: 40px;
  align-items: center;
}
@media (max-width: 968px) {
  .hero-section {
    flex-direction: column;
    padding: 40px 0;
  }
}
.hero-content {
  flex: 1.2;
}
.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
}
.tagline {
  color: #4facfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 576px) {
  .hero-title { font-size: 32px; }
}
.hero-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 35px;
}

/* 下载盒子 */
.download-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.download-title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 12px;
}
.download-title-text {
  font-size: 15px;
  font-weight: 600;
}
.version-info {
  font-size: 12px;
  color: var(--text-muted);
}
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
}
.btn-android {
  background: var(--accent-primary-gradient);
  color: #000;
}
.btn-android:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-ios {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ios:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.security-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 15px;
}

/* 客服专区 */
.customer-service-section {
  margin-top: 25px;
}
.cs-divider {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}
.cs-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 1;
}
.cs-divider span {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  padding: 0 15px;
  font-size: 12px;
  color: var(--text-muted);
}
.cs-container {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.02);
  padding: 15px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.1);
}
@media (max-width: 480px) {
  .cs-container { flex-direction: column; text-align: center; }
}
.cs-qr-wrapper {
  width: 80px;
  height: 80px;
  background: white;
  padding: 4px;
  border-radius: 8px;
  flex-shrink: 0;
}
.cs-qr-image {
  width: 100%;
  height: 100%;
}
.cs-info {
  flex: 1;
}
.cs-badge {
  background: #00f2fe;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}
.cs-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.cs-text-link {
  color: #00f2fe;
  text-decoration: underline;
}

/* 视觉模拟手机结构 */
.device-frame {
  width: 280px;
  height: 560px;
  background: #1c1926;
  border: 8px solid #2d293d;
  border-radius: 36px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.device-notch {
  width: 120px;
  height: 18px;
  background: #2d293d;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}
.device-screen {
  padding: 30px 15px 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mock-app-header {
  text-align: center;
  margin-top: 10px;
}
.mock-logo {
  background: var(--accent-primary-gradient);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-app-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.mock-app-sub {
  font-size: 10px;
  color: var(--text-muted);
}
.mock-scan-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 15px 10px;
  position: relative;
  overflow: hidden;
}
.scan-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  animation: laserMove 3s infinite linear;
}
@keyframes laserMove {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}
.mock-status-text {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #30d158;
  margin-top: 5px;
}
.mock-games {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.mock-game-item {
  text-align: center;
  flex: 1;
}
.mock-game-icon {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  margin: 0 auto 4px;
  font-size: 10px;
  line-height: 35px;
  color: white;
  font-weight: bold;
}
.mock-game-name {
  font-size: 9px;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

/* 优势特色区块 */
.features-container {
  padding: 60px 0;
}
.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 11fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
}
.feature-card.large {
  grid-row: span 2;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(22, 19, 32, 0.9);
}
.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(168,85,247,0.2);
  color: #a855f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 18px;
  margin-bottom: 12px;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 13px;
}

/* 流程指引 */
.steps-container {
  padding: 40px 0;
}
.steps-list {
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .steps-list { flex-direction: column; }
}
.step-item {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 16px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--accent-primary-gradient);
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.step-title {
  font-size: 16px;
  margin: 10px 0;
}
.step-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ 常见问题 */
.faq-container {
  padding: 60px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 14px;
}
.faq-question {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}
.faq-question svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.faq-answer {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 24px;
}

/* 页脚 */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
  background: #06050a;
}
footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
footer .disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  max-width: 900px;
  margin: 15px auto 0;
  text-align: justify;
}

/* 一键更换网址工具面板组件 */
.link-changer-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}
.link-changer-trigger {
  background: #1c1926;
  border: 1px solid #4facfe;
  color: #4facfe;
  padding: 10px 16px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}
.link-changer-trigger:hover, .link-changer-trigger.active {
  background: #4facfe;
  color: #000;
}
.gear-icon {
  animation: spin 4s linear infinite;
}
@keyframes spin { 100% { transform: rotate(30deg); } }

.link-changer-panel {
  position: absolute;
  bottom: 50px;
  right: 0;
  width: 320px;
  background: #13101d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  display: none;
}
.link-changer-panel.active {
  display: block;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.panel-title {
  font-size: 14px;
  font-weight: 700;
}
.admin-tag {
  background: #ef4444;
  color: white;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 5px;
}
.panel-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.panel-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.form-group {
  margin-bottom: 15px;
}
.form-label {
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
  color: #4facfe;
}
.cyber-input {
  width: 100%;
  background: #0a0810;
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
}
.btn-apply-change {
  width: 100%;
  background: var(--accent-primary-gradient);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.btn-reset-default {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
}

/* 吐司通知提示 */
.cyber-toast {
  position: fixed;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  background: rgba(19, 16, 29, 0.9);
  border: 1px solid rgba(48, 209, 88, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  transition: bottom 0.4s ease, opacity 0.4s ease;
}
.cyber-toast.show {
  bottom: 40px;
  opacity: 1;
}
.toast-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #30d158;
}
