/* OMT V02 — hero integration */

.omt-hero-section {
  --omt-hero-dark: #0f0f0f;
  --omt-hero-white: #ffffff;
  --omt-hero-black-rgb: 0, 0, 0;
  --omt-hero-font: "Inter", Arial, sans-serif;
  --omt-hero-mono: "Space Grotesk", "Courier New", monospace;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #061426;
}

.omt-hero-section *,
.omt-hero-section *::before,
.omt-hero-section *::after {
  box-sizing: border-box;
}

.mxd-hero-02 {
  background-color: #061426;
  color: var(--omt-hero-white);
  position: relative;
  width: 100%;
  height: 100svh;
  height: calc(var(--omt-vh, 1vh) * 100);
  padding: 20px;
  overflow: hidden;
}

.mxd-hero-02__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #061426;
}

.omt-hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.mxd-hero-02__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(3, 12, 35, .28);
  pointer-events: none;
}

.mxd-hero-02__images,
.mxd-hero-02__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 2000px;
  z-index: 2;
}

.hero-02__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 400px;
  will-change: transform;
  overflow: hidden;
}

.hero-02__img:nth-of-type(odd) {
  width: 400px;
  height: 500px;
}

.hero-02__img img,
.mxd-hero-02__cover-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mxd-hero-02__cover-img {
  will-change: transform;
}

.mxd-hero-02__intro,
.mxd-hero-02__outro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 20px;
  mix-blend-mode: difference;
  pointer-events: none;
}

.mxd-hero-02__intro { z-index: 1; }
.mxd-hero-02__outro { z-index: 10; }

.mxd-hero-02__intro h1,
.mxd-hero-02__outro p {
  margin: 0;
  color: var(--omt-hero-white);
  font-family: var(--omt-hero-font);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2.4px;
  text-transform: none;
}

.mxd-hero-02__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 51px;
  z-index: 20;
}

.mxd-hero-02__dataline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  text-align: center;
  mix-blend-mode: difference;
}

.mxd-hero-02__socials { position: relative; }
.mxd-socials-line {
  display: flex;
  column-gap: 24px;
  row-gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mxd-socials-line li { display: inline-flex; }
.mxd-socials-line__link {
  display: block;
  overflow: hidden;
  font: 600 14px/1.6 var(--omt-hero-mono);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .25s ease;
}
.mxd-socials-line__link span {
  display: inline-block;
  font: 600 14px/1.6 var(--omt-hero-mono);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mxd-socials-line__link:hover { color: #fff; }

.omt-hero-scroll-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 18px/1.6 var(--omt-hero-mono);
  text-transform: uppercase;
  letter-spacing: -.5px;
  white-space: nowrap;
  text-decoration: none;
}
.omt-hero-scroll-btn span,
.omt-hero-scroll-btn i,
.omt-hero-scroll-btn svg {
  display: inline-flex;
  position: relative;
}
.omt-hero-scroll-btn i { overflow: hidden; }
.omt-hero-scroll-btn svg {
  width: 16px;
  height: 16px;
  margin-bottom: 3px;
  fill: #fff;
}
.omt-hero-scroll-btn:hover { color: #fff; }

@media only screen and (min-width: 768px) {
  .mxd-hero-02__intro h1 { font-size: 85px; letter-spacing: -3px; }
  .mxd-hero-02__outro p { font-size: 85px; letter-spacing: -3px; }
  .mxd-hero-02__dataline { padding: 0 30px; }
}

@media only screen and (min-width: 992px) {
  .mxd-hero-02__intro,
  .mxd-hero-02__outro { width: 60%; }
}

@media only screen and (min-width: 1200px) {
  .mxd-hero-02__intro,
  .mxd-hero-02__outro { width: 50%; padding: 0; }
  .mxd-hero-02__intro h1 { font-size: 95px; }
  .mxd-hero-02__outro p { font-size: 95px; }
  .mxd-hero-02__bottom { padding-bottom: 35px; }
  .mxd-hero-02__dataline {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .mxd-socials-line { justify-content: flex-start; column-gap: 34px; row-gap: 0; }
}

@media only screen and (min-width: 1600px) {
  .mxd-hero-02__intro h1 { font-size: 120px; }
  .mxd-hero-02__dataline { padding: 0 70px; }
}

@media only screen and (max-width: 767px) {
  .hero-02__img { width: 260px; height: 208px; }
  .hero-02__img:nth-of-type(odd) { width: 208px; height: 260px; }
  .mxd-hero-02__intro h1,
  .mxd-hero-02__outro p { font-size: clamp(46px, 13vw, 60px); }
  .mxd-hero-02__socials { display: none; }
  .mxd-hero-02__dataline { align-items: center; }
}

/* OMT V11 — cinematic hero overlay + supplied game assets */
.omt-hero-bg-video {
  filter: brightness(.84) saturate(.88) contrast(1.04);
}

.mxd-hero-02__cover {
  background:
    radial-gradient(circle at 50% 34%, rgba(22, 58, 102, .12) 0%, rgba(4, 18, 49, .22) 42%, rgba(2, 9, 28, .55) 100%),
    linear-gradient(180deg, rgba(2, 8, 25, .66) 0%, rgba(3, 15, 42, .42) 36%, rgba(3, 15, 42, .26) 67%, rgba(2, 8, 25, .52) 100%);
  isolation: isolate;
}

.mxd-hero-02__cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 10, 32, .48) 0%, rgba(5, 22, 55, .24) 58%, rgba(5, 22, 55, 0) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(.9);
  backdrop-filter: blur(3px) saturate(.9);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.72) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.72) 78%, transparent 100%);
}

.mxd-hero-02__cover::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 6, 20, .14) 70%, rgba(0, 5, 18, .46) 100%),
    linear-gradient(180deg, rgba(3, 12, 35, .10) 0%, transparent 44%, rgba(1, 7, 22, .24) 100%);
}

.hero-02__img.omt-hero-asset {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  padding: 18px;
}

.hero-02__img.omt-hero-asset img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .38));
  transform: translateZ(0);
  backface-visibility: hidden;
  user-select: none;
  pointer-events: none;
}

.hero-02__img.omt-hero-asset--square,
.hero-02__img.omt-hero-asset--chip,
.hero-02__img.omt-hero-asset--logo {
  width: 440px;
  height: 440px;
}

.hero-02__img.omt-hero-asset--card {
  width: 370px;
  height: 500px;
  padding: 10px;
}

.hero-02__img.omt-hero-asset--chip {
  padding: 34px;
}

.hero-02__img.omt-hero-asset--logo {
  padding: 42px;
}

@media only screen and (max-width: 767px) {
  .mxd-hero-02__cover::before {
    height: 58%;
    -webkit-backdrop-filter: blur(1.5px) saturate(.9);
    backdrop-filter: blur(1.5px) saturate(.9);
  }
  .hero-02__img.omt-hero-asset--square,
  .hero-02__img.omt-hero-asset--chip,
  .hero-02__img.omt-hero-asset--logo {
    width: 245px;
    height: 245px;
  }
  .hero-02__img.omt-hero-asset--card {
    width: 210px;
    height: 280px;
  }
  .hero-02__img.omt-hero-asset--chip,
  .hero-02__img.omt-hero-asset--logo {
    padding: 18px;
  }
}

.mxd-hero-02__cover-img img {
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 2vw, 38px);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, .38));
}

/* OMT V12 — OMT Hero 3D sequence motion parity + lightweight cinematic treatment */
.omt-hero-bg-video {
  filter: blur(1.5px) brightness(.78) saturate(.84) contrast(1.05);
  transform: scale(1.015) translateZ(0);
  will-change: transform;
}

.mxd-hero-02__cover {
  background:
    radial-gradient(circle at 50% 34%, rgba(20, 58, 106, .10) 0%, rgba(5, 20, 52, .22) 43%, rgba(1, 7, 24, .58) 100%),
    linear-gradient(180deg, rgba(1, 7, 24, .62) 0%, rgba(3, 16, 45, .38) 38%, rgba(3, 15, 42, .24) 67%, rgba(1, 7, 24, .52) 100%);
}

.mxd-hero-02__cover::before {
  height: 62%;
  background: linear-gradient(180deg, rgba(2, 10, 32, .46) 0%, rgba(5, 22, 55, .22) 58%, rgba(5, 22, 55, 0) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-02__img.omt-hero-asset {
  padding: 0;
  overflow: visible;
  background: transparent;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  pointer-events: none;
}

.hero-02__img.omt-hero-asset img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.mxd-hero-02__cover-img {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mxd-hero-02__cover-img img {
  width: auto;
  height: auto;
  max-width: min(58vw, 900px);
  max-height: 62vh;
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: none;
}

@media only screen and (max-width: 767px) {
  .mxd-hero-02__cover::before {
    height: 58%;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .mxd-hero-02__cover-img img {
    max-width: 84vw;
    max-height: 52vh;
  }
}

/* Keep OMT's original flying-placeholder geometry at every breakpoint. */
@media only screen and (max-width: 767px) {
  .hero-02__img,
  .hero-02__img.omt-hero-asset {
    width: 500px;
    height: 400px;
  }
  .hero-02__img:nth-of-type(odd),
  .hero-02__img.omt-hero-asset:nth-of-type(odd) {
    width: 400px;
    height: 500px;
  }
}
