:root {
  --bg: #060b1f;
  --surface: #0d1730;
  --surface-2: #121f3d;
  --panel: #091127;
  --text: #f6f9ff;
  --muted: #9ca9c0;
  --line: rgba(255, 255, 255, 0.1);
  --gate-blue: #1b7cff;
  --gate-blue-2: #2f9bff;
  --gate-blue-soft: rgba(27, 124, 255, 0.14);
  --gate-blue-line: rgba(47, 155, 255, 0.3);
  --gold: #f3c969;
  --ink: #031027;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(27, 124, 255, 0.24), transparent 32%),
    linear-gradient(180deg, #07102b 0%, #09142f 38%, #050914 100%);
  line-height: 1.58;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 25, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.lang-switch a[aria-current="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gate-blue), var(--gate-blue-2));
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  gap: 9px;
}

.button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gate-blue), var(--gate-blue-2));
  box-shadow: 0 14px 34px rgba(27, 124, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 25, 0.99) 0%, rgba(6, 14, 35, 0.92) 42%, rgba(7, 24, 62, 0.42) 68%, rgba(5, 10, 25, 0.82) 100%),
    url("/assets/hero.png") center right / cover no-repeat;
  filter: hue-rotate(36deg) saturate(1.12) brightness(0.96);
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(0deg, var(--bg), rgba(5, 10, 25, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 104px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e7f1ff;
  border: 1px solid var(--gate-blue-line);
  background: var(--gate-blue-soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  margin-top: 22px;
  font-size: clamp(38px, 5vw, 68px);
}

h2 {
  font-size: clamp(28px, 3.6vw, 48px);
}

h3 {
  font-size: 21px;
}

.hero-copy,
.section-head p,
.card p,
.reward p,
.latest-brief p,
details p {
  color: var(--muted);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-top: 34px;
}

.trust-item,
.card,
.reward-amount,
.latest-brief,
details {
  border: 1px solid var(--line);
  background: rgba(13, 23, 48, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.trust-item {
  border-radius: 8px;
  padding: 16px;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 20px;
}

.trust-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: 92px 0;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bonus-band {
  background:
    linear-gradient(180deg, rgba(27, 124, 255, 0.13), rgba(6, 11, 31, 0.18)),
    #07122c;
}

.reward,
.latest-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: center;
}

.reward-amount,
.latest-brief {
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(27, 124, 255, 0.18), rgba(47, 155, 255, 0.08)),
    var(--surface);
}

.reward-amount b {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  color: var(--gold);
  word-break: break-word;
}

.reward-amount span {
  display: block;
  margin: 12px 0 18px;
  color: var(--muted);
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head p {
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: 8px;
  padding: 24px;
}

.card:hover {
  border-color: rgba(47, 155, 255, 0.3);
}

.card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

ul {
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.brief-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 18px;
  border: 1px solid rgba(47, 155, 255, 0.72);
  border-radius: 8px;
  background: #07102b;
  filter: grayscale(0.38) hue-rotate(32deg) saturate(1.55) brightness(0.7) contrast(1.16);
  box-shadow:
    0 0 0 1px rgba(27, 124, 255, 0.18),
    0 18px 42px rgba(27, 124, 255, 0.16);
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.brief-pill {
  padding: 8px 10px;
  border: 1px solid var(--gate-blue-line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--gate-blue-soft);
  font-size: 13px;
  font-weight: 750;
}

.brief-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.brief-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 124, 255, 0.07);
}

.brief-item strong {
  display: block;
  margin-bottom: 6px;
}

.history-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.history-link {
  display: grid;
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 23, 48, 0.86);
}

.history-link:hover {
  border-color: var(--gate-blue-line);
}

.history-date {
  color: var(--gate-blue-2);
  font-weight: 850;
}

.history-title {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.history-summary {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.history-tag {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gate-blue), var(--gate-blue-2));
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gate-blue), var(--gate-blue-2));
  font-weight: 900;
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--gate-blue-line);
  background: var(--gate-blue-soft);
}

code {
  color: #fff7cf;
  font-weight: 850;
}

.mini-button {
  min-height: 34px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--gate-blue);
}

.text-link {
  color: var(--gate-blue-2);
  font-weight: 800;
}

.latest-brief {
  grid-template-columns: minmax(0, 1fr) auto;
}

.faq {
  padding-top: 40px;
}

details {
  border-radius: 8px;
  padding: 18px 20px;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  color: var(--muted);
  background: #050914;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--gate-blue-2);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .lang-switch {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0 86px;
  }

  .trust-row,
  .grid-2,
  .grid-3,
  .brief-layout,
  .reward,
  .latest-brief {
    grid-template-columns: 1fr;
  }

  .history-link {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .nav-links .button {
    width: auto;
  }

  .code-box {
    align-items: stretch;
    flex-direction: column;
  }
}
