/* Full-bleed gameplay stage. Keep the store's accent and Telegram safe areas. */
[data-route="catalog"]{--topbar-height:0px}
[data-route="catalog"] .main-content{--catalog-gutter:42px;padding-top:0;display:flow-root}
/* Paint behind Telegram's transparent fullscreen controls, keeping content below them. */
[data-route="catalog"] .catalog-hero{--hero-top-bleed:var(--tg-safe-top)}
body.launch-active .catalog-hero .hero-mark{visibility:hidden}
body.launch-revealing [data-route="catalog"] .main-content{transform:none;transition:none}
.catalog-hero-host{display:flow-root}
.catalog-hero-host[hidden]{display:none}
.catalog-hero{
    position:relative;
    isolation:isolate;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-height:calc(600px + var(--hero-top-bleed,0px));
    margin:calc(-1 * var(--hero-top-bleed,0px)) calc(-1 * var(--catalog-gutter,0px)) 0;
    padding-top:var(--hero-top-bleed,0px);
    overflow:hidden;
    border:0;
    border-radius:0;
    background:var(--bg);
}
.catalog-hero .hero-image,.catalog-hero .hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:var(--scene-position,center);
    pointer-events:none;
}
.catalog-hero .hero-image{opacity:.84}
.catalog-hero .hero-video{opacity:0;background:transparent}
.catalog-hero.is-video-playing .hero-video{opacity:.92}
.catalog-hero::after{
    z-index:0;
    pointer-events:none;
    background:linear-gradient(180deg,#10121152 0%,#10121115 20%,#1012118a 48%,#101211ed 80%,var(--bg) 100%),linear-gradient(90deg,#10121165,transparent 40%,#10121130);
}
.hero-atmosphere{
    position:absolute;
    z-index:1;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse at 50% 66%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 57%);
}
.hero-topline{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    width:100%;
    padding:25px 40px 0;
}
.hero-greeting{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.hero-top-actions{display:flex;align-items:center;gap:8px;max-width:60%;min-width:0}
.hero-top-actions .hero-wallet{max-width:calc(100% - 52px);min-width:0;flex-shrink:1}
.hero-notifications,.hero-scene-button{border-color:#eaffd52b;background:#101a15a6;color:#e9f0e1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #ffffff09}
.hero-notifications{width:44px;height:44px}
.hero-notifications svg{width:19px;height:19px}
.hero-notifications .notification-dot{top:9px;right:10px}
.hero-scene-actions{display:flex;align-items:center;gap:12px}
.hero-scene-button{width:44px;height:44px}
.hero-scene-button svg{width:17px;height:17px}
.hero-greeting-label{font-size:8px;font-weight:600;letter-spacing:.17em;color:#d3dbd0a6}
.hero-greeting>span:last-child{display:flex;align-items:center;gap:5px;font-size:14px;color:#d6ddd3;line-height:1.5}
.hero-greeting strong{font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px;color:#f5f8f1}
.hero-greeting svg{width:17px;height:17px;margin-left:3px;color:var(--accent);flex-shrink:0}
.hero-wallet{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
    padding:7px 7px 7px 14px;
    border:1px solid #eaffd52b;
    border-radius:50px;
    background:#101a15a6;
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    box-shadow:inset 0 1px 0 #ffffff09;
    font-size:13px;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    min-height:44px;
}
.hero-wallet>svg{width:17px;height:17px;color:#c5d6bf}
.hero-wallet-plus{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--accent-ink)}
.hero-wallet-plus svg{width:15px;height:15px}
.hero-wallet:hover{border-color:color-mix(in srgb,var(--accent) 60%,transparent)}
.hero-scene-bar{position:absolute;z-index:2;top:calc(100px + var(--hero-top-bleed,0px));left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.hero-scene-label{display:flex;align-items:center;gap:8px;color:#eef3e5c9;font-size:8px;font-weight:600;letter-spacing:.17em;text-transform:uppercase;text-shadow:0 1px 5px #0008}
.hero-scene-label i{width:13px;height:13px;border:1px solid #dbe8d99c;border-radius:50%;position:relative}
.hero-scene-label i::after{content:'';position:absolute;inset:3px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px color-mix(in srgb,var(--accent) 50%,transparent)}
.catalog-hero .hero-content{z-index:2;width:100%;max-width:760px;margin:85px auto 0;padding:0 32px 49px;text-align:center}
.hero-signature{display:flex;align-items:center;justify-content:center;gap:17px;margin-bottom:16px}
.hero-signature>span:not(.hero-mark){width:38px;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 55%,transparent))}
.hero-signature>span:last-child{transform:rotate(180deg)}
.hero-mark{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;transform:rotate(-9deg);border-radius:12px;background:linear-gradient(145deg,#efffc0 0%,var(--accent) 43%,#9acb48 100%);box-shadow:0 0 40px color-mix(in srgb,var(--accent) 15%,transparent),inset 0 1px 0 #ffffff60}
.hero-mark img{width:68%;height:68%;object-fit:contain}
.catalog-hero .eyebrow{display:block;font-size:8px;letter-spacing:.25em;color:#d3e5c4;margin:0 0 12px}
.catalog-hero h1{font-size:clamp(58px,6.4vw,92px);font-weight:850;letter-spacing:-.065em;line-height:1.15;max-width:none;margin:0;white-space:normal;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 3px 40px #0003}
.catalog-hero h1 span{color:var(--accent)}
.catalog-hero .hero-tagline{max-width:none;font-size:21px;font-weight:600;letter-spacing:-.04em;color:#f0f4e9;line-height:1.4;margin:12px 0 10px;white-space:pre-line;text-wrap:balance}
.catalog-hero .hero-description{max-width:330px;font-size:12px;color:#bec9b7;line-height:1.75;margin:0 auto;white-space:pre-line;text-wrap:balance}
.hero-perks{display:grid;grid-template-columns:repeat(3,1fr);max-width:420px;margin:27px auto 25px}
.hero-perks>div{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 15px;text-align:left;border-right:1px solid #d7eac61c}
.hero-perks>div:first-child{padding-left:0}
.hero-perks>div:last-child{border:0;padding-right:0}
.hero-perks svg{width:22px;height:22px;color:var(--accent);stroke-width:1.5;flex-shrink:0}
.hero-perks span{font-size:10px;line-height:1.6;color:#c3cfb9}
.catalog-hero .hero-bottom{display:flex;align-items:center;justify-content:center;gap:22px}
.catalog-hero .hero-cta{min-height:48px;min-width:220px;justify-content:space-between;padding:14px 20px;border-radius:13px;font-size:12px;box-shadow:0 4px 28px color-mix(in srgb,var(--accent) 10%,transparent),inset 0 1px 0 #ffffff40}
.hero-cta svg{width:18px;height:18px;transition:transform .2s}
.hero-cta:hover svg{transform:translateX(4px)}
.hero-scroll-hint{display:flex;align-items:center;gap:12px;color:#a6b29c;font-size:9px}
.hero-scroll-hint>span{height:24px;width:13px;border:1px solid #c4d5b545;border-radius:10px;position:relative}
.hero-scroll-hint>span::after{content:'';position:absolute;top:5px;left:5px;height:5px;width:1px;background:var(--accent);animation:hero-scroll 2.5s ease-in-out infinite}
.hero-edition{position:absolute;z-index:2;bottom:25px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;font-size:7px;letter-spacing:.2em;color:#7e9372}
.hero-edition>span{font-variant-numeric:tabular-nums;letter-spacing:.1em;border-bottom:1px solid color-mix(in srgb,var(--accent) 45%,transparent);padding-bottom:5px;color:#bfd5a7}
[data-route="catalog"] #catalog-section{scroll-margin-top:24px}
.admin-design-preview .catalog-hero{min-height:0;margin:0;border-radius:18px;border:1px solid var(--line)}
.admin-design-preview .hero-topline,.admin-design-preview .hero-scene-bar,.admin-design-preview .hero-edition,.admin-design-preview .hero-scroll-hint{display:none}
.admin-design-preview .catalog-hero .hero-content{margin:0;padding:30px 22px}
.admin-design-preview .catalog-hero h1{font-size:clamp(28px,3.5vw,50px)}
.admin-design-preview .catalog-hero .hero-tagline{font-size:15px}
.admin-design-preview .catalog-hero .hero-description{font-size:10px}
.admin-design-preview .hero-perks{margin:20px auto}
.admin-design-preview .hero-perks>div{gap:6px;padding:0 8px}
.admin-design-preview .hero-perks span{font-size:8px}
.admin-design-preview .hero-perks svg{width:17px;height:17px}
.admin-design-preview .hero-cta{min-width:190px}
@keyframes hero-scroll{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(6px);opacity:1}}
@media(min-width:1600px){.catalog-hero .hero-content{margin-top:100px}.catalog-hero{min-height:calc(650px + var(--hero-top-bleed,0px))}}
@media(max-width:1250px){[data-route="catalog"] .main-content{--catalog-gutter:28px}}
@media(max-width:1000px){
    [data-route="catalog"] .main-content{--catalog-gutter:25px}
}
@media(max-width:700px){
    [data-route="catalog"] .main-content{--catalog-gutter:18px}
    .catalog-hero{min-height:calc(570px + var(--hero-top-bleed,0px))}
    .hero-topline{padding:22px 22px 0;gap:12px}
    .hero-greeting{gap:6px}
    .hero-greeting-label{font-size:6px;letter-spacing:.16em}
    .hero-greeting>span:last-child{font-size:12px}
    .hero-greeting strong{max-width:130px}
    .hero-greeting svg{width:14px;height:14px}
    .hero-wallet{padding:6px 6px 6px 11px;gap:8px;font-size:11px;max-width:48%}
    .hero-wallet>span:not(.hero-wallet-plus){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .hero-wallet>svg{width:15px;height:15px;flex-shrink:0}
    .hero-wallet-plus{width:25px;height:25px;flex-shrink:0}
    .hero-wallet-plus svg{width:14px;height:14px}
    .hero-scene-bar{top:calc(91px + var(--hero-top-bleed,0px));left:23px;right:22px}
    .hero-scene-label{font-size:6px;letter-spacing:.15em;gap:7px}
    .hero-scene-label i{width:11px;height:11px}
    .hero-scene-label i::after{inset:2px}
    .catalog-hero .hero-content{margin:90px auto 0;max-width:540px;padding:0 23px 45px}
    .hero-signature{margin-bottom:15px;gap:14px}
    .hero-mark{width:42px;height:42px;border-radius:11px}
    .hero-signature>span:not(.hero-mark){width:29px}
    .catalog-hero .eyebrow{font-size:7px;letter-spacing:.23em;margin-bottom:11px}
    .catalog-hero h1{font-size:clamp(43px,12vw,64px);line-height:1.16;letter-spacing:-.065em;max-width:none}
    .catalog-hero .hero-tagline{font-size:18px;margin:12px 0 9px;max-width:none;line-height:1.45}
    .catalog-hero .hero-description{font-size:11px;line-height:1.8;max-width:290px;margin:0 auto;color:#b1c0a8}
    .hero-perks{margin:25px auto 24px;max-width:350px}
    .hero-perks>div{gap:9px;padding:0 12px}
    .hero-perks svg{width:20px;height:20px}
    .hero-perks span{font-size:9px;line-height:1.65}
    .catalog-hero .hero-bottom{gap:0}
    .catalog-hero .hero-cta{min-height:48px;width:100%;max-width:350px;padding:14px 19px;font-size:12px;border-radius:12px}
    .hero-scroll-hint{display:none}
    .hero-edition{left:24px;right:24px;bottom:16px;font-size:6px}
    .catalog-heading h2{font-size:25px}
    [data-route="catalog"] .demo-bar{position:relative;z-index:3;margin-top:15px}
    .admin-design-preview .catalog-hero h1{font-size:38px}
}
@media(max-width:370px){
    [data-route="catalog"] .main-content{--catalog-gutter:14px}
    .hero-topline{padding-inline:17px}
    .hero-greeting>span:last-child{font-size:10px}
    .hero-greeting-label{font-size:5px}
    .hero-greeting strong{max-width:93px}
    .hero-wallet{gap:6px;font-size:10px}
    .hero-wallet>svg{display:none}
    .hero-scene-bar{left:18px;right:17px}
    .catalog-hero .hero-content{padding-inline:18px}
    .catalog-hero h1{font-size:43px}
    .catalog-hero .hero-tagline{font-size:16px}
    .hero-perks>div{gap:6px;padding:0 8px}
    .hero-perks span{font-size:8px}
    .hero-perks svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
    .hero-scroll-hint>span::after{animation:none}
}
