:root {
  --gold: #ffd44a;
  --gold-deep: #c99616;
  --cyan: #35d9ff;
  --red: #ff3b36;
  --ink: #07111f;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

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

body {
  min-height: 100vh;
  padding: 22px;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-image:
    linear-gradient(180deg, rgba(2, 10, 28, 0.08), rgba(2, 10, 28, 0.34)),
    url("../image/worldcup-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1025px) {
  body {
    background-attachment: fixed;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 36%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.28));
}

.top-nav {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 6px 12px 0;
  text-align: center;
}

.top-title {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: var(--shadow);
}

.top-nav-logos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
}

.brand-entry {
  width: 178px;
  min-height: 82px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(3, 24, 54, 0.18), rgba(3, 24, 54, 0.48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.brand-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-120%);
  animation: scanLight 3.6s ease-in-out infinite;
}

.brand-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(255, 212, 74, 0.65), 0 12px 26px rgba(0, 0, 0, 0.34);
}

.brand-entry img {
  position: relative;
  z-index: 2;
  max-width: 132px;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.58));
}

.brand-entry span {
  position: relative;
  z-index: 3;
  min-width: 98px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 235, 93, 0.88), rgba(202, 164, 31, 0.78));
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 14px rgba(255, 212, 74, 0.38);
}

.brand-primary {
  background: linear-gradient(180deg, rgba(5, 44, 88, 0.26), rgba(2, 20, 48, 0.64));
}

.brand-primary img {
  max-width: 132px;
  max-height: 42px;
}

@keyframes scanLight {
  0%, 45% {
    transform: translateX(-130%);
  }
  70%, 100% {
    transform: translateX(130%);
  }
}

.page-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 205px;
}

.hero-card {
  width: min(100%, 720px);
  padding: 28px 34px 32px;
  border: 0;
  border-radius: 8px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(3, 16, 39, 0.6);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.78),
    0 0 34px rgba(255, 212, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(9px);
  animation: cardFade 0.9s ease;
}

.hero-card::before {
  content: "世界杯专场";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(180deg, #fff36d, #ffbd0a);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 212, 74, 0.7);
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  display: block;
  width: min(260px, 72%);
  margin: 4px auto 14px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.72));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border: 0;
  border-radius: 999px;
  color: #eaf8ff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 13px;
  font-weight: 800;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24ff85;
  box-shadow: 0 0 9px #24ff85;
}

h1 {
  margin-top: 12px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 900;
  text-shadow: var(--shadow), 0 0 16px rgba(255, 212, 74, 0.45);
}

.sub-title {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  color: #f3fbff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.invite-code {
  display: none;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.features span {
  min-width: 96px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 112, 190, 0.22);
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cta-main {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 18px 18px;
  border: 1px solid rgba(255, 246, 130, 0.9);
  border-radius: 999px;
  color: #080808;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 44%),
    linear-gradient(180deg, #fff05a, #dfa817);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 26px rgba(255, 212, 74, 0.7),
    0 14px 30px rgba(0, 0, 0, 0.46);
  animation: pulseBtn 2.3s infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

@keyframes pulseBtn {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 0 18px rgba(255, 212, 74, 0.55),
      0 14px 30px rgba(0, 0, 0, 0.46);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 0 34px rgba(255, 212, 74, 0.96),
      0 18px 36px rgba(0, 0, 0, 0.55);
  }
}

.cta-sub {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.contact-box {
  position: fixed;
  bottom: 34px;
  left: 32px;
  z-index: 50;
  width: 256px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(4, 18, 38, 0.68);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.contact-title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 900;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pill-btn {
  min-height: 32px;
  padding: 8px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: background 0.22s ease, color 0.22s ease;
}

.pill-btn:hover {
  color: #111;
  background: var(--gold);
}

.video-box {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 50;
  width: 320px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 24px rgba(53, 217, 255, 0.8);
  animation: videoGlow 3.5s ease-in-out infinite;
}

@keyframes videoGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(53, 217, 255, 0.58);
  }
  50% {
    box-shadow: 0 0 28px rgba(53, 217, 255, 0.98);
  }
}

.video-box video {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    background-position: center top;
  }

  .top-nav {
    position: static;
    padding: 8px 0 0;
  }

  .top-title {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .top-nav-logos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    padding: 8px;
  }

  .brand-entry,
  .brand-primary {
    width: 100%;
    min-height: 66px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .brand-entry img,
  .brand-primary img {
    max-width: 150px;
    max-height: 42px;
  }

  .brand-entry span {
    min-width: 104px;
    font-size: 12px;
  }

  .page-wrapper {
    margin-top: 14px;
  }

  .hero-card {
    padding: 26px 16px 22px;
  }

  .hero-logo {
    width: min(230px, 78%);
    margin-bottom: 12px;
  }

  h1 {
    font-size: 31px;
  }

  .sub-title {
    font-size: 16px;
  }

  .features {
    gap: 7px;
  }

  .features span {
    min-width: 86px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .cta-main {
    padding: 16px 12px;
    font-size: 21px;
  }

  .contact-box {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 18px auto 0;
  }

  .video-box {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 18px auto 0;
  }

  .video-label {
    display: none;
  }
}
