@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --bg: #f8f9fa;
  --bg-elev: #ffffff;
  --bg-soft: #f1f3f4;
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
  --primary: var(--google-blue);
  --secondary: var(--google-green);
  --accent: var(--google-yellow);
  --text: #202124;
  --muted: #5f6368;
  --line: #e0e3e7;
  --card-shadow: 0 1px 2px rgba(60, 64, 67, 0.15), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Roboto", "Noto Sans SC", sans-serif;
  background: linear-gradient(180deg, #f8f9fa 0%, #f5f7fb 55%, #f8f9fa 100%);
}

.nav,
.container,
.hero-content {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 18px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.82)),
    url("image/top_bg.webp"),
    radial-gradient(circle at 10% -10%, rgba(66, 133, 244, 0.13), transparent 36%),
    radial-gradient(circle at 90% -15%, rgba(52, 168, 83, 0.11), transparent 32%);
  background-size: auto, cover, auto, auto;
  background-position: center, center 28%, center, center;
  background-repeat: no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  pointer-events: none;
}

.hero::before {
  width: 140px;
  height: 140px;
  right: 6%;
  top: 20%;
  background: rgba(66, 133, 244, 0.2);
}

.hero::after {
  width: 120px;
  height: 120px;
  left: -30px;
  top: 8%;
  background: rgba(251, 188, 5, 0.24);
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #e6eaef;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 8px rgba(60, 64, 67, 0.12);
  backdrop-filter: blur(6px);
}

.brand {
  font-family: "Roboto", "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1px;
  white-space: nowrap;
  color: #1f1f1f;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #3c4043;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--google-blue);
  opacity: 1;
}

.hero-content h1 {
  font-family: "Roboto", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 880px;
  margin: 0 0 14px;
  color: #202124;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(66, 133, 244, 0.35);
  background: rgba(66, 133, 244, 0.08);
  color: #185abc;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.subtitle {
  margin: 0 0 24px;
  max-width: 820px;
  line-height: 1.82;
  color: var(--muted);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.kpi-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #d2e3fc;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.hero-kpis .kpi-card:nth-child(2) {
  border-color: #f6c7c3;
}

.hero-kpis .kpi-card:nth-child(3) {
  border-color: #fce8b2;
}

.hero-kpis .kpi-card:nth-child(4) {
  border-color: #cce7d4;
}

.kpi-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.kpi-value {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #1f1f1f;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  border: 1px solid #1a73e8;
  background: #1a73e8;
  padding: 12px 24px;
  min-width: 156px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.3);
}

.btn-primary.is-active {
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.35);
}

.btn-arrow {
  display: inline-block;
  margin-left: 2px;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(2px);
}

.btn-outline {
  border: 1px solid #dadce0;
  color: #1a73e8;
  background: #ffffff;
}

.btn-outline:hover {
  border-color: #1a73e8;
  background: #f8fbff;
}

.section {
  padding: 68px 0;
}

.section-alt {
  position: relative;
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.6;
  background: linear-gradient(
    90deg,
    var(--google-blue) 0%,
    var(--google-red) 35%,
    var(--google-yellow) 67%,
    var(--google-green) 100%
  );
  box-shadow: 0 1px 4px rgba(66, 133, 244, 0.16);
}

h2 {
  margin: 0 0 22px;
  font-family: "Roboto", "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: 0;
  color: #202124;
}

p {
  line-height: 1.8;
}

.panel,
.service-card,
.step,
.card,
.faq-item,
.rule-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.panel {
  padding: 22px;
}

.overview-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.awards-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.sponsor-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.sponsor-contact {
  margin-top: 14px;
}

.sponsor-contact p {
  margin: 0;
}

.sponsor-qr-img {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin-top: 10px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
}

.sponsor-tip {
  margin-top: 6px !important;
  font-size: 0.84rem;
  color: var(--muted);
}

.resources-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.awards-panel .bullet-list {
  padding-left: 18px;
}

.awards-panel .bullet-list li {
  margin: 10px 0;
}

.award-emphasis {
  display: inline-block;
  padding: 0 8px;
  margin: 0 2px;
  border-radius: 999px;
  font-weight: 700;
  color: #174ea6;
  background: linear-gradient(
    90deg,
    rgba(66, 133, 244, 0.18) 0%,
    rgba(234, 67, 53, 0.14) 35%,
    rgba(251, 188, 5, 0.2) 67%,
    rgba(52, 168, 83, 0.16) 100%
  );
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px;
  border-left: 3px solid var(--google-blue);
}

.service-card:nth-child(2) {
  border-left-color: var(--google-red);
}

.service-card:nth-child(3) {
  border-left-color: var(--google-yellow);
}

.service-card:nth-child(4) {
  border-left-color: var(--google-green);
}

.service-card h3 {
  margin: 0 0 8px;
}

.service-card p {
  color: var(--muted);
  margin: 0 0 10px;
}

.service-card a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 700;
}

.service-card a:hover {
  text-decoration: underline;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.step {
  padding: 16px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--google-blue);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 22px;
  border-top: 3px solid rgba(66, 133, 244, 0.65);
}

.timeline .card:nth-child(2) {
  border-top-color: rgba(234, 67, 53, 0.65);
}

.timeline .card:nth-child(3) {
  border-top-color: rgba(251, 188, 5, 0.75);
}

.timeline .card:nth-child(4) {
  border-top-color: rgba(52, 168, 83, 0.65);
}

.card h3 {
  margin: 0 0 8px;
  color: #202124;
}

.track-media-grid {
  display: grid;
  gap: 16px;
}

.track-media-card {
  display: grid;
  grid-template-columns: 416px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.track-media-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e3e7;
  background: #f8f9fa;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.track-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.track-media-content h3 {
  margin: 0 0 8px;
  color: #202124;
  font-size: 1.05rem;
}

.track-media-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.track-media-content p {
  margin: 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-item {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: #202124;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.list {
  padding-left: 20px;
}

.list li {
  margin: 10px 0;
}

.muted-text {
  color: var(--muted);
  margin-top: 10px;
}

.bullet-list,
.link-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li,
.link-list li {
  margin: 8px 0;
  line-height: 1.7;
}

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

.rule-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0 4px 14px;
  border-left: 2px solid #e0e3e7;
  min-width: 0;
}

.rule-card h3 {
  margin-top: 0;
  color: #202124;
}

.rule-card li {
  word-break: break-word;
}

.link-list a {
  color: #1a73e8;
  text-decoration: none;
  word-break: break-word;
}

.link-list a:hover {
  text-decoration: underline;
}

.footer {
  border-top: 1px solid #e0e3e7;
  background: #ffffff;
  color: #5f6368;
  padding: 22px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav > .btn {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .subtitle {
    font-size: 1rem;
  }

  .track-media-card {
    grid-template-columns: 1fr;
  }

  .track-media-thumb {
    min-height: 160px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .sponsor-contact {
    text-align: center;
  }

  .sponsor-qr-img {
    margin-left: auto;
    margin-right: auto;
  }
}
