/* =========================================================
   CSGO SKINS — Shared design system
   Loaded on every page. Page-specific rules live in *.styles.css
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --bg:          #111827;
  --bg-2:        #162235;
  --card:        #1d2d47;
  --card-2:      #223350;
  --border:      #294263;
  --border-soft: #22344f;
  --orange:      #f59e0b;
  --orange-hi:   #ffb020;
  --blue:        #2f80ed;
  --blue-hi:     #4f9bff;
  --text:        #ffffff;
  --text-2:      #9fb3c8;
  --muted:       #7f93a7;
  --green:       #37c98b;
  --radius:      14px;
  --radius-sm:   10px;
  --gutter:      16px;
  --shadow:      0 10px 30px rgba(0,0,0,.35);
  --shadow-hi:   0 18px 40px rgba(0,0,0,.55);
  --maxw:        1320px;
  --header-h:    64px;
  --ease:        cubic-bezier(.2,.7,.3,1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--orange-hi);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--orange); color: #111; }

/* ---- Layout container ---- */
.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  color: #fff;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.99); }

.btn--orange {
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #17233a;
  box-shadow: 0 6px 18px rgba(245,158,11,.28);
}
.btn--orange:hover { box-shadow: 0 10px 26px rgba(245,158,11,.45); }

.btn--blue {
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  box-shadow: 0 6px 18px rgba(47,128,237,.32);
}
.btn--blue:hover { box-shadow: 0 10px 26px rgba(47,128,237,.5); }

.btn--ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--text-2);
}
.btn--ghost:hover { border-color: var(--orange); color: #fff; }

.btn--sm { padding: 7px 12px; font-size: 12px; }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */
.topbar {
  background: #0d1523;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--muted);
}
.topbar__inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar__links a { color: var(--muted); transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__right { display: flex; gap: 16px; align-items: center; }
.topbar__stat b { color: var(--orange-hi); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18,26,42,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav a.is-active { color: #fff; background: rgba(245,158,11,.12); }

.header__search {
  flex: 1;
  max-width: 340px;
  position: relative;
  margin-left: auto;
}
.header__search input {
  width: 100%;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #0f1a2c;
  color: #fff;
  padding: 0 14px 0 38px;
  font-size: 13px;
}
.header__search input::placeholder { color: var(--muted); }
.header__search .ico {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--muted);
}

.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.balance {
  display: flex; flex-direction: column;
  align-items: flex-end; line-height: 1.1;
}
.balance small { color: var(--muted); font-size: 11px; }
.balance b { color: var(--green); font-size: 14px; }

.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #0f1a2c;
}
.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.lang button.is-active { background: var(--orange); color: #17233a; }

.burger {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px; height: 38px;
  color: #fff;
  align-items: center; justify-content: center;
}
.burger svg { width: 18px; height: 18px; }

/* =========================================================
   PAGE SHELL (sidebar + content)
   ========================================================= */
main { display: block; }

.shell {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: 24px;
  align-items: start;
  padding-block: 26px 60px;
}

/* ---- Sidebar ---- */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.side-card__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.side-card__title::before {
  content: ""; width: 6px; height: 14px; border-radius: 3px;
  background: var(--orange);
}
.side-group { border-top: 1px solid var(--border-soft); }
.side-group:first-of-type { border-top: 0; }
.side-group__head {
  width: 100%;
  background: transparent; border: 0; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 2px;
  font-weight: 600; font-size: 13px;
}
.side-group__head .chev { transition: transform .25s var(--ease); color: var(--muted); }
.side-group.is-open .side-group__head .chev { transform: rotate(180deg); }
.side-group__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.side-group.is-open .side-group__body { grid-template-rows: 1fr; }
.side-group__body > div { overflow: hidden; }
.side-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  transition: background .2s, color .2s;
}
.side-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-link.is-active { background: rgba(245,158,11,.14); color: var(--orange-hi); }
.side-link .count { font-size: 11px; color: var(--muted); }

.side-promo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 130px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(180deg, rgba(15,26,44,.1), rgba(15,26,44,.92)),
              radial-gradient(120% 80% at 80% 0%, rgba(245,158,11,.35), transparent 60%),
              var(--card-2);
}
.side-promo h4 { margin: 0 0 4px; font-size: 15px; }
.side-promo p { margin: 0 0 10px; font-size: 12px; color: var(--text-2); }

/* =========================================================
   LIVE FEED (replaces sidebar filters)
   ========================================================= */
.live-feed {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  max-height: calc(100vh - var(--header-h) - 32px);
  display: flex;
  flex-direction: column;
}
.live-feed__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.live-feed__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); margin: 0;
}
.live-feed__title .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(55,201,139,.6);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(55,201,139,.55); }
  70%  { box-shadow: 0 0 0 6px rgba(55,201,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,201,139,0); }
}
.live-feed__filters { display: flex; gap: 6px; }
.live-feed__filters button {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  display: grid; place-items: center;
  transition: color .2s, border-color .2s, background .2s;
}
.live-feed__filters button svg { width: 12px; height: 12px; }
.live-feed__filters button:hover,
.live-feed__filters button.is-active {
  color: var(--orange-hi);
  border-color: rgba(245,158,11,.5);
  background: rgba(245,158,11,.1);
}
.live-feed__list {
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}
.live-feed__list::-webkit-scrollbar { width: 5px; }
.live-feed__list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.live-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border-soft);
  animation: liveIn .35s var(--ease);
}
@keyframes liveIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.live-item__icon {
  position: relative;
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent);
}
.live-item__icon svg.hex {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.live-item__icon img {
  position: relative;
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.5));
}
.live-item__body { min-width: 0; flex: 1; }
.live-item__name {
  font-size: 12px; font-weight: 600; color: #eaf1f9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-item__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: var(--muted);
}
.live-item__meta .price { color: var(--orange-hi); font-weight: 700; }
.live-item--covert     .live-item__icon svg.hex { color: #eb4b4b; }
.live-item--classified .live-item__icon svg.hex { color: #d32ce6; }
.live-item--restricted .live-item__icon svg.hex { color: #4b69ff; }
.live-item--special    .live-item__icon svg.hex { color: #e4ae39; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { margin-bottom: 44px; }
.section:last-child { margin-bottom: 0; }

.section-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  text-align: center;
}
.section-head__title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .3px;
}
.section-head__icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(245,158,11,.14);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.section-head__icon svg { width: 16px; height: 16px; }
.section-head .see-all {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--orange-hi);
  font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s;
  white-space: nowrap;
}
.section-head .see-all:hover { gap: 9px; }
@media (max-width: 560px) {
  .section-head .see-all { position: static; transform: none; margin-top: 8px; }
  .section-head { flex-wrap: wrap; }
}

/* =========================================================
   CASE GRID + CARD
   ========================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 20px;
}
.case-grid--7 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.case-grid--5 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.case-card {
  position: relative;
  background:
    radial-gradient(120% 100% at 50% -10%, rgba(47,128,237,.22), transparent 60%),
    linear-gradient(180deg, var(--card), #182741);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 18px;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
  overflow: hidden;
}
.case-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,.35) 0, transparent 1.4px),
                     radial-gradient(circle at 72% 65%, rgba(255,255,255,.28) 0, transparent 1.4px),
                     radial-gradient(circle at 40% 80%, rgba(255,255,255,.22) 0, transparent 1.4px),
                     radial-gradient(circle at 85% 20%, rgba(255,255,255,.3) 0, transparent 1.4px);
  opacity: .6;
  pointer-events: none;
}
.case-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  pointer-events: none;
  transition: box-shadow .2s;
}
.case-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hi);
  border-color: rgba(245,158,11,.55);
}
.case-card:hover::after { box-shadow: inset 0 0 24px rgba(245,158,11,.16); }

.case-card__glow {
  position: absolute;
  top: -30%; left: 50%;
  width: 120%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(60% 60% at 50% 0%, rgba(47,128,237,.28), transparent 70%);
  opacity: .5;
  pointer-events: none;
}
.case-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/.82;
  display: grid; place-items: center;
  margin-bottom: 12px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.case-card__img img {
  width: 92%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
  transition: transform .25s var(--ease);
}
.case-card:hover .case-card__img img { transform: scale(1.06); }

.case-card__title {
  position: relative;
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #eaf1f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(180deg, var(--orange-hi), var(--orange));
  color: #17233a;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245,158,11,.3);
}
.price-badge svg { width: 13px; height: 13px; }

.tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 2;
}
.tag--hot { background: #ff5b5b; color: #fff; }
.tag--new { background: var(--green); color: #05231a; }
.tag--free { background: var(--blue); color: #fff; }

/* =========================================================
   HERO / PROMO BANNERS
   ========================================================= */
.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 210px;
  display: flex; align-items: center;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(13,20,33,.95) 10%, rgba(13,20,33,.55) 55%, rgba(13,20,33,.15)),
    radial-gradient(90% 130% at 90% 20%, rgba(245,158,11,.35), transparent 55%),
    linear-gradient(120deg, #1a2a47, #14203a);
  margin-bottom: 30px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(245,158,11,.16);
  color: var(--orange-hi);
  border: 1px solid rgba(245,158,11,.3);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1, .hero__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  max-width: 540px;
}
.hero p { margin: 0 0 20px; color: var(--text-2); max-width: 440px; font-size: 14px; }
.hero__art {
  position: absolute;
  right: -10px; bottom: 0; top: 0;
  width: 46%;
  background-position: center right;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: .95;
}

.promo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 24px 26px;
  min-height: 128px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(90deg, rgba(13,20,33,.9), rgba(13,20,33,.3)),
    var(--card-2);
}
.promo--orange {
  background:
    linear-gradient(90deg, rgba(46,26,5,.92), rgba(46,26,5,.35)),
    radial-gradient(100% 140% at 85% 30%, rgba(245,158,11,.5), transparent 60%),
    #2a2032;
}
.promo h3 { margin: 0 0 6px; font-size: 20px; }
.promo p { margin: 0 0 14px; color: var(--text-2); font-size: 13px; max-width: 60%; }
.promo__art {
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background-size: cover; background-position: center; opacity: .5;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0d1523;
  border-top: 1px solid var(--border);
  padding: 48px 0 26px;
  color: var(--text-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer__brand p { font-size: 13px; margin: 12px 0 16px; max-width: 320px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: color .2s, border-color .2s, transform .2s;
}
.footer__socials a:hover { color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.footer__socials svg { width: 16px; height: 16px; }
.footer__col h5 {
  margin: 0 0 14px;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: #fff;
}
.footer__col a {
  display: block; padding: 5px 0; font-size: 13px;
  color: var(--text-2); transition: color .2s;
}
.footer__col a:hover { color: var(--orange-hi); }
.footer__bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 12px; color: var(--muted);
  flex-wrap: wrap;
}
.footer__seo {
  margin-top: 18px;
  font-size: 11px; color: #55677d; line-height: 1.7;
}

/* =========================================================
   SEO CONTENT BLOCKS (long-form H2 + paragraph sections)
   ========================================================= */
.seo-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.seo-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.seo-block h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.seo-block p {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.75;
}

/* =========================================================
   MODAL (login / CTA -> ggdrop.cc)
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(6,10,18,.78);
  backdrop-filter: blur(4px);
  animation: fade .2s var(--ease);
}
.modal__dialog {
  position: relative;
  width: 100%; max-width: 640px;
  background: linear-gradient(180deg, #101a2b, #0c1420);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 52px 40px 44px;
  text-align: center;
  box-shadow: var(--shadow-hi);
  animation: pop .25s var(--ease);
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 8px;
  background: transparent; border: 0; color: var(--muted);
  font-size: 20px; line-height: 1;
  transition: color .2s, background .2s;
}
.modal__close:hover { color: #fff; background: rgba(255,255,255,.06); }
.modal__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 40px; font-weight: 800; letter-spacing: 1px;
  margin-bottom: 30px;
}
.modal__logo .dot {
  width: 34px; height: 34px; border-radius: 50%;
  border: 6px solid var(--blue);
  display: inline-block; position: relative;
}
.modal__logo .dot::after {
  content:""; position:absolute; inset: 6px; border-radius:50%;
  background: var(--blue);
}
.modal__checks {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
  max-width: 380px; margin: 0 auto 26px;
}
.modal__check {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: #dfe8f2;
}
.modal__check input { position: absolute; opacity: 0; width: 0; height: 0; }
.modal__check .box {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue); flex-shrink: 0;
  display: grid; place-items: center;
  transition: background .2s;
}
.modal__check .box svg { width: 13px; height: 13px; color: #fff; opacity: 1; }
.modal__check input:not(:checked) ~ .box { background: #223350; }
.modal__check input:not(:checked) ~ .box svg { opacity: 0; }
.modal__check a { color: var(--blue-hi); }
.modal__check a:hover { text-decoration: underline; }
.modal__cta {
  width: 100%; max-width: 380px;
  margin: 0 auto;
  height: 52px; font-size: 16px;
  border-radius: 10px;
}
.modal__cta[disabled] { opacity: .5; cursor: not-allowed; }
.modal__cta[disabled]:hover { transform: none; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* =========================================================
   MOBILE NAV DRAWER
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.drawer.is-open { display: block; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(6,10,18,.7); }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 82%; max-width: 320px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 20px;
  overflow-y: auto;
  animation: slide .25s var(--ease);
}
.drawer__panel a {
  display: block; padding: 12px 10px; border-radius: 8px;
  color: var(--text-2); font-weight: 600;
}
.drawer__panel a:hover { background: rgba(255,255,255,.05); color: #fff; }
@keyframes slide { from { transform: translateX(-100%); } }

/* =========================================================
   BREADCRUMB + GENERIC PAGE HEADER
   ========================================================= */
.crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.crumb a:hover { color: #fff; }
.page-title { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.page-sub { color: var(--text-2); margin: 0 0 24px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1400px) {
  .case-grid--7 { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  .case-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .case-grid--7 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .case-grid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar, .live-feed { display: none; }
  .nav, .header__search, .balance { display: none; }
  .burger { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .promo-grid { grid-template-columns: 1fr; }
  .topbar__links { display: none; }
  .case-grid, .case-grid--7, .case-grid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .case-grid, .case-grid--7, .case-grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__art { opacity: .35; width: 70%; }
  .promo p { max-width: 100%; }
  .modal__dialog { padding: 44px 22px 34px; }
}
