/* Operations L1: Order Forge */

.strike-page {
  --strike-ink: #251f1b;
  --strike-paper: #fff0d1;
  --strike-gold: #d9a54b;
  --strike-ember: #c56048;
  --strike-steel: #596f83;
  color: var(--strike-ink);
}

.strike-topbar {
  border-color: rgba(217, 165, 75, 0.28);
}

.strike-progressbar {
  background: rgba(255, 240, 209, 0.78);
  border: 1px solid rgba(217, 165, 75, 0.18);
  border-radius: 999px;
  height: 8px;
  margin: 0 auto 10px;
  max-width: 1180px;
  overflow: hidden;
}

.strike-progressbar span {
  background: linear-gradient(90deg, var(--strike-ember), var(--strike-gold), var(--strike-steel));
  display: block;
  height: 100%;
  transition: width 320ms ease;
}

.strike-progress {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 0 auto 12px;
}

.strike-progress__dot {
  background: rgba(37, 31, 27, 0.32);
  border: 1px solid rgba(255, 240, 209, 0.72);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.strike-progress__dot.is-current {
  background: var(--strike-paper);
  box-shadow: 0 0 0 3px rgba(217, 165, 75, 0.22);
}

.strike-progress__dot.is-filled {
  background: var(--strike-gold);
  box-shadow: 0 0 12px rgba(217, 165, 75, 0.44);
}

.strike-room {
  margin: 0 auto;
  max-width: 1180px;
}

.strike-room__scene {
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 165, 75, 0.23), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(197, 96, 72, 0.22), transparent 25%),
    linear-gradient(180deg, rgba(255, 240, 209, 0.11), rgba(37, 31, 27, 0.22)),
    url("../img/arena-operations-forge.jpg") center center / cover no-repeat;
  border: 1px solid rgba(255, 240, 209, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(37, 31, 27, 0.34);
  height: min(740px, calc(100vh - 130px));
  min-height: 680px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.strike-room__scene::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 240, 209, 0.055) 0 1px, transparent 1px 72px),
    radial-gradient(ellipse at 50% 76%, rgba(217, 165, 75, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.08), transparent 48%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.strike-room__scene::after {
  background:
    repeating-linear-gradient(90deg, rgba(37, 31, 27, 0.12) 0 4px, transparent 4px 44px),
    linear-gradient(180deg, #705f54, #343640);
  border-top: 1px solid rgba(255, 240, 209, 0.2);
  bottom: -58px;
  box-shadow: 0 -20px 45px rgba(37, 31, 27, 0.3);
  content: "";
  height: 210px;
  left: -3%;
  position: absolute;
  right: -3%;
  transform: skewY(-2deg);
  z-index: -1;
}

.strike-room__gears {
  display: flex;
  gap: 18px;
  left: 5%;
  position: absolute;
  top: 30px;
  z-index: 2;
}

.strike-room__gears span {
  background:
    radial-gradient(circle, transparent 0 28%, rgba(255, 240, 209, 0.5) 29% 40%, transparent 41%),
    conic-gradient(from 0deg, rgba(217, 165, 75, 0.64) 0 12%, transparent 12% 20%, rgba(217, 165, 75, 0.64) 20% 32%, transparent 32% 40%, rgba(217, 165, 75, 0.64) 40% 52%, transparent 52% 60%, rgba(217, 165, 75, 0.64) 60% 72%, transparent 72% 80%, rgba(217, 165, 75, 0.64) 80% 92%, transparent 92% 100%);
  border-radius: 50%;
  height: 64px;
  width: 64px;
}

.strike-room__sparks {
  bottom: 76px;
  display: flex;
  gap: 16px;
  pointer-events: none;
  position: absolute;
  right: 6%;
  z-index: 2;
}

.strike-room__sparks span {
  background: radial-gradient(circle, #fff4b4 0 28%, var(--strike-gold) 29% 56%, transparent 57%);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(217, 165, 75, 0.5);
  height: 42px;
  width: 42px;
}

.strike-room__prompt {
  left: 50%;
  max-width: min(730px, 68%);
  position: absolute;
  text-align: center;
  text-shadow: 0 3px 10px rgba(20, 18, 16, 0.56);
  top: 3%;
  transform: translateX(-50%);
  z-index: 5;
}

.strike-room__prompt span,
.strike-shelf__title span,
.strike-card__title span,
.strike-choices > span,
.strike-why span {
  color: rgba(255, 248, 228, 0.84);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strike-room__prompt h1 {
  color: #fff7df;
  font-family: var(--font-display);
  font-size: clamp(1.24rem, 2.25vw, 1.96rem);
  line-height: 1.04;
  margin: 3px 0 0;
}

.strike-shelf {
  background: linear-gradient(180deg, rgba(37, 31, 27, 0.9), rgba(58, 56, 64, 0.9));
  border: 2px solid rgba(255, 240, 209, 0.32);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(28, 26, 22, 0.28);
  left: 4%;
  padding: 9px 12px;
  position: absolute;
  right: 4%;
  top: 13%;
  z-index: 4;
}

.strike-shelf__title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}

.strike-shelf__title strong {
  color: #fff2c8;
  font-size: 0.82rem;
}

.strike-shelf__rail {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.strike-shelf__slot {
  background: rgba(255, 240, 209, 0.08);
  border: 1px dashed rgba(255, 240, 209, 0.28);
  border-radius: 6px;
  display: grid;
  min-height: 74px;
  padding: 6px;
  place-items: center;
}

.strike-shelf__slot.is-current {
  border-color: rgba(217, 165, 75, 0.62);
}

.strike-shelf__slot.is-filled {
  background: rgba(217, 165, 75, 0.13);
  border-style: solid;
}

.strike-token {
  background: linear-gradient(180deg, #b9ad98, #66584b);
  border: 2px solid rgba(255, 248, 228, 0.18);
  border-radius: 7px;
  color: #fff7df;
  display: grid;
  min-height: 60px;
  padding: 7px;
  place-items: center;
  text-align: center;
  width: 100%;
}

.strike-token.is-filled {
  background: linear-gradient(180deg, #e6c873, #806235);
  box-shadow: 0 0 18px rgba(217, 165, 75, 0.28);
}

.strike-token span {
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.strike-token strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1;
}

.strike-steps {
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 50%;
  max-width: 780px;
  position: absolute;
  top: 27%;
  transform: translateX(-50%);
  width: 74%;
  z-index: 5;
}

.strike-step {
  background: rgba(255, 240, 209, 0.86);
  border: 1px solid rgba(37, 31, 27, 0.1);
  border-radius: 999px;
  color: rgba(37, 31, 27, 0.72);
  flex: 1;
  font-size: 0.66rem;
  font-weight: 900;
  min-height: 28px;
  padding: 7px 10px;
  text-align: center;
}

.strike-step--active {
  background: #fff7df;
  color: var(--strike-ember);
  box-shadow: 0 0 0 3px rgba(217, 165, 75, 0.2);
}

.strike-step--complete {
  background: linear-gradient(135deg, var(--strike-gold), #efd88a);
  color: #342519;
}

.strike-step--pending {
  opacity: 0.74;
}

.strike-workbench {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.88fr) minmax(190px, 0.55fr);
  inset: 32% 4% 5%;
  position: absolute;
  z-index: 6;
}

.strike-card,
.strike-choices,
.strike-solen {
  background: rgba(255, 240, 209, 0.94);
  border: 2px solid rgba(255, 248, 228, 0.62);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(37, 31, 27, 0.24);
}

.strike-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 14px;
}

.strike-card__title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.strike-card__title span {
  color: rgba(37, 31, 27, 0.54);
}

.strike-card__title strong {
  color: #453018;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.9vw, 1.66rem);
}

.strike-expression {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(37, 31, 27, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 31, 27, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf0, #f2dfb8);
  background-size: 54px 54px, 54px 54px, auto;
  border: 1px solid rgba(37, 31, 27, 0.14);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 122px;
  padding: 14px;
  text-align: center;
}

.strike-expression span {
  color: #453018;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.strike-expression.is-final span {
  color: var(--strike-steel);
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.strike-path {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.strike-path__step {
  align-items: center;
  background: rgba(255, 249, 232, 0.75);
  border: 1px dashed rgba(37, 31, 27, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 28px 1fr;
  min-height: 42px;
  padding: 7px 9px;
}

.strike-path__step span {
  align-items: center;
  background: rgba(37, 31, 27, 0.12);
  border-radius: 50%;
  display: flex;
  font-size: 0.72rem;
  font-weight: 950;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.strike-path__step strong {
  color: rgba(37, 31, 27, 0.6);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.1;
}

.strike-path__step.is-current {
  border-color: rgba(217, 165, 75, 0.48);
}

.strike-path__step.is-fired {
  background: linear-gradient(180deg, rgba(255, 253, 240, 0.94), rgba(217, 165, 75, 0.18));
  border-style: solid;
}

.strike-path__step.is-fired span {
  background: var(--strike-gold);
  color: #fff7df;
}

.strike-card p {
  color: rgba(37, 31, 27, 0.68);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.3;
  margin: auto auto 0;
  max-width: 520px;
  padding-top: 12px;
  text-align: center;
}

.strike-choices {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 14px;
}

.strike-choices > span {
  color: rgba(37, 31, 27, 0.58);
  text-align: center;
}

.strike-choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.strike-choice-grid button,
.strike-choice-grid--complete div {
  background: #fff9e8;
  border: 1px solid rgba(37, 31, 27, 0.14);
  border-radius: 8px;
  color: var(--strike-ink);
  cursor: pointer;
  display: grid;
  gap: 3px;
  min-height: 62px;
  padding: 10px 12px;
  text-align: left;
}

.strike-choice-grid button.is-wrong {
  border-color: rgba(197, 96, 72, 0.7);
  box-shadow: 0 0 0 3px rgba(197, 96, 72, 0.14);
}

.strike-choice-grid button strong,
.strike-choice-grid--complete strong {
  color: #453018;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1;
}

.strike-choice-grid button span,
.strike-choice-grid--complete span {
  color: rgba(37, 31, 27, 0.58);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.1;
}

.strike-choice-grid button:hover {
  border-color: rgba(217, 165, 75, 0.56);
  box-shadow: 0 0 0 3px rgba(217, 165, 75, 0.14);
}

.strike-lock {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 31, 27, 0.22), rgba(37, 31, 27, 0.14));
  border: 0;
  border-radius: 8px;
  color: rgba(37, 31, 27, 0.58);
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
  min-height: 46px;
  padding: 10px 16px;
  width: 100%;
}

.strike-lock span {
  background: currentColor;
  display: inline-block;
  height: 16px;
  opacity: 0.88;
  transform: rotate(45deg);
  width: 16px;
}

.strike-lock:disabled {
  cursor: default;
  opacity: 0.65;
}

.strike-lock.is-ready {
  background: linear-gradient(135deg, var(--strike-ember), var(--strike-gold));
  box-shadow: 0 0 0 4px rgba(217, 165, 75, 0.2);
  color: #fff7df;
}

.strike-solen {
  align-self: stretch;
  min-height: 360px;
  padding: 14px 12px;
  position: relative;
}

.strike-solen__hammer {
  background: linear-gradient(180deg, #f0d98b, #8f6838);
  border: 2px solid rgba(69, 48, 24, 0.18);
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(217, 165, 75, 0.3);
  height: 26px;
  margin: 16px auto 24px;
  position: relative;
  transform: rotate(-18deg);
  width: 82px;
}

.strike-solen__hammer::after {
  background: #76533a;
  border-radius: 999px;
  content: "";
  height: 62px;
  left: 34px;
  position: absolute;
  top: 16px;
  width: 12px;
}

.strike-solen__head {
  background: #754d3a;
  border-radius: 50% 50% 43% 43%;
  height: 62px;
  margin: 0 auto;
  position: relative;
  width: 58px;
}

.strike-solen__head span {
  background: #fff4d5;
  border-radius: 50%;
  bottom: 15px;
  box-shadow: 21px 0 0 #fff4d5;
  height: 8px;
  left: 14px;
  position: absolute;
  width: 8px;
}

.strike-solen__body {
  background: linear-gradient(180deg, var(--strike-ember), #603b34);
  border-radius: 28px 28px 12px 12px;
  height: 102px;
  margin: -3px auto 0;
  width: 76px;
}

.strike-solen__bubble {
  background: #fffdf0;
  border: 2px solid rgba(37, 31, 27, 0.14);
  border-radius: 8px;
  bottom: 14px;
  box-shadow: 0 12px 22px rgba(37, 31, 27, 0.16);
  color: #453018;
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  font-weight: 900;
  left: 10px;
  line-height: 1.22;
  padding: 12px;
  position: absolute;
  right: 10px;
  text-align: center;
}

.strike-celebration {
  align-items: center;
  background: rgba(255, 253, 240, 0.96);
  border: 2px solid rgba(217, 165, 75, 0.48);
  border-radius: 8px;
  bottom: 4%;
  box-shadow: 0 18px 34px rgba(37, 31, 27, 0.22);
  display: flex;
  gap: 14px;
  left: 5%;
  padding: 12px 14px;
  position: absolute;
  right: 5%;
  z-index: 9;
}

.strike-celebration strong {
  color: #453018;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.55vw, 1.36rem);
}

.strike-celebration > span {
  color: rgba(37, 31, 27, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  margin-left: auto;
  white-space: nowrap;
}

.strike-why {
  flex: 1;
  min-width: 220px;
}

.strike-why span {
  color: rgba(37, 31, 27, 0.48);
}

.strike-why p {
  color: rgba(37, 31, 27, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.22;
  margin: 2px 0 0;
}

.strike-reward {
  display: grid;
  inset: 4%;
  place-items: center;
  position: absolute;
  z-index: 8;
}

.strike-reward__card {
  background: rgba(255, 253, 240, 0.96);
  border: 2px solid rgba(217, 165, 75, 0.5);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(37, 31, 27, 0.36);
  display: grid;
  gap: 14px;
  max-height: 100%;
  max-width: 960px;
  overflow: auto;
  padding: 24px;
  text-align: center;
  width: min(92%, 960px);
}

.strike-reward__copy span {
  color: var(--strike-ember);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strike-reward__copy h2 {
  color: #453018;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.94;
  margin: 4px 0 8px;
}

.strike-reward__copy p {
  color: rgba(37, 31, 27, 0.7);
  font-weight: 850;
  margin: 0 auto;
  max-width: 620px;
}

.strike-reward__tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.strike-reward__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.strike-reward__badges span {
  background: rgba(217, 165, 75, 0.16);
  border: 1px solid rgba(217, 165, 75, 0.24);
  border-radius: 999px;
  color: #453018;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 12px;
}

.strike-reward__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 980px) {
  .strike-room__scene {
    height: auto;
    min-height: 1040px;
    overflow: visible;
  }

  .strike-shelf,
  .strike-steps,
  .strike-workbench,
  .strike-celebration,
  .strike-room__prompt {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .strike-shelf {
    margin: 110px 14px 12px;
  }

  .strike-room__prompt {
    margin: 16px auto 10px;
    max-width: 92%;
  }

  .strike-steps {
    flex-direction: column;
    margin: 0 auto 12px;
    width: 92%;
  }

  .strike-workbench {
    grid-template-columns: 1fr;
    margin: 0 14px 14px;
  }

  .strike-card,
  .strike-choices,
  .strike-solen {
    min-height: auto;
  }

  .strike-solen {
    min-height: 280px;
  }

  .strike-celebration {
    flex-direction: column;
    margin: 0 14px 18px;
    text-align: center;
  }

  .strike-celebration > span {
    margin-left: 0;
  }

  .strike-reward__tiles,
  .strike-shelf__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
