/* Семейство ROG на connect.rogapp.org: общая гамма (графит + янтарный акцент), шрифт Manrope,
   полосы «Приложения ROG» и карточки других приложений. Подключается после style.css.
   Исходник общих стилей семейства: rogsites/src/family.css. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #141417;
  --panel: #18181b;
  --card: #1f1f23;
  --line: #2e2e35;
  --line2: #3b3b44;
  --text: #f1efe9;
  --muted: #aaa79f;
  --faint: #8d8a83;
  --accent: #f5c84b;
  --accent-ink: #17150f;
}
html,
body {
  font-family: 'Manrope', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
a:hover {
  color: #ffd977;
}
.lead {
  color: #cfccc4;
}
.logo b {
  border-radius: 10px;
}

/* ---------- «Приложения ROG» ---------- */
.rog-family {
  background: #0d0d0f;
  border-bottom: 1px solid #2e2e35;
  font: 600 13px/1.4 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
.rog-family--bottom {
  border-bottom: 0;
  border-top: 1px solid #2e2e35;
  margin-top: 8px;
}
.rog-family__in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rog-family__in::-webkit-scrollbar {
  display: none;
}
.rog-family__label {
  color: #8d8a83;
  margin-right: 10px;
  white-space: nowrap;
}
.rog-family a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #aaa79f;
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
}
.rog-family a:hover {
  color: #f1efe9;
  background: #1f1f23;
}
.rog-family a[aria-current='page'] {
  color: #f5c84b;
  background: rgb(245 200 75 / 0.12);
}
.rog-family svg {
  flex: none;
}

/* ---------- другие приложения ---------- */
.rog-apps {
  padding: 8px 0 64px;
}
.rog-apps h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.rog-apps > p {
  color: var(--muted);
  margin: 0 0 24px;
}
.rog-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.rog-app {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.rog-app:hover {
  border-color: var(--accent);
  color: var(--text);
}
.rog-app__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #18181b;
  border: 1px solid var(--line2);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rog-app b {
  font-size: 17px;
}
.rog-app span:not(.rog-app__mark) {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}
.rog-app i {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 960px) {
  .rog-apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .rog-family__label {
    display: none;
  }
  .rog-family__in {
    padding: 0 16px;
  }
  .rog-apps__grid {
    grid-template-columns: 1fr;
  }
}
