/* =============================================================
   CSGOSKINS — shared design system
   Blue theme, pixel-perfect reproduction of the reference.
   ============================================================= */

:root {
    /* Backgrounds */
    --bg:              #4a6fa5;   /* page background (muted blue) */
    --bg-2:            #3f5f8f;
    --panel:          #2f4d78;   /* panels / rows */
    --panel-2:        #274064;
    --card:           #2c4a74;   /* case card */
    --card-top:       #35578a;
    --header-bg:      #1f3a5f;
    --header-top:     #16294a;
    --footer-bg:      #16294a;

    /* Accents */
    --accent:         #3d8bfd;   /* primary blue button */
    --accent-hover:   #2f7bea;
    --accent-2:       #1fb6ff;   /* cyan (logo dot) */
    --green:          #37c871;
    --gold:           #ffb43b;
    --red:            #e8543f;

    /* Text */
    --text:           #eaf1fb;
    --text-dim:       #a9c0e0;
    --text-mute:      #7f9bc4;
    --line:           rgba(255,255,255,.08);

    /* Metrics */
    --container:      1240px;
    --radius:         8px;
    --radius-lg:      12px;
    --gap:            14px;
    --shadow:         0 6px 18px rgba(0,0,0,.28);
    --shadow-sm:      0 2px 6px rgba(0,0,0,.2);

    --font: "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.hidden { display: none !important; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
    background: linear-gradient(180deg, var(--header-top), var(--header-bg));
    border-bottom: 1px solid rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 60px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .5px;
    white-space: nowrap;
}
.logo .logo-img { height: 26px; width: auto; }
.logo .logo-text { color: #fff; }
.logo .logo-dot { color: var(--accent-2); }

/* Primary nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.main-nav a {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--text-dim);
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--accent-2);
    border-radius: 2px;
    margin-top: 6px;
}

/* Search */
.header-search {
    flex: 0 1 260px;
    position: relative;
}
.header-search input {
    width: 100%;
    height: 36px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
    padding: 0 12px 0 34px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border .15s;
}
.header-search input:focus { border-color: var(--accent); }
.header-search input::placeholder { color: var(--text-mute); }
.header-search .search-ico {
    position: absolute;
    left: 11px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-mute);
    width: 15px; height: 15px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,.25);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}
.lang-switch a {
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-mute);
    transition: background .15s, color .15s;
}
.lang-switch a.active { background: var(--accent); color: #fff; }
.lang-switch a:hover:not(.active) { color: #fff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    transition: transform .12s, background .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(61,139,253,.35); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-green { background: var(--green); color: #063; }
.btn-green:hover { filter: brightness(1.06); }

.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; }
.burger:hover { background: rgba(255,255,255,.08); }
.burger span { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* =============================================================
   HERO BANNER (Road Trip)
   ============================================================= */
.hero {
    margin-top: 18px;
}
.hero-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 230px;
    box-shadow: var(--shadow);
    background: #cbb79a;
    display: flex;
    align-items: center;
}
.hero-banner img.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
}
.hero-title {
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0 rgba(120,70,30,.6), 0 6px 18px rgba(0,0,0,.35);
    line-height: .95;
    font-style: italic;
}
.hero-sub { color: #fff; margin: 8px 0 16px; font-weight: 600; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.hero .btn-primary { height: 44px; padding: 0 26px; font-size: 14px; }

/* Row of event cases just under hero */
.event-row {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap);
}

/* =============================================================
   HALF BANNERS (Sandstorm / Summer)
   ============================================================= */
.half-banners {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}
.half-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 120px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: transform .15s;
}
.half-banner:hover { transform: translateY(-2px); }
.half-banner img.hb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.half-banner .hb-text {
    position: relative;
    z-index: 2;
    height: 82px;
    margin-left: 22px;
    width: auto;
}

/* =============================================================
   SUMMER SALE FILTER BANNER
   ============================================================= */
.sale-bar {
    margin-top: 16px;
    background: linear-gradient(90deg, #2fa8e0, #6fd0f0);
    border-radius: var(--radius-lg);
    height: 74px;
    display: flex;
    align-items: center;
    padding: 0 26px;
    color: #063a52;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}
.sale-bar .sale-title { font-size: 26px; font-weight: 900; font-style: italic; letter-spacing: 1px; color: #fff; text-shadow: 1px 2px 0 rgba(0,80,120,.4); }
.sale-bar .sale-sub { margin-left: 16px; font-weight: 600; color: #063a52; opacity: .9; }
.sale-bar .btn { margin-left: auto; }

/* Toolbar / filters */
.filters {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--panel-2);
    border-radius: var(--radius);
    padding: 12px;
}
.filters select, .filters .filter-search {
    height: 38px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
    color: var(--text);
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}
.filters .filter-search { flex: 1; min-width: 180px; }
.filters select:focus, .filters .filter-search:focus { border-color: var(--accent); }

/* =============================================================
   SECTION TITLES
   ============================================================= */
.section {
    margin-top: 30px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}
.section-head h2 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}
.section-head::before, .section-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 0 18px;
}

/* =============================================================
   CASE GRID + CARDS
   ============================================================= */
.case-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gap);
}
.case-card {
    background: linear-gradient(180deg, var(--card-top), var(--card));
    border-radius: var(--radius);
    padding: 14px 10px 12px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,.05);
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s;
    cursor: pointer;
    overflow: hidden;
}
.case-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,0,0,.4);
    border-color: rgba(61,139,253,.5);
}
.case-card::before {
    content: "";
    position: absolute;
    left: 50%; top: 20%;
    width: 120px; height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(61,139,253,.25), transparent 70%);
    opacity: 0;
    transition: opacity .16s;
    pointer-events: none;
}
.case-card:hover::before { opacity: 1; }
.case-thumb {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.case-thumb img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.4));
    transition: transform .16s;
}
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative; z-index: 1;
}
.case-price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.28);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    position: relative; z-index: 1;
    transition: background .16s;
}
.case-card:hover .case-price { background: var(--accent); }
.case-price.free { color: var(--green); }
.case-card:hover .case-price.free { color: #fff; background: var(--green); }

/* Tags */
.case-tag {
    position: absolute;
    top: 8px; left: 8px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 3px 7px;
    border-radius: 4px;
    color: #fff;
    z-index: 2;
    text-transform: uppercase;
}
.case-tag.hot   { background: var(--red); }
.case-tag.new   { background: var(--accent); }
.case-tag.sale  { background: var(--gold); color: #4a2c00; }
.case-tag.free  { background: var(--green); color: #063; }
.case-tag.event { background: #8a5cf6; }

/* =============================================================
   LIMITED OFFER SECTION (Route 66)
   ============================================================= */
.offer {
    margin-top: 36px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}
.offer-media { position: relative; min-height: 300px; }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 34px 34px; display: flex; flex-direction: column; justify-content: center; }
.offer-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--gold);
    color: #4a2c00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.offer-body h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.offer-body p { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; max-width: 420px; }
.offer-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.offer-features li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; }
.offer-features li::before { content: "✓"; color: var(--green); font-weight: 900; }
.offer-body .btn-primary { align-self: flex-start; height: 46px; padding: 0 30px; font-size: 14px; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    margin-top: 48px;
    background: var(--footer-bg);
    padding: 40px 0 26px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--text-mute); font-size: 13px; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
    border-radius: 8px;
    color: var(--text-dim);
    transition: background .15s, color .15s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 12px; letter-spacing: 1px; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--text-mute); font-size: 13px; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.payment-methods { display: flex; gap: 8px; margin-top: 10px; }
.payment-methods span {
    background: rgba(255,255,255,.9);
    color: #16294a;
    font-size: 10px; font-weight: 800;
    padding: 4px 8px; border-radius: 4px;
}
.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-mute);
    font-size: 12px;
}

/* =============================================================
   LOGIN MODAL (ggdrop)
   ============================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,14,28,.72);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: #0f1e33;
    border-radius: 14px;
    width: 100%;
    max-width: 660px;
    padding: 48px 40px 44px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    transform: translateY(14px) scale(.98);
    transition: transform .22s;
    text-align: center;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 16px; right: 18px;
    width: 30px; height: 30px;
    color: #8aa0c0;
    font-size: 22px;
    line-height: 1;
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 34px;
}
.modal-logo .c-white { color: #fff; }
.modal-logo .c-dot { color: var(--accent-2); }
.modal-checks { text-align: left; max-width: 400px; margin: 0 auto 28px; display: flex; flex-direction: column; gap: 16px; }
.modal-check { display: flex; align-items: flex-start; gap: 12px; color: #cdd9ec; font-size: 15px; }
.modal-check input {
    width: 22px; height: 22px;
    accent-color: var(--accent);
    flex: 0 0 auto;
    margin-top: 1px;
    cursor: pointer;
}
.modal-check a { color: var(--accent); }
.modal-check a:hover { text-decoration: underline; }
.modal-login-btn {
    width: 100%;
    max-width: 400px;
    height: 56px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .15s, transform .12s;
}
.modal-login-btn:hover { background: var(--accent-hover); }
.modal-login-btn:active { transform: translateY(1px); }
.modal-login-btn svg { width: 20px; height: 20px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
    .case-grid { grid-template-columns: repeat(5, 1fr); }
    .main-nav a { padding: 8px 9px; }
}
@media (max-width: 900px) {
    .case-grid { grid-template-columns: repeat(4, 1fr); }
    .event-row { grid-template-columns: repeat(3, 1fr); }
    .offer { grid-template-columns: 1fr; }
    .offer-media { min-height: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-search { display: none; }
    .main-nav { display: none; }
    .burger { display: flex; }
    .main-nav.open {
        display: flex;
        position: absolute;
        top: 60px; left: 0; right: 0;
        flex-direction: column;
        background: var(--header-bg);
        padding: 10px;
        gap: 2px;
        border-bottom: 1px solid rgba(0,0,0,.3);
    }
    .main-nav.open a { width: 100%; }
}
@media (max-width: 640px) {
    .case-grid { grid-template-columns: repeat(3, 1fr); }
    .half-banners { grid-template-columns: 1fr; }
    .hero-banner { height: 170px; }
    .hero-title { font-size: 36px; }
    .hero-content { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .sale-bar { flex-wrap: wrap; height: auto; padding: 14px; gap: 8px; }
    .sale-bar .btn { margin-left: 0; }
    .modal { padding: 36px 22px 30px; }
    .modal-logo { font-size: 30px; }
}
@media (max-width: 440px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .event-row { grid-template-columns: repeat(2, 1fr); }
}

/* Disabled login button (grey until both checkboxes checked) */
.modal-login-btn.is-disabled,
.modal-login-btn:disabled {
    background: #33445f;
    color: #7f93b3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.modal-login-btn.is-disabled:hover,
.modal-login-btn:disabled:hover { background: #33445f; }

/* =============================================================
   RESPONSIVE — refined mobile pass (overrides earlier rules)
   ============================================================= */

/* Give the header room; let the burger toggle the nav on tablet/mobile */
@media (max-width: 1024px) {
    .header-inner { gap: 12px; }
    .main-nav a { padding: 8px 8px; font-size: 12px; }
    .header-search { flex-basis: 180px; }
}

@media (max-width: 960px) {
    .header-inner { height: 58px; }
    .header-search { display: none; }
    .main-nav { display: none; }
    .burger { display: flex; }

    /* Right-aligned action cluster: lang switch, login, burger (in that order) */
    .header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        order: 3;
    }
    .header-actions .lang-switch { order: 1; }
    .header-actions .btn-primary { order: 2; }
    .header-actions .burger { order: 3; }

    /* Burger opens the nav as a full-width dropdown under the header */
    .main-nav.open {
        display: flex;
        position: absolute;
        top: 58px; left: 0; right: 0;
        flex-direction: column;
        background: var(--header-bg);
        padding: 8px;
        gap: 2px;
        border-bottom: 1px solid rgba(0,0,0,.3);
        box-shadow: 0 10px 24px rgba(0,0,0,.4);
        z-index: 120;
    }
    .main-nav.open a { width: 100%; padding: 12px 14px; font-size: 14px; }
    .main-nav.open a.active::after { display: none; }

    /* shrink the on-bar controls so everything fits on the right */
    .btn { height: 36px; padding: 0 12px; font-size: 12px; }
    .lang-switch a { padding: 6px 7px; }
}

/* Phones: DEPOSIT is secondary — hide it, keep LOGIN + lang + burger */
@media (max-width: 560px) {
    .site-header .header-actions .btn-green { display: none; }
    .header-inner { gap: 8px; }
    .logo { font-size: 17px; }
    .logo .logo-img { height: 22px; }
    .container { padding: 0 12px; }

    .hero { margin-top: 12px; }
    .hero-banner { height: 150px; border-radius: 10px; }
    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 13px; margin: 4px 0 10px; }

    .section { margin-top: 22px; }
    .section-head h2 { font-size: 13px; letter-spacing: 1px; }
    .section-head::before, .section-head::after { margin: 0 10px; }

    .filters { flex-direction: column; align-items: stretch; }
    .filters select, .filters .filter-search { width: 100%; }

    .offer-body { padding: 24px 20px; }
    .offer-body h3 { font-size: 21px; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Very small phones */
@media (max-width: 420px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .event-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-title { font-size: 25px; }
    .case-name { font-size: 11.5px; }
    .modal { padding: 30px 18px 26px; }
    .modal-logo { font-size: 26px; }
    .modal-login-btn { height: 50px; font-size: 15px; }
}

/* Battles rows collapse gracefully on small screens */
@media (max-width: 700px) {
    .bt-tabs .bt-tab span { display: none; }
    .bt-tabs .btn-new span { display: inline; }
    .bt-filters { gap: 8px; }
    .bt-filters input { width: 84px; }
    .bt-row {
        grid-template-columns: 42px 1fr auto;
        gap: 10px;
    }
    .bt-players, .bt-mode { display: none; }
    .bt-join .bt-eye { display: none; }
}

/* Upgrader / Exchanger stage stacks; wheel centered */
@media (max-width: 860px) {
    .up-stage, .ex-stage { grid-template-columns: 1fr; gap: 40px; }
    .up-wheel { margin: 10px auto 0; }
    .up-panel .panel-val { position: static; margin-top: 14px; }
    .dual-grid { grid-template-columns: 1fr; }
    .ex-layout { grid-template-columns: 1fr; }
    .ex-filters { position: static; }
    .skins-hero { min-height: 150px; padding: 0 20px; }
    .skins-hero h1 { font-size: 24px; }
    .inv-grid { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 520px) {
    .inv-grid { grid-template-columns: repeat(2,1fr) !important; }
    .stats-bar { grid-template-columns: 1fr; }
    .skins-stats { grid-template-columns: 1fr; }
    .up-mult button { width: 48px; height: 40px; font-size: 13px; }
}

/* =============================================================
   SEO CONTENT — long-form text sections
   ============================================================= */
.seo-content {
    margin-top: 40px;
    padding: 34px 0 10px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.seo-content .seo-inner {
    max-width: 900px;
    margin: 0 auto;
}
.seo-content h1 {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .3px;
    line-height: 1.2;
    margin-bottom: 22px;
    text-align: center;
}
.seo-content h2 {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin: 28px 0 10px;
    position: relative;
    padding-left: 14px;
}
.seo-content h2::before {
    content: "";
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 4px; border-radius: 2px;
    background: var(--accent-2);
}
.seo-content p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-dim);
    margin-bottom: 6px;
}
@media (max-width: 560px) {
    .seo-content { margin-top: 28px; padding-top: 24px; }
    .seo-content h1 { font-size: 23px; }
    .seo-content h2 { font-size: 17px; }
    .seo-content p { font-size: 14px; line-height: 1.7; }
}
