/* /products/gamification, the Gamification overview (partials/sp-gamification.hbs; loaded by gmh-assets.hbs): the hero
   (one player action moves a mission, a badge, the points, the level, the weekly board, a store purchase and a prize
   drop; js/gamification.js steps data-i 1..6), the cards on white sections, the #loop drawing, the feature cards, the
   live #live section (buttons open Smartico's own player view) and the FAQ. Dark navy panels as on the sub-pages. */
:root {
  --gmh-bg: #0c1020;
  --gmh-card: #161d38;
  --gmh-line: #262f52;
  --gmh-text: #cdd3ea;
  --gmh-muted: #8a92b2;
  --gmh-gold: #f2c45a;
  --gmh-red: #ff5d5d;
  --gmh-green: #3ddc84;
  --gmh-violet: #b56cff;
  --gmh-cyan: #11ced7;
}

/* ------------------------------------------------ hero: one action, the whole profile moves */
.gmh-hero { position: relative; width: 100%; max-width: 34rem; aspect-ratio: 1 / .96; margin: 0 auto; border-radius: 1.25rem; overflow: hidden; background: radial-gradient(70% 50% at 50% 0%, rgba(17, 206, 215, .22), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(181, 108, 255, .2), transparent 70%), var(--gmh-bg); box-shadow: 0 2rem 4rem rgba(10, 12, 24, .35); font-family: "Lexend Deca", sans-serif; color: #fff; container-type: inline-size; }
.gmh-hero em { font-style: normal; }
.gmh-hero_ev { position: absolute; top: 4cqw; left: 50%; z-index: 3; display: flex; align-items: center; gap: 2cqw; padding: 1.8cqw 3.6cqw; border-radius: 999px; background: rgba(11, 14, 28, .95); border: 1px solid rgba(61, 220, 132, .6); font-size: clamp(.62rem, 2.8cqw, .9rem); white-space: nowrap; transform: translateX(-50%); transition: opacity .35s, transform .35s; }
.gmh-hero_ev span { font-size: 1.1em; }
.gmh-hero[data-i="1"] .gmh-hero_ev { box-shadow: 0 0 0 .4rem rgba(61, 220, 132, .15); }
.gmh-hero_me { position: absolute; left: 4cqw; right: 4cqw; top: 14cqw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3cqw; padding: 3cqw 3.6cqw 4.6cqw; border-radius: 3cqw; background: var(--gmh-card); border: 1px solid var(--gmh-line); }
.gmh-hero_ava { width: 13cqw; height: 13cqw; border-radius: 50%; object-fit: cover; background: #232b52; }
.gmh-hero_me b { display: block; font-size: clamp(.75rem, 3.6cqw, 1.1rem); }
.gmh-hero_lvl { position: relative; display: inline-block; margin-top: 1cqw; height: 1.5em; min-width: 14cqw; font-size: clamp(.55rem, 2.6cqw, .8rem); }
.gmh-hero_lvl em, .gmh-hero_pts em, .gmh-hero_rank em { transition: opacity .35s, transform .35s; }
.gmh-hero_lvl em { position: absolute; left: 0; top: 0; padding: .1em .6em; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.gmh-hero_lvl .is-a { background: #c9cfe0; color: #1b2036; }
.gmh-hero_lvl .is-b { background: var(--gmh-gold); color: #3a2600; opacity: 0; transform: translateY(.6em); }
.gmh-hero_pts { text-align: right; }
.gmh-hero_pts b { position: relative; display: block; height: 1.2em; min-width: 16cqw; font-size: clamp(.9rem, 4.6cqw, 1.45rem); color: var(--gmh-gold); }
.gmh-hero_pts em { position: absolute; right: 0; top: 0; }
.gmh-hero_pts .is-b { opacity: 0; transform: translateY(.6em); }
.gmh-hero_pts span { font-size: clamp(.55rem, 2.4cqw, .75rem); color: var(--gmh-muted); }
.gmh-hero_bar { position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 2cqw; height: 1.2cqw; border-radius: 999px; background: #232b52; overflow: hidden; }
.gmh-hero_bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #c9cfe0, var(--gmh-gold)); transition: width .8s ease; }
.gmh-hero_grid { position: absolute; left: 4cqw; right: 4cqw; top: 40cqw; bottom: 4cqw; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 2.4cqw; }
.gmh-hero_t { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.4cqw; padding: 2cqw 2.6cqw; border-radius: 2.6cqw; background: rgba(22, 29, 56, .7); border: 1px solid var(--gmh-line); opacity: .45; transition: opacity .35s, border-color .35s, box-shadow .35s, transform .35s; }
.gmh-hero_t img { width: 10cqw; height: 10cqw; object-fit: contain; }
.gmh-hero_t small { display: block; font-size: clamp(.5rem, 2.2cqw, .7rem); color: var(--gmh-muted); text-transform: uppercase; letter-spacing: .05em; }
.gmh-hero_t b { display: block; font-size: clamp(.58rem, 2.7cqw, .85rem); font-weight: 600; line-height: 1.25; }
.gmh-hero_t > em { font-size: clamp(.6rem, 3cqw, .95rem); font-weight: 700; color: var(--gmh-green); }
.gmh-hero_t.is-st > em { color: var(--gmh-gold); }
.gmh-hero_prog { display: block; margin-top: 1cqw; height: 1cqw; border-radius: 999px; background: #232b52; overflow: hidden; }
.gmh-hero_prog i { display: block; height: 100%; width: 66%; background: var(--gmh-cyan); transition: width .6s ease; }
.gmh-hero_rank { position: relative; width: 10cqw; height: 10cqw; border-radius: 50%; background: #232b52; font-size: clamp(.65rem, 3.2cqw, 1rem); font-weight: 700; }
.gmh-hero_rank em { position: absolute; inset: 0; display: grid; place-items: center; }
.gmh-hero_rank .is-b { opacity: 0; color: var(--gmh-gold); }
.gmh-hero_bell { width: 10cqw; height: 10cqw; display: grid; place-items: center; font-size: 5cqw; }
/* step n lights tile n; every earlier tile stays done */
.gmh-hero_t.is-on { opacity: 1; border-color: rgba(17, 206, 215, .7); box-shadow: 0 0 0 .3rem rgba(17, 206, 215, .12); transform: translateY(-.15rem); }
.gmh-hero_t.is-done { opacity: 1; }
.gmh-hero.s-m .gmh-hero_prog i { width: 100%; }
.gmh-hero.s-lb .gmh-hero_rank .is-a { opacity: 0; }
.gmh-hero.s-lb .gmh-hero_rank .is-b { opacity: 1; }
.gmh-hero.s-pts .gmh-hero_pts .is-a, .gmh-hero.s-lvl .gmh-hero_lvl .is-a { opacity: 0; transform: translateY(-.6em); }
.gmh-hero.s-pts .gmh-hero_pts .is-b, .gmh-hero.s-lvl .gmh-hero_lvl .is-b { opacity: 1; transform: none; }
.gmh-hero.s-lvl .gmh-hero_bar i { width: 100%; }

/* ------------------------------------------------ cards on white sections */
.gmh-cards { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gmh-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gmh-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gmh-cards li { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; border-radius: .875rem; background: #fff; border: 1px solid var(--sp-line, #e3e6f0); }
.gmh-cards li b { font-weight: 600; }
.gmh-cards li > span:not([class]) { font-size: .9375rem; line-height: 1.5; color: #4a5068; }
.gmh-cards li a { font-size: .875rem; font-weight: 600; color: #0b7e85; text-decoration: none; }
.gmh-cards li > a { margin-top: auto; }
.gmh-cards li a:hover { text-decoration: underline; }
.gmh-cards_ic { font-size: 1.6rem; }
.gmh-cards_n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #f15851; color: #fff; font-weight: 700; font-size: .9rem; }

/* ------------------------------------------------ #loop: play > earn > currencies > climb and spend */
.gmh-loop { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; padding: 2rem; border-radius: 1.25rem; background: radial-gradient(80% 60% at 50% 0%, rgba(17, 206, 215, .14), transparent 70%), var(--gmh-bg); color: #fff; }
.gmh-loop_col { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem; border-radius: 1rem; background: var(--gmh-card); border: 1px solid var(--gmh-line); }
.gmh-loop_col:not(:nth-child(4))::after { content: ""; position: absolute; right: -1.75rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -.625rem; background: var(--gmh-cyan); clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%); opacity: .8; }
.gmh-loop_col.is-cur { border-color: rgba(242, 196, 90, .55); box-shadow: 0 0 2rem rgba(242, 196, 90, .12); }
.gmh-loop_h { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; }
.gmh-loop_h b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #f15851; font-size: .8rem; }
.gmh-loop ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.gmh-loop li { display: flex; align-items: flex-start; gap: .6rem; padding: .55rem .7rem; border-radius: .6rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--gmh-line); font-size: .875rem; line-height: 1.4; color: var(--gmh-text); }
.gmh-loop li a { color: #fff; font-weight: 600; text-decoration: none; }
.gmh-loop li a::after { content: " →"; color: var(--gmh-cyan); }
.gmh-loop li a:hover { color: var(--gmh-cyan); }
.gmh-loop li strong { display: block; color: #fff; }
.gmh-coin { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .1rem; border-radius: 50%; }
.gmh-coin.is-p { background: radial-gradient(circle at 35% 30%, #ffe9a6, var(--gmh-gold) 55%, #b07a1a); }
.gmh-coin.is-g { border-radius: .3rem; transform: rotate(45deg) scale(.8); background: linear-gradient(135deg, #6ff0a8, #19a65a); }
.gmh-coin.is-d { border-radius: .3rem; transform: rotate(45deg) scale(.8); background: linear-gradient(135deg, #b9f3ff, #3a8dff); }
.gmh-loop_msg { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1rem; border-radius: .8rem; border: 1px dashed rgba(17, 206, 215, .55); color: var(--gmh-text); font-size: .9375rem; text-align: center; }

/* ------------------------------------------------ #features: the seven sub-pages */
.gmh-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gmh-feat { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; border-radius: .875rem; background: #fff; border: 1px solid var(--sp-line, #e3e6f0); color: #181b2b; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gmh-feat:hover { border-color: #11ced7; box-shadow: 0 .75rem 2rem rgba(17, 27, 43, .08); transform: translateY(-.15rem); }
.gmh-feat b { font-weight: 600; font-size: 1.0625rem; }
.gmh-feat > span:not([class]) { font-size: .9375rem; line-height: 1.5; color: #4a5068; }
.gmh-feat em { margin-top: auto; padding-top: .25rem; font-style: normal; font-size: .8125rem; font-weight: 600; color: #0b7e85; }
.gmh-feat em::before { content: "▶ "; font-size: .7em; }
.gmh-feat_art { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 1rem; background: var(--gmh-bg); overflow: hidden; }
.gmh-feat_art img { width: 82%; height: 82%; object-fit: contain; }
.gmh-lad { display: flex; align-items: flex-end; gap: .2rem; height: 2.4rem; }
.gmh-lad i { width: .55rem; border-radius: .15rem; background: #c9cfe0; }
.gmh-lad i:nth-child(1) { height: 25%; background: #b87333; }
.gmh-lad i:nth-child(2) { height: 50%; }
.gmh-lad i:nth-child(3) { height: 75%; background: var(--gmh-gold); }
.gmh-lad i:nth-child(4) { height: 100%; background: var(--gmh-cyan); }
.gmh-pod { display: flex; align-items: flex-end; gap: .15rem; height: 2.6rem; }
.gmh-pod i { display: grid; place-items: start center; width: .9rem; padding-top: .1rem; border-radius: .15rem .15rem 0 0; font: 700 .55rem/1 "Lexend Deca", sans-serif; font-style: normal; color: #0c1020; }
.gmh-pod i:nth-child(1) { height: 70%; background: #c9cfe0; }
.gmh-pod i:nth-child(2) { height: 100%; background: var(--gmh-gold); }
.gmh-pod i:nth-child(3) { height: 50%; background: #b87333; }

/* ------------------------------------------------ live: Smartico's own player view */
.gmh-live { position: relative; z-index: 2; color: #fff; overflow: hidden; background: radial-gradient(90% 60% at 50% 0%, #10394a 0%, #0b0a18 70%); }
.gmh-live::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.gmh-live > * { position: relative; }
.gmh-live_head { max-width: 50rem; margin: 0 auto 2.5rem; text-align: center; display: grid; gap: 1rem; }
.gmh-live_head .section_title { margin: 0; color: #fff; }
.gmh-live_head .title_sub { margin: 0; color: var(--gmh-text); opacity: 1; }
.gmh-live_kicker { justify-self: center; padding: .3rem .8rem; border-radius: 999px; background: rgba(17, 206, 215, .16); color: #7eeef3; font: 700 .75rem/1.2 "Lexend Deca", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.gmh-live_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 66rem; margin: 0 auto; }
.gmh-tab { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--gmh-card); border: 1px solid var(--gmh-line); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.gmh-tab:hover, .gmh-tab:focus-visible { border-color: var(--gmh-cyan); background: #1b2446; transform: translateY(-.15rem); outline: none; }
.gmh-tab b { font-weight: 600; font-size: 1.0625rem; }
.gmh-tab > span:not([class]) { font-size: .875rem; line-height: 1.45; color: var(--gmh-text); }
.gmh-tab_ic { font-size: 1.6rem; }
.gmh-tab.is-main { grid-row: span 2; justify-content: center; background: linear-gradient(160deg, #11606a, #161d38 70%); border-color: rgba(17, 206, 215, .55); }
.gmh-tab.is-main b { font-size: 1.35rem; }
.gmh-live_note { max-width: 50rem; margin: 1.5rem auto 0; text-align: center; font-size: .875rem; color: var(--gmh-muted); }
.gmh-live_note.is-wait { color: var(--gmh-gold); }

/* ------------------------------------------------ #more: the other gamification products */
.gmh-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gmh-more a { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; row-gap: .25rem; align-items: start; padding: 1.1rem 1.25rem; border-radius: .875rem; background: #fff; border: 1px solid var(--sp-line, #e3e6f0); color: #181b2b; text-decoration: none; transition: border-color .2s; }
.gmh-more a:hover { border-color: #11ced7; }
.gmh-more a > span:first-child { grid-row: span 2; font-size: 1.6rem; }
.gmh-more b { font-weight: 600; }
.gmh-more a > span:last-child { font-size: .9rem; line-height: 1.45; color: #4a5068; }

/* ------------------------------------------------ FAQ (opened by js/gamification.js; no data-w-id) */
.gmh-faq .faq-p-3 { height: 80px; transition: height .35s ease; }
.gmh-faq .faq-3 { position: relative; cursor: pointer; }
.gmh-faq .faq-icon { inset: 50% 0 auto auto; width: 24px; height: 24px; margin: -12px 0 0; filter: none; }
.gmh-faq .faq-icon::before, .gmh-faq .faq-icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; border-radius: 2px; background: #181b2b; transition: transform .3s; }
.gmh-faq .faq-icon::after { transform: rotate(90deg); }
.gmh-faq .faq-p-3.is-open .faq-icon::after { transform: rotate(0); }

@media (max-width: 1199px) {
  .gmh-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gmh-live_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .gmh-cards.is-4, .gmh-cards.is-3, .gmh-feats, .gmh-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gmh-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gmh-loop_col:nth-child(2)::after { display: none; }
  .gmh-live_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gmh-tab.is-main { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .gmh-cards.is-4, .gmh-cards.is-3, .gmh-feats, .gmh-more, .gmh-loop, .gmh-live_grid { grid-template-columns: minmax(0, 1fr); }
  .gmh-loop { padding: 1.25rem; gap: 2rem; }
  .gmh-loop_col:not(:nth-child(4))::after { display: block; right: 50%; top: auto; bottom: -1.6rem; margin: 0 -.625rem 0 0; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .gmh-hero *, .gmh-live * { animation: none !important; transition: none !important; }
}
