:root{
  --bg:#07090b;
  --panel:#0d1115;
  --panel2:#12171c;
  --text:#f5f7fa;
  --muted:#a9b1bc;
  --line:#2b3138;
  --red:#ff3431;
  --red2:#d71918;
  --gold:#ffc648;
  --shadow:0 22px 80px rgba(0,0,0,.45);
  --shell:1536px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-width:320px;background:#07090b;color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}
a{color:inherit}
button,input{font:inherit}
.shell{width:min(var(--shell),calc(100% - 72px));margin-inline:auto}
.icon{width:1.25em;height:1.25em;display:block;flex:none}
.site-bg{position:fixed;inset:0;z-index:-4;background:linear-gradient(rgba(3,5,7,.86),rgba(5,7,9,.92)),url('../img/page-bg.webp') center/cover no-repeat;transform:scale(1.05)}
.site-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgba(255,42,36,.08),transparent 34%),linear-gradient(90deg,rgba(0,0,0,.72),transparent 25%,transparent 75%,rgba(0,0,0,.65));}
.ember-field{position:fixed;inset:0;z-index:20;pointer-events:none;overflow:hidden;mix-blend-mode:screen;opacity:.45}
.ember-field i{position:absolute;left:var(--x);bottom:-15px;width:var(--s);height:var(--s);border-radius:50%;background:#ff4a2f;box-shadow:0 0 8px #ff2f1e;animation:ember var(--d) linear infinite;animation-delay:var(--delay)}
@keyframes ember{0%{transform:translate3d(0,0,0) scale(.6);opacity:0}12%{opacity:1}100%{transform:translate3d(var(--drift),-115vh,0) scale(0);opacity:0}}

.topbar{height:64px;position:sticky;top:0;z-index:100;background:rgba(6,8,10,.91);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(16px)}
.topbar__inner{height:100%;display:flex;align-items:center;gap:28px}
.brand{text-decoration:none;font-size:28px;line-height:1;font-weight:950;letter-spacing:-1.1px;white-space:nowrap}.brand span{color:var(--red)}
.main-nav{display:flex;align-items:center;justify-content:center;gap:31px;margin-left:auto}
.main-nav a{position:relative;text-decoration:none;font-weight:850;font-size:13px;letter-spacing:.01em;color:#f1f1f1;transition:.2s ease}
.main-nav a:hover{color:#fff;text-shadow:0 0 18px rgba(255,58,52,.5)}
.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-21px;height:2px;background:var(--red);box-shadow:0 0 12px var(--red)}
.top-actions{display:flex;align-items:center;gap:16px;margin-left:16px}
.user-chip{height:42px;padding:5px 13px 5px 6px;display:flex;align-items:center;gap:9px;border:1px solid #333940;border-radius:999px;background:#11151a;font-size:13px}
.user-chip img,.user-chip__avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#e98139,#9c2d22);border:1px solid rgba(255,255,255,.28);font-weight:900}
.play-button{height:44px;padding:0 24px;border-radius:5px;border:1px solid #e92c29;background:linear-gradient(180deg,rgba(130,15,15,.85),rgba(88,8,8,.76));display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;letter-spacing:.01em;box-shadow:inset 0 0 25px rgba(255,0,0,.09);transition:.2s ease;white-space:nowrap}
.play-button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#c91d1b,#8f0e0d);box-shadow:0 8px 30px rgba(255,41,34,.25)}
.play-triangle{font-size:14px}
.nav-toggle{display:none;background:none;border:0;padding:5px;cursor:pointer}.nav-toggle span{display:block;width:24px;height:2px;margin:5px;background:#fff}

.hero{position:relative;min-height:256px;border-bottom:1px solid rgba(255,255,255,.04);overflow:hidden}
.hero__media{position:absolute;inset:0;z-index:0;background:#0a0b0d;overflow:hidden}
.hero__media img{position:absolute;right:-1%;top:-9%;width:72%;height:118%;object-fit:cover;object-position:center;filter:saturate(1.08) contrast(1.04);animation:heroDrift 18s ease-in-out infinite alternate;will-change:transform}
@keyframes heroDrift{from{transform:scale(1.035) translate3d(0,0,0)}to{transform:scale(1.085) translate3d(-1.2%,.6%,0)}}
.hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,#07090b 0%,rgba(7,9,11,.98) 27%,rgba(7,9,11,.72) 49%,rgba(7,9,11,.12) 78%),linear-gradient(0deg,rgba(7,9,11,.48),rgba(7,9,11,.04) 60%)}
.hero__content{position:relative;z-index:2;padding:30px 0 22px}
.hero-copy{max-width:760px}
.eyebrow{font-size:13px;font-weight:950;letter-spacing:.34em;color:var(--red);margin-bottom:5px}
.hero h1{margin:0;font-size:54px;line-height:.96;letter-spacing:-2.3px;font-weight:950}.hero h1 span{color:var(--red)}
.hero-copy>p{margin:10px 0 0;color:#bec5cf;font-size:17px}
.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:26px;max-width:820px}
.benefit{display:flex;align-items:center;gap:13px;min-width:0}
.benefit__icon{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,52,49,.4);background:rgba(255,46,42,.06);color:#ff514d;display:grid;place-items:center;box-shadow:inset 0 0 20px rgba(255,52,49,.06),0 0 24px rgba(255,52,49,.04)}
.benefit__icon .icon{width:23px;height:23px}
.benefit strong,.benefit small{display:block}.benefit strong{font-size:13px}.benefit small{margin-top:2px;color:#a9b0ba;font-size:11px;white-space:nowrap}

.shop-section{position:relative;padding:22px 0 48px}.shop-section:before{content:"";position:absolute;left:0;right:0;top:0;height:100%;background:radial-gradient(circle at 50% 10%,rgba(255,20,18,.05),transparent 32%);pointer-events:none}
.steam-status{margin:0 0 14px;padding:10px 14px;border:1px solid #28313a;background:#0d1217;border-radius:10px;color:#aeb7c2;font-size:13px}.steam-status strong{color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.product-card{--rx:0deg;--ry:0deg;position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #343a42;border-radius:12px;background:linear-gradient(180deg,rgba(17,22,27,.98),rgba(8,11,14,.985));overflow:visible;box-shadow:var(--shadow);transform:perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);transition:transform .2s ease,border-color .25s ease,box-shadow .25s ease;isolation:isolate}
.product-card:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.045),transparent 35%);z-index:3}
.product-card:hover{border-color:#525a64;box-shadow:0 24px 75px rgba(0,0,0,.58),0 0 26px rgba(255,48,42,.08)}
.product-card--featured{border-color:#ff3a34;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 24px rgba(255,45,40,.28),inset 0 0 30px rgba(255,35,32,.04)}
.product-card--featured:hover{box-shadow:0 24px 80px rgba(0,0,0,.62),0 0 38px rgba(255,45,40,.38)}
.product-card--elite{border-color:#72531b;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 26px rgba(255,190,55,.08)}
.product-card--elite:hover{border-color:#b57d20;box-shadow:0 24px 80px rgba(0,0,0,.62),0 0 32px rgba(255,186,45,.16)}
.product-card__media{position:relative;height:190px;overflow:hidden;border-radius:11px 11px 0 0;background:#111}
.product-card__media img{width:100%;height:100%;object-fit:cover;transform:scale(1.045);animation:cardDrift 14s ease-in-out infinite alternate;transition:transform .6s ease;will-change:transform}
.product-card:nth-child(2) .product-card__media img{animation-duration:17s;animation-direction:alternate-reverse}
.product-card:nth-child(3) .product-card__media img{animation-duration:19s}
.product-card:hover .product-card__media img{transform:scale(1.10)}
@keyframes cardDrift{from{transform:scale(1.05) translate3d(-1%,0,0)}to{transform:scale(1.11) translate3d(1.5%,-1%,0)}}
.product-card__mediaShade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(9,12,15,.24) 62%,#0e1216 100%),linear-gradient(90deg,rgba(0,0,0,.06),transparent 70%)}
.product-card--featured .product-card__mediaShade{background:linear-gradient(180deg,transparent 25%,rgba(88,0,0,.1) 62%,#101215 100%)}
.product-card--elite .product-card__mediaShade{background:linear-gradient(180deg,transparent 25%,rgba(86,54,0,.06) 60%,#101215 100%)}
.popular-badge{position:absolute;z-index:8;top:-13px;left:50%;transform:translateX(-50%);height:34px;padding:0 18px;border-radius:7px;display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#ff433f,#d51c1a);color:#fff;font-size:11px;font-weight:950;white-space:nowrap;box-shadow:0 8px 24px rgba(255,40,35,.35)}
.popular-badge .icon{width:15px;height:15px}
.product-card__body{display:flex;flex-direction:column;flex:1;padding:0 24px 21px;margin-top:-27px;position:relative;z-index:4}
.product-heading{display:flex;align-items:center;gap:16px;margin-bottom:13px}
.rank-icon{width:56px;height:56px;border-radius:10px;display:grid;place-items:center;color:#ff5a55;background:rgba(255,43,40,.12);border:1px solid rgba(255,53,49,.78);box-shadow:0 0 20px rgba(255,48,42,.22)}
.rank-icon .icon{width:29px;height:29px;fill:rgba(255,61,58,.05)}
.product-card--elite .rank-icon{color:#ffd14a;border-color:#b98620;background:rgba(255,186,35,.09);box-shadow:0 0 20px rgba(255,191,42,.15)}
.product-heading h2{margin:0;font-size:32px;line-height:1;font-weight:950;letter-spacing:-1px}.product-heading p{margin:4px 0 0;color:#c0c5cc;font-size:14px}
.product-card--elite .product-heading h2{color:#fff}
.product-description{margin:0 0 7px;min-height:43px;color:#c5cbd3;font-size:14px;line-height:1.55}
.price{font-size:34px;line-height:1;font-weight:950;color:var(--red);letter-spacing:-.7px;margin:2px 0 14px}.price:after{content:"";display:block;width:42px;height:2px;margin-top:10px;background:var(--red);box-shadow:0 0 10px rgba(255,50,45,.4)}
.perk-list{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:9px;min-height:146px}
.perk-list li{display:flex;align-items:flex-start;gap:10px;color:#d1d6dc;font-size:13px;line-height:1.25}.perk-icon{color:#ff4d48;margin-top:-1px}.perk-icon .icon{width:17px;height:17px}
.product-card--elite .perk-icon{color:#ffc94f}
.buy-form{margin-top:auto}.buy-form label{display:block;color:#b9c0ca;font-size:12px;margin-bottom:6px}.field-wrap{height:44px;display:flex;align-items:center;border:1px solid #343b44;border-radius:6px;background:#080b0e;transition:.2s ease}.field-wrap:focus-within{border-color:#606b76;box-shadow:0 0 0 3px rgba(255,255,255,.035)}
.field-icon{width:18px;height:18px;margin-left:15px;color:#a8b3c0}.field-wrap input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:#fff;padding:0 14px;font-size:13px}.field-wrap input::placeholder{color:#7c8794}
.buy-button{width:100%;height:50px;margin-top:12px;border:1px solid #ff4844;border-radius:6px;background:linear-gradient(180deg,#ff352f,#dc1f1c);color:#fff;font-weight:950;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.16),0 8px 26px rgba(215,22,19,.17);transition:.2s ease}.buy-button:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 10px 30px rgba(235,31,27,.28)}.buy-button:active{transform:translateY(0)}.buy-button .icon{width:20px;height:20px}.buy-button.is-loading{opacity:.82;cursor:wait}
.form-message{min-height:16px;margin-top:6px;color:#ff706c;font-size:11px}.has-error .field-wrap{border-color:#e83a36;box-shadow:0 0 0 3px rgba(232,58,54,.08)}

.reveal{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}.reveal.is-visible{opacity:1;transform:none}.product-card:nth-child(2).reveal{transition-delay:.07s}.product-card:nth-child(3).reveal{transition-delay:.14s}

@media (max-width:1280px){
  .shell{width:min(1180px,calc(100% - 44px))}.main-nav{gap:18px}.main-nav a{font-size:12px}.user-chip{display:none}.hero__media img{width:78%}.product-card__body{padding-left:18px;padding-right:18px}.product-description{min-height:64px}.perk-list{min-height:184px}
}
@media (max-width:1050px){
  .nav-toggle{display:block;margin-left:auto}.main-nav{position:fixed;left:0;right:0;top:64px;display:none;flex-direction:column;align-items:stretch;gap:0;background:rgba(8,10,12,.98);border-bottom:1px solid #2a2e34;padding:14px 24px}.nav-open .main-nav{display:flex}.main-nav a{padding:13px 0;font-size:13px}.main-nav a.active:after{display:none}.top-actions{margin-left:0}.user-chip{display:none}.play-button{padding:0 16px}.hero{min-height:320px}.hero__media img{width:100%;height:100%;right:0;top:0;opacity:.48}.hero__shade{background:linear-gradient(90deg,#07090b 0%,rgba(7,9,11,.92) 45%,rgba(7,9,11,.42) 100%)}.product-grid{grid-template-columns:1fr 1fr}.product-card--elite{grid-column:1/-1;max-width:700px;width:100%;justify-self:center}.perk-list,.product-description{min-height:unset}
}
@media (max-width:760px){
  .shell{width:calc(100% - 28px)}.topbar{height:58px}.brand{font-size:24px}.main-nav{top:58px}.topbar__inner{gap:12px}.play-button{height:40px;padding:0 12px;font-size:12px}.play-triangle{font-size:11px}.hero__content{padding:27px 0 24px}.hero h1{font-size:44px}.hero-copy>p{font-size:15px;line-height:1.45}.benefits{grid-template-columns:1fr;gap:12px;margin-top:20px}.benefit__icon{width:39px;height:39px}.benefit small{white-space:normal}.shop-section{padding-top:16px}.product-grid{grid-template-columns:1fr;gap:22px}.product-card--elite{grid-column:auto}.product-card__media{height:180px}.product-card__body{padding:0 17px 18px;margin-top:-22px}.rank-icon{width:50px;height:50px}.product-heading h2{font-size:29px}.price{font-size:31px}.popular-badge{top:-11px}.reveal{transform:translateY(10px)}
}
@media (max-width:430px){.play-button{font-size:0;width:44px;padding:0;justify-content:center}.play-button .play-triangle{font-size:14px}.hero h1{font-size:39px}.eyebrow{font-size:11px}.product-card__media{height:160px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.hero__media img,.product-card__media img,.ember-field i{animation:none!important}.reveal{opacity:1;transform:none;transition:none}.product-card{transform:none!important;transition:none}}

/* Rustoria Shop Editor v2 — dodatkowe warianty kart */
.product-card--orange{border-color:#9a571e;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 25px rgba(255,138,40,.12)}
.product-card--orange .rank-icon,.product-card--orange .perk-icon,.product-card--orange .price{color:#ff8a28}.product-card--orange .rank-icon{border-color:#bf6a23;background:rgba(255,138,40,.08)}.product-card--orange .price:after{background:#ff8a28}
.product-card--purple{border-color:#6840a2;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 25px rgba(159,92,255,.12)}
.product-card--purple .rank-icon,.product-card--purple .perk-icon,.product-card--purple .price{color:#a66cff}.product-card--purple .rank-icon{border-color:#7b50b7;background:rgba(159,92,255,.08)}.product-card--purple .price:after{background:#9f5cff}
.product-card--blue{border-color:#276da1;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 25px rgba(58,160,255,.12)}
.product-card--blue .rank-icon,.product-card--blue .perk-icon,.product-card--blue .price{color:#51adff}.product-card--blue .rank-icon{border-color:#307fba;background:rgba(58,160,255,.08)}.product-card--blue .price:after{background:#3aa0ff}
.product-card--green{border-color:#287c48;box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 25px rgba(53,208,111,.12)}
.product-card--green .rank-icon,.product-card--green .perk-icon,.product-card--green .price{color:#43df7e}.product-card--green .rank-icon{border-color:#32965a;background:rgba(53,208,111,.08)}.product-card--green .price:after{background:#35d06f}
