:root {
  --bg: #070b0f;
  --bg-2: #0a1015;
  --panel: #0c1218;
  --panel-2: #101820;
  --line: #27323b;
  --line-soft: rgba(255,255,255,.08);
  --text: #f3f5f7;
  --muted: #a7b0b8;
  --orange: #ff8b22;
  --orange-2: #ff6f0e;
  --patreon: #f15b64;
  --patreon-2: #ff4657;
  --green: #40c46a;
  --max: 1760px;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 7%, rgba(255,139,34,.06), transparent 24%),
    linear-gradient(180deg, #05090d 0%, #081017 58%, #060a0e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 96px), var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(5,9,13,.94);
  backdrop-filter: blur(18px);
}
.site-header__inner { height:100%; display:grid; grid-template-columns:240px 1fr auto; align-items:center; gap:24px; }
.logo { grid-column:1; display:flex; align-items:center; height:100%; }
.logo img { display:block; width:225px; max-height:56px; height:auto; object-fit:contain; }
.main-nav { display: flex; justify-content: center; gap: 40px; font-size: 13px; color: #bcc3c9; }
.main-nav a { position: relative; padding: 25px 0 22px; transition: .2s ease; }
.main-nav a:hover, .main-nav a.is-active { color: white; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--orange); }
.header-actions { grid-column:3; justify-self:end; align-self:center; display:flex; align-items:center; gap:10px; height:100%; }
.social-icon { color: #b9c1c8; opacity: .82; display: inline-grid; place-items: center; width: 26px; height: 26px; transition: .2s; }
.social-icon:hover { color: var(--orange); opacity: 1; transform: translateY(-1px); }
.social-icon svg { width: 18px; height: 18px; }
.menu-toggle { display: none; background: transparent; border: 0; color: white; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; transition: .2s; }
.mobile-menu { display: none; }

/* Buttons */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid #52606c;
  border-radius: 8px;
  background: rgba(10,16,21,.58);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: #82909b; box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.btn--orange { color: #0b0e11; border: 0; background: linear-gradient(180deg, #ffa047 0%, #ff7b13 100%); box-shadow: inset 0 1px rgba(255,255,255,.35), 0 10px 30px rgba(255,120,18,.16); }
.btn--orange:hover { background: linear-gradient(180deg, #ffad5e 0%, #ff861f 100%); }

.btn--download-premium {
  position: relative;
  min-height: 50px;
  padding: 0 24px 0 18px;
  border: 1px solid rgba(255,178,92,.72);
  border-radius: 10px;
  color: #0a0c0f;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 38%),
    linear-gradient(135deg, #ffad58 0%, #ff8b22 46%, #f8720d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(164,67,0,.30),
    0 10px 28px rgba(255,123,19,.20),
    0 0 0 1px rgba(255,139,34,.08);
  overflow: hidden;
  font-weight: 850;
  letter-spacing: -.01em;
}
.btn--download-premium::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -42%;
  width: 34%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg);
  transition: left .42s ease;
  pointer-events: none;
}
.btn--download-premium:hover {
  color: #07090b;
  border-color: rgba(255,205,148,.95);
  background:
    linear-gradient(180deg, rgba(255,255,255,.30), transparent 40%),
    linear-gradient(135deg, #ffb86e 0%, #ff952f 48%, #ff7b14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.52),
    0 15px 34px rgba(255,123,19,.28),
    0 0 22px rgba(255,139,34,.12);
}
.btn--download-premium:hover::after { left: 118%; }
.btn--download-premium .btn-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  margin-right: 2px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #111317;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(39,20,0,.13);
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}
.btn--download-premium .btn-icon svg { width: 17px; height: 17px; }
.installer-actions:has(.btn--download-premium) { gap: 0; }

.btn--patreon { border: 0; background: linear-gradient(180deg, #ff6672, #ee4453); box-shadow: inset 0 1px rgba(255,255,255,.28), 0 10px 25px rgba(237,68,83,.13); }
.btn--small { min-height: 34px; padding: 0 15px; border-radius: 6px; font-size: 12px; }
.btn.is-disabled { opacity: .58; cursor: not-allowed; }
.btn--header { min-height: 40px; padding-inline: 18px; border-color: var(--orange); color: var(--orange); }
.btn--header-social { min-height:40px; height:40px; padding:0 17px; border-radius:8px; font-size:12px; letter-spacing:.01em; margin:0; align-self:center; }
.btn--header-social svg { width: 17px; height: 17px; }
.btn--youtube { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(13,18,23,.72); }
.btn--youtube svg { color: #ff1744; }
.btn--youtube:hover { border-color: #ff1744; background: rgba(255,23,68,.08); }
.btn--header-patreon { color: #0b0e11; border: 0; background: linear-gradient(180deg,#ffa047,#ff7b13); box-shadow: inset 0 1px rgba(255,255,255,.34),0 8px 22px rgba(255,123,19,.15); }
.btn--header-patreon:hover { background: linear-gradient(180deg,#ffad5e,#ff861f); border-color: transparent; }
.patreon-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #ff7b13; font-size: 11px; font-weight: 900; }
.eyebrow-separator { color: var(--orange); letter-spacing: 0; }

/* Hero */
.hero { position: relative; min-height: 372px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__art { position: absolute; inset: 0 0 0 38%; z-index: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; filter: brightness(1.15) contrast(1.03) saturate(1.04); }
.hero__art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #070b0f 0%, rgba(7,11,15,.90) 7%, rgba(7,11,15,.36) 31%, rgba(7,11,15,.02) 70%); }
.hero__art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.02), transparent 62%, rgba(7,16,23,.82) 100%); }
.hero__content { position: relative; z-index: 2; padding: 42px 0 74px; width: 58%; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #eef1f3; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .31em; }
.eyebrow::after { content: ""; width: 60px; height: 2px; background: var(--orange); }
.hero h1 { margin: 10px 0 8px; font-size: clamp(46px, 3.55vw, 68px); line-height: .97; letter-spacing: -.05em; max-width: 900px; font-weight: 850; }
.hero-title-line { white-space: nowrap; color: inherit !important; }
.hero h1 span { color: var(--orange); }
.hero__lead { margin: 0; max-width: 560px; color: #c1c8ce; font-size: 15px; line-height: 1.48; }
.hero__actions { display: flex; gap: 16px; margin-top: 19px; }
.hero__actions .btn { min-width: 198px; min-height: 44px; }
.hero__benefits { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 58px; border-top: 1px solid rgba(255,255,255,.075); background: linear-gradient(90deg, rgba(7,11,15,.98), rgba(7,11,15,.76), rgba(7,11,15,.42)); }
.benefits { height: 100%; display: flex; align-items: center; gap: clamp(34px, 5vw, 76px); color: #bbc3ca; font-size: 12px; }
.benefit { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.benefit svg { width: 22px; height: 22px; color: #c6cdd3; }

/* Sections */
.section { padding: 20px 0 16px; }
.section + .section { border-top: 1px solid rgba(255,255,255,.08); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 14px; }
.section-title { display: flex; align-items: center; gap: 14px; text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .24em; }
.section-title::after { content: ""; width: 38px; height: 2px; background: var(--orange); }
.section-link { color: var(--orange); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.section-link:hover { color: #ffb068; }

.section-head--carousel { margin-bottom: 14px; }
.carousel-nav { display: inline-flex; align-items: center; gap: 10px; }
.carousel-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid #31404b; border-radius: 10px; background: linear-gradient(180deg, #0f171e, #0b1015); color: #f4f6f8; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, opacity .18s ease; }
.carousel-btn:hover { border-color: rgba(255,139,34,.7); color: #0c0d0f; background: linear-gradient(180deg, #ff9f46, #ff7f17); transform: translateY(-1px); }
.carousel-btn:disabled { opacity: .42; cursor: default; transform: none; color: #7c878f; border-color: #29343c; background: linear-gradient(180deg, #0d141a, #0a0f14); }
.carousel-btn span { font-size: 18px; font-weight: 900; line-height: 1; }
.featured-carousel { position: relative; }
.featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.featured-track::-webkit-scrollbar { display: none; }
.featured-track > .mod-card { scroll-snap-align: start; }
.featured-track { cursor: grab; touch-action: pan-y; user-select: none; }
.featured-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.featured-track.is-dragging .mod-card { pointer-events: none; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 18px; margin-top: 10px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #3a4650; cursor: pointer; transition: width .2s ease, background .2s ease, box-shadow .2s ease; }
.carousel-dot:hover { background: #7a8790; }
.carousel-dot.is-active { width: 23px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 14px rgba(255,139,34,.28); }

/* Cards */
.mods-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mod-card { min-width: 0; border: 1px solid #2d3943; background: linear-gradient(180deg, #0f171e 0%, #0a0f14 100%); border-radius: 11px; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.12); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mod-card:hover { transform: translateY(-4px); border-color: #465563; box-shadow: 0 20px 44px rgba(0,0,0,.22); }
.mod-card__media { position: relative; height: 112px; overflow: hidden; background: #090e13; }
.mod-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, rgba(7,11,15,.82)); }
.mod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mod-card:hover .mod-card__media img { transform: scale(1.025); }
.mod-card__category, .mod-card__version { position: absolute; z-index: 2; top: 10px; font-weight: 900; font-size: 10px; border-radius: 5px; }
.mod-card__category { left: 12px; padding: 6px 12px; background: linear-gradient(#ff9c39,#ff7c13); color: #0c0d0f; text-transform: uppercase; }
.mod-card__version { right: 11px; padding: 6px 10px; border: 1px solid #394651; background: rgba(6,10,13,.90); color: white; }
.mod-card__body { padding: 12px 14px 12px; }
.mod-card h3 { font-size: 16px; line-height: 1.2; margin: 0 0 5px; letter-spacing: -.02em; }
.mod-card p { min-height: 34px; margin: 0; color: #aeb7be; font-size: 11.5px; line-height: 1.38; }
.mod-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.mod-card__meta { display: flex; align-items: center; gap: 11px; color: #adb5bc; font-size: 10.5px; }
.mod-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.mod-card__meta svg { width: 16px; height: 16px; }
.platform-icon svg { stroke: none; }

/* Installer */
.installer-section { position: relative; margin-top: 0; padding: 24px 0 22px; overflow: hidden; background: linear-gradient(90deg, rgba(9,15,20,.95), rgba(11,18,24,.91)); }
.installer-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 53% 40%, rgba(255,139,34,.055), transparent 30%); pointer-events: none; }
.installer-grid { position: relative; display: grid; grid-template-columns: 1.18fr .9fr .9fr; gap: 30px; align-items: stretch; }
.installer-copy { padding-top: 8px; }
.installer-copy h2 { margin: 7px 0 7px; font-size: clamp(34px, 2.7vw, 45px); line-height: 1.02; letter-spacing: -.04em; }
.installer-copy h2 span { color: var(--orange); }
.installer-copy > p { margin: 0; color: #b3bcc3; font-size: 15px; }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 19px; }
.mini-feature { display: grid; grid-template-columns: 38px 1fr; gap: 9px; align-items: start; }
.mini-feature__icon { width: 38px; height: 38px; border: 1px solid rgba(255,139,34,.55); border-radius: 7px; display: grid; place-items: center; color: var(--orange); }
.mini-feature strong { display: block; font-size: 12px; line-height: 1.2; margin-top: 2px; }
.mini-feature small { display: block; color: #929da6; margin-top: 3px; font-size: 10px; line-height: 1.3; }
.installer-actions { display: flex; gap: 14px; margin-top: 20px; }
.installer-actions .btn { min-width: 188px; }
.installer-note { margin-top: 13px; color: #929ca5; font-size: 11px; }
.installer-preview { align-self: center; display: flex; align-items: center; justify-content: center; perspective: 1100px; padding: 8px 0; }
.installer-preview img { width: 100%; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #080b0e; box-shadow: 0 24px 60px rgba(0,0,0,.42); transform: rotateY(-5deg) rotateX(1.5deg); transform-origin: center; }
.patreon-zone { position: relative; min-height: 276px; display: flex; flex-direction: column; justify-content: flex-end; }
.patreon-zone__art { position: absolute; inset: 0 0 auto 0; height: 132px; overflow: hidden; }
.patreon-zone__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.patreon-zone__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, #0b1116 96%); }
.patreon-card { position: relative; z-index: 2; margin-top: 92px; padding: 17px; border: 1px solid #2c3740; border-radius: 10px; background: rgba(9,14,19,.93); box-shadow: var(--shadow); }
.patreon-card .section-title { color: var(--orange); font-size: 9px; letter-spacing: .22em; }
.patreon-card h3 { margin: 8px 0 7px; font-size: 20px; }
.patreon-card p { margin: 0; color: #aeb6bd; font-size: 12px; line-height: 1.45; }
.patreon-points { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin: 14px 0 16px; color: #b7c0c7; font-size: 11px; }
.patreon-points span::before { content: "✓"; color: var(--orange); margin-right: 8px; font-weight: 900; }
.patreon-card .btn { width: 100%; min-height: 38px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); background: #060a0e; padding: 18px 0 16px; }

.footer-simple {
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:48px;
  min-height:120px;
}
.footer-brand {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
}
.footer-logo img { display:block; width:290px; height:auto; object-fit:contain; }
.footer-copyright { color:#77828a; font-size:10px; }
.footer-signature-wrap {
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.footer-signature {
  display:block;
  width:210px;
  max-width:none;
  height:auto;
  object-fit:contain;
  object-position:center;
  opacity:.96;
  overflow:visible;
  image-rendering:auto;
}

.footer-logo img { display:block; width:290px; height:auto; object-fit:contain; }

/* Secondary pages */
.page-hero { padding: 64px 0 42px; border-bottom: 1px solid var(--line-soft); background: radial-gradient(circle at 80% 0%, rgba(255,139,34,.08), transparent 28%); }
.page-hero h1 { margin: 10px 0 8px; font-size: clamp(42px,5vw,68px); letter-spacing: -.04em; }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.filters { display: flex; gap: 10px; margin: 22px 0; }
.filter-btn { border: 1px solid #34404a; background: #0a1117; color: #acb5bc; border-radius: 7px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.filter-btn.is-active, .filter-btn:hover { color: #0b0e11; border-color: var(--orange); background: var(--orange); }
.all-mods-grid { grid-template-columns: repeat(3, minmax(0,1fr)); padding-bottom: 54px; }
.download-panel { max-width: 900px; margin: 42px auto 64px; padding: 32px; border: 1px solid #2c3841; border-radius: 14px; background: linear-gradient(180deg,#0d151b,#090e13); }
.download-panel h2 { margin: 0 0 8px; font-size: 34px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 24px; color: #9ca6ae; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .hero-title-line { white-space: normal; }
  .featured-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .site-header__inner { grid-template-columns: 215px 1fr auto; gap: 16px; }
  .logo img { width: 205px; max-height:52px; }
  .main-nav { gap: 24px; }
  .social-icon { display: none; }
  .hero__content { width: 55%; }
  .hero__art { left: 35%; }
  .mods-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .installer-grid { grid-template-columns: 1fr 1fr; }
  .patreon-zone { grid-column: 1 / -1; min-height: 250px; }
  .patreon-zone__art { height: 100%; inset: 0; }
  .patreon-card { max-width: 520px; margin: 32px 0 32px auto; }
}

@media (max-width: 860px) {
  .featured-track { grid-auto-columns: minmax(300px, 85%); }
  .container { width: min(calc(100% - 36px), var(--max)); }
  .site-header { height: 66px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .logo img { width: 195px; max-height:50px; }
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; z-index: 49; top: 66px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid #27313a; background: rgba(6,10,14,.98); transform: translateY(-130%); transition: transform .25s ease; }
  .menu-open .mobile-menu { transform: translateY(0); }
  .mobile-menu a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.06); color: #c2c8cd; }
  .mobile-menu .btn { margin-top: 12px; }
  .hero { min-height: 650px; }
  .hero__art { left: 0; inset: 0; opacity: .68; }
  .hero__art img { object-position: 55% 40%; }
  .hero__art::before { background: linear-gradient(90deg, rgba(7,11,15,.98), rgba(7,11,15,.55)); }
  .hero__art::after { background: linear-gradient(180deg, rgba(7,11,15,.2), rgba(7,11,15,.54) 55%, #071017 92%); }
  .hero__content { width: 100%; padding-top: 76px; }
  .hero h1 { max-width: 580px; }
  .hero__lead { color: #d0d5da; }
  .benefits { gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .benefit { font-size: 12px; }
  .installer-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: repeat(2,1fr); }
  .installer-preview { max-width: 650px; margin: 0 auto; }
  .patreon-zone { min-height: 320px; }
  .patreon-card { margin: 120px 0 24px; max-width: none; }
  .all-mods-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .section-head--carousel { align-items: center; }
  .carousel-btn { width: 38px; height: 38px; border-radius: 9px; }
  .featured-track { grid-auto-columns: 88%; gap: 14px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 680px; }
  .hero__content { padding-top: 56px; }
  .hero h1 { font-size: 47px; }
  .hero__lead { font-size: 15px; max-width: 92%; }
  .hero__actions, .installer-actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .installer-actions .btn { width: 100%; }
  .hero__benefits { height: 72px; }
  .mods-grid, .all-mods-grid { grid-template-columns: 1fr; }
  .section-head { align-items: end; }
  .mod-card__media { height: 155px; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 15px 10px; }
  .installer-copy h2 { font-size: 37px; }
  .patreon-points { grid-template-columns: 1fr; }
}

/* V2 desktop polish */
@media (min-width: 1181px) {
  .site-header .container, .hero .container, .section .container, .installer-section .container, .site-footer .container { width: min(calc(100% - 100px), var(--max)); }
  .hero__art { right: -1px; }
  .mod-card { border-radius: 10px; }
  .mod-card__category, .mod-card__version { top: 9px; }
  .mod-card__category { left: 10px; padding: 5px 10px; }
  .mod-card__version { right: 10px; padding: 5px 9px; }
  .mod-card .btn--small { min-height: 30px; padding: 0 13px; font-size: 10.5px; }
   .installer-preview img { transform: rotateY(-4deg) rotateX(1deg) translateY(3px) scale(1.015); transform-origin: center; }
}

.muted-copy { color: #aeb7be; }


/* ===== V3 — TigerMods Manager 2.6 integration ===== */
.release-kicker { display:inline-flex; align-items:center; gap:8px; margin-bottom:12px; padding:6px 10px; border:1px solid rgba(72,198,110,.32); border-radius:999px; background:rgba(30,121,66,.10); color:#bde7ca; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.release-kicker b { color:#fff; font-weight:900; }
.release-dot { width:7px; height:7px; border-radius:50%; background:#39cb6c; box-shadow:0 0 14px rgba(57,203,108,.7); }
.manager-section { padding:48px 0 50px; background:radial-gradient(circle at 70% 36%, rgba(255,139,34,.07), transparent 34%), linear-gradient(180deg,#090f14,#070c10); }
.manager-layout { display:grid; grid-template-columns:minmax(360px,.82fr) minmax(560px,1.08fr); gap:36px; align-items:center; }
.manager-copy h2 { margin:8px 0 12px; font-size:clamp(42px,3.7vw,62px); line-height:.98; letter-spacing:-.05em; }
.manager-copy h2 span, .manager-page-hero h1 span, .patreon-band h2 span { color:var(--orange); }
.manager-copy > p { margin:0; max-width:650px; color:#aeb8bf; line-height:1.65; font-size:14px; }
.manager-features { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:22px; }
.manager-features > div { min-height:72px; display:grid; grid-template-columns:36px 1fr; grid-template-rows:auto auto; column-gap:10px; align-content:center; padding:12px; border:1px solid #263039; border-radius:9px; background:rgba(14,21,27,.75); }
.manager-features > div > span { grid-row:1/3; width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(255,139,34,.5); border-radius:7px; color:var(--orange); }
.manager-features strong { font-size:11.5px; }
.manager-features small { margin-top:2px; color:#7f8b94; font-size:9.5px; }
.manager-showcase { position:relative; display:flex; align-items:center; justify-content:center; perspective:1600px; }
.manager-showcase--asset { min-height: 520px; }
.manager-asset-wrap { position:relative; width:min(100%, 760px); margin-left:auto; display:flex; align-items:center; justify-content:center; }
.manager-asset-wrap::before { content:""; position:absolute; inset:10% 12% 14% 14%; background:radial-gradient(circle at 55% 52%, rgba(255,139,34,.14), rgba(255,139,34,.05) 34%, transparent 70%); filter:blur(20px); pointer-events:none; }
.manager-asset-image { position:relative; z-index:1; width:100%; height:auto; max-width:760px; object-fit:contain; filter:drop-shadow(0 24px 40px rgba(0,0,0,.42)); }
.patreon-band { padding:36px 0; background:linear-gradient(90deg,#080d11,#0b1116); }
.patreon-band__grid { display:grid; grid-template-columns:1.2fr .8fr; gap:36px; align-items:center; }
.patreon-band__art { height:290px; overflow:hidden; border:1px solid #26313a; border-radius:12px; box-shadow:var(--shadow); }
.patreon-band__art img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.patreon-band__copy { padding:15px 10px 15px 0; }
.patreon-band h2 { margin:12px 0 10px; font-size:clamp(34px,3vw,50px); line-height:1.02; letter-spacing:-.045em; }
.patreon-band__copy > p { color:#aab4bc; line-height:1.6; }
.patreon-band .btn { margin-top:2px; min-width:230px; }
.manager-page-hero { padding-bottom:54px; background:radial-gradient(circle at 72% 28%,rgba(255,139,34,.09),transparent 30%),linear-gradient(180deg,#080e13,#070b0f); }
.manager-page-hero h1 { max-width:900px; line-height:.96; }
.manager-page-hero .hero__actions { margin-top:24px; }
.manager-detail-section { padding:42px 0 60px; }
.manager-detail-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr); gap:30px; align-items:center; }
.release-panel { padding:25px; border:1px solid #2a353e; border-radius:12px; background:linear-gradient(180deg,#0e161c,#090f14); }
.release-panel__badge { display:inline-block; padding:5px 9px; border-radius:5px; background:rgba(57,203,108,.13); color:#66dd8c; font-size:9px; font-weight:900; letter-spacing:.12em; }
.release-panel h2 { margin:12px 0 8px; font-size:30px; }
.release-panel h2 span { color:var(--orange); }
.release-panel p { color:#98a4ad; line-height:1.55; }
.release-list { display:grid; gap:9px; margin:19px 0 22px; color:#c1c9cf; font-size:12px; }
.release-list span::first-letter { color:var(--green); }
.release-panel .btn { width:100%; }
.release-panel > small { display:block; margin-top:10px; text-align:center; color:#65727b; }
.page-hero h1 span { color:var(--orange); }

@media (max-width:1180px) {
  .manager-layout { grid-template-columns:1fr; }
  .manager-showcase { max-width:980px; margin:0 auto; }
  .manager-detail-grid { grid-template-columns:1fr; }
  .release-panel { max-width:720px; margin:0 auto; }
}
@media (max-width:860px) {
  .manager-showcase--asset { min-height: 420px; }
  .manager-asset-image { max-width: 720px; }
  .patreon-band__grid { grid-template-columns:1fr; }
  .patreon-band__art { height:240px; }
}
@media (max-width:640px) {
  .manager-section { padding-top:34px; }
  .manager-features { grid-template-columns:1fr; }
  .manager-showcase--asset { min-height: 280px; }
  .manager-asset-wrap { width:100%; }
  .manager-asset-image { max-width: 100%; }
  .patreon-band__art { height:190px; }
}

.mobile-menu .btn--header-social { width: 100%; margin: 6px 0; }
@media (max-width: 920px) {
  .logo { grid-column: 1; }
  .menu-toggle { grid-column: 2; }
}

@media (max-width: 760px) {
  .footer-simple {
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
    gap:18px;
  }
  .footer-brand { align-items:center; }
  .footer-signature-wrap { justify-content:center; }
  .footer-signature { width:180px; }
}

.brand img { display:block; width:250px; height:auto; object-fit:contain; }

.logo img,
.footer-logo img,
.footer-signature {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ===== V5.14 branded social buttons ===== */
.social-brand-btn {
  position: relative;
  min-width: 132px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px 0 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}
.social-brand-btn::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.9;
  transition:opacity .18s ease;
}
.social-brand-btn:hover {
  transform: translateY(-1px);
}
.social-brand-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.social-brand-icon svg {
  width: 17px;
  height: 17px;
}
.social-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
}
.social-brand-copy strong {
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: -.01em;
}
.social-brand-copy small {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.58);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1;
}
.social-brand-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  transition: transform .18s ease, color .18s ease;
}
.social-brand-btn:hover .social-brand-arrow {
  color: #fff;
  transform: translate(1px,-1px);
}

/* YouTube */
.social-brand-btn--youtube {
  border-color: rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    #0c1116;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 7px 20px rgba(0,0,0,.18);
}
.social-brand-btn--youtube::before {
  background: radial-gradient(circle at 15% 50%, rgba(255,0,51,.14), transparent 42%);
}
.social-brand-btn--youtube .social-brand-icon--youtube {
  width:24px;
  height:24px;
  flex:0 0 24px;
  padding:0;
  border-radius:0;
  color:#ff0033;
  background:transparent;
  box-shadow:none;
}
.social-brand-btn--youtube:hover {
  border-color: rgba(255,23,68,.58);
  background:
    linear-gradient(180deg, rgba(255,23,68,.055), rgba(255,255,255,.012)),
    #0e1217;
  box-shadow: 0 8px 24px rgba(255,0,51,.12);
}

/* Patreon */
.social-brand-btn--patreon {
  color: #13100d;
  border-color: rgba(255,186,133,.88);
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 38%),
    linear-gradient(135deg,#ffad63 0%,#ff8a37 48%,#ff6f2d 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.42),
    0 8px 22px rgba(255,112,45,.19);
}
.social-brand-btn--patreon::before {
  background: linear-gradient(110deg, rgba(255,255,255,.14), transparent 45%);
}
.social-brand-btn--patreon .social-brand-icon--patreon {
  color: #ff6f2d;
  background: #fff;
  box-shadow: 0 5px 14px rgba(116,45,6,.13);
}
.social-brand-btn--patreon .social-brand-copy small {
  color: rgba(42,20,7,.61);
}
.social-brand-btn--patreon .social-brand-arrow {
  color: rgba(42,20,7,.48);
}
.social-brand-btn--patreon:hover {
  border-color: #ffd1ad;
  background:
    linear-gradient(180deg, rgba(255,255,255,.32), transparent 38%),
    linear-gradient(135deg,#ffbc79 0%,#ff984a 48%,#ff7634 100%);
  box-shadow: 0 10px 28px rgba(255,112,45,.27);
}
.social-brand-btn--patreon:hover .social-brand-arrow {
  color: #241206;
}

/* Responsive behavior */
@media (max-width: 1180px) and (min-width: 861px) {
  .site-header__inner { grid-template-columns: 210px 1fr auto; gap: 16px; }
  .logo img { width: 195px; max-height: 50px; }
  .header-actions { gap: 7px; }
  .social-brand-btn { min-width: 112px; height: 39px; padding-right: 9px; }
  .social-brand-copy small, .social-brand-arrow { display: none; }
}

@media (max-width: 860px) {
  .mobile-menu {
    gap: 10px;
    padding: 12px 18px 18px;
  }
  .mobile-menu a.social-brand-btn {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 0 14px 0 10px;
    color: inherit;
  }
  .mobile-menu .social-brand-btn--mobile {
    width: 100%;
    min-height: 52px;
    height: 52px;
    margin: 0;
  }
  .mobile-menu .social-brand-btn--patreon {
    color: #13100d;
  }
  .mobile-menu .social-brand-copy small {
    max-width: none;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .mobile-menu { padding-inline: 14px; }
  .social-brand-btn--mobile { min-height: 50px; }
}

.social-brand-btn--youtube .social-brand-icon--youtube svg {
  width:22px;
  height:22px;
  display:block;
  overflow:visible;
  filter:drop-shadow(0 2px 5px rgba(255,0,51,.20));
}
.social-brand-btn--youtube:hover .social-brand-icon--youtube svg {
  filter:drop-shadow(0 2px 7px rgba(255,0,51,.34));
}

/* ===== V5.18 corrected YouTube brand mark ===== */
.social-brand-btn--youtube .social-brand-icon--youtube {
  width:25px !important;
  height:20px !important;
  flex:0 0 25px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:inherit !important;
}
.social-brand-btn--youtube .social-brand-icon--youtube svg {
  display:block !important;
  width:25px !important;
  height:18px !important;
  overflow:visible !important;
  filter:none !important;
}
.social-brand-btn--youtube:hover .social-brand-icon--youtube svg {
  filter:none !important;
  transform:none !important;
}

/* Legal and support pages */
.footer-legal { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; padding:20px 24px 8px; font-size:14px; }
.footer-legal a { color:#b8c1c8; }
.footer-legal a:hover, .footer-legal a:focus-visible { color:#ff8a24; text-decoration:underline; }
.download-notice { margin-top:16px; max-width:620px; color:#b8c1c8; font-size:14px; line-height:1.65; }
.download-notice p { margin:6px 0; }
.download-notice a, .legal-content p a { color:#ff9a42; text-decoration:underline; text-underline-offset:3px; }
.legal-page { padding:64px 0 80px; }
.legal-content { max-width:880px; }
.legal-content h1 { font-size:clamp(32px,6vw,52px); margin:12px 0; line-height:1.15; }
.legal-content h2 { font-size:23px; margin:32px 0 12px; line-height:1.3; }
.legal-content p, .legal-content li { font-size:16px; line-height:1.8; color:#c5cdd3; }
.legal-content p { margin:12px 0; }
.legal-content ul { padding-left:24px; }
.legal-content li { margin:10px 0; }
.legal-content .legal-date { font-size:14px; color:#99a6b0; }
.legal-back { display:inline-block; margin-bottom:28px; color:#ff9a42; }
.legal-content a.btn { color:#101010; text-decoration:none; }
@media (max-width:600px) { .legal-page { padding:36px 0 48px; } }
