/* Gamezone Indonesia - static stylesheet (no build step) */

:root {
  --primary: #f97316;
  --secondary: #fb923c;
  --accent: #fdba74;
  --background: #0a0a0a;
  --surface: #141414;
  --card: #1c1c1c;
  --muted: #a3a3a3;
  --text: #f8fafc;
  --text-soft: #f1f5f9;
  --danger: #dc2626;
  --danger-hover: #ef4444;
  --danger-text: #fca5a5;
  --success: #34d399;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --container: 80rem;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #000;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

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

.text-secondary {
  color: var(--secondary);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .section-heading h2 {
    font-size: 1.875rem;
  }
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(251, 146, 60, 0.4);
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #000;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.4);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: var(--danger-hover);
  box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 146, 60, 0.6);
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.brand-text {
  font-size: 1.125rem;
}

.brand-text span {
  color: var(--secondary);
}

.footer-brand .brand-text {
  font-size: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle {
  display: inline-flex;
  padding: 0.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 1rem;
}

.nav-mobile.is-open {
  display: block;
  animation: fade-down 0.25s ease;
}

.nav-mobile a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-soft);
  transition: background-color 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1280px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none;
  }
}

/* Promo slider */

.promo-section {
  padding-top: 1.5rem;
}

.promo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .promo {
    aspect-ratio: 21 / 9;
  }
}

.promo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.promo-slide.is-active {
  opacity: 1;
}

.promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

.promo-arrow.prev {
  left: 0.75rem;
}

.promo-arrow.next {
  right: 0.75rem;
}

.promo:hover .promo-arrow,
.promo-arrow:focus-visible {
  opacity: 1;
}

.promo-arrow:hover {
  background: var(--primary);
  color: #000;
}

.promo-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.promo-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.promo-dot:hover {
  background: #fff;
}

.promo-dot.is-active {
  width: 2rem;
  background: var(--primary);
}

/* Hero and page banners */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-shade,
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(to right, var(--background), rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.4));
}

.hero-fade {
  background: linear-gradient(to top, var(--background), transparent, transparent);
}

.hero-content {
  padding: 3rem 0 5rem;
}

.hero-content h1 {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.hero-content .lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-content .pill {
  margin-top: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 4rem 0 5rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 4rem 0 7rem;
  }

  .hero-content h1 {
    font-size: 3.75rem;
  }
}

.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-banner .hero-content {
  padding: 3.5rem 0 4rem;
}

.page-banner .hero-content .pill {
  margin-top: 0;
}

.page-banner .hero-actions {
  margin-top: 2rem;
}

.page-banner .hero-content h1 {
  font-size: 2.25rem;
}

@media (min-width: 640px) {
  .page-banner .hero-content {
    padding: 5rem 0 5rem;
  }

  .page-banner .hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-banner .hero-content {
    padding: 5rem 0 5rem;
  }

  .page-banner .hero-content h1 {
    font-size: 3.75rem;
  }
}

/* Trending games */

.game-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.game-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.05);
}

.game-body {
  padding: 1.25rem;
}

.game-body h3 {
  font-size: 1.25rem;
  color: var(--text);
}

.platform {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.game-body p.desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* News, reviews, guides */

.news-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.news-card,
.panel,
.card-flat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.15);
  font-weight: 600;
  color: #fed7aa;
}

.date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted);
}

.news-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.35;
  transition: color 0.2s;
}

.news-card:hover h3 {
  color: var(--secondary);
}

.news-card p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.news-card .more {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel {
  background: var(--card);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel {
    padding: 2rem;
  }
}

.pillar-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(20, 20, 20, 0.6);
  transition: background-color 0.2s;
}

.pillar:hover {
  background: var(--surface);
}

.pillar .icon {
  margin-top: 0.125rem;
  color: var(--accent);
}

.pillar h3 {
  font-size: 1rem;
}

.pillar p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.guide-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide {
  display: block;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  background: rgba(20, 20, 20, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.guide:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 146, 60, 0.4);
}

.guide h3 {
  font-size: 1rem;
}

.guide p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.category {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.category:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 146, 60, 0.5);
  background: var(--card);
  color: var(--secondary);
}

/* FAQ */

.faq-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
}

.faq-head h2 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .faq-head h2 {
    font-size: 1.875rem;
  }
}

.faq {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question .chevron {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.faq-item.is-open .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.is-open .faq-answer p {
  padding: 0 1.5rem 1.25rem;
  opacity: 1;
}

/* Content page cards */

.content-section {
  padding: 3.5rem 0 5rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

a.info-card:hover,
.info-card.is-link:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
}

.info-card .meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.info-card h2 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.info-card p {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.info-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

.back-link:hover .arrow {
  transform: translateX(-4px);
}

.back-link .arrow {
  transition: transform 0.2s ease;
}

/* Contact form */

.contact-wrap {
  max-width: 42rem;
  margin: 0 auto;
}

.form-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

.form {
  display: grid;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(163, 163, 163, 0.7);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--danger-text);
}

.form-error.is-visible {
  display: flex;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
}

.form-success.is-visible {
  display: flex;
  animation: fade-up 0.4s ease;
}

.form-success .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.form-success h2 {
  font-size: 1.5rem;
}

.form-success p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-body.is-hidden {
  display: none;
}

.spinner {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .send-icon {
  display: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-grid p.about {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-grid h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.footer-links.stack {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Motion */

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }
}
