*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

background:#090B12;

font-family:Inter,sans-serif;

color:white;

}

.container{

width:1400px;
max-width:95%;
margin:auto;

}

header{

padding:25px 0;

border-bottom:1px solid rgba(255,255,255,.06);

background:#090B12;

position:sticky;

top:0;

backdrop-filter:blur(20px);

z-index:100;

}

header .container{

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

font-size:34px;

font-weight:800;

letter-spacing:1px;

}

.logo span{

color:#5A7DFF;

}

nav{

display:flex;

gap:35px;

}

nav a{

color:#999;

text-decoration:none;

transition:.25s;

}

nav a:hover{

color:white;

}

.hero{

position:relative;

padding:120px 0;

overflow:hidden;

}

.hero-bg{

position:absolute;

width:700px;

height:700px;

background:#355cff;

filter:blur(220px);

opacity:.15;

right:-150px;

top:-250px;

}

.hero-grid{

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:80px;

}

.hero-tag{

display:inline-block;

padding:12px 20px;

background:#121826;

border-radius:50px;

color:#7da0ff;

margin-bottom:30px;

font-weight:600;

}

.hero h1{

font-size:78px;

line-height:1;

margin-bottom:30px;

}

.hero h1 b{

color:#5A7DFF;

}

.hero p{

font-size:22px;

color:#8e97ab;

margin-bottom:40px;

max-width:600px;

line-height:1.8;

}

.hero-search{

display:flex;

background:#111827;

padding:8px;

border-radius:18px;

margin-bottom:50px;

}

.hero-search input{

flex:1;

background:none;

border:none;

outline:none;

padding:18px;

color:white;

font-size:17px;

}

.hero-search button{

width:170px;

border:none;

border-radius:14px;

background:#5A7DFF;

color:white;

font-size:17px;

cursor:pointer;

}

.hero-stats{

display:flex;

gap:60px;

}

.hero-stats h2{

font-size:38px;

margin-bottom:8px;

}

.hero-stats span{

color:#8c94a8;

}

.hero-right{

position:relative;

display:flex;

justify-content:center;

}

.hero-image{

width:700px;

filter:drop-shadow(0 0 80px rgba(90,125,255,.4));

animation:float 6s ease-in-out infinite;

}

.floating-card{

position:absolute;

background:#121826;

padding:16px 24px;

border-radius:14px;

border:1px solid rgba(255,255,255,.05);

backdrop-filter:blur(20px);

font-weight:600;

}

.one{

top:40px;

left:30px;

}

.two{

bottom:100px;

right:20px;

}

.three{

top:220px;

right:-20px;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

100%{

transform:translateY(0);

}

}

.search{

display:flex;

width:650px;

background:#111827;

border-radius:18px;

padding:8px;

border:1px solid rgba(255,255,255,.05);

}

.search input{

flex:1;

background:none;

border:none;

outline:none;

color:white;

font-size:18px;

padding:16px;

}

.search button{

background:#5A7DFF;

border:none;

color:white;

padding:18px 35px;

border-radius:12px;

cursor:pointer;

font-size:17px;

transition:.25s;

}

.search button:hover{

transform:scale(1.04);

background:#7290ff;

}
.colors{

padding:30px 0 80px;

}

.colors h2{

font-size:30px;

margin-bottom:30px;

}

.color-grid{

display:grid;

grid-template-columns:repeat(7,1fr);

gap:20px;

}

.color-card{

background:#111827;

border:1px solid rgba(255,255,255,.05);

border-radius:20px;

padding:28px;

cursor:pointer;

transition:.25s;

display:flex;

align-items:center;

gap:15px;

font-size:20px;

font-weight:600;

}

.color-card:hover{

transform:translateY(-6px);

border-color:#5A7DFF;

box-shadow:0 15px 40px rgba(90,125,255,.15);

}

.color-card span{

width:22px;

height:22px;

border-radius:50%;

display:block;

}

.red span{

background:#ff4655;

}

.blue span{

background:#4b7cff;

}

.green span{

background:#43d17a;

}

.purple span{

background:#9b6cff;

}

.yellow span{

background:#ffc94a;

}

.white span{

background:white;

}

.black span{

background:#2b2b2b;

border:1px solid rgba(255,255,255,.15);

}

.weapons{

padding:90px 0;

}

.section-head{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:35px;

}

.section-head h2{

font-size:34px;

}

.section-head a{

text-decoration:none;

color:#5A7DFF;

font-weight:600;

}

.weapon-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(170px,1fr));

gap:22px;

}

.weapon-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:18px;

}

.weapon{

display:flex;

align-items:center;

gap:18px;

padding:18px;

background:linear-gradient(180deg,#121826,#0d111b);

border-radius:18px;

border:1px solid rgba(255,255,255,.05);

cursor:pointer;

transition:.25s;

}

.weapon:hover{

transform:translateY(-6px);

border-color:#5A7DFF;

box-shadow:0 20px 45px rgba(90,125,255,.15);

}

.weapon img{

width:95px;

height:70px;

object-fit:contain;

transition:.25s;

}

.weapon:hover img{

transform:scale(1.08);

}

.weapon h3{

font-size:19px;

margin-bottom:6px;

}

.weapon p{

color:#8d95a8;

font-size:14px;

}

.featured{

padding:100px 0;

}

.featured-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:30px;

}

.featured-card{

background:linear-gradient(180deg,#111827,#0c111d);

border:1px solid rgba(255,255,255,.05);

border-radius:26px;

padding:30px;

transition:.3s;

}

.featured-card:hover{

transform:translateY(-8px);

border-color:#5A7DFF;

box-shadow:0 20px 60px rgba(90,125,255,.15);

}

.featured-top{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:30px;

flex-wrap:wrap;

}

.featured-top h3{

width:100%;

margin-top:18px;

font-size:30px;

}

.featured-top p{

font-size:24px;

font-weight:700;

color:white;

margin-top:10px;

}

.badge{

background:#ff4655;

padding:8px 16px;

border-radius:999px;

font-size:13px;

font-weight:700;

}

.badge.blue{

background:#4b7cff;

}

.inventory{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:15px;

margin-bottom:30px;

}

.slot{

height:120px;

background:#090d16;

border-radius:18px;

display:flex;

align-items:center;

justify-content:center;

border:1px solid rgba(255,255,255,.04);

transition:.25s;

}

.slot:hover{

background:#141c2e;

}

.slot img{

width:90%;

object-fit:contain;

transition:.3s;

}

.slot:hover img{

transform:scale(1.08);

}

.view-btn{

display:inline-block;

padding:14px 24px;

background:#5A7DFF;

color:white;

text-decoration:none;

border-radius:14px;

font-weight:600;

transition:.25s;

}

.view-btn:hover{

background:#7290ff;

}

.set-card{

background:linear-gradient(180deg,#111827,#0d111b);

border-radius:26px;

padding:28px;

border:1px solid rgba(255,255,255,.05);

transition:
transform .15s ease,
box-shadow .15s ease,
border-color .15s ease;

}

.set-card:hover{

transform:translateY(-8px);

border-color:#5A7DFF;

box-shadow:0 25px 60px rgba(90,125,255,.18);

}

.set-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:30px;

}

.set-header h3{

font-size:32px;

margin-bottom:8px;

}

.set-header span{

color:#8f98ab;

}

.set-price{

font-size:34px;

font-weight:800;

color:#7da0ff;

}

.inventory-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:14px;

margin-bottom:28px;

}

.inv-slot{

background:#090d16;

height:120px;

border-radius:16px;

display:flex;

align-items:center;

justify-content:center;

border:1px solid rgba(255,255,255,.04);

transition:.25s;

overflow:hidden;

}

.inv-slot:hover{

background:#151d2d;

}

.inv-slot img{

width:95%;

transition:.25s;

}

.inv-slot:hover img{

transform:scale(1.08);

}

.set-footer{

display:flex;

justify-content:flex-end;

}

.set-footer button{

padding:14px 24px;

background:#5A7DFF;

border:none;

border-radius:14px;

color:white;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:.25s;

}

.set-footer button:hover{

background:#7091ff;

}

.sets{

padding:110px 0;

}

.sets-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:30px;

}

.sets-grid a{


  text-decoration: none;
  color: inherit;


}

.set{

background:#111827;

border-radius:26px;

padding:28px;

border:1px solid rgba(255,255,255,.05);

transition:
transform .15s ease,
box-shadow .15s ease,
border-color .15s ease;

}

.set:hover{

transform:translateY(-8px);

border-color:#5A7DFF;

box-shadow:0 25px 60px rgba(90,125,255,.15);

}

.set-top{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:25px;

}

.set-top h3{

font-size:28px;

}

.set-top span{

font-size:22px;

font-weight:700;

color:#5A7DFF;

}

.set-inventory{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:14px;

margin-bottom:25px;

}

.item{

height:110px;

background:#0a0f18;

border-radius:14px;

display:flex;

justify-content:center;

align-items:center;

transition:.25s;

}

.item:hover{

background:#1b2234;

}

.item img{

width:90%;

transition:.25s;

}

.item:hover img{

transform:scale(1.08);

}

.set button{

width:100%;

height:54px;

border:none;

border-radius:14px;

background:#5A7DFF;

color:white;

font-size:17px;

font-weight:600;

cursor:pointer;

transition:.25s;

}

.set button:hover{

background:#7393ff;

}

footer{

margin-top:140px;

border-top:1px solid rgba(255,255,255,.06);

background:rgba(8,10,16,.75);

backdrop-filter:blur(18px);

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:60px;

padding:80px 0;

}

.footer-logo{

font-size:34px;

font-weight:800;

margin-bottom:20px;

}

.footer-logo span{

color:#5A7DFF;

}

.footer-grid p{

color:#8b93a6;

line-height:1.8;

max-width:380px;

}

.footer-grid h4{

margin-bottom:20px;

font-size:18px;

}

.footer-grid a{

display:block;

margin-bottom:14px;

text-decoration:none;

color:#8b93a6;

transition:.25s;

}

.footer-grid a:hover{

color:white;

padding-left:6px;

}

.footer-bottom{

border-top:1px solid rgba(255,255,255,.06);

padding:25px 0;

color:#6f778c;

text-align:center;

}

.page{

padding:80px 0;

}

.page-title{

margin-bottom:70px;

}

.page-title h1{

font-size:60px;

margin-bottom:12px;

}

.page-title p{

font-size:20px;

color:#8c93a5;

}

.weapon-category{

margin-bottom:70px;

}

.weapon-category h2{

font-size:34px;

margin-bottom:25px;

}

.weapon-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(220px,1fr));

gap:22px;

}

.modal{

position:fixed;

left:0;
top:0;

width:100%;
height:100%;

background: rgba(8,10,18,.88);


display:none;

justify-content:center;

align-items:center;

z-index:9999;

}

.modal.active{

display:flex;

}

.modal-box{

width:1200px;

height:80vh;

background:#10151f;

border-radius:22px;

padding:30px;

overflow:auto;

}

.modal-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:25px;

}

#closeModal{

background:none;

border:none;

color:white;

font-size:30px;

cursor:pointer;

}

#skinSearch{

width:100%;

height:55px;

padding:0 20px;

border:none;

border-radius:12px;

background:#1a2231;

color:white;

margin-bottom:25px;

}

#skinsGrid{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:18px;

}

.weapon-info{

display:flex;

flex-direction:column;

gap:8px;

}

.weapon-skin{

font-size:14px;

color:#5A7DFF;

font-weight:500;

}

.weapon-skin.empty{

color:#6d7488;

}

.skin-card{

background:#151b28;

border:1px solid rgba(255,255,255,.05);

border-radius:18px;

padding:18px;

transition:.25s;

cursor:pointer;

overflow:hidden;

will-change:transform;

transform:translateZ(0);

backface-visibility:hidden;

}

.skin-card:hover{

transform:translate3d(0,-6px,0);

border-color:#5A7DFF;

box-shadow:

0 15px 35px rgba(0,0,0,.45),

0 0 18px rgba(90,125,255,.18);

}

.skin-card img{

width:100%;

transition:
transform .15s ease,
box-shadow .15s ease,
border-color .15s ease;

}

.skin-card:hover img{

transform:translateZ(0) scale(1.04);

}

.skin-card h3{

margin-top:15px;

font-size:20px;

}

.skin-price{

margin-top:10px;

color:#7fd18c;

font-weight:700;

font-size:18px;

}

.chooseSkin{

margin-top:18px;

width:100%;

height:46px;

border:none;

border-radius:12px;

background:#5A7DFF;

color:white;

font-weight:600;

cursor:pointer;

}

.badge{

display:inline-flex;

padding:6px 12px;

border-radius:20px;

background:#20293d;

font-size:13px;

margin-top:10px;

}

.covert{

color:#eb4dff;

}

.classified{

color:#d34dff;

}

.restricted{

color:#5a7dff;

}

.milspec{

color:#4aa3ff;

}

.skins-filters{

display:flex;
flex-direction:column;

gap:18px;

margin-bottom:35px;

}

.skins-filter-row{

display:flex;

align-items:center;

justify-content:center;

gap:50px;

}

.skins-colors{

display:flex;

align-items:center;

gap:12px;

}

.skins-qualities{

display:flex;

align-items:center;

gap:10px;

flex-wrap:wrap;

}

.skins-colors button{

width:38px;
height:38px;

border-radius:50%;

border:none;

cursor:pointer;

transition:.15s;

}

.skins-colors button.active{

outline:2px solid white;

}

.skins-qualities button{

height:38px;

padding:0 16px;

border:none;

border-radius:10px;

background:#1b2334;

color:#fff;

cursor:pointer;

transition:.15s;

}

.skins-qualities button.active{

background:#5A7DFF;

}

.skins-red{background:#ef4c4c;}
.skins-blue{background:#4d89ff;}
.skins-green{background:#45d66f;}
.skins-yellow{background:#f1cb43;}
.skins-purple{background:#8f4eff;}
.skins-white{background:#efefef;}
.skins-black{background:#333;}

/* TRYSKIN — STEAM PRICES */

.skin-card .skin-price {
    font-size: 19px;
    font-weight: 800;
    color: #72df9a;
    margin-top: 12px;
}

.skin-card .skin-rarity {
    font-size: 13px;
    color: #a3acc1;
    margin-top: 5px;
}

.skin-card .skin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.skin-card .skin-actions .chooseSkin {
    width: 100%;
    height: 44px;
    margin: 0;
    border: none;
    border-radius: 11px;
    background: #5879ff;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.inventory-summary .skin-steam-btn, .inventory-back .skin-steam-btn, .weapon-info .skin-steam-btn, .skin-card .skin-actions .skin-steam-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 44px;
    padding: 0 10px;

    border-radius: 11px;
    background: #242e40;
    border: 1px solid #35415a;

    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;

    transition: background .15s ease;
}

.inventory-summary .skin-steam-btn:hover, .inventory-back .skin-steam-btn:hover, .weapon-info .skin-steam-btn:hover, .skin-card .skin-actions .skin-steam-btn:hover {
    background: #34435e;
}

.skin-card .skin-actions .chooseSkin:hover {
    background: #6b89ff;
}

.skin-price {
    display: flex;
    align-items: baseline;
    gap: 5px;

    margin-top: 12px;

    color: #72df9a;
    font-size: 19px;
    font-weight: 800;
}

.price-from {
    font-size: 13px;
    font-weight: 500;
    color: #9ca8bc;
}

.price-unavailable {
    color: #778399;
    font-size: 13px;
    font-weight: 500;
}





























.inventory-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
    margin: 0 0 30px;
    border: 1px solid #252e40;
    border-radius: 14px;
    background: #10151f;
}
.inventory-summary p,
#inventoryShareStatus {
    margin: 4px 0 0;
    color: #8c93a5;
}
.inventory-summary a {
    margin-left: auto;
}
.weapon-info .skin-steam-btn {
    display: inline-block;
    margin-top: 8px;
}
.inventory-remove {
    margin-left: 8px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #aab2c3;
    cursor: pointer;
}
:root {
    --link-color: #a1b4ff;
    --focus-color: #a8bbff;
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 4px;
}

html { scroll-padding-top: 100px; }
body:has(dialog[open]) { overflow: hidden; }
.site-header { padding: 14px 0; background: #090b12ed; }
.site-header .container { gap: 14px; flex-wrap: wrap; }
.site-header .logo {
    font-size: clamp(22px, 4vw, 30px);
    color: white;
    text-decoration: none;
}
.site-header nav { gap: 8px; flex-wrap: wrap; }
.site-header nav a { padding: 8px 12px; border-radius: 9px; color: #c2cbe0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] {
    color: #fff;
    background: #182135;
}

.home .hero { padding: clamp(52px, 10vw, 125px) 0; }
.home .hero-bg { pointer-events: none; }
.home .hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 6vw, 80px);
}
.home .hero h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.04; margin-bottom: 22px; }
.home .hero h1 b { color: #7896ff; }
.home .hero p { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.55; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.action-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 19px;
    background: #3559db;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color .18s;
}
.action-primary:hover { background: #4667ea; }
.text-link, .home .section-head a { color: var(--link-color); text-underline-offset: 4px; }
.text-link:hover, .home .section-head a:hover { color: #e1e8ff; text-decoration: underline; }
.home .hero-right { display: grid; justify-items: center; }
.home .hero-image { width: min(100%, 660px); animation: none; }
.home figcaption { padding-top: 10px; color: #aab4cd; font-size: 14px; }
.home-section { margin-bottom: clamp(48px, 8vw, 100px); }
.home .section-head { gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.home .section-head h2 { font-size: clamp(25px, 4vw, 34px); }
.home .color-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.home .color-card, .weapon-shortcut, .home .inspiration { text-decoration: none; color: #fff; }
.home .color-card { padding: 14px; font-size: 16px; }
.home .color-card span { flex: 0 0 16px; height: 16px; }
.home .sets-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.home .set-inventory { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home .inspiration { display: block; }
.home .inspiration .text-link { display: inline-block; margin-top: 14px; }

.site-footer { margin-top: 40px; }
.site-footer .footer-grid { grid-template-columns: 1fr auto; gap: 25px; padding: 34px 0; }
.site-footer .footer-brand { display: inline-block; margin-bottom: 8px; color: white; font-weight: 800; }
.footer-brand span { color: #7896ff; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .footer-links a { margin: 0; }
.site-footer a:hover { padding-left: 0; text-decoration: underline; text-underline-offset: 4px; }

.inventory-page.page { padding: clamp(32px, 6vw, 72px) 0; }
.inventory-page .page-title { margin-bottom: 24px; }
.inventory-page .page-title h1 { font-size: clamp(32px, 6vw, 56px); }
.inventory-page .page-title p { font-size: clamp(16px, 3vw, 20px); }
.inventory-preset { margin-bottom: 16px; color: #c2cbe0; }
.inventory-preset a { margin-left: 8px; }
.category-nav { flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.category-nav a { color: #c2cbe0; padding: 7px 12px; border: 1px solid #253047; border-radius: 9px; }
.category-nav a:hover { color: white; background: #182135; border-color: #607dd9; }
.weapon-category h2 { font-size: clamp(23px, 4vw, 34px); }
.weapon-category { margin-bottom: clamp(30px, 6vw, 65px); }
.inventory-page .weapon-grid, .home .weapon-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
    gap: 14px;
}
.inventory-page .weapon { align-items: flex-start; position: relative; cursor: default; min-width: 0; }
.weapon-info { min-width: 0; overflow-wrap: anywhere; }
.inventory-page .weapon img, .home .weapon img { flex: 0 0 auto; width: clamp(62px, 8vw, 95px); }
.weapon-open {
    font: inherit;
    text-align: left;
    color: inherit;
    background: transparent;
    padding: 0;
    border: 0;
    cursor: pointer;
}
.weapon-open::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.weapon-open:focus-visible { outline: none; }
.weapon-open:focus-visible::after { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.weapon-editable .skin-steam-btn, .weapon-editable .inventory-remove { position: relative; z-index: 1; }
.inventory-remove:hover { color: white; text-decoration: underline; }

dialog.modal {
    margin: auto;
    max-width: none;
    max-height: none;
    border: 0;
    color: white;
    background: transparent;
}
dialog.modal[open] { display: flex; }
dialog.modal::backdrop { background: rgba(8, 10, 18, .88); }
dialog.modal .modal-box {
    width: min(1200px, calc(100% - 24px));
    height: min(82vh, 780px);
    padding: clamp(14px, 3vw, 26px);
}
dialog.modal .modal-header { gap: 16px; }
dialog.modal .modal-header h2 { font-size: clamp(21px, 4vw, 29px); }
dialog.modal #closeModal { border-radius: 8px; padding: 0 10px; }
dialog.modal #closeModal:hover { background: #253047; }
dialog.modal #skinSearch { margin-bottom: 0; }
dialog.modal .skins-filter-row { justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
dialog.modal .skins-colors { flex-wrap: wrap; gap: 8px; }
dialog.modal .skins-colors button { width: 32px; height: 32px; }
dialog.modal .skins-colors button:first-child { width: auto; padding: 0 12px; background: #1b2334; color: white; border-radius: 9px; }
dialog.modal .skins-colors button[aria-pressed="true"] { outline: 2px solid var(--focus-color); outline-offset: 2px; }
dialog.modal .skins-qualities button[aria-pressed="true"] { background: #3559db; }
dialog.modal #skinsGrid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
    gap: 12px;
}
dialog.modal .skin-card { display: flex; flex-direction: column; }
dialog.modal .skin-card[hidden] { display: none; }
dialog.modal .skin-actions { flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
dialog.modal #catalogStatus { color: #b9c5df; margin-bottom: 15px; }

.home .weapon-shortcut:hover, .home .color-card:hover,
.home .inspiration:hover, .inventory-page .weapon:hover,
dialog.modal .skin-card:hover {
    transform: none;
    border-color: #607dd9;
    box-shadow: 0 4px 18px #0004;
}
.inventory-page .weapon:hover img, .home .weapon:hover img,
dialog.modal .skin-card:hover img { transform: none; }

@media (max-width: 720px) {
    .home .hero-grid { grid-template-columns: 1fr; }
    .home .hero-image { max-width: 420px; }
    .site-footer .footer-grid { grid-template-columns: 1fr; }
    .inventory-summary a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header a, .home a, .home img, .inventory-page .weapon,
    .inventory-page img, dialog.modal .skin-card, dialog.modal img,
    dialog.modal button { animation: none; transition: none; }
}



.archive-page .page-title { margin-bottom: 30px; }
.archive-page h1 { overflow-wrap: anywhere; font-size: clamp(32px, 6vw, 56px); }
.archive-page .weapon-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.archive-detail {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    padding: clamp(16px, 4vw, 40px);
    gap: 24px;
    background: #10151f;
    border: 1px solid #253047;
    border-radius: 18px;
}
.archive-detail img { width: 100%; height: 230px; object-fit: contain; }
.archive-detail p { color: #b9c5df; margin-bottom: 10px; }
.archive-detail .hero-actions { margin-top: 20px; }

.inventory-page .weapon {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    padding: 14px;
}
.weapon-profile {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
}
.inventory-page .weapon-profile img { width: 72px; height: 54px; }
.weapon-profile .weapon-info { gap: 4px; }
.weapon-profile h3 { margin: 0; }
.weapon-profile .weapon-skin { line-height: 1.35; }
.weapon-footer {
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
    padding-top: 8px;
    border-top: 1px solid #ffffff12;
}
.inventory-page .weapon-price {
    display: inline-flex;
    gap: 5px;
    align-items: baseline;
    white-space: nowrap;
    color: #e1e8f8;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.weapon-price-history { color: #aab4cd; }
.inventory-page .weapon-price-pending { color: #aab4cd; font-size: 13px; }
.weapon-links { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.weapon-links:empty { display: none; }
.weapon-links .weapon-steam,
.weapon-links .inventory-remove {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font: 500 13px/1.2 Inter, sans-serif;
    text-decoration: none;
}
.weapon-links .weapon-steam { color: var(--link-color); }
.weapon-links .weapon-steam:hover { color: #fff; text-decoration: underline; }
.weapon-links .inventory-remove:hover { text-decoration: underline; }

.home-guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 14px;
    margin-bottom: 22px;
    list-style: none;
}
.home-guide-steps li {
    padding: 18px;
    border: 1px solid #253047;
    border-radius: 14px;
    background: #10151f;
}
.home-guide-steps h3 { font-size: 18px; margin-bottom: 8px; }
.home-guide-steps p, .home-questions details p { color: #b9c5df; line-height: 1.6; }
.home-questions details { border-bottom: 1px solid #253047; }
.home-questions summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
.home-questions summary:hover, .home-questions summary:focus-visible { color: var(--link-color); }
.home-questions details p { padding-bottom: 12px; max-width: 72ch; }

.sets-page.page { padding: clamp(36px, 8vw, 85px) 0; }
.sets-page .page-title { margin-bottom: 28px; }
.sets-page .page-title h1 { font-size: clamp(34px, 6vw, 58px); }
.sets-page .page-title p { max-width: 62ch; line-height: 1.5; }
.sets-page .hero-actions { margin-top: 26px; }
.home .set-link-color { color: #b9c5df; font-weight: 400; }
.home .inspiration a.text-link { margin-top: 0; }
