@import url("https://fonts.googleapis.com/css2?family=Saira:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #15171d;
  --ink-soft: #20232b;
  --paper: #eeece7;
  --paper-soft: #e5e7e9;
  --white: #f8f7f4;
  --muted: #a9acb6;
  --muted-dark: #60646f;
  --accent: #7f96cc;
  --accent-deep: #52699f;
  --accent-soft: #d6def0;
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: rgba(21, 23, 29, 0.13);
  --max: 1240px;
  --radius: 30px;
  --shadow: 0 24px 80px rgba(8, 10, 16, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 9% 13%, rgba(127, 150, 204, 0.13), transparent 26rem),
    radial-gradient(circle at 94% 42%, rgba(79, 95, 132, 0.12), transparent 30rem),
    var(--ink);
  font-family:
    Saira, "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family:
    Saira, "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

::selection {
  color: #12141a;
  background: var(--accent-soft);
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 150ms ease both page-view-out;
}

::view-transition-new(root) {
  animation: 210ms ease both page-view-in;
}

@keyframes page-view-out {
  to {
    opacity: 0.72;
    filter: blur(2px);
  }
}

@keyframes page-view-in {
  from {
    opacity: 0.72;
    filter: blur(2px);
  }
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  padding: 24px 0;
}

.site-header.is-solid {
  position: absolute;
}

.header-inner {
  display: flex;
  min-height: 62px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-version {
  margin-top: 5px;
  color: #aeb4c2;
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: #c6c8ce;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.header-action {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f2f1ee;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(19, 21, 27, 0.46);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.header-action svg,
.mobile-nav-external svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
}

.mobile-nav-external {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  align-items: end;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(17, 19, 25, 0.97) 0%, rgba(17, 19, 25, 0.72) 47%, rgba(17, 19, 25, 0.24) 100%),
    linear-gradient(0deg, #15171d 0%, transparent 32%),
    url("/assets/los-santos/los-santos-sunset.webp") center / cover;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 69% 42%, transparent 0 13%, rgba(19, 21, 27, 0.12) 48%),
    linear-gradient(180deg, rgba(9, 11, 15, 0.28), transparent 30%);
}

.hero-inner {
  display: block;
  padding: 210px 0 112px;
}

.hero-copy {
  max-width: 880px;
}

.hero-title,
.section-title,
.page-title,
.community h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-title {
  max-width: 860px;
  font-size: clamp(4rem, 8.2vw, 7.8rem);
}

.hero-title span {
  display: block;
  color: #c9d1e1;
  font-weight: 500;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: #c3c5cc;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  transition:
    transform 170ms ease,
    background 170ms ease,
    border-color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #11141b;
  background: var(--accent-soft);
}

.button-primary:hover {
  background: #e3e8f4;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  background: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9296a1;
  font-size: 0.69rem;
  transform: translateX(-50%);
}

.section {
  position: relative;
  padding: 100px 0;
}

.mechanics-section {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 8% 14%, rgba(127, 150, 204, 0.11), transparent 24rem),
    #171a21;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.mechanics-heading {
  align-items: end;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.role-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(13, 15, 20, 0.88);
}

.role-card figure {
  height: 330px;
  margin: 0;
  overflow: hidden;
}

.role-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition:
    transform 450ms ease,
    filter 450ms ease;
}

.role-card-1 img {
  object-position: center 28%;
}

.role-card-2 img {
  object-position: center 42%;
}

.role-card-3 img {
  object-position: center;
}

.role-card-4 img {
  object-position: center 42%;
}

.role-card:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.role-copy {
  padding: 28px 30px 31px;
}

.role-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.role-copy p {
  max-width: 620px;
  margin: 13px 0 0;
  color: #aeb2bd;
  font-size: 0.9rem;
  line-height: 1.72;
}

.section-title {
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.section-intro {
  max-width: 600px;
  margin: 24px 0 0;
  color: inherit;
  opacity: 0.68;
  font-size: 1rem;
  line-height: 1.75;
}

.how-section {
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(127, 150, 204, 0.09), transparent 45%),
    #1c1f27;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 54px;
  margin-bottom: 52px;
}

.section-heading.compact {
  margin-bottom: 58px;
}

.section-heading .section-intro {
  max-width: 460px;
  margin-bottom: 5px;
}

.steps-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 290px;
  padding: 55px 25px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(14, 16, 22, 0.38);
  box-shadow: 0 24px 70px rgba(7, 9, 14, 0.16);
}

.step-one {
  transform: translateY(24px);
}

.step-two {
  transform: translateY(-22px);
}

.step-three {
  transform: translateY(18px);
}

.step-four {
  transform: translateY(-18px);
}

.step-five {
  transform: translateY(22px);
}

.step-card::after {
  position: absolute;
  color: rgba(214, 222, 240, 0.72);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}

.step-card:not(.step-five)::after {
  top: 50%;
  right: -20px;
  z-index: 2;
  content: "›";
  transform: translateY(-50%);
}

.step-number {
  position: absolute;
  top: -35px;
  left: 29px;
  color: transparent;
  font-size: 5.2rem;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(214, 222, 240, 0.38);
}

.step-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step-card p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-card a,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  min-height: 380px;
  overflow: hidden;
  border-radius: 24px;
  background: #262a34;
}

.gallery-item.gallery-wide {
  grid-column: span 8;
}

.gallery-item.gallery-tall {
  min-height: 580px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 12, 17, 0.86), transparent 60%);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-overlay {
  position: absolute;
  z-index: 1;
  right: 23px;
  bottom: 22px;
  left: 23px;
}

.gallery-overlay strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 520;
  letter-spacing: 0;
}

.faq-section {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 80%, rgba(127, 150, 204, 0.12), transparent 24rem),
    #1b1e25;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(440px, 1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 170ms ease;
}

.faq[open] {
  background: rgba(255, 255, 255, 0.075);
}

.faq summary {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary > span {
  color: var(--accent-deep);
  font-size: 0.66rem;
  font-weight: 600;
}

.faq summary strong {
  font-size: 1rem;
  font-weight: 500;
}

.faq summary i {
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 300;
  transition: transform 170ms ease;
}

.faq[open] summary i {
  transform: rotate(45deg);
}

.faq > p {
  max-width: 590px;
  margin: -3px 30px 24px 82px;
  color: var(--muted);
  font-size: 0.9rem;
}

.community-section {
  background: #15171d;
}

.community {
  position: relative;
  min-height: 570px;
  padding: clamp(40px, 7vw, 90px);
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(16, 18, 24, 0.95), rgba(16, 18, 24, 0.6)),
    url("/assets/los-santos/nightlife.webp") center / cover;
  box-shadow: var(--shadow);
}

.community h2 {
  max-width: 840px;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
}

.community p {
  max-width: 540px;
  margin: 26px 0 32px;
  color: #c4c6cd;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 680px;
  padding: 190px 0 80px;
  align-items: end;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 18, 24, 0.97), rgba(16, 18, 24, 0.58) 60%, rgba(16, 18, 24, 0.25)),
    linear-gradient(0deg, #15171d, transparent 42%);
}

.page-hero-gallery {
  background-image: url("/assets/vision-one/gallery-header.jpg");
  background-position: center 52%;
}

.page-hero-rules {
  background-image: url("/assets/vision-one/rules-header.jpg");
  background-position: center 58%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-title {
  max-width: 960px;
  font-size: clamp(4.2rem, 9vw, 8.8rem);
}

.page-lead {
  max-width: 650px;
  margin: 27px 0 0;
  color: #c4c6cd;
  font-size: 1rem;
}

.gallery-page-section {
  background:
    radial-gradient(circle at 5% 12%, rgba(127, 150, 204, 0.13), transparent 28rem),
    var(--ink);
}

.gallery-help {
  display: flex;
  margin-top: 40px;
  padding-top: 24px;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line-dark);
}

.gallery-help span {
  font-weight: 700;
}

.gallery-help p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.rules-page-section {
  color: var(--white);
  background:
    radial-gradient(circle at 5% 10%, rgba(127, 150, 204, 0.11), transparent 26rem),
    #171a21;
}

.rules-layout {
  display: grid;
  gap: 64px;
}

.rules-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: end;
}

.rules-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.rules-intro > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rules-intro > .text-link {
  margin-top: 18px;
}

.rules-search {
  display: grid;
  gap: 9px;
}

.rules-search span {
  font-size: 0.8rem;
  font-weight: 650;
}

.rules-search input {
  width: 100%;
  height: 58px;
  padding: 0 20px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.rules-search input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.rules-count {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 0.78rem;
}

.rules-list {
  display: grid;
  gap: clamp(68px, 8vw, 108px);
}

.rule-group {
  max-width: 1080px;
}

.rule-group-header {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 0 0 30px;
  align-items: baseline;
}

.rule-group-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.rule-group-title {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.rule-group-content {
  display: grid;
  gap: 32px;
  padding: 0 0 0 78px;
}

.rule-item {
  padding: 0;
}

.rule-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.rule-item p {
  max-width: 920px;
  margin: 8px 0 0;
  color: #a9adb8;
  font-size: 0.93rem;
  line-height: 1.85;
  white-space: pre-line;
}

.rules-empty {
  padding: 32px 0;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  color: var(--white);
  background: #111319;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.55fr 0.55fr;
  gap: 50px;
  padding: 68px 0 45px;
}

.footer-brand {
  max-width: 500px;
}

.footer-brand p {
  max-width: 440px;
  margin: 20px 0 0;
  color: #8f939e;
  font-size: 0.84rem;
}

.footer-col strong {
  display: block;
  margin-bottom: 15px;
  color: #d0d3da;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: max-content;
  margin: 9px 0;
  color: #9296a1;
  font-size: 0.83rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding: 22px 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #737782;
  border-top: 1px solid var(--line-dark);
  font-size: 0.65rem;
}

.footer-legal {
  max-width: 720px;
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    padding: 11px 15px;
    color: #d5d7dc;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
    font-size: 0.67rem;
    font-weight: 750;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-panel {
    position: absolute;
    top: 52px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 40px));
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    background: rgba(20, 22, 28, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-nav-panel a {
    padding: 12px;
    color: #c6c8cf;
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .mobile-nav-panel a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .steps-roadmap {
    grid-template-columns: 1fr;
    max-width: 680px;
    gap: 54px;
  }

  .step-one,
  .step-two,
  .step-three,
  .step-four,
  .step-five {
    transform: none;
  }

  .step-card:not(.step-five)::after {
    top: auto;
    right: auto;
    bottom: -43px;
    left: 50%;
    content: "↓";
    transform: translateX(-50%);
  }

  .rules-toolbar {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 26px), var(--max));
  }

  .site-header {
    padding: 13px 0;
  }

  .header-inner {
    min-height: 58px;
    padding: 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 0.77rem;
  }

  .brand-version {
    font-size: 0.52rem;
  }

  .hero {
    min-height: 820px;
    background:
      linear-gradient(90deg, rgba(17, 19, 25, 0.91), rgba(17, 19, 25, 0.47)),
      linear-gradient(0deg, #15171d 0%, transparent 45%),
      url("/assets/los-santos/los-santos-sunset.webp") center / cover;
  }

  .hero-inner {
    padding: 160px 0 100px;
  }

  .hero-title {
    font-size: clamp(3.55rem, 17vw, 5.5rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-scroll {
    bottom: 25px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
  }

  .section-heading .section-intro {
    margin: 0;
  }

  .section-title {
    font-size: clamp(2.85rem, 13vw, 4.3rem);
  }

  .roles-grid {
    gap: 13px;
  }

  .role-card {
    display: block;
    grid-column: span 12;
    grid-row: auto;
    border-radius: 22px;
  }

  .role-card figure {
    height: 300px;
  }

  .role-copy {
    padding: 24px;
  }

  .steps-roadmap {
    gap: 56px;
  }

  .step-card {
    min-height: 0;
    padding: 49px 24px 27px;
    border-radius: 22px;
  }

  .step-number {
    top: -27px;
    left: 22px;
    width: auto;
    height: auto;
    font-size: 4.3rem;
  }

  .step-card:not(.step-five)::after {
    bottom: -46px;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-item,
  .gallery-item.gallery-wide {
    grid-column: span 12;
    min-height: 360px;
    border-radius: 20px;
  }

  .gallery-item.gallery-tall {
    min-height: 440px;
  }

  .community {
    min-height: 610px;
    padding: 35px 24px;
    border-radius: 24px;
  }

  .community h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq summary {
    grid-template-columns: 34px 1fr auto;
    gap: 9px;
  }

  .faq > p {
    margin: -3px 24px 22px 67px;
  }

  .community {
    background:
      linear-gradient(0deg, rgba(16, 18, 24, 0.97), rgba(16, 18, 24, 0.47)),
      url("/assets/los-santos/nightlife.webp") 55% center / cover;
  }

  .page-hero {
    min-height: 590px;
    padding: 150px 0 65px;
  }

  .page-title {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .gallery-help {
    display: grid;
  }

  .rule-group-header {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 0 0 24px;
  }

  .rule-group-content {
    gap: 28px;
    padding: 0 0 0 44px;
  }

  .rule-item {
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
