/* ==========================================
   2026世界杯官方合作平台 - 日光朋克(Solarpunk)风格
   特色：自然光感、毛玻璃、植物绿、原木暖色调、舒适护眼
   更新：已修复跑马灯滚动动画、已增强透明LOGO的阴影可见度
   ========================================== */

body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* 温暖的阳光背景，带有淡淡的自然绿意 */
  background-color: #f8faf6;
  background-image: 
    radial-gradient(circle at 15% 0%, rgba(253, 230, 138, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(167, 243, 208, 0.4) 0%, transparent 40%);
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* 生态悬浮背景 */
.holo-bg {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1;
}
.holo-item {
  position: absolute; display: flex; align-items: center; justify-content: center;
  opacity: 0.6; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
  animation: floatHolo linear infinite;
}
.holo-item.c1 { left: 10%; animation-duration: 25s; animation-delay: -5s; font-size: 38px; }
.holo-item.c2 { left: 85%; animation-duration: 28s; animation-delay: -12s; font-size: 32px; }
.holo-item.c3 { left: 35%; animation-duration: 22s; animation-delay: -2s; font-size: 42px; }
.holo-item.c4 { left: 65%; animation-duration: 30s; animation-delay: -18s; font-size: 30px; }
.holo-item.c5 { left: 20%; animation-duration: 26s; animation-delay: -9s; font-size: 35px; }
.holo-item.c6 { left: 75%; animation-duration: 24s; animation-delay: -15s; font-size: 40px; }

@keyframes floatHolo {
  0% { top: 110vh; transform: rotate(0deg) scale(0.9); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: -10vh; transform: rotate(360deg) scale(1.1); opacity: 0; }
}

.container {
  width: 100%; max-width: 1000px; margin: 0 auto; padding: 30px 20px 40px;
  box-sizing: border-box; position: relative; z-index: 10; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-start;
}

/* 顶部仪表盘 */
.cyber-dashboard {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid rgba(16, 185, 129, 0.15);
  padding-bottom: 12px; margin-bottom: 20px;
}
.dashboard-title {
  font-size: 24px; font-weight: 900; color: #064e3b; letter-spacing: 2px;
  display: flex; flex-direction: column; gap: 4px;
}
.dashboard-title span { font-size: 13px; color: #059669; letter-spacing: 2px; font-weight: 600; }
.dashboard-stats {
  text-align: right; font-size: 13px; color: #047857; font-weight: bold;
  display: flex; flex-direction: column; gap: 4px;
}
.ping-status { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: #10b981; }
.ping-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px rgba(16,185,129,0.4); animation: blink 2s infinite; }

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* 跑马灯 */
.tech-marquee-container { display: flex; width: 100%; gap: 10px; margin-bottom: 24px; align-items: center; }
.tech-marquee {
  position: relative; flex: 1; overflow: hidden;
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
  border-left: 4px solid #10b981; border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: 42px; display: flex; align-items: center;
}
.tech-marquee::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2; left: 0; background: linear-gradient(90deg, #f8faf6, transparent); }
.tech-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2; right: 0; background: linear-gradient(-90deg, #f8faf6, transparent); }

.marquee-track { 
  display: flex; 
  gap: 60px; 
  white-space: nowrap; 
  width: max-content; 
  animation: scroll-forever 16s linear infinite; 
}

/* 跑马灯滚动关键帧 */
@keyframes scroll-forever {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-item { display: flex; align-items: center; gap: 12px; color: #065f46; font-size: 14px; font-weight: bold; }
.flag-group { display: flex; gap: 4px; }
.flag-svg { height: 16px; width: auto; border-radius: 2px; }
.cyber-28 { background: #f59e0b; color: #fff; padding: 2px 8px; font-weight: 900; font-size: 14px; border-radius: 4px; box-shadow: 0 2px 5px rgba(245, 158, 11, 0.3); }

/* 充提说明按钮 */
.cyber-notice-btn {
  height: 42px; padding: 0 16px;
  background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 8px;
  color: #059669; font-size: 14px; font-weight: bold; cursor: pointer;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
}
.cyber-notice-btn:hover { background: #10b981; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(16, 185, 129, 0.25); }
.cyber-notice-btn .icon-file { width: 16px; height: 16px; }

/* 分类标签 */
.matrix-tags-wrapper { display: flex; width: 100%; gap: 12px; margin-bottom: 30px; }
.matrix-tag {
  flex: 1; min-width: 0;
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #475569; font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.3s ease;
}
.matrix-tag:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.08); border-color: #6ee7b7; color: #059669; }
.matrix-tag span { font-size: 22px; margin-bottom: 6px; }

/* 平台卡片 */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  border-radius: 20px; padding: 24px 16px; text-align: center;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(255,255,255,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  position: relative; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.1); border-color: #a7f3d0; }
.status-dot { position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px rgba(16,185,129,0.5); z-index: 2; }

.logo-box {
  width: 100%; height: 80px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}

/* 强化透明LOGO展示：双层阴影托底，完美解决白色/浅色LOGO与背景融为一体的问题 */
.logo-box img { 
  max-width: 85%; 
  max-height: 100%; 
  object-fit: contain; 
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15)); 
}

.stars { color: #fbbf24; font-size: 14px; letter-spacing: 4px; margin-bottom: 12px; }
.card-label {
  font-size: 12px; color: #064e3b; background: #ecfdf5; padding: 6px 12px;
  border-radius: 6px; display: inline-block; margin-bottom: 24px;
  border-left: 3px solid #10b981; font-weight: 600;
}
.btn-action-tech {
  display: block; width: 100%; padding: 12px 0;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  font-size: 15px; font-weight: bold; border-radius: 10px; border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); transition: all 0.2s;
}
.btn-action-tech:hover { background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); transform: scale(1.02); }

/* 赞助商区域 */
.sponsor-section { border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 25px; text-align: center; margin-top: 40px; }
.sponsor-title { font-size: 12px; color: #94a3b8; letter-spacing: 4px; margin-bottom: 16px; text-transform: uppercase; }
.sponsor-logos { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.sponsor-logos span { font-size: 16px; font-weight: 900; color: #cbd5e1; transition: color 0.3s; letter-spacing: 1px; text-transform: uppercase; }
.sponsor-logos span:hover { color: #64748b; }

/* 弹窗样式重构 */
.cyber-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(248, 250, 246, 0.8); backdrop-filter: blur(8px);
  z-index: 1000000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 15px; box-sizing: border-box;
}
.cyber-modal-overlay.active { opacity: 1; pointer-events: auto; }
.cyber-modal-content {
  background: #ffffff; border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); border-radius: 20px;
  width: 100%; max-width: 640px; position: relative; transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); max-height: 90vh; overflow-y: auto;
}
.cyber-modal-overlay.active .cyber-modal-content { transform: scale(1); }
.cyber-modal-close {
  position: absolute; top: 16px; right: 20px; background: transparent; border: none;
  color: #94a3b8; font-size: 28px; cursor: pointer; transition: color 0.2s; z-index: 10;
}
.cyber-modal-close:hover { color: #0f172a; }

.custom-container-inner { padding: 30px 24px; display: flex; flex-direction: column; gap: 20px; }
.custom-pay-card { background-color: #f8fafc; border: 1px solid #f1f5f9; border-radius: 16px; padding: 20px; }
.custom-pay-title {
  display: flex; align-items: center; gap: 8px; color: #0f172a; font-weight: bold;
  font-size: 16px; margin-bottom: 20px; border-left: 4px solid #10b981; padding-left: 10px;
}
.custom-pay-title .title-icon { width: 20px; height: 20px; color: #10b981; }
.custom-btn-group { display: flex; flex-wrap: wrap; gap: 10px; }
.custom-btn-normal {
  padding: 8px 18px; border-radius: 9999px; background-color: #ffffff; color: #475569;
  font-size: 13px; border: 1px solid #e2e8f0; cursor: pointer; transition: all 0.2s;
}
.custom-btn-normal:hover { color: #0f172a; border-color: #cbd5e1; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.custom-btn-recommend {
  padding: 8px 16px; border-radius: 9999px; border: 1px solid #6ee7b7;
  background-color: #ecfdf5; color: #059669; font-size: 13px; font-weight: bold;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.custom-tag-green { font-size: 10px; background-color: #10b981; color: #fff; padding: 2px 6px; border-radius: 9999px; font-weight: bold; }

.custom-info-list { display: flex; flex-direction: column; gap: 16px; }
.custom-info-item { display: flex; align-items: flex-start; gap: 14px; }
.custom-icon-wrapper { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; flex-shrink: 0; }
.custom-icon-wrapper svg { width: 20px; height: 20px; }
.src-usdt { background: #ecfdf5; color: #10b981; }
.src-bank { background: #fffbeb; color: #f59e0b; }
.src-security { background: #eff6ff; color: #3b82f6; }
.custom-info-text { font-size: 13px; line-height: 1.6; }
.custom-info-text .title { color: #0f172a; font-weight: bold; margin-right: 6px; font-size: 14px; }
.custom-info-text .desc { color: #64748b; }

/* 响应式调整 */
@media (max-width: 768px) {
  .container { padding: 20px 12px; }
  .cyber-dashboard { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dashboard-stats { text-align: left; align-items: flex-start; }
  .ping-status { justify-content: flex-start; }
  
  .tech-marquee-container { gap: 6px; margin-bottom: 20px; }
  .cyber-notice-btn { padding: 0 10px; font-size: 12px; height: 42px; border-radius: 8px; }
  .cyber-notice-btn span { display: none; }
  .cyber-notice-btn span:last-child { display: inline; }
  
  .matrix-tags-wrapper { gap: 8px; flex-wrap: wrap; }
  .matrix-tag { padding: 10px 0; font-size: 12px; border-radius: 10px; min-width: 30%; flex: 1 1 auto;}
  .matrix-tag span { font-size: 18px; }
  
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 16px 12px; border-radius: 16px; }
  .logo-box { height: 50px; margin-bottom: 12px; }
  .card-label { font-size: 10px; padding: 4px 6px; margin-bottom: 16px; }
  .btn-action-tech { font-size: 13px; padding: 10px 0; }
}