.home-main { overflow: hidden; }

.section-shell {
  width: min(100% - 44px, var(--max));
  margin-inline: auto;
}

.section-title {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 82px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .94;
  text-transform: uppercase;
}

.section-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: min(960px, 100svh);
  padding: 140px 22px 92px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgb(67 104 196 / 28%), transparent 36%),
    linear-gradient(115deg, var(--navy-800), var(--navy-950) 62%, #26132f);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  width: 23vw;
  min-width: 190px;
}

.hero::before {
  left: 0;
  background: linear-gradient(135deg, #11e5e8, #12a5ee);
  clip-path: polygon(0 0, 100% 0, 62% 24%, 100% 24%, 42% 70%, 78% 70%, 25% 100%, 0 100%);
}

.hero::after {
  right: 0;
  background: linear-gradient(160deg, #ff776b, #ff4e70);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 5% 100%, 54% 72%, 18% 72%, 72% 28%, 38% 28%);
}

.hero-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(26px, 4vw, 72px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }
.hero-logo { width: min(360px, 72%); margin-bottom: 26px; }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8.4vw, 122px);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .82;
  text-shadow: 0 8px 0 rgb(3 11 31 / 45%);
  text-transform: uppercase;
}

.hero-sub {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--ice);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
}

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

.release-note {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.release-note::before { content: ""; width: 34px; height: 2px; background: currentColor; }

.hero-art {
  position: relative;
  z-index: 1;
  padding: 7%;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: -1;
  background: radial-gradient(circle, rgb(255 186 73 / 36%), rgb(34 187 240 / 12%) 45%, transparent 70%);
  filter: blur(18px);
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(0 30px 35px rgb(0 0 0 / 42%));
  animation: hero-drift 5s ease-in-out infinite;
}

@keyframes hero-drift { 50% { transform: translateY(-12px) rotate(-1deg); } }

.mechanic { padding: clamp(90px, 11vw, 150px) 0; background: var(--navy-900); }

.mechanic-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
}

.mechanic-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 55%, #1fa8a6, #0b5a74 48%, #081c43 75%);
  border: 1px solid rgb(100 242 245 / 32%);
  border-radius: 45% 55% 38% 62% / 52% 38% 62% 48%;
  box-shadow: inset 0 0 80px rgb(6 17 48 / 52%), var(--shadow);
}

.mechanic-visual::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 5px solid rgb(142 247 249 / 32%);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-32deg);
}

.mechanic-visual img {
  position: relative;
  width: min(76%, 410px);
  filter: drop-shadow(0 28px 26px rgb(0 0 0 / 38%));
  transform: rotate(-12deg);
}

.step-list { margin: 48px 0 0; padding: 0; list-style: none; }

.step-list li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-number { color: var(--cyan); font-family: var(--display); font-size: 18px; font-weight: 950; }
.step-list h3 { margin: 0; font-family: var(--display); font-size: 25px; text-transform: uppercase; }
.step-list p { margin: 6px 0 0; color: var(--muted); }

.arsenal { padding: clamp(90px, 11vw, 150px) 0; color: var(--ink); background: #eef8ff; }
.arsenal .section-intro { color: #496078; }

.arsenal-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gun-card {
  position: relative;
  min-height: 330px;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, #143b83, #071735 72%);
  border: 1px solid rgb(5 23 53 / 12%);
  border-radius: 28px;
  box-shadow: 0 18px 34px rgb(23 53 93 / 14%);
}

.gun-card:nth-child(3n + 2) { background: linear-gradient(145deg, #5e225f, #191234 75%); }
.gun-card:nth-child(3n) { background: linear-gradient(145deg, #0d766f, #072d42 75%); }
.gun-card img { width: 100%; height: 190px; object-fit: contain; filter: drop-shadow(0 16px 14px rgb(0 0 0 / 30%)); }
.gun-index { color: var(--cyan-soft); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.gun-card h3 { margin: 7px 0 0; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.gun-card p { margin: 5px 0 0; color: #c8d8ef; font-size: 14px; }

.duel { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: linear-gradient(112deg, #6f122f, var(--navy-950) 42% 58%, #063f79); }
.duel-inner { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(46px, 8vw, 110px); align-items: center; }
.duel-visual { position: relative; }

.duel-visual::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: 0;
  background: conic-gradient(from 12deg, var(--cyan), transparent 26%, var(--coral) 52%, transparent 76%, var(--cyan));
  border-radius: 35px;
  filter: blur(22px);
  opacity: .55;
}

.duel-visual img { position: relative; z-index: 1; width: 100%; border: 1px solid rgb(255 255 255 / 28%); border-radius: 32px; box-shadow: var(--shadow); transform: rotate(2deg); }
.tier-list { margin: 44px 0 0; padding: 0; list-style: none; }
.tier-list li { padding: 18px 0; display: flex; align-items: baseline; gap: 18px; border-top: 1px solid var(--line); }
.tier-list strong { min-width: 124px; font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.tier-list span { color: var(--muted); }

.campaign { padding: clamp(90px, 11vw, 150px) 0; background: #07132e; }
.campaign-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(52px, 8vw, 110px); align-items: center; }

.arena-frame {
  position: relative;
  min-height: 690px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: url("/assets/arena-backdrop.webp") center 27% / cover no-repeat;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.arena-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgb(4 11 30 / 94%)); }
.arena-labels { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.arena-labels span { padding: 12px 9px; color: var(--ice); background: rgb(5 14 36 / 78%); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; font-weight: 850; text-align: center; text-transform: uppercase; }
.hazard-list { margin: 45px 0 0; padding: 0; list-style: none; }
.hazard-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.hazard-list strong { display: block; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.hazard-list span { color: var(--muted); }

.promises { padding: clamp(90px, 10vw, 135px) 0; color: var(--ink); background: #f6fbff; }
.promises .section-intro { color: #4b6075; }

.promise-rail {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid #bfd4e6;
}

.promise-item { padding: 34px 26px; border-right: 1px solid #bfd4e6; }
.promise-item:last-child { border-right: 0; }
.promise-item strong { display: block; color: #087987; font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.promise-item span { display: block; margin-top: 8px; color: #4b6075; }

.coming { padding: clamp(90px, 11vw, 140px) 22px; text-align: center; background: radial-gradient(circle at 50% 18%, #193f80, var(--navy-950) 58%); }
.coming img { width: 152px; margin: 0 auto 28px; border-radius: 32px; box-shadow: 0 24px 50px rgb(0 0 0 / 32%); }
.coming h2 { margin: 0; font-family: var(--display); font-size: clamp(46px, 7vw, 86px); letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.coming p { max-width: 600px; margin: 23px auto 34px; color: var(--muted); font-size: 19px; }

@media (max-width: 1020px) {
  .hero-inner, .mechanic-grid, .duel-inner, .campaign-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-copy { max-width: 760px; }
  .hero-art { width: min(760px, 100%); margin-inline: auto; }
  .mechanic-visual { min-height: 460px; order: 2; }
  .arsenal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duel-visual { width: min(620px, 100%); }
  .arena-frame { min-height: 600px; order: 2; }
  .promise-rail { grid-template-columns: repeat(2, 1fr); }
  .promise-item:nth-child(2) { border-right: 0; }
  .promise-item:nth-child(-n + 2) { border-bottom: 1px solid #bfd4e6; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 32px, var(--max)); }
  .hero { padding: 112px 16px 78px; }
  .hero::before, .hero::after { min-width: 86px; opacity: .55; }
  .hero-logo { width: 210px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(54px, 18vw, 76px); }
  .hero-art { padding: 0; margin-top: 26px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .mechanic-visual { min-height: 340px; }
  .arsenal-grid { grid-template-columns: 1fr; }
  .gun-card { min-height: 300px; }
  .tier-list li { align-items: flex-start; flex-direction: column; gap: 3px; }
  .arena-frame { min-height: 520px; padding: 24px; }
  .arena-labels { grid-template-columns: 1fr; }
  .promise-rail { grid-template-columns: 1fr; }
  .promise-item, .promise-item:nth-child(2) { border-right: 0; border-bottom: 1px solid #bfd4e6; }
  .promise-item:last-child { border-bottom: 0; }
}
