:root {
  --gold: #ffcc00;
  --orange: #ff7a00;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/***********************
  PC + H5 共用背景
************************/
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-image: url("../image/worldcup-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
  color: #fff;
  padding: 20px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-background-size: cover;
  -webkit-overflow-scrolling: touch;
}

/* PC 固定背景 */
@media (min-width: 1025px) {
  body {
    background-attachment: fixed;
  }
}

/* 暗角遮罩 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.35));
  z-index: -1;
}


/*************************
  顶部 LOGO + 标题区域
**************************/
.top-nav {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 100;
  padding: 6px 12px 0;
}

.top-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: var(--shadow);
}

.top-nav-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
  padding: 0 10px;
}

.top-nav-logos img {
  height: 46px;
  cursor: pointer;
  transition: 0.25s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8));
  animation: logoPulse 4s ease-in-out infinite;
}

.top-nav-logos img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  }

  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  }
}


/***************
  主内容区域
****************/
.page-wrapper {
  margin-top: 180px;
  display: flex;
  justify-content: center;
}

.hero-card {
  max-width: 640px;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  padding: 26px;
  border-radius: 20px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  animation: cardFade 1.2s ease;
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22ff88;
  margin-right: 6px;
  box-shadow: 0 0 8px #22ff88;
}

h1 {
  margin-top: 14px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  text-shadow: var(--shadow);
}

.sub-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}

.invite-code {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px #fff;
}

.features {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.features span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}


/*************************
  主按钮：注意这里是重点
  填色已加强，不会空心
**************************/
.cta-main {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 0;
  margin-top: 18px;

  color: #000;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;

  border-radius: 999px;
  border: 1px solid rgba(255, 214, 80, 0.85);

  /*
    按钮填色：
    第一层是中间高光，
    第二层是深蓝半透明玻璃底，
    第三层是金色边缘氛围。
  */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(222, 212, 9, 0.31), rgba(218, 180, 8, 0.88)),
    linear-gradient(135deg, rgba(255, 208, 0, 0.55), rgba(255, 122, 0, 0.35));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -12px 26px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 195, 0, 0.18),
    0 0 18px rgba(255, 166, 0, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: 0.25s ease;
  animation: pulseBtn 2.8s infinite;
}

.cta-main:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(26, 94, 150, 0.9), rgba(14, 58, 102, 0.92)),
    linear-gradient(135deg, rgba(255, 208, 0, 0.65), rgba(255, 122, 0, 0.45));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 22px rgba(255, 194, 0, 0.7),
    0 10px 32px rgba(0, 0, 0, 0.65);
}

@keyframes pulseBtn {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -12px 26px rgba(0, 0, 0, 0.18),
      0 0 12px rgba(255, 180, 0, 0.45),
      0 8px 28px rgba(0, 0, 0, 0.55);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      inset 0 -12px 26px rgba(0, 0, 0, 0.2),
      0 0 26px rgba(255, 170, 0, 0.85),
      0 8px 32px rgba(0, 0, 0, 0.65);
  }

  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -12px 26px rgba(0, 0, 0, 0.18),
      0 0 12px rgba(255, 180, 0, 0.45),
      0 8px 28px rgba(0, 0, 0, 0.55);
  }
}

.cta-sub {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.95;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}


/***************************
  客服模块：PC 悬浮
****************************/
.contact-box {
  position: fixed;
  bottom: 40px;
  left: 40px;
  background: rgba(0, 0, 0, 0.65);
  padding: 14px;
  width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  z-index: 50;
}

.contact-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pill-btn {
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-align: center;
  font-size: 12px;
  border-radius: 100px;
  text-decoration: none;
  transition: 0.25s ease;
}

.pill-btn:hover {
  background: rgba(255, 204, 0, 0.28);
  color: #fff;
}


/*********************************
  视频模块：PC 悬浮
**********************************/
.video-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.8);
  border: 2px solid transparent;
  animation: videoGlow 3.5s ease-in-out infinite;
  z-index: 50;
}

@keyframes videoGlow {
  0% {
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 28px rgba(0, 200, 255, 1);
  }

  100% {
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
  }
}

.video-box video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.video-label {
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 4px 12px;
  background: #ffd400;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #000;
}


/*********************************
  H5 适配
**********************************/
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .top-nav {
    position: static;
    background: rgba(0, 0, 0, 0.15);
    padding: 10px 0 6px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 10px;
  }

  .top-title {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .top-nav-logos {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 10px;
    justify-items: center;
  }

  .top-nav-logos img {
    height: 36px !important;
  }

  .page-wrapper {
    margin-top: 10px;
  }

  .hero-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  h1 {
    font-size: 26px;
  }

  .sub-title {
    font-size: 16px;
  }

  .invite-code {
    font-size: 18px;
  }

  .cta-main {
    font-size: 18px;
    padding: 15px 0;
  }

  .contact-box {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
  }

  .video-box {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 20px auto;
  }

  .video-label {
    display: none !important;
  }
}