:root {
  --title-font-size: 18px;
  --text-font-size: 16px;
  --sub-text-font-size: 14px;
  --t1-font-size: clamp(48px, 6.7708vw, 130px);
  --t2-font-size: clamp(22px, 4.6875vw, 90px);
  --t3-font-size: clamp(40px, 4.1666vw, 80px);
  --t4-font-size: 60px;
  --t5-font-size: 40px;
  --t6-font-size: 26px;

  --brand-color: #ff8243;
  --bg-color: #021c28;
}

html,
body {
  min-height: 100%;
}

@font-face {
  font-family: "Montserrat BlackItalic";
  src: url("./fonts/Montserrat-BlackItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat BoldItalic";
  src: url("./fonts/Montserrat-BoldItalic.ttf") format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans Black";
  src: url("./fonts/HarmonyOS_Sans_Black.ttf") format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans Bold";
  src: url("./fonts/HarmonyOS_Sans_Bold.ttf") format("truetype");
}

body {
  font-family: PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: var(--text-font-size);
  color: #fff;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

* {
  box-sizing: border-box;
}

p {
  padding: 0;
  margin: 0;
  word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  text-align: center;
}

h3,
h4,
h5,
h6 {
  font-family: "HarmonyOS Sans Black", sans-serif;
}

h1 {
  font-family: "Montserrat BlackItalic", sans-serif;
  font-size: var(--t1-font-size);
  color: var(--brand-color);
}

h2 {
  font-family: "Montserrat BoldItalic", sans-serif;
  font-size: var(--t2-font-size);
  margin-top: 12px;
}

h3 {
  font-size: var(--t5-font-size);
  position: relative;
}

h4 {
  font-size: var(--t4-font-size);
}

h5 {
  font-size: var(--t5-font-size);
}

h6 {
  font-size: var(--t6-font-size);
}

.brand-color {
  color: var(--brand-color);
}

ul {
  list-style: none;
  padding: 0;
}

.flex {
  display: flex;
}

.cell {
  flex: 1;
}

.column {
  flex-direction: column;
}

.item-c {
  align-items: center;
}

.jcc {
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-200 {
  margin-top: 200px;
}

.opacity-6 {
  opacity: 0.6;
}

.header {
  height: clamp(64px, 5vw, 92px);
  background-color: rgba(0, 28, 40, 0.6);
  padding: 0 clamp(24px, 8vw, 200px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(40px);
}

.nav-wrapper {
  position: relative;
}

nav ul {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  gap: clamp(16px, 2vw, 40px);
}

nav li {
  cursor: pointer;
}

nav li.on {
  color: var(--brand-color);
}

.nav-line {
  position: absolute;
  width: 43px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--brand-color);
  bottom: 10px;
  left: 23px;
  transition: left 0.2s linear;
}

.menu-icon {
  width: 24px;
  height: 19px;
  position: absolute;
  cursor: pointer;
  top: 20px;
  right: 20px;
  z-index: 13;
  display: none;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 8px;
}

.menu-icon span:nth-child(3) {
  bottom: 0;
}

.menu-icon.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  bottom: 8px;
  transform: rotate(-45deg);
}

.menu-icon:hover span {
  background-color: var(--brand-color);
}

.logo {
  height: 20.54px;
}

.footer {
  font-size: var(--sub-text-font-size);
  background-color: #1b2c33;
  padding: 42px clamp(24px, 8vw, 200px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer strong {
  font-size: var(--title-font-size);
  color: #fff;
}

.footer img {
  height: 20px;
}

.copyright {
  font-size: var(--sub-text-font-size);
  color: rgba(255, 255, 255, 0.4);
  padding: 24px;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: "Montserrat BlackItalic", sans-serif;
  white-space: nowrap;
}

.text-bg-1,
.text-bg-2 {
  font-size: clamp(70px, 10.4166vw, 200px);
  font-weight: 900;
  text-align: left;
  position: absolute;
}

.text-bg-1 {
  left: clamp(-228px, -11.875vw, -75px);
  top: clamp(7px, 1.0416vw, 20px);
}

.text-bg-2 {
  right: clamp(-228px, -11.875vw, -75px);
  bottom: clamp(-57px, -2.96875vw, -20px);
}

.slide {
  min-height: 100vh;
  padding: 130px 24px;
}

.slide-1 {
  background: url(./images/slide-1.webp) no-repeat bottom center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.slide-3 {
  background: url(./images/slide-3/bg.webp) no-repeat bottom center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.icon-next {
  width: 50px;
  height: 50px;
  margin-top: 65px;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.sub-title {
  font-size: 20px;
  text-align: center;
  padding: 24px 0 120px 0;
}

.list {
  max-width: 1440px;
}

.slide-2 .item img {
  width: 243px;
  margin-bottom: 30px;
}

.gap-3 {
  gap: 40px 10%;
}

.gap-4 {
  gap: 20px;
}

.slide-3 .item {
  min-width: 342px;
  padding: 84px 22px;
  flex: 1;
  border-radius: 42px;
  backdrop-filter: blur(40px);
  background: linear-gradient(
    180deg,
    rgba(255, 130, 67, 1),
    rgba(255, 130, 67, 0.4) 100%
  );
}

.slide-3 .item:nth-child(2n) {
  background: linear-gradient(
    180deg,
    rgba(2, 28, 40, 1),
    rgba(2, 28, 40, 0.4) 100%
  );
}

.slide-3 .item .num {
  height: 60px;
}

.slide-3 .item .title {
  font-size: 22px;
  margin: 24px 0 20px 0;
}

.slide-3 .item .desc {
  color: rgba(255, 255, 255, 0.6);
}

.slide-3 .list {
  margin-top: 200px;
}

.desc-center {
  margin-top: 20px;
}

.brand-box {
  width: clamp(134px, 13.75vw, 264px);
  aspect-ratio: 264 / 178;
  /* height: 178px; */
}

.brand-box img {
  max-width: 100%;
  max-height: 100%;
}

.brand-box:hover img,
.brand-box.active img {
  transition: transform 0.6s;
  transform: rotateY(360deg);
}

.tab-bar-wrap {
  margin: 70px 0 42px 0;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 55px;
  flex-shrink: 1;
  max-width: 100%;
  scrollbar-width: none;
}

.tab-bar-wrap::-webkit-scrollbar {
  display: none;
}

.tab-bar {
  gap: 30px;
  white-space: nowrap;
}

.tab-bar p {
  border-radius: 14px;
  padding: 13.5px 18px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
}

.tab-bar p.on {
  color: var(--bg-color);
  background-color: #fff;
}

.horizontal {
  overflow: hidden;
  max-width: 1022px;
  aspect-ratio: 1022 / 576;
}

.horizontal .img-box {
  /* width: 324px; */
  /* height: 275px; */
  aspect-ratio: 324 / 275;
  border-radius: 42px;
  overflow: hidden;
  background-color: #000;
  position: relative;
}

.horizontal .img-wrapper {
  width: 64.775%;
  flex-shrink: 0;
}

.horizontal img {
  width: 100%;
  /* aspect-ratio: 662 / 573; */
}

.horizontal .plyr {
  width: 64.775%;
  height: 100%;
  flex-shrink: 0;
}

.horizontal .swiper-slide {
  background-color: #000;
  border-radius: clamp(12px, 2.1875vw, 42px);
  position: relative;
  overflow: hidden;
}

.horizontal .swiper-slide .title-mark.hide,
.plyr.hide,
img.hide {
  display: none;
}

.keyframe-list {
  position: absolute;
  top: clamp(12px, 1.4583vw, 28px);
  right: clamp(12px, 1.4583vw, 28px);
  gap: clamp(8px, 0.8333vw, 16px);
}

.keyframe {
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.53);
  background-color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  padding: 12px 18px;
  font-size: 16px;
}

.keyframe:active {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.title-mark {
  background-color: rgba(255, 255, 255, 0.05);
  padding: clamp(48px, 7.2916vw, 140px) clamp(12px, 2.1875vw, 42px)
    clamp(12px, 2.1875vw, 42px) clamp(12px, 2.1875vw, 42px);
  transition: transform ease 0.2s;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
}

.play-icon.hide {
  display: none;
}

.gap-3-3 {
  gap: 26px;
}

.brands {
  width: 100%;
  height: 178px;
  overflow: hidden;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  display: none;
}

.popup.show {
  display: flex;
}

.popup-inner {
  border-radius: 43px;
  background-color: #000;
  /* width: 1024px;
  aspect-ratio: 324 / 275; */
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.popup img,
.popup video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}

.popup video {
  width: 100%;
  height: 100%;
}

.popup img.show,
.popup video.show {
  display: block;
}

.close-icon {
  width: 50px;
  /* height: 50px; */
  aspect-ratio: 1 / 1;
  position: absolute;
  cursor: pointer;
  top: 42px;
  right: 42px;
  z-index: 13;
  background: url(./images/close.webp) no-repeat 50%;
  background-size: contain;
}

.water {
  font-size: var(--t3-font-size);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1024px) {
  .water {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    width: 80vw;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 100px;
    padding-left: 24px;
    z-index: 12;
    transform: translateX(100%);
    backdrop-filter: blur(40px);
    /* transition: transform 0.2s ease-out;
    display: none; */
  }

  .nav-line {
    display: none;
  }

  .nav-mark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 11;
    display: none;
  }

  .nav-wrapper ul {
    flex-direction: column;
    align-items: flex-start;
    font-size: 26px;
    gap: 40px;
  }

  .nav-wrapper.active {
    transform: translateX(0);
    transition: transform 0.2s ease-in;
  }

  .nav-mark.active {
    display: block;
  }

  .popup-inner {
    width: 100%;
    border-radius: clamp(24px, 4.1vw, 42px);
  }

  .close-icon {
    width: clamp(24px, 4.88vw, 50px);
    right: clamp(16px, 4.1vw, 42px);
    top: clamp(16px, 4.1vw, 42px);
  }

  .footer img {
    display: none;
  }

  .horizontal {
    width: 100%;
  }

  .keyframe {
    border-radius: clamp(6px, 0.72916vw, 14px);
    padding: clamp(4px, 0.625vw, 12px) clamp(6px, 0.9375vw, 18px);
    font-size: clamp(10px, 0.8333vw, 16px);
  }
}

@media screen and (max-width: 960px) {
  .title-mark {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .title-mark {
    display: none;
  }

  .horizontal .swiper-slide {
    justify-content: center;
  }

  .horizontal .img-wrapper {
    width: 100%;
  }

  .horizontal .plyr {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .keyframe {
    border-width: 1px;
  }

  .mt-200 {
    margin-top: 100px;
  }
}

@media screen and (max-height: 568px) {
  .slide {
    min-height: 568px;
  }
}

@media (max-aspect-ratio: 1/1) {
  .horizontal {
    aspect-ratio: 1 / 0.8;
  }
}

@media (max-aspect-ratio: 1/1.5) {
  .horizontal {
    aspect-ratio: 1 / 1;
  }
}

@media (max-aspect-ratio: 1/2) {
  .horizontal {
    aspect-ratio: 1 / 1.2;
  }
}
