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

.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;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  background-color: #14110f;
}

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #f3ece3;
}

body > * {
  min-width: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 17, 15, 0.55), rgba(20, 17, 15, 0.88) 40%, #14110f 85%),
    url("banner.jpg") center / cover no-repeat;
}

.container {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.games-container {
  max-width: 48rem;
}

/* ---- sticky nav ---- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(20, 17, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a251f;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f3ece3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-nav-links {
  display: flex;
  gap: 1.25rem;
}

.site-nav-links a {
  color: #c9beae;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.site-nav-links a:hover,
.site-nav-links a:focus-visible {
  color: #f3ece3;
}

.header-link-groups {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}

.socials.header-socials {
  gap: 0.65rem;
}

.socials.header-socials svg {
  width: 18px;
  height: 18px;
}

.socials.header-socials a[aria-label="Patreon"] svg {
  width: 16px;
  height: 16px;
}

.socials.header-socials.header-shops a[aria-label="Fab Marketplace"] svg {
  width: 26px;
  height: 16.31px;
}

.header-divider {
  width: 1px;
  height: 20px;
  background: #3a332b;
}

/* ---- section bands ---- */

.band {
  position: relative;
  padding: 2rem 0 3.5rem;
  text-align: center;
}

.band .container {
  background: rgba(20, 17, 15, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 190, 174, 0.12);
  border-radius: 16px;
  padding: 2rem;
}

.band-alt .container {
  background: rgba(27, 23, 18, 0.68);
}

/* ---- carousel ---- */

.carousel {
  position: relative;
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: calc(100% - 7rem);
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-track.no-transition {
  transition: none;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-bottom: 4rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 15, 0.7);
  border: 1px solid rgba(201, 190, 174, 0.25);
  border-radius: 999px;
  color: #c9beae;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(20, 17, 15, 0.9);
  color: #f3ece3;
  border-color: #c9beae;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #c9beae;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}

.carousel-dot.active {
  background: #c9beae;
}

@media (max-width: 640px) {
  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .carousel-viewport {
    max-width: calc(100% - 5rem);
  }
}

/* ---- featured integration ---- */

.featured {
  padding-top: 1.5rem;
}

.featured .container {
  max-width: 52rem;
  border-color: rgba(201, 190, 174, 0.3);
}

.featured-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.9rem;
  background: rgba(201, 190, 174, 0.12);
  border: 1px solid #c9beae;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9beae;
}

.featured h2 {
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #f3ece3;
}

.featured-video {
  max-width: 34rem;
  margin: 0 auto;
}

.tools-cta-label {
  margin-top: 1.5rem;
  color: #8a8074;
  font-size: 0.85rem;
}

.tools-cta-links {
  margin-top: 0.75rem;
}

.band h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8074;
  margin-bottom: 1.25rem;
}

/* ---- hero ---- */

.hero {
  padding: 2.5rem 0 1.75rem;
}

.hero-inner.container {
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 0 2rem;
}

.logo {
  width: min(45vw, 190px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
}

.hero p {
  font-size: 1.1rem;
  color: #c9beae;
  line-height: 1.5;
}

.skillset {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.skillset-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f3ece3;
  text-decoration: none;
  transition: color 0.15s ease;
}

.skillset-item:hover,
.skillset-item:focus-visible {
  color: #c9beae;
}

.skillset-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.skillset-badge {
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(201, 190, 174, 0.4);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8074;
}

/* ---- game cards ---- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.game-card {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #f3ece3;
  border: 1px solid #2a251f;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c9beae;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 460 / 215;
  object-fit: cover;
}

.game-card-contain img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.dev-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.25rem 0.6rem;
  background: rgba(20, 17, 15, 0.85);
  border: 1px solid #c9beae;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9beae;
}

.game-card-info {
  padding: 0.9rem 1rem 1rem;
  background: #1b1712;
}

.band-alt .game-card-info {
  background: #211c17;
}

.game-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.trailer-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #c9beae;
}

.trailer-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- collaborations ---- */

.collab-container {
  max-width: 36rem;
}

.collab-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a251f;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.collab-card:hover,
.collab-card:focus-visible {
  border-color: #c9beae;
  transform: translateY(-3px);
}

.collab-card img:not(.collab-logo) {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  object-position: top;
}

.arcade-cabinet-img {
  aspect-ratio: 1000 / 1333;
}

.bigfoot-header-img {
  aspect-ratio: 460 / 215;
}

.collab-info {
  padding: 1.25rem 1.5rem;
  background: #1b1712;
}

.collab-logo {
  height: 34px;
  width: auto;
  margin-bottom: 0.85rem;
}

.collab-info p {
  color: #c9beae;
  font-size: 0.95rem;
  line-height: 1.5;
}

.collab-info strong {
  color: #f3ece3;
}

.collab-info .trailer-link {
  margin-top: 0.85rem;
}

.collab-info blockquote {
  margin: 0.75rem 0 0;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(201, 190, 174, 0.3);
  color: #8a8074;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

/* ---- video ---- */

.video-caption {
  color: #c9beae;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a251f;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---- socials ---- */

.socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.socials a {
  position: relative;
  color: #c9beae;
  transition: color 0.15s ease;
}

.socials a[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.3rem 0.6rem;
  background: #f3ece3;
  color: #14110f;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 20;
}

.socials a[data-tooltip]:hover::after,
.socials a[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header-socials a[data-tooltip]::after {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}

.header-shops a[data-tooltip]:last-child::after {
  left: auto;
  right: 0;
  transform: translateY(-4px);
}

.header-shops a[data-tooltip]:last-child:hover::after,
.header-shops a[data-tooltip]:last-child:focus-visible::after {
  transform: translateY(0);
}

.header-socials a[data-tooltip]:hover::after,
.header-socials a[data-tooltip]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.socials a:hover,
.socials a:focus-visible {
  color: #f3ece3;
}

.socials svg {
  width: 24px;
  height: 24px;
}

.socials a[aria-label="Fab Marketplace"] svg {
  width: 34px;
  height: auto;
}

.godot-icon {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.godot-link:hover .godot-icon,
.godot-link:focus-visible .godot-icon {
  opacity: 1;
}

/* ---- footer ---- */

.site-footer {
  margin-top: auto;
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #5f574c;
  border-top: 1px solid #2a251f;
}
