/* ==========================================
   2026世界杯官方合作平台 - 完整样式规范
   ========================================== */

body,
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #030712;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  color: #e2e8f0;
  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;
  background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.03) 0%, transparent 80%);
  perspective: 1000px;
}

.holo-item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  text-shadow: 0 0 10px #00f2fe, 0 0 20px rgba(0, 242, 254, 0.5);
  animation: floatHolo linear infinite;
}

.holo-item.purple {
  text-shadow: 0 0 10px #8b5cf6, 0 0 20px rgba(139, 92, 246, 0.5);
}

.holo-item.gold {
  text-shadow: 0 0 10px #facc15, 0 0 20px rgba(250, 204, 21, 0.5);
}

.c1 { left: 10%; animation-duration: 20s; animation-delay: -5s; font-size: 38px; }
.c2 { left: 85%; animation-duration: 24s; animation-delay: -12s; font-size: 32px; }
.c3 { left: 35%; animation-duration: 18s; animation-delay: -2s; font-size: 42px; }
.c4 { left: 65%; animation-duration: 26s; animation-delay: -18s; font-size: 30px; }
.c5 { left: 20%; animation-duration: 22s; animation-delay: -9s; font-size: 35px; }
.c6 { left: 75%; animation-duration: 21s; animation-delay: -15s; font-size: 40px; }

@keyframes floatHolo {
  0% {
    top: 110vh;
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(0deg) scale(0.9);
    opacity: 0;
  }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% {
    top: -10vh;
    transform: rotateX(-10deg) rotateY(15deg) rotateZ(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: 1px solid rgba(0, 242, 254, 0.2);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-title span {
  font-size: 12px;
  color: #00f2fe;
  letter-spacing: 4px;
  font-family: monospace;
}

.dashboard-stats {
  text-align: right;
  font-family: monospace;
  font-size: 12px;
  color: #00f2fe;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
  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 #10b981;
  animation: blink 1s infinite;
}

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

/* ================== 跑马灯 ================== */
.tech-marquee-container {
  display: flex;
  width: 100%;
  margin-bottom: 24px;
  align-items: center;
}

.tech-marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: rgba(10, 15, 30, 0.8);
  border-left: 3px solid #00f2fe;
  border-right: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 6px 0 0 6px;
  height: 38px;
  display: flex;
  align-items: center;
}

.tech-marquee::before,
.tech-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 15, 30, 1), transparent);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(10, 15, 30, 1), transparent);
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #38bdf8;
  font-size: 14px;
  font-weight: bold;
}

.flag-group {
  display: flex;
  gap: 4px;
}

.cyber-28 {
  background: #facc15;
  color: #000;
  padding: 0 8px;
  font-weight: 900;
  font-size: 15px;
  height: 22px;
  line-height: 18px;
  border-radius: 3px;
  transform: skewX(-12deg);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.flag-svg {
  height: 16px;
  width: auto;
}

@keyframes scroll-forever {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ================== 充提说明按钮 ================== */
.cyber-notice-btn {
  height: 38px;
  padding: 0 16px;
  background: rgba(139, 92, 246, 0.03); 
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 4px;
  color: rgba(192, 132, 252, 0.8);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 5;
  position: relative;
  overflow: hidden;
  animation: pulsesGlow 3s infinite alternate ease-in-out;
}

.cyber-notice-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.cyber-notice-btn:hover {
  background: rgba(139, 92, 246, 0.10);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5), inset 0 0 10px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

.cyber-notice-btn:hover::after {
  opacity: 1;
}

.cyber-notice-btn .icon-file {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

@keyframes pulsesGlow {
  0% { 
    border-color: rgba(139, 92, 246, 0.2); 
    box-shadow: 0 0 5px rgba(139, 92, 246, 0.1);
    color: rgba(192, 132, 252, 0.6);
  }
  100% { 
    border-color: rgba(139, 92, 246, 0.6); 
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
    color: rgba(192, 132, 252, 0.9);
  }
}

/* ================== 页面标签与卡片容器 ================== */
.matrix-tags-wrapper {
  display: flex;
  width: 100%;
  gap: 12px;
  margin-bottom: 30px;
}

.matrix-tag {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.1), rgba(10, 15, 30, 0.9));
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 8px;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
  transition: all 0.3s;
}

.matrix-tag:hover {
  background: rgba(0, 242, 254, 0.2);
  transform: translateY(-3px);
}

.matrix-tag span {
  font-size: 20px;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(5, 9, 20, 0.9));
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
}

.status-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  z-index: 2;
}

.logo-box {
  width: 100%;
  height: 90px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: radial-gradient(
    ellipse 90% 70% at center,
    rgba(0, 242, 254, 0.15) 0%,
    rgba(0, 242, 254, 0.05) 45%,
    transparent 100%
  );
}

.logo-box img {
  max-width: 85%;
  max-height: 80%;
  object-fit: contain;
  -webkit-box-reflect: below 2px linear-gradient(transparent 70%, rgba(255, 255, 255, 0.05));
  filter: brightness(1.1);
}

.stars {
  color: #00f2fe;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.6);
}

.card-label {
  font-size: 13px;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
  border-left: 3px solid #8b5cf6;
  letter-spacing: 1px;
}

.btn-action-tech {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: rgba(0, 242, 254, 0.08);
  color: #00f2fe;
  font-size: 15px;
  font-weight: 800;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(0, 242, 254, 0.5);
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.btn-action-tech:hover {
  background: rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-action-tech:active {
  transform: scale(0.97);
}

/* ==================== 第5个卡片：代理合伙人专属 ==================== */
.card-agent {
  cursor: pointer;
  border-color: rgba(244, 63, 94, 0.35);
}

.card-agent:hover {
  border-color: #f43f5e;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.35);
  transform: translateY(-6px);
}

.red-dot {
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
  animation: blink 1s infinite;
}

.logo-agent-box {
  background-image: radial-gradient(
    ellipse 90% 70% at center,
    rgba(244, 63, 94, 0.2) 0%,
    rgba(244, 63, 94, 0.05) 50%,
    transparent 100%
  );
}

.stars-gold {
  color: #facc15;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.label-agent {
  border-left-color: #f43f5e;
  color: #f1f5f9;
}

.btn-agent-action {
  border-color: rgba(244, 63, 94, 0.5);
  color: #fb7185;
  background: rgba(244, 63, 94, 0.08);
}

.btn-agent-action:hover {
  background: rgba(244, 63, 94, 0.22);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
}

/* ==================== 赞助商区域 ==================== */
.sponsor-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  text-align: center;
  margin-top: auto;
}

.sponsor-title {
  font-size: 12px;
  color: #475569;
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-family: monospace;
}

.sponsor-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.sponsor-logos span {
  font-size: 16px;
  font-weight: 900;
  color: #475569;
  font-family: "Arial Black", sans-serif;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sponsor-logos span:hover {
  opacity: 1;
  color: #e2e8f0;
}

/* ==================== 赛博风格弹窗全局样式 ==================== */
.cyber-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  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: #090d16;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15), inset 0 0 20px rgba(0, 242, 254, 0.05);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.cyber-modal-overlay.active .cyber-modal-content {
  transform: scale(1);
}

.cyber-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.cyber-modal-close:hover { color: #00f2fe; }

.custom-container-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-pay-card {
  background-color: #0f1422;
  border: 1px solid rgba(30, 38, 64, 0.4);
  border-radius: 12px;
  padding: 20px;
}

.custom-pay-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
  border-left: 3px solid #00f2fe;
  padding-left: 8px;
}

.custom-pay-title .title-icon { width: 18px; height: 18px; color: #00f2fe; }
.custom-btn-group { display: flex; flex-wrap: wrap; gap: 10px; }

.custom-btn-normal {
  padding: 8px 18px; border-radius: 9999px;
  background-color: #171e32; color: #94a3b8;
  font-size: 13px; border: none; cursor: pointer; transition: all 0.2s;
}

.custom-btn-normal:hover { color: #fff; background-color: #1e2741; }

.custom-btn-recommend {
  padding: 7px 14px; border-radius: 9999px;
  border: 1px solid rgba(0, 176, 116, 0.3);
  background-color: rgba(0, 176, 116, 0.08); color: #00b074;
  font-size: 13px; font-weight: bold;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}

.custom-btn-recommend:hover { background-color: rgba(0, 176, 116, 0.15); }

.custom-tag-green {
  font-size: 10px; background-color: #00b074; color: #0f1422;
  padding: 1px 5px; border-radius: 9999px; font-weight: 900;
}

.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: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; border-radius: 8px; flex-shrink: 0;
}

.custom-icon-wrapper svg { width: 18px; height: 18px; }
.src-usdt { background: rgba(0, 176, 116, 0.1); color: #00b074; }
.src-bank { background: rgba(177, 138, 58, 0.1); color: #b18a3a; }
.src-security { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.custom-info-text { font-size: 13px; line-height: 1.6; }
.custom-info-text .title { color: #fff; font-weight: bold; margin-right: 6px; font-size: 14px; }
.custom-info-text .desc { color: #94a3b8; }

/* ==================== 响应式媒体查询自适应机制 ==================== */
@media (max-width: 768px) {
  .container {
    padding: 3vh 12px 20px;
    justify-content: flex-start;
  }

  .cyber-dashboard {
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

  .dashboard-title { font-size: 16px; }
  .dashboard-title span { font-size: 9px; }
  .dashboard-stats { font-size: 9px; }

  .matrix-tags-wrapper { gap: 4px; margin-bottom: 12px; }
  .matrix-tag { padding: 6px 0; font-size: 9px; border-radius: 6px; }
  .matrix-tag span { font-size: 14px; margin-bottom: 2px; }

  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card { padding: 12px 8px; border-radius: 8px; }
  .logo-box { height: 50px; margin-bottom: 8px; }
  .stars { font-size: 10px; margin-bottom: 6px; }
  .card-label { font-size: 10px; padding: 4px 8px; margin-bottom: 12px; letter-spacing: 0.5px; }
  .btn-action-tech { font-size: 12px; padding: 8px 0; }
  .status-dot { top: 8px; right: 8px; width: 4px; height: 4px; }

  .sponsor-section { padding-top: 12px; margin-top: 20px; }
  .sponsor-title { font-size: 9px; margin-bottom: 12px; }
  .sponsor-logos span { font-size: 10px; }

  .tech-marquee-container { padding-right: 4px; height: 32px; margin-bottom: 15px; }
  .tech-marquee { height: 32px; border-radius: 6px 0 0 6px; }
  .marquee-track { gap: 40px; font-size: 12px; }
  .flag-svg { height: 14px; }
  .cyber-28 { height: 16px; line-height: 16px; font-size: 11px; }
  
  .cyber-notice-btn { height: 32px; padding: 0 10px; font-size: 11px; border-radius: 0 6px 6px 0; }
  .cyber-notice-btn .icon-file { width: 12px; height: 12px; }

  .custom-container-inner { padding: 14px; gap: 12px; }
  .custom-pay-card { padding: 14px; }
  .custom-pay-title { margin-bottom: 14px; font-size: 14px; }
  .custom-btn-group { gap: 6px; }
  .custom-btn-normal { padding: 6px 12px; font-size: 11px; }
  .custom-btn-recommend { padding: 5px 10px; font-size: 11px; }
  .custom-info-text { font-size: 12px; }
  .custom-info-text .title { font-size: 12px; }
}

@media (max-width: 600px) {
  .cyber-dashboard { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dashboard-stats { text-align: left; align-items: flex-start; }
  .ping-status { justify-content: flex-start; }
}