/* Demonstração do resgate na home, alinhada às superfícies e cores do tema. */
.ig-home-steam-tutorial {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 16px;
  background: linear-gradient(115deg, #0d0b11 0%, #0a0a0c 56%, #100b17 100%);
  color: #f4f4f5;
}
.ig-home-steam-copy { min-width: 0; }
.ig-home-steam-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .8rem;
  color: #c6a4fa;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ig-home-steam-eyebrow svg { width: 16px; height: 16px; }
.ig-home-steam-copy h2 {
  max-width: 15ch;
  margin: 0;
  font: 800 clamp(1.55rem, 2.6vw, 2.25rem)/1.12 Sora, system-ui, sans-serif;
  letter-spacing: -.045em;
}
.ig-home-steam-description {
  max-width: 39ch;
  margin: .8rem 0 1.2rem;
  color: #aaa6b1;
  font-size: .87rem;
  line-height: 1.6;
}
.ig-home-steam-steps {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ig-home-steam-steps li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
}
.ig-home-steam-steps li>span {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgb(168 85 247 / .32);
  border-radius: 7px;
  background: rgb(168 85 247 / .1);
  color: #d5baff;
  font: 700 .66rem/1 'JetBrains Mono', monospace;
}
.ig-home-steam-steps p {
  margin: .1rem 0 0;
  color: #d2ced8;
  font-size: .77rem;
  line-height: 1.45;
}
.ig-home-steam-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 43px;
  margin-top: 1.2rem;
  padding: 0 .9rem;
  border: 1px solid rgb(168 85 247 / .55);
  border-radius: 9px;
  background: rgb(168 85 247 / .14);
  color: #f4eaff;
  font-size: .79rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.ig-home-steam-link:hover { border-color: #b783ff; background: rgb(168 85 247 / .23); }
.ig-home-steam-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ig-home-steam-link svg:first-child { width: 17px; height: 17px; color: #d8bcff; }
.ig-home-steam-link svg:last-child { width: 14px; height: 14px; color: #bcb4c7; }
.ig-home-steam-demo {
  min-width: 0;
  padding: clamp(.55rem, 1.5vw, 1rem);
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 0%, rgb(100 91 114 / .17), transparent 68%), #08090c;
}
.ig-home-steam-window {
  overflow: hidden;
  border: 1px solid #343740;
  border-radius: 9px;
  background: #17191f;
  box-shadow: 0 14px 34px rgb(0 0 0 / .38);
}
.ig-home-steam-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 39px;
  padding: 0 .8rem;
  border-bottom: 1px solid #30333b;
  background: #1b1d24;
  color: #dce0e8;
}
.ig-home-steam-brand { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 750; }
.ig-home-steam-brand svg { width: 14px; height: 14px; color: #aeb7c5; }
.ig-home-steam-caption { color: #8e94a0; font-size: .66rem; }
.ig-home-steam-window-controls { display: flex; justify-content: flex-end; gap: 5px; }
.ig-home-steam-window-controls i { width: 6px; height: 6px; border-radius: 50%; background: #656a75; }
.ig-home-steam-stage { position: relative; }
.ig-home-steam-menubar { display: flex; align-items: center; gap: clamp(.45rem, 1.3vw, .9rem); height: 27px; padding-inline: .7rem; border-bottom: 1px solid #292c33; background: #17191f; color: #aeb2bb; font-size: .58rem; }
.ig-home-steam-games { color: #f0f1f4; }
.ig-home-steam-stage.is-menu-open .ig-home-steam-games { color: #fff; text-shadow: 0 0 8px rgb(255 255 255 / .3); }
.ig-home-steam-menu-popover { position: absolute; z-index: 3; top: 24px; left: 0; width: max-content; max-width: calc(100% - 1rem); padding: .22rem; border: 1px solid #3d424c; border-radius: 4px; background: #252830; color: #e5e7eb; font-size: .6rem; box-shadow: 0 8px 18px rgb(0 0 0 / .38); opacity: 0; visibility: hidden; transform: translateY(-3px); transition: opacity .14s ease, transform .14s ease, visibility .14s; }
.ig-home-steam-menu-activate { display: block; padding: .38rem .48rem; border-radius: 3px; white-space: nowrap; }
.ig-home-steam-stage.is-menu-open .ig-home-steam-menu-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.ig-home-steam-workspace { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 244px; }
.ig-home-steam-sidebar {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .75rem .55rem;
  border-right: 1px solid #2b2e35;
  background: #121419;
}
.ig-home-steam-sidebar span { display: flex; align-items: center; gap: .45rem; min-height: 31px; padding: 0 .5rem; border-radius: 5px; color: #969ba6; font-size: .65rem; }
.ig-home-steam-sidebar span.is-active { background: #252832; color: #e7eaf0; }
.ig-home-steam-sidebar svg { width: 13px; height: 13px; }
.ig-home-steam-game { display: grid; gap: .22rem; min-width: 0; margin-top: .3rem; padding: .35rem; border: 1px solid #39414a; border-radius: 4px; background: #1a2025; color: #e5e7eb; opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .28s ease, transform .28s ease, visibility .28s; }
.ig-home-steam-game img { display: block; width: 100%; aspect-ratio: 460 / 215; border-radius: 2px; object-fit: cover; }
.ig-home-steam-game b { overflow: hidden; font-size: .53rem; line-height: 1.3; text-overflow: ellipsis; }
.ig-home-steam-game small { color: #a5bdad; font-size: .49rem; }
.ig-home-steam-stage.is-activated .ig-home-steam-game { opacity: 1; visibility: visible; transform: translateY(0); }
.ig-home-steam-dialog {
  align-self: center;
  width: min(100% - 1.4rem, 410px);
  margin: 1rem auto;
  padding: clamp(.85rem, 2vw, 1.25rem);
  border: 1px solid #424652;
  border-radius: 8px;
  background: #20232b;
  box-shadow: 0 10px 25px rgb(0 0 0 / .35);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.ig-home-steam-dialog .ig-home-steam-code-value { min-width: 17ch; }
.ig-home-steam-stage.is-running:not(.is-dialog-open) .ig-home-steam-dialog,
.ig-home-steam-stage.is-activated .ig-home-steam-dialog { opacity: 0; visibility: hidden; transform: translateY(5px); }
.ig-home-steam-stage.is-dialog-open .ig-home-steam-dialog { opacity: 1; visibility: visible; transform: translateY(0); }
.ig-home-steam-dialog-label { margin: 0 0 .45rem; color: #aab0bb; font-size: .58rem; font-weight: 800; letter-spacing: .13em; }
.ig-home-steam-dialog h3 { margin: 0; color: #f3f4f6; font: 700 clamp(.9rem, 1.6vw, 1.1rem)/1.3 Sora, system-ui, sans-serif; }
.ig-home-steam-dialog>p:not(.ig-home-steam-dialog-label) { margin: .4rem 0 .7rem; color: #b0b4bd; font-size: .68rem; line-height: 1.4; }
.ig-home-steam-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 38px;
  padding: 0 .65rem;
  border: 1px solid #4a4f5b;
  border-radius: 5px;
  background: #15171c;
  color: #e6e8ed;
  font: 700 .68rem/1 'JetBrains Mono', monospace;
  letter-spacing: .035em;
}
.ig-home-steam-code-value { display: inline-block; min-height: 1em; overflow: hidden; white-space: nowrap; }
.ig-home-steam-stage.is-typing .ig-home-steam-code { border-color: #94a5b5; box-shadow: 0 0 0 1px rgb(148 165 181 / .15); }
.ig-home-steam-stage.is-typing .ig-home-steam-code-value::after { display: inline-block; height: .9em; margin-left: 2px; border-right: 1px solid #f3f4f6; content: ''; vertical-align: -1px; animation: ig-steam-caret .75s steps(2, end) infinite; }
.ig-home-steam-code svg { width: 14px; height: 14px; flex: none; color: #9ca3af; }
.ig-home-steam-note { display: flex; align-items: flex-start; gap: .4rem; margin-top: .55rem; color: #b1a9bf; font-size: .6rem; line-height: 1.4; }
.ig-home-steam-note svg { width: 13px; height: 13px; flex: none; color: #b995ff; }
.ig-home-steam-dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: .45rem; margin-top: .85rem; color: #b0b4bd; font-size: .62rem; }
.ig-home-steam-dialog-actions>span,.ig-home-steam-dialog-actions>b { display: inline-flex; align-items: center; gap: .35rem; min-height: 29px; padding: 0 .65rem; border: 1px solid #454954; border-radius: 5px; }
.ig-home-steam-dialog-actions>b { border-color: #64798d; background: #344557; color: #fff; font-weight: 700; }
.ig-home-steam-dialog-actions svg { width: 12px; height: 12px; }
.ig-home-steam-wait { display: none; }
.ig-home-steam-stage.is-checking .ig-home-steam-next { display: none; }
.ig-home-steam-stage.is-checking .ig-home-steam-wait { display: inline; }
.ig-home-steam-submit { transition: transform .12s ease, filter .12s ease; }
.ig-home-steam-stage.is-checking .ig-home-steam-submit { filter: brightness(1.18); }
.ig-home-steam-stage.is-clicking .ig-home-steam-submit { filter: brightness(1.25); transform: scale(.96); }
.ig-home-steam-success { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: .75rem; width: min(370px, calc(100% - 1.2rem)); padding: .75rem; border: 1px solid #48564f; border-radius: 7px; background: #22282a; box-shadow: 0 10px 25px rgb(0 0 0 / .35); opacity: 0; visibility: hidden; transform: translate(-50%, -45%); transition: opacity .24s ease, transform .24s ease, visibility .24s; }
.ig-home-steam-stage.is-activated .ig-home-steam-success { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.ig-home-steam-success>img { display: block; width: 100%; aspect-ratio: 460 / 215; border-radius: 4px; object-fit: cover; }
.ig-home-steam-success>div { min-width: 0; }
.ig-home-steam-success>div>span { display: grid; width: 25px; height: 25px; margin-bottom: .35rem; place-items: center; border: 1px solid #52705e; border-radius: 50%; background: #263a30; color: #b8e5c6; }
.ig-home-steam-success svg { width: 16px; height: 16px; }
.ig-home-steam-success>div>b { color: #f3f4f6; font-size: .7rem; }
.ig-home-steam-success h4 { margin: .3rem 0 0; color: #f3f4f6; font-size: .72rem; line-height: 1.25; }
.ig-home-steam-success p { margin: .35rem 0 0; color: #c0c7c3; font-size: .62rem; line-height: 1.4; }
.ig-home-steam-cursor { position: absolute; z-index: 4; top: 0; left: 0; width: 20px; height: 20px; opacity: 0; pointer-events: none; filter: drop-shadow(0 1px 1px #000); transition: left .48s cubic-bezier(.2,.7,.2,1), top .48s cubic-bezier(.2,.7,.2,1), opacity .12s ease, transform .12s ease; }
.ig-home-steam-stage.is-playing .ig-home-steam-cursor { opacity: 1; }
.ig-home-steam-stage.is-clicking .ig-home-steam-cursor { transform: scale(.84); }
@keyframes ig-steam-caret { to { visibility: hidden; } }
.ig-home-steam-window-foot { display: flex; justify-content: space-between; gap: .6rem; padding: .5rem .7rem; border-top: 1px solid #30333b; background: #15171c; color: #8e94a0; font-size: .58rem; }
.ig-home-steam-window-foot span:first-child { display: inline-flex; align-items: center; gap: .35rem; }
.ig-home-steam-window-foot i { width: 6px; height: 6px; border-radius: 50%; background: #a855f7; }
@media(max-width:800px) {
  .ig-home-steam-tutorial { grid-template-columns: 1fr; gap: 1.4rem; }
  .ig-home-steam-copy h2 { max-width: 20ch; }
  .ig-home-steam-description { max-width: 52ch; }
  .ig-home-steam-workspace { min-height: 220px; }
}
@media(max-width:480px) {
  .ig-home-steam-tutorial { gap: 1.1rem; padding: 1rem; border-radius: 12px; }
  .ig-home-steam-copy h2 { font-size: clamp(1.45rem, 7vw, 1.8rem); }
  .ig-home-steam-description { margin-block: .65rem 1rem; font-size: .82rem; }
  .ig-home-steam-steps { gap: .55rem; }
  .ig-home-steam-steps p { font-size: .74rem; }
  .ig-home-steam-demo { padding: .4rem; }
  .ig-home-steam-titlebar { grid-template-columns: 1fr auto; min-height: 35px; padding-inline: .55rem; }
  .ig-home-steam-caption { display: none; }
  .ig-home-steam-workspace { grid-template-columns: 82px minmax(0, 1fr); min-height: 195px; }
  .ig-home-steam-menubar { gap: .48rem; height: 25px; padding-inline: .45rem; font-size: .52rem; }
  .ig-home-steam-menu-popover { font-size: .54rem; }
  .ig-home-steam-sidebar { padding: .6rem .35rem; }
  .ig-home-steam-sidebar span { gap: .3rem; padding-inline: .3rem; font-size: .56rem; }
  .ig-home-steam-sidebar svg { width: 11px; height: 11px; }
  .ig-home-steam-dialog { width: calc(100% - .65rem); padding: .7rem; }
  .ig-home-steam-dialog h3 { font-size: .84rem; }
  .ig-home-steam-code { min-height: 34px; padding-inline: .45rem; font-size: .57rem; }
  .ig-home-steam-note { font-size: .55rem; }
}
@media(max-width:480px) {
  .ig-home-steam-success { grid-template-columns: 1fr; width: min(260px, calc(100% - 1rem)); gap: .5rem; padding: .55rem; }
  .ig-home-steam-success>img { max-height: 82px; }
  .ig-home-steam-success>div { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: .15rem .45rem; }
  .ig-home-steam-success>div>span { grid-row: span 2; margin: 0; }
  .ig-home-steam-success>div>b,.ig-home-steam-success h4,.ig-home-steam-success p { grid-column: 2; }
}
@media(prefers-reduced-motion:reduce) {
  .ig-home-steam-link,.ig-home-steam-menu-popover,.ig-home-steam-game,.ig-home-steam-dialog,.ig-home-steam-success,.ig-home-steam-submit,.ig-home-steam-cursor { transition: none; }
  .ig-home-steam-dialog,.ig-home-steam-menu-popover,.ig-home-steam-cursor { display: none !important; }
  .ig-home-steam-success,.ig-home-steam-game { visibility: visible; opacity: 1; transform: none; }
  .ig-home-steam-code-value { width: 17ch; }
}