:root {
      --atl-color: #00c3ff;
      --lem-color: #c3ffb5;
      --bg-color: #0e0e0e;
      --text-color: #f0f0f0;
      --accent-color: #5e5eff;
    }

body {
  background: url('/assets/muvsatl-logo.gif') center center / contain no-repeat fixed;
  background-color: #0e0e0e;
  background-blend-mode: normal;
  color: var(--text-color);
}

    header {
      background: #111;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
    }
    header h1 {
      margin: 0;
      font-size: 1.5rem;
    }
    nav a {
      margin-left: 1.5rem;
      color: var(--text-color);
      text-decoration: none;
      font-weight: bold;
    }
    .hero {
  	height: 100vh;
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	align-items: center;
  	text-align: center;
  	padding: 2rem;
  	color: white;
    }
    .hero h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .hero button {
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      background: var(--accent-color);
      border: none;
      color: white;
      cursor: pointer;
    }
    section {
      padding: 3rem 2rem;
      max-width: 1000px;
      margin: auto;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }
    .feature {
      background: #1a1a1a;
      padding: 1.5rem;
      border-radius: 8px;
    }
    footer {
      background: #111;
      padding: 2rem;
      text-align: center;
      font-size: 0.9rem;
    }
    input[type="email"] {
      padding: 0.5rem;
      width: 250px;
      margin-right: 0.5rem;
      border: none;
    }

.cta {
  text-align: center;
  margin-top: 2rem;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

form[name="subscribe"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

form[name="subscribe"] input[type="email"] {
  width: 100%;
  max-width: 250px;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
}

form[name="subscribe"] button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: var(--accent-color);
  border: none;
  color: white;
  cursor: pointer;
}

form[name="subscribe"] [name="bot-field"] {
  display: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 300px; /* or whatever fits your layout */
  overflow: hidden;
}

/* ======= UNIVERSAL CAROUSEL POSITIONING (APPLIES TO <a> ELEMENTS) ======= */

.carousel a {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel a.active {
  z-index: 3;
}

.carousel a.left {
  z-index: 2;
}

.carousel a.right {
  z-index: 2;
}

.carousel a.left2 {
  z-index: 1;
}

.carousel a.right2 {
  z-index: 1;
}

.carousel a.inactive {
  z-index: 0;
}

.carousel a img {
  display: none;
  position: relative;
  border-radius: 10px;
  transition: transform 0.4s ease, width 0.4s ease;
}

/* Center (Active) */
.carousel a.active img {
  display: block;
  width: 200px;
  transform: translateX(0);
  z-index: auto;
}

/* Sidecards (Left/Right) */
.carousel a.left img {
  display: block;
  width: 150px;
  transform: translateX(-200px);
  z-index: auto;
}

.carousel a.right img {
  display: block;
  width: 150px;
  transform: translateX(200px);
  z-index: auto;
}

/* Side-of-Sidecards (Left2/Right2) */
.carousel a.left2 img {
  display: block;
  width: 100px;
  transform: translateX(-300px);
  z-index: auto;
}

.carousel a.right2 img {
  display: block;
  width: 100px;
  transform: translateX(300px);
  z-index: auto;
}

/* Hidden */
.carousel a.inactive img {
  display: none;
}

.codex-carousel .carousel {
  height: 300px; /* Or whatever fits */
  position: relative;
}

.codex-carousel .narrator img {
  width: 180px;
  margin: 0 1rem;
  transition: transform 0.5s ease;
}

.codex-carousel .narrator .active img {
  transform: scale(1.2);
  z-index: 2;
}

.codex-carousel .narrator.inactive {
  display: none;
}

.narrator img {
  width: 180px;
  height: auto;
  display: block;
}

.narrator {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.narrator.inactive {
  display: none;
}

/* All others stay hidden */
.carousel img.inactive {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.left {
  left: 1rem;
}

.carousel-btn.right {
  right: 1rem;
}

.carousel-btn img {
  width: 64px; /* adjust if needed */
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0, 174, 255, 0.5)); /* light blue glow */
  transition: filter 0.2s ease;
}

.carousel-btn:hover img {
  filter: drop-shadow(0 0 10px var(--accent-color));
}

/* Default: desktop — 5-card layout already set */

/* Phone: Portrait — 1-card layout */
body.phone-portrait .hero h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

body.phone-portrait .hero button {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

body.phone-portrait section {
  padding: 1.5rem 1rem;
}

body.phone-portrait .carousel-container {
  height: auto;
  padding: 1rem 0;
}

body.phone-portrait #heroCarousel {
  height: 300px;
}

body.phone-portrait #narrators .carousel {
  height: 300px;
}

body.phone-portrait #heroCarousel img.active {
  width: 70vw;
  max-width: 220px;
  transform: translate(-50%, -50%) translateX(0);
  height: auto;
  aspect-ratio: 63 / 88;
  max-height: 85vh;
}

body.phone-portrait #heroCarousel a.left img,
body.phone-portrait #heroCarousel a.right img,
body.phone-portrait #heroCarousel a.left img2,
body.phone-portrait #heroCarousel a.right img2,
body.phone-portrait .codex-carousel .narrator.left,
body.phone-portrait .codex-carousel .narrator.right,
body.phone-portrait .codex-carousel .narrator.left2,
body.phone-portrait .codex-carousel .narrator.right2 {
  display: none;
}

body.phone-portrait .codex-carousel .narrator img {
  width: 200px;
  margin: 0 0.25rem;
}

/* Phone: Landscape — 3-card layout */
body.phone-landscape #heroCarousel img.active {
  width: 200px;
  transform: translate(-50%, -50%) translateX(0);
}

body.phone-landscape #heroCarousel a.left img,
body.phone-landscape #heroCarousel a.right img {
  display: block;
  width: 150px;
}

body.phone-landscape #heroCarousel a.left img2,
body.phone-landscape #heroCarousel a.right img2,
body.phone-landscape .codex-carousel .narrator.left2,
body.phone-landscape .codex-carousel .narrator.right2 {
  display: none;
}

body.phone-landscape .codex-carousel .narrator img {
  width: 140px;
  margin: 0 0.5rem;
}

/* Tablet: Portrait — 3-card layout */
body.tablet-portrait #heroCarousel img.active {
  width: 200px;
  transform: translate(-50%, -50%) translateX(0);
}

body.tablet-portrait #heroCarousel a.left img,
body.tablet-portrait #heroCarousel a.right img {
  display: block;
  width: 150px;
}

body.tablet-portrait #heroCarousel a.left img2,
body.tablet-portrait #heroCarousel a.right img2,
body.tablet-portrait .codex-carousel .narrator.left2,
body.tablet-portrait .codex-carousel .narrator.right2 {
  display: none;
}

body.tablet-portrait .codex-carousel .narrator img {
  width: 160px;
  margin: 0 0.75rem;
}

/* Tablet: Landscape — 5-card layout */
body.tablet-landscape #heroCarousel img.active {
  width: 200px;
}

body.tablet-landscape #heroCarousel a.left img,
body.tablet-landscape #heroCarousel a.right img,
body.tablet-landscape .codex-carousel .narrator.left,
body.tablet-landscape .codex-carousel .narrator.right {
  display: block;
  width: 150px;
}

body.tablet-landscape #heroCarousel a.left img2,
body.tablet-landscape #heroCarousel a.right img2,
body.tablet-landscape .codex-carousel .narrator.left2,
body.tablet-landscape .codex-carousel .narrator.right2 {
  display: block;
  width: 100px;
}

body.tablet-landscape .codex-carousel .narrator img {
  width: 180px;
  margin: 0 1rem;
}
