@font-face {
  font-family: "Appdrop Inter";
  src: url("./assets/fonts/inter-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Regular.ttf?v=4.015") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Medium.ttf?v=4.015") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Motiva Sans";
  src: url("https://community.fastly.steamstatic.com/public/shared/fonts/MotivaSans-Bold.ttf?v=4.015") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --steam-black: #171a21;
  --steam-bg: #0e2b33;
  --steam-blue: #66c0f4;
  --steam-link: #67c1f5;
  --steam-panel: #16202d;
  --steam-panel-light: #2a475e;
  --steam-text: #c7d5e0;
  --steam-muted: #8f98a0;
  --steam-green: #a4d007;
  --appdrop-card: #293a4c;
  --appdrop-border: #2a2f36;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {
  background: #1b2838;
  color: var(--steam-text);
  font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  overflow-x: hidden;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
}

body.modal-open {
  padding-right: var(--scrollbar-compensation, 0px);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.steam-page {
  min-height: 100vh;
  background-color: var(--steam-bg);
  background-image: url("https://shared.fastly.steamstatic.com/store_item_assets/steam/clusters/seasonalsales/bde830a37e773c5131fdd3c1/ac7ab4e5892e32d7ca4c47c5e7acd41c5458cb54/tiled_bg_english.webp");
  background-position: top center;
  background-repeat: repeat;
  background-size: 718px auto;
  padding-bottom: 72px;
}

.steam-container {
  width: 940px;
  max-width: 100%;
  margin: 0 auto;
}

.steam-container-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.mobile-header {
  display: none;
}

.hud-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#3a4048, #2b3038 6%, #22262d 55%, #191c22);
  border-top: 1px solid #4b545e;
  border-bottom: 1px solid #000;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hud-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}

.rank-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 152px;
}

.rank-block img {
  width: 100px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}

.rank-copy {
  width: 112px;
}

.rank-copy span,
.hud-well small,
.cards-accepted span {
  display: block;
  color: #6e7d8c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 1px rgba(0, 0, 0, 0.9);
}

.xp-track {
  height: 10px;
  margin-top: 4px;
  overflow: hidden;
  background: #0a0c0f;
  border: 1px solid #000;
  border-bottom-color: #3d444e;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}

.xp-track div {
  width: 0;
  height: 100%;
  background: linear-gradient(#9edbff, #35a5f0 47%, #0f72b8 53%, #2b90d8);
}

.hud-divider {
  align-self: stretch;
  width: 0;
  margin: 10px 0;
  border-left: 1px solid rgba(0, 0, 0, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.hud-well {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 5px 12px;
  color: #fff;
  background: linear-gradient(#101216, #191d23 80%, #1d222a);
  border: 1px solid #07080a;
  border-bottom-color: #434b56;
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hud-well:hover {
  background: linear-gradient(#131722, #1c2330 80%, #212a38);
  transform: translateY(-1px);
}

.hud-well svg {
  width: 20px;
  height: 20px;
  color: var(--steam-blue);
  fill: currentColor;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.9));
}

.hud-well strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  text-shadow: 0 1px rgba(0, 0, 0, 0.9);
}

.hud-well .green {
  color: #beee11;
}

.savings-well svg {
  color: var(--steam-green);
}

.wallet-well {
  margin-left: auto;
}

.wallet-well svg {
  color: var(--steam-muted);
}

.funds-button {
  height: 32px;
  padding: 0 12px;
  color: #1c2705;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px rgba(255, 255, 255, 0.35);
  background: linear-gradient(#d3ef39, #a4d007 47%, #7e9d04 53%, #94b806);
  border: 1px solid #465902;
  border-radius: 3px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.funds-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.58), 0 4px 10px rgba(0, 0, 0, 0.35);
}

.hud-tool {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #aeb9c4;
  background: linear-gradient(#3f4753, #2a2f39);
  border: 1px solid #101318;
  border-radius: 3px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.hud-tool:hover {
  color: #fff;
  background: linear-gradient(#4c5563, #343b48);
  transform: translateY(-1px);
}

.hud-tool svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cards-accepted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cards-accepted img {
  width: 85px;
  height: 24px;
  object-fit: contain;
}

.desktop-nav {
  position: sticky;
  top: 56px;
  z-index: 40;
}

.nav-top {
  background: var(--steam-black);
}

.nav-top-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.nav-top-inner > a img {
  width: 178px;
  height: auto;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #b8b6b4;
  font-size: 13px;
  font-weight: 500;
}

.top-links a,
.store-links a,
.section-heading a,
.footer-links a {
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.top-links a:hover,
.store-links a:hover {
  transform: translateY(-1px);
}

.top-links a:first-child,
.top-links a:hover {
  color: #fff;
}

.mike-logo {
  width: 77px;
  height: 44px;
  object-fit: contain;
  margin-left: auto;
}

.store-nav {
  background: #171a21;
}

.store-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  background: linear-gradient(90deg, #1b2838, #2a475e);
}

.store-links {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.store-links a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #e5e5e5;
  font-size: 14px;
}

.store-links a:hover {
  color: #fff;
  background: rgba(27, 40, 56, 0.45);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 2px;
}

.search-box label {
  display: flex;
  align-items: center;
  height: 26px;
  padding-left: 8px;
  background: rgba(49, 98, 130, 0.42);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.search-box input {
  width: 160px;
  color: #fff;
  font-size: 12px;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: var(--steam-muted);
}

.search-box button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #0f1a24;
  background: linear-gradient(#66c0f4, #417a9b);
  border: 0;
  border-radius: 2px;
}

.search-box svg,
.cart-button svg {
  width: 15px;
  height: 15px;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  color: #0f1a24;
  font-size: 12px;
  font-weight: 500;
  background: #67c1f5;
  border-radius: 2px;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cart-button:hover {
  background: #8ed1f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

.cart-button svg {
  fill: currentColor;
}

.sale-hero {
  width: 100%;
  overflow: hidden;
}

.sale-hero video {
  position: relative;
  left: 50%;
  width: 120%;
  max-width: none;
  transform: translateX(-50%);
  aspect-ratio: 1955 / 670;
  object-fit: cover;
}

.hero-mobile {
  display: none;
  width: 100%;
}

.feature-row {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: -224px auto 0;
  padding: 0 56px;
}

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

.capsule {
  position: relative;
  aspect-ratio: 600 / 900;
  overflow: hidden;
  background: #111923;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 28px rgba(0, 0, 0, 0.34);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.capsule:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 0 14px rgba(102, 192, 244, 0.35), 0 20px 38px rgba(0, 0, 0, 0.42);
}

.capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.capsule:hover img {
  filter: saturate(1.08) brightness(1.05);
  transform: scale(1.035);
}

.capsule::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  pointer-events: none;
}

.capsule-price {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.capsule-price.inline {
  position: static;
  justify-content: flex-start;
}

.discount {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 7px;
  color: #000;
  background: #a1cd44;
  font-size: 14px;
  font-weight: 700;
}

.discount.free {
  color: #beee11;
  background: rgba(30, 37, 41, 0.92);
}

.prices {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 8px;
  background: rgba(30, 37, 41, 0.92);
}

.prices del {
  position: relative;
  color: #848e94;
  font-size: 11px;
  text-decoration: none;
}

.prices del::before {
  content: "";
  position: absolute;
  top: 48%;
  left: 0;
  right: 0;
  border-top: 1px solid #738895;
  transform: rotate(-8deg);
}

.prices strong {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 88px;
  color: #fff;
  background: rgba(10, 17, 25, 0.68);
  border: 0;
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.carousel-button:hover {
  background: rgba(24, 41, 58, 0.86);
}

.carousel-prev:hover {
  transform: translate(-3px, -50%);
}

.carousel-next:hover {
  transform: translate(3px, -50%);
}

.carousel-button svg {
  width: 30px;
  height: 30px;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.special-offers,
.content-section {
  padding-top: 40px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a3f5a;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}

.section-heading a {
  color: var(--steam-blue);
  font-size: 12px;
}

.section-heading a:hover {
  color: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.offer-card {
  overflow: hidden;
  background: linear-gradient(#1d3a50, #16202d);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.36), 0 16px 34px rgba(0, 0, 0, 0.3);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(102, 192, 244, 0.28), 0 20px 42px rgba(0, 0, 0, 0.36);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.offer-card:hover img {
  filter: brightness(1.06);
  transform: scale(1.025);
}

.offer-copy {
  padding: 14px;
}

.offer-copy h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
}

.offer-copy p {
  margin: 0 0 12px;
  color: #acdbf5;
  font-size: 13px;
}

.game-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1f2c, #23445d);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(102, 192, 244, 0.35);
}

.game-card img {
  width: 100%;
  aspect-ratio: 600 / 338;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.game-card:hover img {
  filter: saturate(1.08) brightness(1.05);
  transform: scale(1.03);
}

.game-card-body {
  min-height: 96px;
  padding: 9px;
}

.game-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.tag-row span {
  padding: 2px 6px;
  color: #66c0f4;
  font-size: 11px;
  background: rgba(103, 193, 245, 0.14);
  border-radius: 2px;
  transition: background-color 160ms ease, color 160ms ease;
}

.game-card:hover .tag-row span {
  color: #fff;
  background: rgba(103, 193, 245, 0.26);
}

.game-card .capsule-price {
  position: static;
}

.site-footer {
  margin-top: 52px;
  padding: 28px 0 36px;
  background: #171a21;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  max-width: 650px;
  margin: 0;
  color: #6d7780;
  font-size: 11px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  max-width: 420px;
}

.footer-links a {
  color: var(--steam-blue);
  font-size: 11px;
}

.footer-links a:hover {
  color: #fff;
}

.appdrop-footer {
  /* Appdrop footer controls */
  --appdrop-footer-bottom: 16px;
  --appdrop-footer-height: 40px;
  --appdrop-footer-padding-y: 0px;
  --appdrop-footer-padding-x: 16px;
  --appdrop-footer-radius: 50px;
  --appdrop-footer-bg: #23394b;
  --appdrop-footer-bg-hover: #274357;
  --appdrop-footer-shadow: none;
  --appdrop-footer-shadow-hover: none;
  --appdrop-footer-hover-y: -2px;
  --appdrop-logo-width: 80px;
  --appdrop-logo-height: 17.64px;
  --appdrop-text-color: #fff;
  --appdrop-text-size: 14px;
  --appdrop-text-weight: 500;
  --appdrop-text-strong-color: #fff;
  --appdrop-text-strong-weight: 500;
  --appdrop-text-letter-spacing: 0;
  --appdrop-inline-word-gap: 0px;
  --appdrop-text-line-height: 17px;
  --appdrop-gap-logo-text: 24px;
  --appdrop-gap-text-button: 16px;
  --appdrop-gap-button-close: 24px;
  --appdrop-button-min-height: 20px;
  --appdrop-button-padding-top: 4px;
  --appdrop-button-padding-right: 8px;
  --appdrop-button-padding-bottom: 4px;
  --appdrop-button-padding-left: 8px;
  --appdrop-button-radius: 4px;
  --appdrop-button-text-color: #fff;
  --appdrop-button-text-size: 14px;
  --appdrop-button-text-weight: 500;
  --appdrop-button-text-line-height: 15px;
  --appdrop-button-gradient-top: #5dbbf0;
  --appdrop-button-gradient-bottom: #3d7798;
  --appdrop-button-hover-brightness: 1.1;
  --appdrop-close-hit-size: 7.88px;
  --appdrop-close-icon-size: 7.88px;
  --appdrop-close-opacity: 0.5;
  --appdrop-close-color: #5dbbf0;
  --appdrop-close-color-hover: #fff;
  position: fixed;
  left: 50%;
  bottom: var(--appdrop-footer-bottom);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  max-width: calc(100vw - 24px);
  height: var(--appdrop-footer-height);
  padding: var(--appdrop-footer-padding-y) var(--appdrop-footer-padding-x);
  color: var(--appdrop-text-color);
  font-family: "Appdrop Inter", "Inter", "Motiva Sans", Arial, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--appdrop-text-size);
  font-weight: var(--appdrop-text-weight);
  line-height: 1;
  letter-spacing: var(--appdrop-text-letter-spacing);
  white-space: nowrap;
  background: var(--appdrop-footer-bg);
  border-radius: var(--appdrop-footer-radius);
  box-shadow: var(--appdrop-footer-shadow);
  transform: translateX(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.appdrop-footer:hover {
  background: var(--appdrop-footer-bg-hover);
  box-shadow: var(--appdrop-footer-shadow-hover);
  transform: translateX(-50%) translateY(var(--appdrop-footer-hover-y));
}

.appdrop-logo {
  flex: 0 0 auto;
  width: var(--appdrop-logo-width);
  height: var(--appdrop-logo-height);
  margin-right: var(--appdrop-gap-logo-text);
  background: linear-gradient(var(--appdrop-button-gradient-top) 30%, var(--appdrop-button-gradient-bottom));
  mask: url("./assets/appdrop-logo-mask.png") center / 100% 100% no-repeat;
  -webkit-mask: url("./assets/appdrop-logo-mask.png") center / 100% 100% no-repeat;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.appdrop-copy {
  display: inline-block;
  align-items: center;
  gap: var(--appdrop-inline-word-gap);
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  margin-right: var(--appdrop-gap-text-button);
  color: var(--appdrop-text-color);
  font-size: var(--appdrop-text-size);
  font-weight: var(--appdrop-text-weight);
  line-height: var(--appdrop-text-line-height);
  letter-spacing: var(--appdrop-text-letter-spacing);
  text-rendering: geometricPrecision;
}

.appdrop-footer strong {
  color: var(--appdrop-text-strong-color);
  font-weight: var(--appdrop-text-strong-weight);
}

.appdrop-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: var(--appdrop-button-min-height);
  margin-right: var(--appdrop-gap-button-close);
  padding: var(--appdrop-button-padding-top) var(--appdrop-button-padding-right) var(--appdrop-button-padding-bottom) var(--appdrop-button-padding-left);
  color: var(--appdrop-button-text-color);
  font-size: var(--appdrop-button-text-size);
  font-weight: var(--appdrop-button-text-weight);
  line-height: var(--appdrop-button-text-line-height);
  text-rendering: geometricPrecision;
  background: linear-gradient(var(--appdrop-button-gradient-top) 30%, var(--appdrop-button-gradient-bottom));
  border: 0;
  border-radius: var(--appdrop-button-radius);
  transition: filter 160ms ease, transform 160ms ease;
}

.appdrop-subscribe:hover {
  filter: brightness(var(--appdrop-button-hover-brightness));
  transform: none;
}

.appdrop-close {
  display: grid;
  place-items: center;
  width: var(--appdrop-close-hit-size);
  height: var(--appdrop-close-hit-size);
  padding: 0;
  color: var(--appdrop-close-color);
  opacity: var(--appdrop-close-opacity);
  background: transparent;
  border: 0;
  transition: none;
}

.appdrop-close:hover {
  color: var(--appdrop-close-color-hover);
}

.appdrop-close::before {
  content: "";
  width: var(--appdrop-close-icon-size);
  height: var(--appdrop-close-icon-size);
  background: var(--appdrop-close-color);
  mask: url("./assets/appdrop-close.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("./assets/appdrop-close.svg") center / 100% 100% no-repeat;
}

.appdrop-close:hover::before {
  background: var(--appdrop-close-color-hover);
}

.appdrop-close img {
  display: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.appdrop-editor {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 260;
  width: min(340px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 96px));
  overflow: hidden;
  color: #f3f6fb;
  font-family: Inter, "Motiva Sans", Arial, sans-serif;
  background: #15181e;
  border: 1px solid #2d333d;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.appdrop-editor[hidden] {
  display: none;
}

.appdrop-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  background: #1c2028;
  border-bottom: 1px solid #2d333d;
}

.appdrop-editor-body {
  max-height: calc(min(680px, calc(100vh - 96px)) - 88px);
  overflow: auto;
}

.appdrop-editor details {
  border-bottom: 1px solid #252b35;
}

.appdrop-editor summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 12px;
  color: #d9e2ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
  background: #171b22;
}

.appdrop-editor summary::-webkit-details-marker {
  display: none;
}

.appdrop-editor summary::after {
  content: "v";
  color: #8f99a8;
  font-size: 10px;
  transition: transform 140ms ease;
}

.appdrop-editor details:not([open]) summary::after {
  transform: rotate(-90deg);
}

.appdrop-control-list {
  padding: 6px 0;
  background: #15181e;
}

.appdrop-control-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 10px;
}

.appdrop-control-label {
  overflow: hidden;
  color: #aeb7c5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appdrop-control-row input {
  min-width: 0;
  font-family: inherit;
}

.appdrop-control-row input[type="range"] {
  width: 100%;
  height: 3px;
  accent-color: #4aa7de;
}

.appdrop-control-row input[type="number"],
.appdrop-control-row input[type="text"] {
  width: 100%;
  height: 24px;
  padding: 0 7px;
  color: #edf3fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  background: #0f1217;
  border: 1px solid #313946;
  border-radius: 6px;
  outline: 0;
}

.appdrop-control-row input[type="number"]:focus,
.appdrop-control-row input[type="text"]:focus {
  border-color: #4aa7de;
}

.appdrop-control-row input[type="color"] {
  width: 100%;
  height: 24px;
  padding: 0;
  background: #0f1217;
  border: 1px solid #313946;
  border-radius: 6px;
  cursor: pointer;
}

.appdrop-editor-actions {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #1c2028;
  border-top: 1px solid #2d333d;
}

.appdrop-editor button {
  height: 28px;
  padding: 0 10px;
  color: #eef6ff;
  font-size: 11px;
  font-weight: 800;
  background: #26313f;
  border: 1px solid #38485b;
  border-radius: 7px;
}

.appdrop-editor button:hover {
  background: #314154;
}

.appdrop-editor button[data-role="copy"] {
  flex: 1;
  color: #07131b;
  background: #55b8ec;
  border-color: #55b8ec;
}

.appdrop-editor button[data-role="copy"]:hover {
  background: #70c6f1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  animation: backdrop-fade 180ms ease both;
}

.modal-backdrop.is-closing {
  pointer-events: none;
  animation: backdrop-fade-out 180ms ease both;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes backdrop-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-backdrop.is-closing .subscribe-card {
  animation: modal-fade-out 180ms ease both;
}

.modal-backdrop.is-closing .subscribe-track {
  transition-duration: 180ms;
}

.subscribe-card {
  width: min(450px, calc(100vw - 32px));
  overflow: hidden;
  color: #f9fafb;
  font-family: Inter, "Motiva Sans", Arial, sans-serif;
  background: var(--appdrop-card);
  border: 1px solid var(--appdrop-border);
  border-radius: 24px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
  transform-origin: center;
  animation: modal-pop 220ms ease both;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modal-fade-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
}

.subscribe-header {
  display: flex;
  justify-content: flex-end;
  height: 40px;
  padding: 16px 16px 0;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #5dbbf0;
  background: transparent;
  border: 0;
  transition: color 160ms ease;
}

.modal-close:hover {
  color: #8ed1f8;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.subscribe-stage {
  width: 100%;
  overflow: hidden;
}

.subscribe-track {
  display: flex;
  width: 200%;
  transform: translateX(0);
  transition: transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.subscribe-card.is-subscribed .subscribe-track {
  transform: translateX(-50%);
}

.subscribe-panel {
  flex: 0 0 50%;
  min-width: 0;
  opacity: 1;
  transition: opacity 240ms ease, transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
}

.subscribe-panel-form {
  transform: translateX(0);
}

.subscribe-panel-success {
  transform: translateX(12px);
}

.subscribe-card.is-subscribed .subscribe-panel-form {
  opacity: 0.55;
  transform: translateX(-12px);
}

.subscribe-card.is-subscribed .subscribe-panel-success {
  transform: translateX(0);
}

.subscribe-avatar {
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
}

.subscribe-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.subscribe-content {
  padding: 0 40px 24px;
  text-align: center;
}

.subscribe-content h2 {
  margin: 0 0 8px;
  color: #f9fafb;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.subscribe-content p {
  margin: 0 0 8px;
  color: #9ca3af;
  font-size: 16px;
}

.subscribe-content .small {
  margin-bottom: 0;
  font-size: 14px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 24px;
}

.subscribe-form input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  color: #f9fafb;
  font-size: 16px;
  background: #111827;
  border: 1px solid var(--appdrop-border);
  border-radius: 8px;
  outline: 0;
}

.subscribe-form input::placeholder {
  color: #6b7280;
}

.subscribe-form input:focus {
  border-color: #5dbbf0;
}

.subscribe-form button {
  width: 100%;
  height: 48px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(#72b4e5, #48708e);
  border: 0;
  border-radius: 8px;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.subscribe-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.recommendations {
  display: flex;
  gap: 16px;
  padding: 0 20px 24px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.recommendations a {
  flex: 1;
  min-width: 0;
  height: 112px;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(93, 187, 240, 0), 0 0 0 rgba(0, 0, 0, 0);
  transform: translateY(6px) scale(0.98);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 180ms ease;
  will-change: transform, opacity;
}

.subscribe-card.is-subscribed .recommendations a {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.subscribe-card.is-subscribed .recommendations a:nth-child(1) {
  transition-delay: 170ms;
}

.subscribe-card.is-subscribed .recommendations a:nth-child(2) {
  transition-delay: 220ms;
}

.recommendations img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1);
  transition: transform 220ms ease;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

.recommendations a:hover {
  box-shadow: 0 0 0 2px rgba(93, 187, 240, 0.9), 0 10px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(0) scale(1.035);
  transition-delay: 0ms;
}

.recommendations a:active {
  box-shadow: 0 0 0 2px rgba(93, 187, 240, 1), 0 4px 12px rgba(0, 0, 0, 0.22);
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}

.recommendations a:hover img {
  transform: scale(1.06);
}

@media (max-width: 1080px) {
  .steam-container {
    width: 100%;
    padding: 0 16px;
  }

  .steam-container-wide,
  .feature-row {
    padding-left: 2vw;
    padding-right: 2vw;
  }

  .feature-row {
    margin-top: -174px;
  }

  .capsule-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .capsule-grid .capsule:last-child {
    display: none;
  }
}

@media (max-width: 910px) {
  .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    display: flex;
    align-items: center;
    height: 62px;
    padding: 0 8px;
    background: var(--steam-black);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.75);
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 38px;
    padding: 0 8px;
    background: transparent;
    border: 0;
  }

  .mobile-menu span {
    width: 26px;
    height: 3px;
    background: var(--steam-muted);
    border-radius: 999px;
  }

  .mobile-logo {
    display: flex;
    justify-content: center;
    flex: 1;
  }

  .mobile-logo img {
    height: 36px;
    width: auto;
  }

  .mobile-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--steam-muted);
  }

  .mobile-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .hud-bar {
    top: 62px;
    margin-top: 62px;
  }

  .hud-inner {
    padding: 0 8px;
    gap: 6px;
  }

  .desktop-nav {
    display: none;
  }

  .rank-block {
    min-width: auto;
  }

  .rank-block img {
    width: 80px;
    height: 32px;
  }

  .rank-copy,
  .savings-well,
  .cards-accepted,
  .hud-divider {
    display: none;
  }

  .hud-well {
    height: 34px;
    padding: 4px 8px;
  }

  .wallet-well {
    margin-left: auto;
  }

  .funds-button {
    height: 30px;
    padding: 0 9px;
  }

  .sale-hero video {
    width: 135%;
  }

  .feature-row {
    margin-top: -126px;
  }

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

  .capsule-grid .capsule:nth-child(n + 4) {
    display: none;
  }

  .game-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .steam-page {
    padding-bottom: 88px;
  }

  .hud-well svg,
  .hud-tool {
    display: none;
  }

  .hud-well {
    min-width: auto;
    padding: 4px 7px;
  }

  .hud-well small {
    font-size: 8px;
  }

  .hud-well strong {
    font-size: 13px;
  }

  .funds-button {
    font-size: 11px;
  }

  .sale-hero video {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .feature-row {
    margin-top: 16px;
  }

  .capsule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .capsule-grid .capsule:nth-child(n + 4) {
    display: block;
  }

  .capsule-grid .capsule:nth-child(n + 5) {
    display: none;
  }

  .carousel-button {
    display: none;
  }

  .special-offers,
  .content-section {
    padding-top: 28px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 18px;
  }

  .offer-grid,
  .game-strip {
    grid-template-columns: 1fr;
  }

  .offer-copy {
    padding: 12px;
  }

  .appdrop-footer {
    --appdrop-footer-bottom: 12px;
  }

  .appdrop-copy {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .subscribe-card {
    width: 100%;
  }

  .subscribe-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .recommendations {
    gap: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .recommendations a {
    height: 94px;
    border-radius: 14px;
  }
}
