﻿:root {
  --black: #050403;
  --panel: rgba(7, 6, 4, .58);
  --gold: #f4d383;
  --gold-soft: #ffe7a8;
  --line: rgba(244, 211, 131, .34);
  --text: #fff4cf;
  --muted: rgba(255, 244, 207, .72);
}

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.24) 28%, rgba(0,0,0,.2) 62%, rgba(0,0,0,.82)),
    radial-gradient(circle at 50% 67%, rgba(246, 197, 94, .23), transparent 28%),
    url("../image/bg.webp") center 45% / cover no-repeat;
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 226, 145, .24), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(255, 226, 145, .2), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.62));
}

.topbar,
.hero,
.service-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(18, 15, 11, .97), rgba(8, 7, 5, .94));
  border-bottom: 1px solid rgba(244, 211, 131, .22);
  box-shadow: 0 12px 34px rgba(0,0,0,.38);
}

.nav-logos {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.sponsor-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.topbar-sep {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(244,211,131,.48), transparent);
}

.hero {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 36px 0 28px;
}

.hero-content {
  width: 100%;
  text-align: center;
}

h1 {
  margin: 0 auto 24px;
  max-width: 650px;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff0b8;
  text-shadow: 0 8px 30px rgba(0,0,0,.78), 0 0 26px rgba(244, 211, 131, .16);
  transform: translateY(-32px);
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(430px, 100%);
  min-height: 78px;
  padding: 0 36px;
  border: 1px solid rgba(255, 241, 187, .9);
  border-radius: 24px;
  overflow: hidden;
  color: #241506;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #fff0bd 0%, #f2c15e 52%, #9e6419 100%);
  box-shadow: 0 20px 48px rgba(0,0,0,.48), 0 0 34px rgba(245, 198, 88, .28), inset 0 2px 0 rgba(255,255,255,.75);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: 4px 8px auto;
  height: 42%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,0));
  pointer-events: none;
}

.primary-button span {
  position: relative;
  z-index: 1;
}

.primary-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 24px 56px rgba(0,0,0,.54), 0 0 46px rgba(245, 198, 88, .42), inset 0 2px 0 rgba(255,255,255,.82);
}

.primary-button:active {
  transform: translateY(0);
}

.line-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 26px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.line-label::before,
.line-label::after {
  content: "";
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.line-label::after {
  background: linear-gradient(90deg, var(--line), transparent);
}

.hero-lines {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.line-button {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(11,9,6,.72), rgba(0,0,0,.72));
  box-shadow: inset 0 0 20px rgba(245, 211, 131, .06);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.line-button:hover {
  border-color: rgba(255, 231, 168, .8);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,.32), inset 0 0 22px rgba(245, 211, 131, .12);
}

.line-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.line-enter {
  color: var(--gold-soft);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #31d36b;
  box-shadow: 0 0 14px currentColor;
}

.service-footer {
  width: min(1320px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto 28px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 28px rgba(245, 211, 131, .05);
}

.service-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.service-item {
  position: relative;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.service-item span {
  line-height: 1.1;
}

.service-item + .service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(244,211,131,.32), transparent);
}

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(244, 211, 131, .18));
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .landing-page {
    background:
      linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.06) 34%, rgba(0,0,0,.32) 100%),
      url("../image/bg-mobile.webp") center top / cover no-repeat;
  }

  .landing-page::before {
    display: none;
  }

  .topbar {
    min-height: 60px;
  }

  .nav-logos {
    min-height: 60px;
    gap: 14px;
  }

  .logo {
    height: 32px;
  }

  .sponsor-logo {
    height: 42px;
  }

  .topbar-sep {
    height: 28px;
  }

  .hero {
    width: min(430px, calc(100% - 12px));
    padding: 228px 26px 10px;
    align-items: start;
  }

  h1 {
    margin: 20px auto 8px;
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1.18;
    transform: none;
  }

  .primary-button {
    width: min(250px, 100%);
    min-height: 58px;
    margin-top: 10px;
    border-radius: 22px;
    font-size: 26px;
  }

  .line-label {
    margin: 35px 0 12px;
    font-size: 14px;
  }

  .line-label::before,
  .line-label::after {
    width: 54px;
  }

  .hero-lines {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .line-button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(13,11,6,.8), rgba(0,0,0,.78));
  }

  .line-left {
    font-size: 17px;
  }

  .service-footer {
    width: min(430px, calc(100% - 12px));
    min-height: 0;
    margin: 20px auto 6px;
    padding: 12px 10px;
    border: 0;
    border-top: 1px solid rgba(244, 211, 131, .34);
    border-radius: 0;
    background: rgba(0,0,0,.42);
    box-shadow: none;
  }

  .service-item {
    min-height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
  }

  .service-item + .service-item::before {
    display: none;
  }

  .service-icon {
    width: 24px;
    height: 24px;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
