/* Xo So VN Live
   Theme locked to the promo art: lacquer field, gold accent, cream type.
   Radius: 20px panels and posters, pill controls.
   Type: Be Vietnam Pro. Motion: short entry plus in-view reveal. */

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bvp-400-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bvp-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bvp-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bvp-600-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bvp-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bvp-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bvp-700-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bvp-700-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bvp-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --lacquer: #4a0b10;
  --lacquer-deep: #2c0609;
  --gold: #f0c14a;
  --gold-hot: #ffd56a;
  --cream: #fff6e6;
  --cream-dim: #f6d7a2;
  --ink: #241408;
  --line: rgba(240, 193, 74, 0.32);
  --radius: 20px;
  --header: 4.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--cream);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(240, 193, 74, 0.16), transparent 58%),
    radial-gradient(700px 480px at -10% 18%, rgba(160, 24, 32, 0.55), transparent 60%),
    linear-gradient(180deg, #6d1218 0%, var(--lacquer) 32%, var(--lacquer-deep) 100%);
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header);
  background: var(--lacquer-deep);
  border-bottom: 1px solid var(--line);
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  min-height: 44px;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--gold);
}

.brand em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  margin-left: auto;
}

.site-nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
}

.site-nav a:not(.button):hover {
  color: var(--gold);
}

.lang {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 0.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.lang a[aria-current="true"] {
  background: var(--gold);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.button:not(.button-ghost)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%);
  pointer-events: none;
}

.button:hover {
  background: var(--gold-hot);
}

.button:active {
  transform: scale(0.98);
}

.button-ghost {
  background: transparent;
  color: var(--cream);
}

.button-ghost:hover {
  background: rgba(240, 193, 74, 0.14);
  color: var(--cream);
}

.button:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.button:disabled::after {
  content: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  gap: 2rem;
  min-height: calc(100dvh - var(--header));
  padding-block: 1.5rem 2.5rem;
}

.hero-copy,
.hero-float {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: 18%;
  right: 8%;
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 193, 74, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-glow::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 35%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 32, 40, 0.55), transparent 70%);
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(2.7rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero p {
  max-width: 36ch;
  margin-top: 1rem;
  color: var(--cream-dim);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-float {
  justify-self: center;
}

.hero-art {
  width: min(100%, 420px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(44, 6, 9, 0.45);
}

.block {
  padding-block: 4.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.download h2,
.sheet h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-head p,
.download p {
  max-width: 42ch;
  margin-top: 0.75rem;
  color: var(--cream-dim);
}

.sheet p,
.sheet li {
  margin-top: 0.75rem;
  color: var(--cream-dim);
}

.reel-controls {
  display: flex;
  gap: 0.5rem;
}

.screen-swiper {
  --swiper-theme-color: var(--gold);
  --swiper-pagination-color: var(--gold);
  --swiper-pagination-bullet-inactive-color: var(--cream);
  --swiper-pagination-bullet-inactive-opacity: 0.35;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-horizontal-gap: 5px;
  --swiper-pagination-bottom: 0px;
  padding-bottom: 2rem;
}

.screen-swiper .swiper-slide {
  height: auto;
}

.shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--lacquer-deep);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.shot p {
  margin-top: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.coverage {
  display: grid;
  gap: 2.5rem;
}

.coverage h3 {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
}

.coverage li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.coverage li span,
.family {
  color: var(--cream-dim);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.family {
  margin-top: 1.25rem;
}

.download-band {
  background: rgba(0, 0, 0, 0.18);
}

.download {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.qr-card {
  display: flex;
  flex-direction: column;
  width: min(100%, 230px);
  padding: 0.9rem 0.9rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.qr-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.qr-card figcaption {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.qr-card .button {
  width: 100%;
  margin-top: auto;
}

.sheet {
  width: min(65ch, 100%);
  padding-block: 3rem 4.5rem;
}

.sheet h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.sheet ul {
  padding-left: 1.15rem;
}

.sheet li {
  margin-top: 0.4rem;
}

.sheet a,
.site-footer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sheet code {
  color: var(--gold);
  font-family: inherit;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.25rem 1.75rem;
  color: var(--cream-dim);
  font-size: 0.98rem;
}

@media (min-width: 800px) {
  .coverage {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0;
  }

  .coverage > div + div {
    margin-left: 3rem;
    padding-left: 3rem;
    border-left: 1px solid var(--line);
  }

  .download {
    grid-template-columns: minmax(0, 0.9fr) auto;
  }
}

@media (min-width: 960px) {
  .block {
    padding-block: 6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 3rem;
    align-items: start;
    padding-top: 1.75rem;
  }

  .hero-art {
    width: min(38vw, 440px);
    margin-inline: 0;
  }

  .hero-float {
    justify-self: end;
  }
}

@media (min-width: 960px) and (min-height: 820px) {
  .hero {
    align-items: center;
  }
}

@media (max-width: 959px) {
  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .lang {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    z-index: 11;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
    padding: 0.35rem 1.25rem 1rem;
    background: var(--lacquer-deep);
    border-bottom: 1px solid var(--line);
  }

  .site-nav .button {
    margin-top: 0.35rem;
  }

  html.js .site-header.is-open .site-nav,
  html:not(.js) .site-nav {
    display: flex;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .bar {
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
  }

  html:not(.js) .site-nav {
    position: static;
    flex-basis: 100%;
    padding-inline: 0;
    border-bottom: 0;
  }
}

html:not(.js) .reel-controls,
html:not(.js) .swiper-pagination {
  display: none;
}

html:not(.js) .screen-swiper {
  overflow: visible;
  padding-bottom: 0;
}

html:not(.js) .screen-swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

html:not(.js) .screen-swiper .swiper-slide {
  width: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .brand em::after {
    animation: live-line 2.4s ease-in-out infinite;
  }

  .hero-glow {
    animation: drift 9s ease-in-out infinite;
  }

  .hero-glow::after {
    animation: drift 12s ease-in-out infinite reverse;
  }

  .hero-float {
    animation: floaty 5.5s ease-in-out infinite;
  }

  .button:not(.button-ghost)::after {
    animation: sheen 5.6s ease-in-out infinite;
  }

  .site-nav .button:not(.button-ghost)::after {
    animation-delay: 1.4s;
  }

  .qr-card .button:not(.button-ghost)::after {
    animation-delay: 0.7s;
  }

  html.js [data-reveal] {
    opacity: 0;
  }

  html.js [data-reveal].is-in {
    animation: rise 0.75s var(--ease) both;
    animation-delay: var(--d, 0ms);
  }

  .shot:hover img {
    transform: translateY(-8px);
    border-color: var(--gold);
  }

  html.js .site-header.is-open .site-nav {
    animation: menu-in 0.28s var(--ease);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(12px, -20px, 0);
  }
}

@keyframes live-line {
  0%,
  100% {
    transform: scaleX(0.35);
    opacity: 0.45;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes sheen {
  0%,
  55% {
    transform: translateX(-180%);
  }

  80%,
  100% {
    transform: translateX(280%);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:active,
  .shot:hover img {
    transform: none;
  }
}
