/* «Неон Vice City» — тема розділу GTA 6 (2026-11-18). Підключається лише на /game/gta6/ (body.theme-gta6)
   поверх інлайн-стилів game.php: захід сонця Леоніди (помаранчевий → рожевий), фіолетові тіні, бірюзовий акцент.
   Без зовнішніх ресурсів і без нових шрифтів (Manrope/Inter сайту). Тест: php tests/gta6_hub_test.php. */

.theme-gta6 {
  --vc-pink: #ff3d8b;
  --vc-pink-soft: #ff7ab0;
  --vc-orange: #ff9a3c;
  --vc-violet: #7b2ff7;
  --vc-cyan: #2de2e6;
  --vc-ink: #08050d;
  --vc-card: #140b1f;
  --vc-line: rgba(255, 122, 176, .2);
  --vc-text: #ddd2e8;
  --vc-muted: #ab9cbb;
  --vc-sunset: linear-gradient(90deg, var(--vc-orange), var(--vc-pink));
  --primary-color: var(--vc-pink-soft);
  --primary-glow: rgba(255, 61, 139, .18);
  --bs-body-bg: var(--vc-ink);
  --card-bg: #120a1b;
  --border-color: rgba(255, 122, 176, .1);
  background-color: var(--vc-ink);
  background-image:
    radial-gradient(900px 520px at 100% -8%, rgba(123, 47, 247, .2), transparent 62%),
    radial-gradient(700px 420px at -10% 30%, rgba(255, 61, 139, .07), transparent 60%);
  background-attachment: fixed;
}

/* ── Каркас сторінки ─────────────────────────────────────────── */
.theme-gta6 .sidebar { background-color: #0b0712; border-right-color: rgba(255, 122, 176, .1); }
.theme-gta6 .nav-link-custom.active { background-color: rgba(255, 61, 139, .14); color: var(--vc-pink-soft); }
.theme-gta6 .btn-success {
  background-image: var(--vc-sunset); background-color: var(--vc-pink); border: 0; color: #1a0712; font-weight: 800;
}
.theme-gta6 .btn-success:hover,
.theme-gta6 .btn-success:focus-visible { color: #1a0712; filter: brightness(1.08); }
.theme-gta6 .btn-header-add {
  background-image: var(--vc-sunset); color: #1a0712; box-shadow: 0 2px 14px rgba(255, 61, 139, .3); --mh-action-color: #3a0a22;
}
.theme-gta6 .btn-header-add:hover { color: #1a0712; box-shadow: 0 6px 22px rgba(255, 61, 139, .42); }
.theme-gta6 a:focus-visible,
.theme-gta6 button:focus-visible,
.theme-gta6 summary:focus-visible { outline: 2px solid var(--vc-cyan); outline-offset: 3px; border-radius: 8px; }

/* ── Шапка гри: неонове сонце над океаном ────────────────────── */
.theme-gta6 .game-header {
  border-color: rgba(255, 122, 176, .28);
  background: #12081c;
  box-shadow: 0 30px 70px -40px rgba(255, 61, 139, .65), inset 0 0 0 1px rgba(255, 154, 60, .06);
}
.theme-gta6 .game-header::after {
  background:
    radial-gradient(circle at 82% 118%, rgba(255, 154, 60, .55) 0, rgba(255, 61, 139, .32) 22%, transparent 46%),
    linear-gradient(180deg, transparent 52%, rgba(123, 47, 247, .24) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px);
}
.theme-gta6 .game-header h1 {
  background-image: linear-gradient(92deg, #ffe0ee 0%, var(--vc-pink-soft) 42%, var(--vc-orange) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.theme-gta6 .game-header .lead { color: var(--vc-text) !important; opacity: 1 !important; }

.theme-gta6 .vc-release { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.theme-gta6 .vc-release-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--vc-muted);
}
.theme-gta6 .vc-release-date {
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.1;
  background-image: var(--vc-sunset); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.theme-gta6 .vc-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: #a6f6f7;
  background: rgba(45, 226, 230, .08); border: 1px solid rgba(45, 226, 230, .32);
}

/* ── Хаб: факти, «коли моди», добірка, FAQ ───────────────────── */
.theme-gta6 .vc-hub { display: grid; gap: 18px; margin: 4px 0 28px; }
.theme-gta6 .vc-section {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 13, 42, .94), rgba(13, 8, 21, .94));
  border: 1px solid var(--vc-line); border-radius: 20px; padding: 22px;
}
.theme-gta6 .vc-section::before {
  content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 2px;
  background-image: var(--vc-sunset); opacity: .7; border-radius: 0 0 2px 2px;
}
.theme-gta6 .vc-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; font-size: 1.22rem; color: #fff; letter-spacing: -.01em;
}
.theme-gta6 .vc-title i {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  color: var(--vc-pink-soft); border: 1px solid var(--vc-line);
  background: linear-gradient(135deg, rgba(255, 61, 139, .22), rgba(255, 154, 60, .1));
}
.theme-gta6 .vc-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0;
}
.theme-gta6 .vc-fact {
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 16px;
}
.theme-gta6 .vc-fact dt {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--vc-muted); margin-bottom: 6px;
}
.theme-gta6 .vc-fact dd { margin: 0; color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.35; }
.theme-gta6 .vc-fact.is-accent {
  border-color: rgba(255, 61, 139, .45);
  background: linear-gradient(135deg, rgba(255, 61, 139, .16), rgba(255, 154, 60, .07));
}
.theme-gta6 .vc-fact.is-cyan { border-color: rgba(45, 226, 230, .35); background: rgba(45, 226, 230, .06); }
.theme-gta6 .vc-fact.is-cyan dd { color: #a6f6f7; }
.theme-gta6 .vc-source { margin: 14px 0 0; font-size: .82rem; }
.theme-gta6 .vc-source a { color: var(--vc-muted); text-decoration: underline; text-underline-offset: 3px; }
.theme-gta6 .vc-source a:hover { color: var(--vc-pink-soft); }
.theme-gta6 .vc-text { color: var(--vc-text); line-height: 1.65; margin: 0 0 16px; max-width: 72ch; }
.theme-gta6 .vc-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px;
  font-weight: 800; color: #1a0712; background-image: var(--vc-sunset);
  box-shadow: 0 12px 30px -14px rgba(255, 61, 139, .85); transition: filter .2s ease, transform .2s ease;
}
.theme-gta6 .vc-btn:hover,
.theme-gta6 .vc-btn:focus-visible { color: #1a0712; filter: brightness(1.08); transform: translateY(-1px); }

.theme-gta6 .vc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theme-gta6 .vc-mod {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; color: #f4ecf8;
  background: var(--vc-card); border: 1px solid rgba(255, 255, 255, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.theme-gta6 .vc-mod img,
.theme-gta6 .vc-noimg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.theme-gta6 .vc-noimg { background: linear-gradient(135deg, #2a1240, #5a1a3a); }
.theme-gta6 .vc-mod-title {
  padding: 10px 12px 12px; font-weight: 700; font-size: .88rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-gta6 .vc-mod:hover,
.theme-gta6 .vc-mod:focus-visible {
  color: #fff; transform: translateY(-3px); border-color: rgba(255, 61, 139, .5);
  box-shadow: 0 18px 40px -22px rgba(255, 61, 139, .8);
}

.theme-gta6 .vc-faq details { border-top: 1px solid rgba(255, 255, 255, .07); }
.theme-gta6 .vc-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 2px;
  cursor: pointer; list-style: none; font-weight: 700; color: #fff;
}
.theme-gta6 .vc-faq summary::-webkit-details-marker { display: none; }
.theme-gta6 .vc-faq summary::after {
  content: '+'; flex: 0 0 auto; font-size: 1.35rem; line-height: 1; color: var(--vc-pink-soft); font-weight: 700;
}
.theme-gta6 .vc-faq details[open] summary::after { content: '−'; }
.theme-gta6 .vc-faq details p { margin: 0 0 14px; color: var(--vc-text); line-height: 1.6; max-width: 72ch; }

/* ── Коли з'являться моди: картки й категорії в тон теми ─────── */
.theme-gta6 .cat-title-icon { color: var(--vc-pink-soft); border-color: var(--vc-line); background: rgba(255, 61, 139, .12); }
.theme-gta6 .cat-chip:hover,
.theme-gta6 .cat-chip.active { border-color: rgba(255, 61, 139, .45); color: #fff; }
.theme-gta6 .mod-card:hover { border-color: rgba(255, 61, 139, .4); box-shadow: 0 18px 44px -24px rgba(255, 61, 139, .7); }

@media (min-width: 768px) {
  .theme-gta6 .vc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-gta6 .vc-release { align-items: flex-end; text-align: right; }
}
@media (max-width: 575.98px) {
  .theme-gta6 .vc-section { padding: 18px 16px; border-radius: 16px; }
  .theme-gta6 .vc-title { font-size: 1.08rem; }
  .theme-gta6 .vc-release-date { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-gta6 .vc-btn,
  .theme-gta6 .vc-mod { transition: none; }
  .theme-gta6 .vc-btn:hover,
  .theme-gta6 .vc-mod:hover,
  .theme-gta6 .vc-mod:focus-visible { transform: none; }
}
