:root {
     --purple: #7027ff;
     --ink: #10121d;
     --muted: #7d859a;
     --line: #e9eaf1;
     --soft: #f4f4f9;
}
 * {
     box-sizing: border-box;
}
 html {
     scroll-behavior: smooth;
     scroll-padding-top: 25px;
}
 body {
     margin: 0;
     background: #fff;
     color: var(--ink);
     font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
     font-size: 16px;
     line-height: 1.45;
}
 button,input,a {
     -webkit-tap-highlight-color: transparent;
}
 button,input {
     font: inherit;
}
 button,a {
     touch-action: manipulation;
}
 button {
     cursor: pointer;
     color: inherit;
     background: none;
     border: 0;
}
 a {
     color: inherit;
     text-decoration: none;
}
 button:focus-visible,a:focus-visible,input:focus-visible {
     outline: 3px solid #bda1ff;
     outline-offset: 4px;
}
 svg {
     width: 22px;
     height: 22px;
     fill: none;
     stroke: currentColor;
     stroke-width: 1.7;
     stroke-linecap: round;
     stroke-linejoin: round;
     flex-shrink: 0;
}
 .svg-defs {
     position: absolute;
     width: 0;
     height: 0;
     overflow: hidden;
}
 .wrap {
     max-width: 1440px;
     margin: auto;
     padding-left: 36px;
     padding-right: 36px;
}
 .utility {
     height: 36px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-size: 12px;
     color: #747b8d;
     border-bottom: 1px solid var(--line);
}
 .utility nav {
     display: flex;
     gap: 24px;
     align-items: center;
}
 .utility button {
     padding: 0;
     font-size: 12px;
}
 .main-header {
     display: flex;
     align-items: center;
     gap: 20px;
     padding: 21px 0 13px;
}
 .logo {
     display: flex;
     gap: 10px;
     align-items: center;
}
 .logo img {
     width: 160px;
}
 .primary {
     background: var(--purple);
     color: #fff;
     border-radius: 12px;
     padding: 13px 22px;
     font-weight: 600;
}
 .catalog-btn {
     display: flex;
     align-items: center;
     gap: 10px;
}
 .search {
     display: flex;
     align-items: center;
     gap: 13px;
     background: var(--soft);
     border: 1px solid var(--line);
     border-radius: 12px;
     padding: 13px 16px;
     flex: 1;
     min-width: 100px;
     color: #8b91a0;
}
 .search input {
     border: 0;
     outline: none;
     background: transparent;
     width: 100%;
     min-width: 0;
     font-size: 14px;
     color: var(--ink);
}
 kbd {
     font: 12px inherit;
     border: 1px solid #dddfe8;
     padding: 0 5px;
     border-radius: 4px;
}
 .account {
     display: flex;
     gap: 23px;
}
 .account button {
     display: flex;
     gap: 7px;
     align-items: center;
     padding: 5px 0;
     font-size: 14px;
     position: relative;
}
 .account b {
     position: absolute;
     top: -11px;
     right: -9px;
     background: var(--purple);
     color: white;
     border-radius: 20px;
     padding: 0 5px;
     font-size: 11px;
}
 .account button[aria-pressed=true] {
     color: var(--purple);
}
 .categories {
     display: flex;
     gap: 33px;
     padding: 4px 0 18px;
     font-size: 14px;
}
 .categories button {
     padding: 0;
}
 .categories button:hover,.utility button:hover,footer button:hover {
     color: var(--purple);
}
 .launch {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 5px;
     width: 100%;
     background: #f4f0ff;
     border-radius: 9px;
     padding: 11px 12px;
     font-size: 12px;
     margin-bottom: 19px;
     color: #636984;
}
 .launch strong {
     color: var(--ink);
}
 .dot {
     height: 9px;
     width: 9px;
     background: #72c92d;
     border-radius: 50%;
     margin-right: 6px;
}
 .violet {
     color: var(--purple);
     font-size: 22px;
     line-height: 12px;
     margin-left: 8px;
}
 .hero-grid {
     display: grid;
     grid-template-columns: 1.96fr 1fr;
     gap: 16px;
}
 .hero {
     min-height: 375px;
     position: relative;
     background: #080819 url('../images/hero.png') center/cover;
     border-radius: 14px;
     overflow: hidden;
     color: white;
}
 .hero:before {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(90deg,rgba(7,8,22,.42),transparent 70%);
}
 .hero-copy {
     position: relative;
     padding: 35px 38px;
}
 .eyebrow {
     font-size: 10px;
     letter-spacing: 3px;
     color: #c4c4dc;
}
 h1 {
     font-size: clamp(38px,4.25vw,61px);
     line-height: .99;
     letter-spacing: -2.3px;
     margin: 21px 0 16px;
     font-weight: 850;
}
 .hero p {
     margin: 0 0 24px;
     font-size: 16px;
     line-height: 1.4;
}
 .hero-cta {
     background: #fff;
     color: var(--ink);
     display: inline-flex;
     align-items: center;
     gap: 22px;
     border-radius: 9px;
     padding: 12px 20px;
     font-size: 14px;
     font-weight: 600;
}
 .hero-cta:hover {
     background: #eee6ff;
}
 .topup {
     border: 1px solid var(--line);
     border-radius: 14px;
     padding: 23px;
     display: flex;
     flex-direction: column;
     justify-content: center;
}
 .topup-heading {
     display: flex;
     align-items: center;
     gap: 15px;
     margin-bottom: 21px;
}
 .steam-symbol {
     width: 62px;
     height: 62px;
     display: grid;
     place-items: center;
     background: #131a31;
     border-radius: 50%;
     flex-shrink: 0;
}
 .steam-symbol img {
     width: 42px;
     filter: invert(1);
}
 h2 {
     font-size: 26px;
     letter-spacing: -.8px;
     line-height: 1.2;
     margin: 0;
     font-weight: 800;
}
 .topup h2 {
     font-size: 23px;
     letter-spacing: -.6px;
}
 .topup-heading p {
     font-size: 13px;
     color: var(--muted);
     margin: 5px 0 0;
}
 .topup label {
     font-size: 14px;
     margin-bottom: 8px;
     display: block;
}
 .login-field {
     display: flex;
     align-items: center;
     border: 1px solid #e2e4ed;
     border-radius: 10px;
     padding: 11px 13px;
     gap: 8px;
     margin-bottom: 16px;
     color: #929aac;
}
 .login-field input {
     min-width: 0;
     width: 100%;
     border: 0;
     background: none;
     outline: 0;
     font-size: 14px;
}
 .amounts {
     display: flex;
     gap: 9px;
     margin-bottom: 18px;
}
 .amounts button {
     flex: 1;
     border: 1px solid var(--line);
     padding: 10px 5px;
     border-radius: 9px;
     font-size: 14px;
     box-shadow: 0 2px 3px #11112206;
}
 .amounts .selected {
     color: var(--purple);
     border-color: var(--purple);
     background: #f9f6ff;
}
 .unavailable {
     width: 100%;
     background: #b59afb;
     cursor: not-allowed;
     font-size: 15px;
}
 .note {
     font-size: 11px;
     color: var(--muted);
     margin: 15px 0 0;
     display: flex;
     align-items: center;
     gap: 8px;
}
 .note span {
     color: var(--purple);
     font-size: 16px;
}
 .services-section {
     margin: 28px 0 30px;
}
 .section-heading {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 17px;
     gap: 16px;
}
 .section-heading a {
     font-size: 14px;
     color: var(--purple);
}
 .section-heading a span {
     margin-left: 10px;
}
 .services {
     display: grid;
     grid-template-columns: repeat(10,minmax(0,1fr));
     gap: 22px;
}
 .service {
     padding: 0;
     min-width: 0;
}
 .service-icon {
     display: flex;
     align-items: center;
     justify-content: center;
     aspect-ratio: 1.06;
     border-radius: 15px;
     background: var(--bg);
     color: white;
     transition: transform .18s;
     box-shadow: inset 0 0 25px #ffffff13,0 2px 5px #0d193b0c;
}
 .service:hover .service-icon {
     transform: translateY(-4px);
}
 .service img {
     width: 48%;
     height: 48%;
     filter: brightness(0) invert(1);
}
 .service-name {
     display: block;
     margin-top: 8px;
     font-size: 13px;
     text-align: center;
}
 .service.selected .service-icon {
     outline: 3px solid var(--purple);
     outline-offset: 3px;
}
 .letter-logo {
     font-size: 42px;
     font-weight: 850;
}
 .catalog-title {
     justify-content: flex-start;
     margin-bottom: 17px;
}
 .muted {
     color: var(--muted);
     font-size: 12px;
}
 .filters {
     display: flex;
     gap: 9px;
     flex-wrap: wrap;
     margin-bottom: 20px;
}
 .filters button {
     background: var(--soft);
     border-radius: 30px;
     padding: 9px 19px;
     font-size: 13px;
     transition: background .15s;
}
 .filters .active {
     background: var(--purple);
     color: white;
}
 .filters #clearFilters {
     background: none;
     color: var(--purple);
}
 .products {
     display: grid;
     grid-template-columns: repeat(6,minmax(0,1fr));
     gap: 16px;
}
 .product {
     min-width: 0;
     border: 1px solid var(--line);
     border-radius: 13px;
     overflow: hidden;
     transition: transform .18s,box-shadow .18s;
     position: relative;
     background: #fff;
}
 .product:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 26px #2222440c;
}
 .product-open {
     padding: 0;
     display: block;
     width: 100%;
     text-align: left;
}
 .product-art {
     aspect-ratio: 1.16;
     background: var(--bg);
     color: white;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 17px;
     padding: 20px 8px;
     position: relative;
     overflow: hidden;
}
 .product-art:after {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(ellipse at 20% 0%,#ffffff25,transparent 65%);
     pointer-events: none;
}
 .product-art img {
     height: 51px;
     width: 60px;
     filter: brightness(0) invert(1);
}
 .product-art strong {
     font-size: clamp(16px,1.6vw,23px);
     letter-spacing: .7px;
}
 .product-art small {
     font-size: 9px;
     letter-spacing: 2.3px;
     color: #ffffffbb;
}
 .favorite {
     position: absolute;
     top: 10px;
     right: 9px;
     z-index: 2;
     color: #fff;
     padding: 5px;
     display: grid;
     place-items: center;
     border-radius: 50%;
     background: #0000000f;
}
 .favorite[aria-pressed=true] svg {
     fill: #fff;
}
 .product-body {
     padding: 12px;
}
 .price {
     font-size: 21px;
     letter-spacing: -.5px;
     font-weight: 800;
     display: block;
}
 .product h3 {
     font-size: 14px;
     font-weight: 550;
     line-height: 1.35;
     margin: 3px 0 7px;
     min-height: 19px;
}
 .product-meta {
     font-size: 11px;
     color: var(--muted);
     display: block;
     min-height: 17px;
}
 .route {
     margin-top: 13px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 6px;
     font-size: 11px;
     background: var(--soft);
     padding: 7px 9px;
     border-radius: 7px;
}
 .route .mini-g {
     color: var(--purple);
     font-size: 20px;
     font-weight: 900;
     line-height: 16px;
}
 .route span:nth-child(2) {
     margin-right: auto;
}
 .bottom-panels {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 16px;
     margin: 25px 0;
}
 .bottom-panels>button {
     display: flex;
     text-align: left;
     align-items: center;
     gap: 17px;
     padding: 21px;
     border: 1px solid var(--line);
     border-radius: 12px;
}
 .bottom-panels>button:hover {
     background: #fbfaff;
}
 .panel-icon {
     color: var(--purple);
     display: flex;
}
 .panel-icon svg {
     width: 34px;
     height: 34px;
}
 .bottom-panels strong {
     display: block;
     font-size: 14px;
}
 .bottom-panels small {
     display: block;
     font-size: 12px;
     color: var(--muted);
     margin-top: 3px;
}
 .bottom-panels>button>span:last-child {
     margin-left: auto;
}
 .panel-link {
     font-size: 12px;
     color: var(--purple);
}
 footer {
     display: flex;
     align-items: center;
     gap: 24px;
     min-height: 98px;
     border-top: 1px solid var(--line);
     color: var(--muted);
     font-size: 12px;
}
 footer .logo {
     font-size: 27px;
     color: var(--ink);
}
 footer .brand-mark {
     font-size: 35px;
}
 footer p {
     line-height: 1.35;
}
 footer nav {
     display: flex;
     gap: 25px;
     margin: auto;
}
 footer button {
     font-size: 12px;
     padding: 0;
}
 .footer-end {
     display: flex;
     align-items: center;
     gap: 14px;
}
 .footer-end span {
     color: var(--ink);
     font-size: 26px;
}
 .empty {
     text-align: center;
     background: var(--soft);
     border-radius: 14px;
     padding: 40px 20px;
}
 .empty p {
     color: var(--muted);
}
 dialog {
     border: 1px solid var(--line);
     border-radius: 22px;
     max-width: 480px;
     width: calc(100% - 32px);
     padding: 34px;
     color: var(--ink);
     box-shadow: 0 25px 100px #10102030;
}
 dialog::backdrop {
     background: #11132477;
     backdrop-filter: blur(4px);
}
 dialog h2 {
     font-size: 26px;
     margin-right: 20px;
}
 dialog p {
     color: #646c80;
     font-size: 16px;
     line-height: 1.65;
}
 dialog .close {
     position: absolute;
     right: 16px;
     top: 9px;
     font-size: 30px;
     color: #7e8391;
}
 dialog .dialog-ok {
     margin-top: 10px;
}
 dialog .detail-price {
     font-size: 28px;
     color: var(--ink);
     font-weight: 800;
}
 .toast {
     position: fixed;
     bottom: 24px;
     left: 50%;
     transform: translate(-50%,20px);
     padding: 12px 22px;
     background: #171322;
     color: white;
     border-radius: 12px;
     font-size: 14px;
     opacity: 0;
     pointer-events: none;
     transition: .2s;
     z-index: 20;
     max-width: 90vw;
     text-align: center;
}
 .toast.visible {
     opacity: 1;
     transform: translate(-50%,0);
}
 [hidden] {
     display: none!important;
}
 @media(min-width:1600px) {
     .wrap {
         max-width: 1512px;
    }
     .hero {
         min-height: 415px;
    }
     .hero-copy {
         padding-top: 40px;
    }
     h1 {
         font-size: 65px;
    }
     .product-art {
         aspect-ratio: 1.1;
    }
}
 @media(max-width:1150px) {
     .wrap {
         padding-left: 24px;
         padding-right: 24px;
    }
     .account {
         gap: 19px;
    }
     .account span {
         display: none;
    }
     .main-header {
         gap: 15px;
    }
     .services {
         gap: 15px;
    }
     .hero-grid {
         grid-template-columns: 1.65fr 1fr;
    }
     .hero-copy {
         padding: 30px;
    }
     .hero {
         min-height: 350px;
    }
     h1 {
         font-size: 48px;
    }
     .topup {
         padding: 18px;
    }
     .topup h2 {
         font-size: 19px;
    }
     .steam-symbol {
         width: 48px;
         height: 48px;
    }
     .steam-symbol img {
         width: 33px;
    }
     .products {
         gap: 12px;
    }
     .product-body {
         padding: 10px;
    }
     .product h3 {
         min-height: 38px;
    }
     .panel-link {
         display: none;
    }
     .footer-end {
         display: none;
    }
}
 @media(max-width:850px) {
     .utility>span {
         display: none;
    }
     .utility {
         justify-content: flex-end;
    }
     .logo {
         font-size: 30px;
    }
     .brand-mark {
         font-size: 42px;
    }
     .catalog-btn {
         font-size: 0;
         padding: 12px;
    }
     .catalog-btn svg {
         width: 22px;
    }
     .hero-grid {
         grid-template-columns: 1fr 1fr;
    }
     .hero-copy {
         padding: 26px;
    }
     h1 {
         font-size: 40px;
    }
     .hero {
         background-position: 57% center;
    }
     .hero:before {
         background: linear-gradient(90deg,#070816aa,#07081620);
    }
     .hero p {
         font-size: 14px;
    }
     .hero-cta {
         padding: 11px 13px;
         gap: 10px;
    }
     .services {
         grid-template-columns: repeat(5,1fr);
         gap: 18px 25px;
    }
     .service-icon {
         aspect-ratio: 1.4;
    }
     .service img {
         height: 45%;
         width: 45%;
    }
     .products {
         grid-template-columns: repeat(3,minmax(0,1fr));
    }
     .product-art {
         aspect-ratio: 1.35;
    }
     .product-art strong {
         font-size: 22px;
    }
     .product h3 {
         min-height: 19px;
    }
     .catalog-title {
         align-items: flex-start;
         flex-direction: column;
         gap: 7px;
    }
     .bottom-panels>button {
         padding: 17px;
         gap: 12px;
    }
     .bottom-panels strong {
         font-size: 13px;
    }
     footer {
         flex-wrap: wrap;
         gap: 15px;
         padding-top: 20px;
         padding-bottom: 20px;
    }
     footer nav {
         margin-left: auto;
         margin-right: 0;
    }
     .categories {
         gap: 24px;
         overflow-x: auto;
         white-space: nowrap;
    }
}
 @media(max-width:600px) {
     .wrap {
         padding-left: 16px;
         padding-right: 16px;
    }
     .utility {
         height: 30px;
    }
     .utility nav {
         gap: 18px;
    }
     .utility button {
         font-size: 11px;
    }
     .main-header {
         flex-wrap: wrap;
         gap: 14px;
         padding: 19px 0 15px;
    }
     .logo {
         font-size: 32px;
    }
     .catalog-btn {
         order: 3;
         height: 44px;
    }
     .account {
         margin-left: auto;
         gap: 20px;
    }
     .account svg {
         width: 22px;
    }
     .search {
         order: 4;
         flex-basis: calc(100% - 65px);
         padding: 11px 13px;
         height: 44px;
    }
     .search input {
         font-size: 13px;
    }
     kbd {
         display: none;
    }
     .categories {
         font-size: 13px;
         gap: 23px;
         padding-bottom: 16px;
    }
     .launch {
         font-size: 11px;
         padding: 10px 6px;
         margin-bottom: 14px;
         gap: 3px;
    }
     .hero-grid {
         grid-template-columns: 1fr;
         gap: 14px;
    }
     .hero {
         min-height: 330px;
         background-position: center;
    }
     .hero-copy {
         padding: 25px;
    }
     h1 {
         font-size: 47px;
         margin: 18px 0 14px;
    }
     .hero p {
         font-size: 14px;
    }
     .eyebrow {
         font-size: 9px;
    }
     .topup {
         padding: 20px;
    }
     .topup-heading {
         margin-bottom: 18px;
    }
     .topup h2 {
         font-size: 23px;
    }
     .topup .note {
         font-size: 11px;
    }
     .services-section {
         margin: 25px 0;
    }
     .section-heading h2 {
         font-size: 23px;
    }
     .section-heading a {
         font-size: 12px;
    }
     .services {
         gap: 17px 12px;
    }
     .service-icon {
         border-radius: 13px;
         aspect-ratio: 1;
    }
     .service-name {
         font-size: 10px;
         margin-top: 6px;
    }
     .letter-logo {
         font-size: 27px;
    }
     .products {
         grid-template-columns: repeat(2,minmax(0,1fr));
         gap: 13px;
    }
     .product-art {
         aspect-ratio: 1.12;
         gap: 13px;
    }
     .product-art strong {
         font-size: 20px;
    }
     .product-art img {
         height: 44px;
         width: 50px;
    }
     .product-art small {
         font-size: 8px;
         letter-spacing: 1.6px;
    }
     .filters {
         gap: 6px;
         margin-bottom: 17px;
    }
     .filters button {
         padding: 8px 13px;
         font-size: 12px;
    }
     .price {
         font-size: 20px;
    }
     .product h3 {
         font-size: 13px;
         min-height: 35px;
    }
     .bottom-panels {
         grid-template-columns: 1fr;
         gap: 12px;
         margin-top: 21px;
    }
     .bottom-panels>button {
         padding: 18px;
    }
     .bottom-panels strong {
         font-size: 14px;
    }
     footer {
         gap: 17px;
    }
     footer p {
         font-size: 11px;
    }
     footer nav {
         width: 100%;
         margin: 0;
         justify-content: space-between;
         padding-top: 6px;
    }
     .section-heading {
         gap: 8px;
    }
     .hero-cta {
         padding: 12px 16px;
    }
}
 @media(prefers-reduced-motion:reduce) {
     * {
         scroll-behavior: auto!important;
         transition: none!important;
    }
}
