:root {
  --primary-color: #a36c40;
  --secondary-color: #33291f;
  --accent-color: #f7e4c2;
  --text-color: #33291f;
  --bg-color: #fdf9f4;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --embed-w: 350px;
  --embed-h: 350px;
  --hero-bg: #0b0b0b;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

/* Container utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 41, 31, 0.9);
  z-index: 999;
  padding: 0.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 1px;
}

.nav a {
  color: #fff !important;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-color) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

.hero {
  position: relative;
  height: 100vh;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(51, 41, 31, 0.6), rgba(51, 41, 31, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background-color: var(--primary-color);
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
}

.hero-bleed {
  position: relative;
  background-size: cover;
  background-position: center center;
  padding: 4rem 0 2rem;
  color: #fff;
}

.hero-bleed .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  z-index: 0;
}

.centered-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-sign .welcome-sign {
  width: 380px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-copy h1 em {
  opacity: 0.6;
  font-weight: 400;
  font-size: 0.5em;
  line-height: 1em;
  vertical-align: middle;
}

.fs-video {
  background: #071018;
  padding: 1rem 0 2rem;
}

.fs-video .video-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fs-video video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.songs-section {
  padding: 5rem 0 3rem;
}

.songs-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.song-card {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.song-card[data-badge]::after {
  content: attr(data-badge);
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(51, 41, 31, 0.92);

  color: #fff;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.song-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.song-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.song-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-color);
}

.song-info p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}


audio {
  width: 100%;
  margin: 0.25rem 0 0.5rem;
  accent-color: var(--primary-color);
}

.platform-links {
  display: flex;
  gap: 0.75rem;
}

.platform-links a {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: color 0.3s, opacity 0.3s;
}

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


.platform-links a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
  /* for tooltip positioning */
}


.platform-links a.disabled::after,
.hero .hero-platforms a.disabled::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translate(-50%, -4px);
  background: rgba(51, 41, 31, 0.95);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.platform-links a.disabled::before,
.hero .hero-platforms a.disabled::before {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(51, 41, 31, 0.95);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.platform-links a.disabled:hover::after,
.platform-links a.disabled:hover::before,
.hero .hero-platforms a.disabled:hover::after,
.hero .hero-platforms a.disabled:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}


.platform-note {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--secondary-color);
  opacity: 0.7;
}


.song-card.upcoming {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/songs/upcoming.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.song-card.upcoming::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 41, 31, 0.6);
  z-index: 0;
}

.song-card.upcoming .upcoming-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.song-card.upcoming h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* About section */
.about-section {
  background-color: var(--secondary-color);
  color: #fefefe;
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--accent-color);
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.legal-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.7em !important;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}


.hero .hero-platforms {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1rem;
}

.hero .hero-platforms a {
  font-size: 2rem;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
}

.hero .hero-platforms a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero .hero-platforms a.disabled {
  cursor: not-allowed;
}


.logo.logo-music {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo .word-primary {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.logo .word-secondary {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent-color);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}


.song-card .song-media {
  position: relative;
  width: 100%;
  min-height: var(--embed-h);
  overflow: hidden;
  background: #000;
}


.song-card .song-media img.blur-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  filter: blur(18px);
  transform: scale(1.1);
  z-index: 0;
}


.song-card .song-media img.cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  z-index: 1;
}


.song-card .song-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--embed-w);
  height: var(--embed-h);
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
  z-index: 2;
}


.song-card .song-media.loaded img.cover-fallback {
  display: none;
}


.song-card .song-media.fallback iframe {
  display: none;
}


.fs-hero {
  padding: 8rem 0 0;
  background: linear-gradient(180deg, rgba(19, 12, 8, 0.55), rgba(19, 12, 8, 0.15));
  color: #fff;
}

.fs-testimonials {
  background: radial-gradient(1200px 400px at 50% -10%, rgba(163, 108, 64, 0.32), transparent 60%),
    linear-gradient(180deg, rgba(19, 12, 8, 0.08), rgba(19, 12, 8, 0.03));
}

.fs-testimonials h2 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.fs-hero .fs-hero-inner {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 2rem;
  align-items: center;
}




.fs-hero-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
}

.fs-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fs-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.45));
}

.testimonial blockquote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(163, 108, 64, 0.65);
}

/* Testimonials nav and indicators */
.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.testimonial-prev {
  left: 6px;
}

.testimonial-next {
  right: 6px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: rgba(0, 0, 0, 0.55);
}

.testimonial-indicators {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.testimonial-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(51, 41, 31, 0.25);
  border: none;
}

.testimonial-indicators button.active {
  background: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial {
    transition: none;
  }
}

.fs-hero-overlay h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
}

.fs-hero-overlay .lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.fs-hero-summaries .hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--accent-color);
}

.fs-hero-summaries .hero-highlights li {
  margin-bottom: 0.6rem;
}


main>section {
  padding: 3.25rem 0;
}


main>section:nth-of-type(odd) {
  /* background-color: rgba(250, 248, 246, 0.95); */
}

main>section:nth-of-type(odd) {
  background-color: rgba(231, 224, 218, 0.97);
}


#download,
.fs-credits,
.fs-faq {
  position: relative;
  padding: 4rem 0;
}

.fs-faq {
  background-image: url('images/gage/gage-license-plate-back.jpg');
  background-size: cover;
  background-position: center center;
}

#credits ul {
  margin: 10px 20px;
}

#faq details,
details.release-notes {
  margin: 10px 20px;
}

#faq details summary span,
details.release-notes summary span {
  cursor: pointer;
}

#faq details p,
details.release-notes p,
details.release-notes ul {
  margin-left: 20px;
  margin-bottom: 20px;
  opacity: 0.7;
}




@media (max-width: 900px) {

  #download::before,
  .fs-credits::before,
  .fs-faq::before {
    display: none;
  }
}

.alpha-notice {
  /* background: rgba(163, 108, 64, 0.1); */
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, #a36c40 20%, #70492a 50%);
  ;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #fff;
}


#download .container {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 2rem;
  border-radius: 6px;
}

.download-options {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0 0.75rem;
  align-items: stretch;
}

.download-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 6px;
  flex: 1 1 0;
}

.download-card h3 {
  margin-bottom: 0.4rem;
}

.download-card p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.download-card p.file-size {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.download-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.85rem;
  border: 1px solid var(--primary-color);
  padding: 10px;
}

@media (max-width: 900px) {
  .download-options {
    flex-direction: column;
  }
}


.version-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-left: 0.6rem;
  vertical-align: middle;
  border: 1px solid var(--primary-color);
}

.hero-copy h1 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}


.hero-sign .version-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -18px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}


.fs-features .feature {
  display: grid;
  grid-template-columns: 50% 1fr;

  gap: 2rem;
  align-items: stretch;
  padding: 2rem 0;
  align-content: center;
}


.fs-features .feature:nth-child(odd) .carousel {
  grid-column: 1 / 2;
}

.fs-features .feature:nth-child(odd) h3,
.fs-features .feature:nth-child(odd) p {
  grid-column: 2 / 3;
}

.fs-features .feature:nth-child(even) {
  grid-template-columns: 1fr 56%;
}

.fs-features .feature:nth-child(even) .carousel {
  grid-column: 2 / 3;
}

.fs-features .feature:nth-child(even) h3,
.fs-features .feature:nth-child(even) p {
  grid-column: 1 / 2;
}


.fs-features .feature h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.fs-features .feature p {
  margin: 0 0 1rem;
  opacity: 0.95;
}

.fs-features .feature .new-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
  vertical-align: middle;
  margin-top: -0.2rem;
}


@media (max-width: 900px) {
  .fs-features .feature {
    grid-template-columns: 1fr;
  }

  .fs-features .feature .carousel,
  .fs-features .feature .feature h3,
  .fs-features .feature p {
    grid-column: auto;
  }
}


.carousel {
  align-items: center;
}

.carousel {
  position: relative;
  height: 400px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.carousel-track img {
  height: 100%;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
}

.carousel-indicators button.active {
  background: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.42);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-overlay.visible {
  display: flex;
}


.video-embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin: 0.75rem 0 1rem;
}

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


.cta-creator {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.2rem;
  color: #fff;
  margin: 1.25rem 0;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('images/gage/v094/6.jpg');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}


.cta-creator::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #c4a927, #356930, rgb(163, 108, 64), #5e4026);
  background-size: 400% 400%;
  opacity: 0.7;
  mix-blend-mode: overlay;
  filter: saturate(120%);
  z-index: 0;
  animation: ctaGradient 6s ease-in-out infinite alternate;
}

.cta-creator h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin: 0 0 0.45rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #ffe6cf, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.cta-creator p {
  margin: 0 0 0.65rem;
  opacity: 0.95;
}

.cta-creator .cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-creator .btn,
.cta-creator--inline .btn {
  background: rgba(109, 72, 42, 0.9);
}

.cta-creator .btn:hover,
.cta-creator--inline .btn:hover {
  background: rgb(82, 54, 31) !important;
}

.cta-creator .btn i {
  margin-right: 0.35rem;
}


.cta-creator::after {
  content: "\f03d";
  /* Font Awesome video icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 12px;
  top: -10px;
  font-size: clamp(160px, 26vw, 320px);
  color: #000;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}


.cta-creator>* {
  position: relative;
  z-index: 2;
}


.cta-creator--inline {
  padding: 3rem;
  margin: -2rem -2rem 2rem -2rem;
  border-radius: 4px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/gage/v094/7.jpg');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cta-creator--inline::before {
  opacity: 0.4;
  mix-blend-mode: screen;
  animation-duration: 5s;
}

.cta-creator--inline::after {
  color: #fff;
  opacity: 0.1;
}

/* .cta-creator--inline .btn-secondary { background: rgba(255,255,255,0.15); } */

@media (max-width: 700px) {
  .cta-creator .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}


@keyframes ctaGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-creator::before {
    animation: none;
  }
}


#creator-cta-top {
  padding: 0;
  min-height: 40vh;
  display: grid;
  place-items: center;
}

#creator-cta-top .container {
  width: 100%;
  max-width: none;
  padding: 5rem 2rem;
}

#creator-cta-top .cta-creator {
  width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10010;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 1.25rem;
  z-index: 10010;
}

.lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  z-index: 10010;
  max-width: 90%;
  text-align: center;
}

/* Download CTA */
.fs-download .btn-primary {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.fs-download .btn-primary:hover {
  background-color: #bb8458;
}

#combined-cancel {
  color: black !important;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid black;
  cursor: pointer;
}

/* Version selector (RCS vs Vanilla) */
.version-tabs-header-toggle { display:flex; gap:0.5rem; align-items:center; margin: 1.2rem 0 0 0; flex-wrap: wrap; }
.version-tabs-header-toggle .toggle { display:inline-flex; border:1px solid #5f574f; border-radius:6px 6px 0 0; overflow:hidden; background: rgba(255,255,255,0.08); border-bottom: 0;}
.version-tabs-header-toggle .toggle button { opacity:0.5; appearance:none; border:0; background:transparent; color:#fff; padding:0.5rem 0.9rem; cursor:pointer; font-weight:600; letter-spacing:0.4px; }
.version-tabs-header-toggle .toggle button.is-active { opacity:1; background:#5f574f; color:#fff; }
.rcs-badge { display:inline-block; margin-left:0.5rem; padding:2px 8px; font-size:0.7rem; border-radius:999px; border:1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.12); }

@media (max-width: 900px) {
  .rcs-badge {display:none;}
}

.version-tabs-container {
padding: 2rem;
    border: 1px solid #5f574f;
    background: #433a31;
    border-radius: 0 0 6px 6px;
}

.download-group { display:none; }
.download-group.active { display:block; }

/* Callouts inside download groups */
.download-callout { border:1px solid rgba(255,255,255,0.25); background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); padding:0.75rem 0.9rem; border-radius:8px; margin:0 0 0.9rem; }
.download-callout.warning { border-color:#eab308; background: linear-gradient(135deg, rgba(234,179,8,0.18), rgba(234,179,8,0.05)); color:#fff; }
.download-callout strong { font-weight:700; }

.download-callout.warning a { color:#fbbf24; text-decoration:underline; }
.download-callout.warning a:hover { color:#fff; }

/* RCS-only dependency labels */
.required-mods .label { font-size:0.7rem; text-transform:uppercase; letter-spacing:0.5px; padding:2px 6px; border-radius:999px; margin-left:6px; }
.label-rcs { background:#a36c40; color:#fff; border:1px solid rgba(255,255,255,0.15); }
.label-public { background: rgba(51,41,31,0.15); color:#33291f; border:1px solid rgba(51,41,31,0.2); }
.label-private { background: rgba(220,38,38,0.15); color: #fff; border:1px solid rgba(220,38,38,0.35); }

@media (max-width: 900px) {
  .fs-hero .fs-hero-inner {
    grid-template-columns: 1fr;
  }

  .fs-hero-summaries {
    order: -1;
  }

  .centered-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sign {
    order: -1;
  }

  .fs-video video {
    height: 260px;
  }
}


@media (max-width: 768px) {
  .nav a {
    margin-left: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .songs-section {
    padding-top: 4rem;
  }
}

@media (max-width: 600px) {
  .fs-features .feature {
    grid-template-columns: 1fr;
  }

  .fs-features .feature .carousel,
  .fs-features .feature .feature h3,
  .fs-features .feature p {
    grid-column: auto;
  }

  .carousel {
    height: 260px;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(51, 41, 31, 0.95);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    width: 200px;
    transform: translateY(-400px);
    transition: transform 0.3s ease;
  }

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

  .nav a {
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
  }
}



@media (max-width: 900px) {


  .songs-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }


  .song-card img {
    height: 220px;
  }


  .carousel {
    height: 320px;
  }


  :root {
    --embed-w: 300px;
    --embed-h: 300px;
  }


  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(51, 41, 31, 0.95);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    width: 220px;
    transform: translateY(-400px);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

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

  .nav a {
    margin: 0.5rem 0;
  }
}


@media (max-width: 900px) {
  .fs-hero .fs-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 52vh;
    gap: 0.75rem;
  }

  .fs-hero .hero-copy {
    order: 1;
    text-align: center;
    z-index: 4;
  }

  .fs-hero .hero-sign {
    order: 2;
    margin: 0 auto;
  }

  .fs-hero .hero-copy h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    white-space: normal;
  }

  .fs-hero .hero-copy h1 em,
  .fs-hero .hero-copy h1 .version-badge {
    display: block;
    margin-left: 0;
  }

  .fs-hero .hero-copy h1 .version-badge {
    margin-top: 0.25rem;
  }
}

@media (max-width: 600px) {


  .songs-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .song-card img {
    height: 160px;
  }

  .carousel {
    height: 240px;
  }

  :root {
    --embed-w: 240px;
    --embed-h: 240px;
  }


  .hero h1 {
    font-size: 1.8rem;
  }

  .fs-video video {
    height: 220px;
  }
}


@media (max-width: 480px) {
  .fs-hero {
    padding: 7rem 0 0;
  }

  .fs-hero .fs-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    align-items: center;
    min-height: 48vh;

    gap: 1rem;
  }


  .fs-hero .hero-copy {
    position: static !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    text-align: center;
    z-index: 4;
  }

  .fs-hero .hero-copy h1 em {
    display: none;
  }



  .fs-hero .hero-sign {
    order: 2;
    display: block;
    margin: 0 auto;
  }

  .fs-hero .hero-copy {
    order: 1;
  }

  .hero-sign .welcome-sign {
    width: 260px;
    max-width: 60vw;
    display: block;
  }
}

.hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 5;
}

.fs-hero .fs-hero-cta {
  margin-top: 2rem;
}


.hero-slideshow {
  position: absolute;

  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  overflow: hidden;
  background-color: var(--hero-bg, #0b0b0b);
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  will-change: opacity;
}

.hero-slideshow .hero-slide.visible {
  opacity: 1;
}


.hero-slideshow {
  z-index: 0;
}

.hero-slideshow .hero-slide {
  z-index: 0;
}

.hero-bleed .hero-overlay {
  z-index: 2;
  position: absolute;
  height: 100%
}

.fs-hero-inner {
  z-index: 3;
  position: relative;
}


.required-mods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 2rem;
  list-style: none;
  padding-left: 0;
  line-break: anywhere;
}

.required-mods span.required {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1.6em;
  position: relative;
  background: rgba(179, 107, 0, 0.18);
  color: rgb(179, 107, 0);
  top: -2px;
}

.required-mods li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.25rem 0;
}

.required-mods li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color, #b36b00);
  font-size: 1rem;
  line-height: 1;
}

.required-mods .new-highlight {
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}


.required-mods li.breaking {
  border: 2px solid #b36b00;
  /* amber */
  background: rgba(179, 107, 0, 0.08);
  border-radius: 6px;
  padding: 0.35rem 0.5rem 0.5rem 1.25rem;
}

.required-mods li .mod-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 999px;
  color: rgb(179, 107, 0);
  background: rgba(179, 107, 0, 0.18);
  border: 1px solid rgba(179, 107, 0, 0.35);
}

.required-mods li .mod-note {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #b36b00;
}


.alpha-notice.mod-warning {
  background: linear-gradient(150deg, #a36c40 20%, #70492a 50%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .required-mods {
    grid-template-columns: 1fr;
  }
}


.required-mods .mod-checkbox {
  margin-right: 0.6rem;
  transform: translateY(0.05rem);
  width: 1rem;
  height: 1rem;
}

.required-mods li.downloaded {
  opacity: 0.6;
  text-decoration: line-through;
  transition: opacity 180ms ease, color 180ms ease;
}

.required-mods-actions {
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: flex-end;
}

.required-mods-reset {
  background: none;
  border: 0;
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.15rem 0.35rem;
}


.required-mods-actions {
  border: 1px solid rgba(51, 41, 31, 0.1);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  margin: 20px 0;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
}

.required-mods-actions p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(51, 41, 31, 0.85);
  flex: 1 1 auto;
}

.required-mods-actions .required-mods-reset {
  flex: 0 0 auto;
}

a,
a:link,
a:visited,
a:active {
  color: var(--primary-color);
}

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


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-overlay.visible {
  display: flex;
}

.modal-overlay .special-notice {
  background: #fffae6;
  color: #663c00;
  border: 1px solid #ffecb3;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.modal {
  background: #fff;
  color: var(--text-color);
  max-width: 720px;
  width: calc(100% - 48px);
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.modal h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.modal p {
  margin: 0 0 1rem;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.modal-actions .btn {
  margin: 0;
}

.modal .modal-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
}


.carousel {
  position: relative;
  overflow: hidden;
}

.carousel .carousel-track {
  display: flex;
  height: 100%;
  gap: 0 !important;
  will-change: transform;
}

.carousel .carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel .carousel-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.1);
  z-index: 0;
}

.carousel .carousel-slide img.carousel-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


.carousel-prev,
.carousel-next,
.carousel-indicators {
  z-index: 5;
}


.carousel .carousel-track {
  padding: 0 !important;
  gap: 0 !important;
  align-items: center;
}



.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonials {
  position: relative;
  min-height: 180px;
  padding: 10px 0 26px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonial.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial blockquote {
  position: relative;
  max-width: 820px;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--secondary-color);
  quotes: "\201C" "\201D" "\2018" "\2019";
  padding: 1.25rem 1.25rem 1rem 3.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(51, 41, 31, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(2px);
}

.testimonial figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(51, 41, 31, 0.75);
}

.testimonial blockquote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(163, 108, 64, 0.65);
}

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.testimonial-prev {
  left: 6px;
}

.testimonial-next {
  right: 6px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: rgba(0, 0, 0, 0.55);
}

.testimonial-indicators {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.testimonial-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(51, 41, 31, 0.25);
  border: none;
}

.testimonial-indicators button.active {
  background: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial {
    transition: none;
  }
}


.fs-join {
  padding: 3rem 0;
  background: #fff;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.join-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.join-card .join-content {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.25rem 1.25rem;
}

.join-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: var(--secondary-color);
}

.join-card h3 span {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.85;
}

.join-card .muted.small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.35rem;
}

.join-card .join-points {
  margin: 0.4rem 0 0.6rem 1rem;
  opacity: 0.9;
}

.join-card .join-points li {
  margin: 0.15rem 0;
}

.join-server .join-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.82)), url('images/gage/multiplayer-back.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) blur(1px);
  z-index: 1;
}

.join-discord {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(209deg, rgb(163 108 64 / 40%), rgb(163 108 64 / 5%) 50%);
}

.join-discord .btn {
  margin: 1rem 0;
  display: inline-block;
}

.join-discord .feedback {
  margin-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  padding-top: 0.8rem;
}

.join-discord .email-link {
  word-break: break-word;
}


.join-discord::after {
  content: "\f392";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  position: absolute;
  right: 8px;
  top: -6px;
  font-size: clamp(140px, 22vw, 260px);
  line-height: 1;
  color: #a36c40;
  opacity: 0.06;
  pointer-events: none;
}

@media (max-width: 900px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
}

.fs-milestone {
  position: relative;
  z-index: 5;
  /* padding: 3rem 0 2.5rem; */
  margin: 0;
  background: #fff;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.18);
}

.milestone-card {
  position: relative;
  overflow: hidden;
  /* background: #fff; */
  color: var(--secondary-color);
  border-radius: 10px;
  /* border: 1px solid rgba(0,0,0,0.06); */
  /* box-shadow: 0 18px 50px rgba(0,0,0,0.08); */
}

.milestone-inner {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}

.milestone-inner .tag {
  display: inline-block;
  background: rgba(163, 108, 64, 0.12);
  color: var(--secondary-color);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
}

.milestone-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin: 0.15rem 0 0.4rem;
}

.milestone-inner .count {
  background: linear-gradient(90deg, #a36c40, #bb8458);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 14px rgba(163, 108, 64, 0.25);
}

.milestone-sub {
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.milestone-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.milestone-card .confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}


.fs-milestone .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.milestone-card {
  border-radius: 0;
}


.fs-features {
  position: relative;
}

.fs-features::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -40px;
  width: min(980px, 92%);
  height: 95px;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 70%);
  filter: blur(12px);
  opacity: 0.22;
}