/* OMT How to Play — step-by-step walkthrough */

.omt-hp {
  --hp-gold: #f8c800;
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(15,0,212,.45) 0%, rgba(15,0,212,0) 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(248,200,0,.08) 0%, rgba(248,200,0,0) 70%),
    linear-gradient(180deg, #02001a 0%, #04002e 50%, #000 100%);
}
.omt-hp::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.omt-hp__wrap { position: relative; z-index: 1; width: min(1360px, 100% - 48px); margin: 0 auto; }

.omt-hp__head { text-align: center; margin-bottom: 60px; }
.omt-hp__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 11px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-gold); }
.omt-hp__eyebrow::before, .omt-hp__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.omt-hp__title { margin: 0 0 18px; font: 700 clamp(40px, 5.4vw, 88px)/1 "ClashDisplay-Bold",Inter,sans-serif; letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.omt-hp__title em { font-style: normal; color: var(--hp-gold); }
.omt-hp__sub { max-width: 700px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.68); }

/* walkthrough */
.omt-hp__stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 28px; align-items: stretch; }

.omt-hp__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; grid-template-rows: repeat(7, minmax(0, 1fr)); height: 100%; }
.omt-hp__steps > li { display: flex; min-height: 0; }
.omt-hp__step {
  align-items: center; align-content: center;
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; width: 100%; padding: 12px 12px; text-align: left; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); background: rgba(2,0,26,.7); color: inherit; font: inherit;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.omt-hp__step:hover { border-color: rgba(248,200,0,.5); transform: translateX(4px); }
.omt-hp__step:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.omt-hp__step.is-active { border-color: var(--hp-gold); background: linear-gradient(90deg, rgba(248,200,0,.14), rgba(15,0,212,.22)); box-shadow: 0 0 0 1px var(--hp-gold), 0 0 34px rgba(248,200,0,.14); }
.omt-hp__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(248,200,0,.55); color: var(--hp-gold); font: 700 17px/1 "ClashDisplay-Bold",Inter,sans-serif; transition: background .3s ease, color .3s ease; }
.omt-hp__step.is-active .omt-hp__num { background: var(--hp-gold); border-color: var(--hp-gold); color: #050032; }
.omt-hp__step-title { display: block; margin-bottom: 4px; font: 600 16px/1.2 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff; }
.omt-hp__step-text { display: block; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.62); }

.omt-hp__viewer { position: relative; }
.omt-hp__frame {
  position: relative; aspect-ratio: 1512 / 851; overflow: hidden; background: #0a0a0a;
  border: 1px solid rgba(248,200,0,.4);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(15,0,212,.25);
}
.omt-hp__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.omt-hp__frame img.is-active { opacity: 1; transform: scale(1); }
.omt-hp__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.omt-hp__count { font: 700 12px/1 "Space Grotesk","Courier New",monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.omt-hp__count b { color: var(--hp-gold); font-weight: 700; }
.omt-hp__progress { flex: 1; height: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.omt-hp__progress i { display: block; height: 100%; width: 14.28%; background: var(--hp-gold); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.omt-hp__nav { display: flex; gap: 8px; }
.omt-hp__arrow { width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 18px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.omt-hp__arrow:hover { background: var(--hp-gold); border-color: var(--hp-gold); color: #050032; }
.omt-hp__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.omt-hp__core { margin: 56px 0 0; text-align: center; font: 500 clamp(18px, 2vw, 26px)/1.5 "ClashDisplay-Medium",Inter,sans-serif; color: rgba(255,255,255,.85); }
.omt-hp__core b { color: var(--hp-gold); font-weight: 500; }

/* play your way */
.omt-hp__modes-head { text-align: center; margin: 84px 0 34px; }
.omt-hp__modes-title { margin: 0 0 10px; font: 500 clamp(30px, 3.4vw, 52px)/1.05 "ClashDisplay-Medium",Inter,sans-serif; color: #fff; }
.omt-hp__modes-title em { font-style: normal; color: var(--hp-gold); }
.omt-hp__modes-sub { margin: 0; font-size: 15px; color: rgba(255,255,255,.55); }
.omt-hp__modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.omt-hp__mode { position: relative; padding: 26px 22px 24px; border: 1px solid rgba(84,105,255,.24); background: linear-gradient(180deg, rgba(15,0,212,.2), rgba(5,0,40,.7)); transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease; }
.omt-hp__mode::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--hp-gold), rgba(248,200,0,0)); }
.omt-hp__mode:hover { transform: translateY(-5px); border-color: rgba(248,200,0,.5); }
.omt-hp__mode img { display: block; width: 56px; height: 56px; margin-bottom: 18px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.omt-hp__mode h4 { margin: 0 0 8px; font: 600 20px/1.2 "ClashDisplay-Semibold",Inter,sans-serif; color: #fff; }
.omt-hp__mode p { margin: 0; font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.64); }

.omt-hp__foot { max-width: 760px; margin: 40px auto 0; text-align: center; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.42); }

/* tablet */
@media (max-width: 1199px) {
  .omt-hp { padding: 96px 0 104px; }
  .omt-hp__stage { grid-template-columns: 1fr; gap: 24px; }
  .omt-hp__viewer { order: -1; }
  .omt-hp__steps { height: auto; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(248,200,0,.5) transparent; }
  .omt-hp__steps > li { display: block; }
  .omt-hp__step { scroll-snap-align: start; }
  .omt-hp__step:hover { transform: none; }
  .omt-hp__modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* mobile */
@media (max-width: 767px) {
  .omt-hp { padding: 72px 0 80px; }
  .omt-hp__wrap { width: calc(100% - 32px); }
  .omt-hp__head { margin-bottom: 36px; }
  .omt-hp__sub { font-size: 15px; }
  .omt-hp__steps { grid-auto-columns: minmax(240px, 84%); }
  .omt-hp__step { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; }
  .omt-hp__num { width: 40px; height: 40px; font-size: 15px; }
  .omt-hp__step-title { font-size: 17px; }
  .omt-hp__arrow { width: 42px; height: 42px; }
  .omt-hp__count { display: none; }
  .omt-hp__core { margin-top: 40px; }
  .omt-hp__modes-head { margin: 56px 0 26px; }
  .omt-hp__modes { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .omt-hp__frame img, .omt-hp__step, .omt-hp__progress i, .omt-hp__mode { transition: none; }
}

/* Steps are a fixed list: no expanding descriptions, equal height with the image column */
.omt-hp__step .omt-hp__step-text { display: none !important; }
.omt-hp__step-title { margin: 0; }

/* No step numbers in the list */
.omt-hp__num { display: none !important; }
.omt-hp__step { grid-template-columns: minmax(0, 1fr) !important; padding: 12px 16px; }
@media (max-width: 767px) { .omt-hp__step { grid-template-columns: minmax(0, 1fr) !important; } }

/* Step counter: centred, bold, with space between the word and the number */
.omt-hp__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.omt-hp__progress { grid-column: 1; grid-row: 1; flex: none; width: 100%; }
.omt-hp__count { grid-column: 2; grid-row: 1; justify-self: center; display: inline-flex; align-items: baseline; gap: .9em; font-weight: 700; font-size: 14px; letter-spacing: .16em; color: #fff; }
.omt-hp__count b { font-weight: 800; font-size: 1.25em; margin: 0 .35em; color: var(--hp-gold); }
.omt-hp__nav { grid-column: 3; grid-row: 1; justify-self: end; }

/* Step names in the list: centred and bold */
.omt-hp__step { text-align: center; justify-items: center; }
.omt-hp__step-title { font-family: "ClashDisplay-Bold", Inter, sans-serif; font-weight: 700; text-align: center; width: 100%; margin: 0; }
@media (max-width: 767px) {
  .omt-hp__bar { grid-template-columns: 1fr auto; }
  .omt-hp__count { display: none; }
  .omt-hp__nav { grid-column: 2; }
}
.omt-hp__count { gap: 0 !important; word-spacing: normal; }
.omt-hp__count b { margin: 0 .7em 0 1.3em !important; }

/* Step labels: larger and bolder */
.omt-hp__step-title { font-size: 21px; font-weight: 800; letter-spacing: .01em; -webkit-text-stroke: .4px currentColor; }
@media (max-width: 767px) { .omt-hp__step-title { font-size: 19px; } }

/* Tablet & mobile: show every step at once (wrapping grid) instead of a sideways-scrolling strip */
@media (max-width: 1199px) {
  .omt-hp__steps {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    overflow: visible;
    padding-bottom: 0;
    gap: 10px;
  }
  .omt-hp__step { padding: 12px 8px !important; }
}
@media (max-width: 767px) {
  .omt-hp__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .omt-hp__step { padding: 12px 4px !important; }
  .omt-hp__step-title { font-size: 17px; }
  .omt-hp__title { font-size: clamp(30px, 9.5vw, 40px); }
}
@media (max-width: 360px) {
  .omt-hp__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet & mobile: Step 1–7 buttons and the prev/next arrows sit ABOVE the image slider */
@media (max-width: 1199px) {
  .omt-hp__steps { order: -2; }
  .omt-hp__viewer { order: -1; display: flex; flex-direction: column; }
  .omt-hp__viewer .omt-hp__bar { order: -1; margin-top: 0; margin-bottom: 16px; }
  .omt-hp__viewer .omt-hp__frame { order: 0; }
}
