.cubeshot-site {
  --bg: #0b1020;
  --surface: #131b30;
  --surface-2: #1b2540;
  --muted: #aab5cb;
  --accent: #ffd275;
  --accent-ink: #251900;
}

.cubeshot-site .nav {
  background: rgba(11, 16, 32, .93);
}

.cubeshot-site .nav .wrap {
  height: 70px;
}

.cubeshot-site .nav a[href="/games/cubeshot/"] {
  color: var(--text);
}

.cubeshot-site section[id] {
  scroll-margin-top: 76px;
}

.shot-hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(ellipse at 78% 49%, rgba(101, 62, 203, .2), transparent 47%),
    radial-gradient(ellipse at 86% 85%, rgba(30, 137, 198, .13), transparent 45%);
}

.shot-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(370px, 1fr);
  align-items: center;
  gap: clamp(22px, 4.8vw, 64px);
}

.shot-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.shot-app-mark {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.shot-app-mark img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .42);
}

.shot-hero h1 {
  margin-top: 20px;
  font-size: clamp(4rem, 8.4vw, 7.25rem);
  letter-spacing: -.035em;
}

.shot-tagline {
  color: var(--accent);
  font-size: clamp(1.22rem, 2.35vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 9px;
}

.shot-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.21rem);
  max-width: 35ch;
}

.shot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.shot-download {
  min-width: 152px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 59px;
  padding: 10px 17px;
  line-height: 1.15;
  border: 1px solid #53688d;
  border-radius: 11px;
  background: #141f37;
}

.shot-download span {
  font-size: .72rem;
}

.shot-download strong {
  font-size: 1.08rem;
  font-weight: 700;
}

.shot-download:hover {
  background: #1d2b48;
  border-color: #8fadd6;
}

.shot-download-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.shot-download-primary:hover {
  background: #ffe2a2;
  border-color: #ffe2a2;
}

.shot-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--text);
  margin-top: 18px;
}

.shot-inline-link:hover {
  color: var(--accent);
}

.shot-stage {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  height: clamp(350px, 44vw, 512px);
  width: 100%;
  display: grid;
  place-items: center;
}

.shot-stage::before {
  content: "";
  position: absolute;
  inset: 10% 1% 0;
  z-index: -1;
  border-radius: 28px;
  background:
    linear-gradient(0deg, rgba(70, 183, 231, .22) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(70, 183, 231, .22) 1px, transparent 1px) 0 0 / 38px 38px;
  opacity: .48;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 13%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 13%, transparent 75%);
  transform: perspective(560px) rotateX(20deg);
}

.shot-screen {
  position: absolute;
  aspect-ratio: 640 / 1391;
  overflow: hidden;
  border-radius: 21px;
  border: 4px solid #324465;
  background: var(--surface);
  box-shadow: 0 22px 55px rgba(3, 7, 18, .66);
}

.shot-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-screen-back {
  height: 78%;
  left: 11%;
  top: 12%;
  transform: rotate(-10deg);
  border-color: #683957;
}

.shot-screen-front {
  height: 90%;
  right: 15%;
  top: 3%;
  transform: rotate(9deg);
  border-color: #57538b;
}

.shot-section {
  padding: clamp(45px, 6.2vw, 78px) 0;
}

.shot-section-title {
  font-size: clamp(2.05rem, 4.35vw, 3.1rem);
  margin-bottom: 24px;
}

.shot-mode-grid,
.shot-other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.shot-mode,
.shot-other {
  min-width: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #121a2e;
}

.shot-mode {
  --mode-tint: #e2b149;
}

.shot-mode-classic {
  --mode-tint: #5bdbac;
}

.shot-mode-time {
  --mode-tint: #d996f3;
}

.shot-mode-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(184px, 25vw, 278px);
  grid-template-rows: minmax(0, 1fr);
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  background: #111527;
  background: radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--mode-tint) 20%, #111527), #111527 72%);
}

.shot-mode-art img {
  height: 100%;
  min-height: 0;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 24px #080b16;
}

.shot-mode-copy {
  padding: 17px 21px 21px;
}

.shot-mode h3,
.shot-other h3 {
  color: var(--mode-tint, var(--text));
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.22;
}

.shot-mode p,
.shot-other p,
.shot-bosses p {
  color: var(--muted);
  margin-top: 7px;
  font-size: .98rem;
}

.shot-more,
.shot-bosses {
  border-top: 1px solid var(--line);
  background: #0e1527;
}

.shot-other {
  display: block;
}

.shot-other:hover {
  border-color: #7083a7;
}

.shot-other img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.shot-other div {
  padding: 16px 19px 20px;
}

.shot-boss-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: 35px;
}

.shot-boss-grid .shot-section-title {
  margin-bottom: 9px;
}

.shot-boss-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.cubeshot-site footer {
  padding-top: 39px;
  padding-bottom: 45px;
}

@media (max-width: 950px) {
  .shot-screen-front { right: 8%; }
  .shot-screen-back { left: 9%; }
}

@media (max-width: 760px) {
  .shot-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .shot-hero { padding-top: 34px; padding-bottom: 39px; }
  .shot-hero h1 { font-size: clamp(3.55rem, 13vw, 6rem); }
  .shot-stage { width: min(100%, 430px); height: clamp(286px, 82vw, 400px); min-height: 0; margin: 0 auto; }
  .shot-screen-back { left: 15%; }
  .shot-screen-front { right: 15%; }
  .shot-mode-grid, .shot-other-grid { grid-template-columns: 1fr; gap: 13px; }
  .shot-mode { display: grid; grid-template-columns: minmax(100px, 31%) 1fr; align-items: center; }
  .shot-mode-art { border-bottom: 0; border-right: 1px solid var(--line); height: 174px; padding: 8px 6px; }
  .shot-mode-copy { padding: 15px 14px; }
  .shot-other { display: grid; grid-template-columns: 33% 1fr; align-items: center; }
  .shot-other-art { display: block; align-self: stretch; }
  .shot-other img { height: 100%; aspect-ratio: 1; object-fit: cover; }
  .shot-other div { padding: 15px 14px; }
  .shot-boss-grid { grid-template-columns: 1fr; gap: 19px; }
  .cubeshot-site footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 16px; }
  .cubeshot-site footer .wrap > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .cubeshot-site .nav .wrap { padding: 0 14px; height: 61px; gap: 11px; }
  .cubeshot-site .brand { gap: 6px; font-size: .88rem; }
  .cubeshot-site .brand-name { display: inline; }
  .cubeshot-site .mark { width: 29px; height: 29px; font-size: .9rem; }
  .cubeshot-site .nav ul { gap: 11px; font-size: .8rem; }
  .shot-download { min-width: 134px; padding-inline: 13px; }
  .shot-screen-back { left: 13%; }
  .shot-screen-front { right: 13%; }
}

@media (max-width: 360px) {
  .shot-nav-games { display: none; }
  .shot-mode-copy { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
