/* ===========================================================
   OKVND — main stylesheet
   Desktop-first. Breakpoints: 1024px (tablet), 767px (mobile)
   =========================================================== */

:root {
  --bg-dark: #050d22;
  --bg-mid:  #0b1a3d;
  --bg-card: #122a5c;
  --bg-panel:#16306b;
  --accent:  #ffc107;
  --accent-2:#ff8a00;
  --text:    #ffffff;
  --text-mut:#c9d4ee;
  --radius:  18px;
  --radius-sm: 10px;
  --maxw:    1240px;
  --gutter:  24px;
  --header-h:90px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Vietnamese", sans-serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 1400px 800px at 50% 0, #15306b 0%, var(--bg-dark) 60%),
    linear-gradient(180deg, var(--bg-dark), #03081a);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 28, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.brand-logo { height: 44px; width: auto; }
.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  white-space: nowrap;
}

.amb-card-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.amb-portrait {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.amb-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.amb-name { font-size: 13px; font-weight: 700; color: var(--accent); }
.amb-role { font-size: 11px; color: var(--text-mut); }
.amb-year { font-size: 10px; color: var(--text-mut); }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-mut);
  transition: background .2s, color .2s;
}
.nav-link img { width: 18px; height: 18px; object-fit: contain; }
.nav-link:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav-link.is-active { color: var(--accent); }

.fb-link img { height: 28px; width: 28px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: 8px;
}
.menu-toggle img { width: 100%; height: 100%; object-fit: contain; }

.mobile-drawer {
  display: none;
  background: var(--bg-mid);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.mobile-drawer ul { padding: 8px var(--gutter) 16px; }
.mobile-drawer li a {
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-drawer.is-open { display: block; }

/* ============ HERO ============ */
.hero { position: relative; }
.hero-img { width: 100%; display: block; }

/* ============ LINK SELECTOR + BRAND ALLIANCE ============ */
.two-col-row {
  padding: 40px 0 24px;
}
/* one unified blue panel holds both columns (mockup), not two boxes */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: stretch;
  background: linear-gradient(180deg, #1a4178 0%, #0f2f5b 100%);
  border: 1px solid rgba(120, 175, 235, .25);
  border-radius: var(--radius);
  padding: 22px 30px 26px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.panel { background: none; border: 0; padding: 0; box-shadow: none; }
/* vertical divider between the two columns */
.brands-panel { border-left: 1px solid rgba(120, 175, 235, .2); padding-left: 36px; }
.panel-label {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 18px;
}

.link-list { display: flex; flex-direction: column; gap: 12px; }
.link-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.link-info { flex: 1; min-width: 0; }
.link-info {
  display: grid;
  grid-template-columns: 62px 1fr 50px;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(180deg, #fdfaef 0%, #ece0bf 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 6px rgba(0, 0, 0, .3);
}
.link-tag {
  font-weight: 800;
  font-size: 14px;
  color: #c0271f;
  letter-spacing: .02em;
}
.link-url {
  font-weight: 700;
  font-size: 14px;
  color: #16306b;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(20, 40, 90, .22);
  padding-left: 12px;
}
.link-latency {
  font-size: 13px;
  font-weight: 800;
  color: #c0271f;
  font-variant-numeric: tabular-nums;
  text-align: center;
  border-left: 1px solid rgba(20, 40, 90, .22);
  padding-left: 10px;
}
.link-cta img { height: 38px; width: auto; display: block; }

.brands-panel { display: flex; flex-direction: column; }
.brands-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.brand-logo-link {
  display: block;
  flex: 0 1 160px;
  transition: transform .2s ease;
}
.brand-logo-link:hover { transform: translateY(-4px) scale(1.04); }
.brand-logo-link img { width: 100%; max-width: 160px; height: auto; display: block; }

/* ============ ALLIANCE HERO ============ */
.alliance-hero {
  padding: 48px 0;
}
.alliance-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  /* matches the navy at the bottom edge of alliance-hero.png so any text that
     spills past the image continues seamlessly */
  background: linear-gradient(95deg, #0a2240 0%, #0c2c4d 52%, #114071 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
.alliance-banner-img {
  display: block;
  width: 100%;
  height: auto;
}
/* pulled up so the copy sits ON the empty dark band inside the lower ~43%
   of the banner image, rather than below it */
.alliance-content {
  position: relative;
  z-index: 1;
  margin-top: -20%;
  padding: 0 56px 44px;
  text-align: center;
}

.alliance-title {
  font-size: 30px;
  color: var(--text);
  margin: 0 0 16px;
}
.alliance-title span { color: var(--accent); }
.alliance-lead {
  max-width: 940px;
  margin: 0 auto 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
.alliance-lead span { color: var(--accent); font-weight: 700; }
.alliance-bullets {
  display: inline-block;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.alliance-bullets li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--text);
  font-size: 15px;
}
.alliance-bullets li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 2px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

/* ============ INFO CARDS ============ */
.info-cards { padding: 32px 0 56px; }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
/* each card image (674×326) has the circular Luka baked into the left ~40%
   and open blue on the right — used as the full card bg, copy overlaid right */
.info-card {
  position: relative;
  margin: 0;
  aspect-ratio: 674 / 326;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
  background: #0a1733;
}
.info-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-body {
  position: absolute;
  top: 0; bottom: 0;
  left: 48%;   /* clears the circular portrait so the copy never touches it */
  right: 0;
  padding: 4% 5% 4% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-body h3 {
  font-size: clamp(14px, 1.55vw, 19px);
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.25;
}
.info-body h3 span { color: var(--accent); }
.info-sub {
  font-weight: 700;
  color: var(--text);
  font-size: clamp(11px, 1.2vw, 14px);
  margin: 0 0 5px;
}
.info-body p {
  font-size: clamp(10px, 1.12vw, 13px);
  color: var(--text-mut);
  line-height: 1.5;
  margin-bottom: 10px;
}
.info-cta img { height: clamp(28px, 3vw, 36px); width: auto; }

/* ============ AMBASSADOR PANEL ============ */
.ambassador-panel { padding: 32px 0 64px; }
/* luka-thumb-card.png is the full panel: open blue on the left for the copy,
   Luka + gold nameplate baked into the right ~30% */
.amb-panel {
  position: relative;
  aspect-ratio: 1375 / 728;
  background: #0a1733 url(../assets/pc/luka-thumb-card.png) center / 100% 100% no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.amb-panel-copy {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 64%;
  padding: 3% 0 3% 4.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.amb-panel-title {
  font-size: clamp(16px, 2.1vw, 26px);
  color: var(--accent);
  line-height: 1.32;
  margin-bottom: 14px;
}
.amb-panel-copy p {
  color: var(--text-mut);
  font-size: clamp(10.5px, 1.18vw, 14px);
  line-height: 1.55;
  margin-bottom: .7em;
}
.amb-panel-copy ul {
  margin: 6px 0 10px;
}
.amb-panel-copy li {
  position: relative;
  padding: 3px 0 3px 22px;
  color: var(--text-mut);
  font-size: clamp(10.5px, 1.18vw, 14px);
  line-height: 1.5;
}
.amb-panel-copy li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
}
/* ============ APP DOWNLOAD ============ */
.app-download {
  padding: 56px 0;
}
.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.app-illustration {
  margin: 0;
  text-align: center;
}
.app-illustration img { max-width: 100%; }
.app-copy h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.app-copy h2 span {
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
}
.app-qr {
  display: inline-block;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}
.app-qr img { width: 160px; height: 160px; }
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 240px;
}
.store-btn img { width: 100%; max-height: 56px; object-fit: contain; }
.store-btn { transition: transform .2s; }
.store-btn:hover { transform: translateY(-2px); }

/* ============ REWARD BANNER ============ */
.reward-banner {
  padding: 32px 0 56px;
}
.reward-banner img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

/* ============ OKVND TV ============ */
.okvnd-tv { padding: 32px 0 56px; }
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.tv-copy h2 {
  font-size: 30px;
  line-height: 1.3;
}
.tv-copy h2 span { color: var(--accent); }
.tv-copy p {
  color: var(--text-mut);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.tv-cta img { height: 48px; width: auto; transition: transform .2s; }
.tv-cta:hover img { transform: translateY(-2px); }
.tv-illustration { margin: 0; text-align: center; }
.tv-illustration img { max-width: 100%; }

.league-row {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
}
.league-row img { max-width: 100%; }

/* ============ SUPPORT ============ */
/* solid navy band matches the design (#0c3257) so the extracted agent
   figure blends seamlessly into the section */
.support { padding: 56px 0 60px; background: #0c3257; }
.support-headline {
  text-align: center;
  font-size: 32px;
  letter-spacing: .04em;
}
.support-headline span { color: var(--accent); }
.support-sub {
  text-align: center;
  color: var(--text-mut);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.support-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.support-tile {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}
.support-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(255, 193, 7, .25);
}
.support-tile img { width: 100%; display: block; }
.support-figure { margin: 0; text-align: center; align-self: stretch; display: flex; align-items: flex-end; }
.support-figure img { max-width: 100%; }

/* ============ FOOTER ============ */
.site-footer {
  padding: 48px 0 28px;
  background: #02060f;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { height: 50px; width: auto; }
.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em;
}
.footer-amb-name { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-amb-wordmark { height: 34px; width: auto; }
.footer-amb-signature { height: 40px; width: auto; opacity: .92; }

.footer-amb-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-amb-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.footer-amb-line {
  margin: 0;
  font-size: 13px;
  color: var(--text-mut);
}
.footer-amb-line + .footer-amb-line { font-weight: 700; color: var(--text); }
.footer-social {
  display: inline-block;
  margin-top: 10px;
  transition: transform .15s;
}
.footer-social img { height: 26px; width: auto; display: block; }
.footer-social:hover { transform: translateY(-1px); }

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-mut);
  font-size: 12px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ============ INNER PAGES ============ */
.page-content { padding: 32px 0 64px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 24px 0 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.back-link::before { content: "‹"; font-size: 22px; line-height: 1; }

.page-card {
  background: #124375; /* matches inner-page body card in the mockup */
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
/* title banner image (内页N电脑(1)) sits flush at the top of the card */
.page-banner { display: block; width: 100%; height: auto; }
.page-card-body { padding: 28px 40px 36px; }
.page-lead {
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}
.page-card-body > p {
  color: var(--text-mut);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.page-list {
  counter-reset: item;
}
.page-list li {
  position: relative;
  padding: 9px 0 9px 32px;
  color: var(--text-mut);
  font-size: 14px;
  line-height: 1.6;
  counter-increment: item;
}
.page-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}
.page-list li strong { color: var(--text); }
.li-arrow { color: var(--accent); font-weight: 700; margin-right: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ============ RESPONSIVE — Tablet ============ */
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .amb-card-mini { display: none; }
  .nav-link span { display: none; }
  .nav-link { padding: 8px; }

  .two-col-grid { grid-template-columns: 1fr; gap: 24px; }
  /* stacked: divider moves from left edge to top */
  .brands-panel { border-left: 0; padding-left: 0; border-top: 1px solid rgba(120, 175, 235, .2); padding-top: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .app-download-grid { grid-template-columns: 1fr; text-align: center; }
  .app-illustration { order: -1; }
  .store-buttons { margin: 0 auto; }
  .tv-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE — Mobile ============ */
@media (max-width: 767px) {
  :root { --gutter: 14px; --header-h: 64px; }

  .primary-nav, .fb-link { display: none; }
  .amb-card-mini { display: flex; padding-left: 12px; }
  .amb-meta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .brand-logo { height: 34px; }
  .brand-tagline { font-size: 8px; letter-spacing: .08em; }
  .amb-portrait { width: 34px; height: 34px; }

  .two-col-row { padding: 24px 0 12px; }
  .two-col-grid { padding: 18px 16px 20px; }
  .panel-label { margin-bottom: 14px; }
  .link-info { grid-template-columns: 50px 1fr 44px; padding: 7px 12px; }
  .link-tag { font-size: 12px; }
  .link-url { font-size: 12px; padding-left: 9px; }
  .link-latency { font-size: 11px; padding-left: 8px; }
  .link-cta img { height: 32px; }

  .alliance-hero { padding: 32px 0; }
  .alliance-content { padding: 4px 18px 28px; }
  .alliance-title { font-size: 20px; }
  .alliance-lead { font-size: 13px; }
  .alliance-bullets li { font-size: 13px; }

  /* mobile keeps the overlay (matches mockup): widen the copy column and
     shrink type so it fits the short card */
  .info-grid { gap: 16px; }
  .info-body {
    left: 41%;
    padding: 3% 4% 3% 0;
  }
  .info-body h3 { font-size: 13px; }
  .info-sub { font-size: 11px; margin-bottom: 3px; }
  .info-body p { font-size: 10px; line-height: 1.4; margin-bottom: 6px; }
  .info-cta img { height: 26px; }

  /* mobile: the mockup ambassador block is text-only on solid blue,
     title centered, no Luka banner */
  .amb-panel {
    aspect-ratio: auto;
    background: #124375;
    padding: 24px 22px;
  }
  .amb-panel-copy {
    position: static;
    width: 100%;
    padding: 0;
  }
  .amb-panel-title { font-size: 19px; text-align: center; }
  .amb-panel-copy p, .amb-panel-copy li { font-size: 13px; }

  .app-copy h2 { font-size: 24px; }
  .app-copy h2 span { font-size: 18px; }
  .app-qr img { width: 130px; height: 130px; }

  .tv-copy h2 { font-size: 22px; }
  .tv-copy p { font-size: 13px; }

  .support-headline { font-size: 22px; }
  .support-sub { font-size: 13px; }
  .support-tiles { gap: 12px; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .footer-brand { align-items: center; }
  .footer-amb-card { justify-content: center; }
  .footer-social { justify-content: center; }

  .page-card-body { padding: 20px 16px; }
  .page-lead { font-size: 15px; }
  .page-list li { font-size: 13px; padding-left: 28px; }
}
