/* Global Styles */
:root {
  --bg-dark: #0b0c10;
  --bg-panel: rgba(20, 24, 30, 0.85);
  --bg-panel-solid: #14181e;
  --accent-primary: #d54c32;
  --accent-secondary: #f7a600;
  --text-light: #f5f5f5;
  --text-muted: #98a3b8;
  --border-glow: rgba(213, 76, 50, 0.4);
  --max-width: 1200px;
  --transition-fast: 180ms ease;
  --transition-medium: 320ms ease;
  --font-primary: "Rajdhani", "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html,
body {
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-primary);
  min-height: 100%;
  scroll-behavior: smooth;
}

.background-visual {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  /* Higher than background layers */
  background: #0b0c10;
  /* Fallback color */
}

.background-visual__layer {
  position: absolute;
  inset: -20%;
  transform-origin: center;
}

.background-visual__layer--glow {
  background: radial-gradient(circle at 20% 20%, rgba(213, 76, 50, 0.32), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(247, 166, 0, 0.24), transparent 65%);
  filter: blur(28px);
  animation: background-pan 22s linear infinite;
}

.background-visual__layer--grid {
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(300deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 160px 160px, 220px 220px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  animation: background-drift 40s linear infinite;
}

.background-visual__layer--pulse {
  background: radial-gradient(circle at center, rgba(213, 76, 50, 0.12), transparent 70%);
  opacity: 0.6;
  animation: background-pulse 9s ease-in-out infinite;
}

@keyframes background-pan {
  0% {
    transform: translate3d(-4%, -4%, 0) scale(1.1);
  }

  50% {
    transform: translate3d(4%, 3%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-4%, -4%, 0) scale(1.1);
  }
}

@keyframes background-drift {
  0% {
    transform: rotate(0deg) scale(1.05);
  }

  50% {
    transform: rotate(1.5deg) scale(1.08);
  }

  100% {
    transform: rotate(0deg) scale(1.05);
  }
}

@keyframes background-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {

  .background-visual__layer,
  .background-visual__layer::before,
  .background-visual__layer::after {
    animation: none !important;
    transform: none !important;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(213, 76, 50, 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(247, 166, 0, 0.12), transparent 55%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(5, 6, 8, 0.25) 0%,
      rgba(5, 6, 8, 0.45) 45%,
      rgba(5, 6, 8, 0.65) 100%);
  z-index: -3;
}

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

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 17, 0.65);
  border-bottom: 1px solid rgba(213, 76, 50, 0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(213, 76, 50, 0.6);
  border-radius: 6px;
  background: rgba(213, 76, 50, 0.08);
  box-shadow: 0 0 12px rgba(213, 76, 50, 0.25);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), rgba(213, 76, 50, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid rgba(247, 166, 0, 0.4);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(247, 166, 0, 0.16), rgba(247, 166, 0, 0.05));
  color: var(--accent-secondary);
  padding: 0.55rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(247, 166, 0, 0.22);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
}

/* Hero Section */
.hero {
  padding-block: clamp(5rem, 12vh, 8rem);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 16, 0) 0%, rgba(11, 12, 16, 0.95) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent-primary);
}

.hero p {
  margin-top: 1.2rem;
  max-width: 40ch;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(213, 76, 50, 0.85), rgba(213, 76, 50, 0.4));
  border: 1px solid rgba(213, 76, 50, 0.4);
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(213, 76, 50, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 34px rgba(213, 76, 50, 0.3);
}

.btn-secondary {
  border: 1px solid rgba(247, 166, 0, 0.4);
  color: var(--accent-secondary);
  background: rgba(247, 166, 0, 0.12);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(247, 166, 0, 0.24);
}

.btn-ghost {
  border: 1px solid rgba(213, 76, 50, 0.45);
  color: var(--accent-primary);
  background: transparent;
  padding-inline: 1.2rem;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(213, 76, 50, 0.2);
}

.hero-panel {
  border-radius: 18px;
  padding: 2rem;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 1rem;
}

.hero-panel h2 {
  font-size: 0.95rem;
  letter-spacing: 0.18rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.4rem;
}

.hero-stat {
  padding: 1.2rem 1rem;
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(213, 76, 50, 0.2);
  text-align: center;
}

.hero-stat h3 {
  font-size: 2rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.hero-stat p {
  color: var(--text-muted);
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-top: 0.6rem;
}

.hero-stats-status {
  font-size: 0.78rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-muted);
  transition: color var(--transition-medium);
}

.hero-stats-status[data-state='success'] {
  color: var(--accent-secondary);
}

.hero-stats-status[data-state='fallback'],
.hero-stats-status[data-state='error'] {
  color: rgba(247, 166, 0, 0.72);
}

.section {
  padding-block: clamp(4rem, 10vh, 6.5rem);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.16rem;
}

.section-subtitle {
  margin-top: 0.8rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid rgba(213, 76, 50, 0.18);
  border-radius: 16px;
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -40%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(213, 76, 50, 0.3), transparent 65%);
  opacity: 0;
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.feature-card:hover::before {
  opacity: 1;
  transform: translate(12px, -12px);
}

.feature-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-secondary);
}

.timeline {
  display: grid;
  gap: 1.4rem;
}

.timeline-entry {
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(213, 76, 50, 0.14);
  display: grid;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.timeline-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(145deg, rgba(213, 76, 50, 0.25), transparent);
  mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  padding: 1px;
}

.timeline-entry h4 {
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.timeline-entry span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-entry p {
  color: var(--text-muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
}

.partner-card {
  padding: 1.2rem 1rem;
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(213, 76, 50, 0.14);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

footer {
  padding-block: 3rem;
  background: rgba(6, 8, 11, 0.92);
  border-top: 1px solid rgba(213, 76, 50, 0.18);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--text-muted);
}

.footer-grid a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-grid a:hover {
  color: var(--text-light);
}

.footer-bottom {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(213, 76, 50, 0.3);
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(213, 76, 50, 0.25);
  color: var(--text-light);
}

/* Servers Page */
.server-filter {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.server-filter select,
.server-filter input {
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(213, 76, 50, 0.2);
  color: var(--text-light);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-family: var(--font-primary);
  letter-spacing: 0.04em;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.server-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.4rem;
  border: 1px dashed rgba(213, 76, 50, 0.3);
  border-radius: 16px;
  color: var(--text-muted);
  background: rgba(11, 12, 16, 0.5);
}

.server-card {
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(213, 76, 50, 0.18);
  border-radius: 16px;
  padding: 1.6rem;
  display: grid;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(213, 76, 50, 0.16);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.server-card:hover::before {
  opacity: 1;
}

.server-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.server-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.server-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(213, 76, 50, 0.16);
  border: 1px solid rgba(213, 76, 50, 0.3);
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.server-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.server-actions a {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
}

.status-online {
  color: #54e1a6;
}

.status-offline {
  color: #ff6b6b;
}

/* Store Page */
.store-hero {
  position: relative;
  padding-block: clamp(4rem, 18vh, 8rem);
}

.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(213, 76, 50, 0.18), rgba(11, 12, 16, 0.95));
  opacity: 0.4;
  z-index: -1;
}

.store-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.store-hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  color: var(--accent-secondary);
  font-size: 0.85rem;
}

.store-hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.18rem;
}

.store-hero-copy p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.7;
}

.store-hero-actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-hero-panel {
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.store-hero-panel h2 {
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.store-hero-panel ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--text-muted);
}

.store-hero-note {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.store-grid-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed rgba(213, 76, 50, 0.35);
  border-radius: 18px;
  background: rgba(11, 12, 16, 0.5);
}

.product-card {
  position: relative;
  background: rgba(11, 12, 16, 0.72);
  border: 1px solid rgba(213, 76, 50, 0.18);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px auto;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(213, 76, 50, 0.24);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.product-card:hover::before {
  opacity: 1;
}

.product-media {
  position: relative;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 16, 0.05), rgba(11, 12, 16, 0.75));
}

.product-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
}

.product-tagline {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.75rem;
}

.product-body h3 {
  font-size: 1.35rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-secondary);
  margin-top: 0.6rem;
}

.product-price span {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
}

.modal {
  position: relative;
  background: var(--bg-panel-solid);
  border-radius: 22px;
  border: 1px solid rgba(213, 76, 50, 0.2);
  width: min(720px, 100%);
  max-height: min(90vh, 820px);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: sticky;
  top: 1rem;
  margin-left: auto;
  margin-right: 1.4rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 0 2.2rem 2.6rem;
  display: grid;
  gap: 1.6rem;
}

.modal-media {
  height: 220px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin-top: 2.2rem;
}

.modal-header {
  display: grid;
  gap: 0.4rem;
}

.modal-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-header h2 {
  font-size: 2rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.modal-price {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
}

.modal-price span {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.modal-description {
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-perks {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--text-muted);
}

.modal-perks li::before {
  content: '›';
  margin-right: 0.6rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

.modal-cta {
  justify-self: start;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .store-hero-grid {
    grid-template-columns: 1fr;
  }

  .store-hero-panel {
    order: -1;
  }

  .modal {
    max-height: 90vh;
  }
}

/* Community Page */
.community-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.community-card {
  background: rgba(11, 12, 16, 0.65);
  border: 1px solid rgba(213, 76, 50, 0.2);
  border-radius: 18px;
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}

.community-card h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
}

.community-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.community-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.community-card li {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    transform: translateY(-120%);
    background: rgba(6, 8, 11, 0.95);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform var(--transition-medium);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (prefers-reduced-motion: reduce) {

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}