/* =========================================================
   HOME PAGE
   Styles specific to the landing page.
   ========================================================= */

/* =============================
   SITE TITLE
============================= */

.site-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1rem;
  color: #f5f5f5;
  font-family: 'Advent Pro', sans-serif;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* =============================
   HERO IMAGE
============================= */

.responsive-logo {
  display: block;
  margin: 0 auto 1.0rem auto;
  width: 100%;
  max-width: 900px;
  height: auto;
}

.homepage-hero {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto 0rem;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .homepage-hero {
    max-height: 42vh;
    object-fit: contain;
  }
}



/* =============================
   INFO SECTION
============================= */

#info {
  text-align: center;
}

#info h3 {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-weight: 500;
}

/* =============================
   META CONTAINER
============================= */

.meta-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

/* =============================
   VERSION / UPDATES BOXES
============================= */

.version-box {
  position: relative;
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
    background: linear-gradient(
    135deg,
    rgba(120, 20, 20, 0.45),
    rgba(20, 10, 10, 0.85)
  );
  box-shadow:
  inset 4px 0 0 #8B0000,
  0 10px 30px rgba(0, 0, 0, 0.55),
  inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.version-box ul {
  list-style: disc;
  list-style-position: inside; /* key change */
  text-align: left;
  margin: 1.5rem auto 0;
  max-width: 700px;
  padding: 0;
}

.version-box li {
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.version-box img {
  flex-shrink: 0;
}

.version-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(180, 40, 40, 0.25),
    transparent 60%
  );
  pointer-events: none;
}

.version-box h2 {
  color: #ffd6d6;
  letter-spacing: 1px;
}

/* =============================
   HONORARY MEMBERS
============================= */

.honorary-members {
  position: relative;
  margin: 3rem auto;
  padding: 2.1rem 1.8rem;
  border-radius: 18px;
  color: #f3f4f6;
  text-align: center;
  margin-inline: auto;
  width: 100%;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 15% 0%, rgba(124, 103, 95, 0.28), transparent 45%),
    linear-gradient(145deg, rgba(23, 23, 25, 0.9), rgba(9, 9, 11, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.honorary-members::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%);
  pointer-events: none;
}

.honorary-members h2 {
  position: relative;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: 0.6px;
  margin-bottom: 0.45rem;
  color: #f9ece7;
}

.honorary-intro {
  position: relative;
  font-style: normal;
  margin: 0 auto 1.5rem;
  color: #d2d2d5;
  max-width: 52ch;
}

.honorary-members .member-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.member-card {
  background-color: #444;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.member-card:hover {
  transform: scale(1.05);
}

.member-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.member-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #00aced;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.honorary-members .member-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.honorary-members .member-card:hover {
  transform: translateY(-4px);
}

.honorary-members .member-card a {
  color: #9fd2ff;
  font-weight: 600;
}

@media (min-width: 1025px) {
  .honorary-members {
    padding: 2.35rem 2.1rem;
  }

  .honorary-members .member-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    max-width: 720px;
    margin: 0 auto;
  }
}

/* =============================
   SUPPORT MOBILE FIX
============================= */

@media (max-width: 768px) {

  .support-section,
  .support-container {
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  .support-section img {
    width: 100%;
    height: auto;
    display: block;
  }

  .support-section {
    backdrop-filter: none;
  }

  .version-box {
    padding: 2.5rem 1.5rem;
  }
}



/* =============================
   HOMEPAGE REWORK
============================= */

body[data-page="home"] #info {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(1rem, 2.2vw, 1.75rem) clamp(0.9rem, 2.3vw, 1.5rem) 2.8rem;
  text-align: left;
}

body[data-page="home"] #info .home-hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  margin: 0 auto 1.35rem;
  padding: clamp(0.8rem, 1.9vw, 1.15rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 88% 9%, rgba(124, 103, 95, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.42));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body[data-page="home"] #info .home-hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(0.5rem, 1.3vw, 0.9rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a0a0a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

body[data-page="home"] #info .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 35%);
}

body[data-page="home"] #info .homepage-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

body[data-page="home"] #info .home-hero-image-frame {
  position: relative;
  width: min(100%, 1024px);
  aspect-ratio: 4 / 3;
}

body[data-page="home"] #info .home-hero-hotspot {
  position: absolute;
  left: 18.8%;
  top: 30.8%;
  width: 12%;
  height: 15.2%;
  border: 0;
  background: transparent;
  cursor: default;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  clip-path: polygon(
    4% 44%,
    0% 48%,
    6% 60%,
    14% 61%,
    13% 43%,
    19% 24%,
    32% 8%,
    49% 0%,
    68% 4%,
    82% 12%,
    92% 24%,
    96% 40%,
    94% 55%,
    84% 68%,
    70% 80%,
    62% 97%,
    42% 99%,
    29% 90%,
    18% 74%,
    12% 58%
  );
}

body[data-page="home"] #info .home-hero-hotspot:hover,
body[data-page="home"] #info .home-hero-hotspot:focus-visible {
  background: transparent;
  box-shadow: none;
  outline: none;
}

body[data-page="home"] #info .home-hero-hotspot[disabled] {
  cursor: default;
  box-shadow: none;
}

body[data-page="home"] #info .home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.72rem;
  padding: clamp(0.35rem, 1.4vw, 0.8rem);
}

body[data-page="home"] #info .home-kicker {
  margin: 0;
  color: #ffe3a6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

body[data-page="home"] #info .home-title {
  margin: 0;
  line-height: 1.5;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  text-wrap: balance;
}

body[data-page="home"] #info .home-lead {
  margin: 0;
  max-width: 100ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

body[data-page="home"] #info .home-meta-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

body[data-page="home"] #info .home-meta-grid .home-panel {
  width: 100%;
  max-width: none;
  margin: 0;
}

body[data-page="home"] #info .home-panel-head h2 {
  margin: 0;
}

body[data-page="home"] #info .home-panel-head p {
  margin: 0.35rem 0 0;
}

body[data-page="home"] #info .home-panel-label {
  margin: 0.8rem 0 0.45rem;
}

body[data-page="home"] #info #house-lights-slot {
  margin-top: 1.35rem;
}

@media (min-width: 1100px) {
  body[data-page="home"] #info .home-meta-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (max-width: 920px) {
  body[data-page="home"] #info .home-hero-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #info .home-hero-copy {
    padding: 0.2rem 0.15rem 0.05rem;
  }

  body[data-page="home"] #info .home-title,
  body[data-page="home"] #info .home-kicker,
  body[data-page="home"] #info .home-lead {
    text-align: center;
    margin-inline: auto;
  }

}

@media (max-width: 640px) {
  body[data-page="home"] #info {
    padding-inline: 0.7rem;
  }

  body[data-page="home"] #info .home-hero-card {
    padding: 0.7rem;
    border-radius: 12px;
    gap: 0.7rem;
  }

  body[data-page="home"] #info .home-hero-media {
    margin-inline: -0.15rem;
    padding: 0.65rem;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.44);
  }

  body[data-page="home"] #info .homepage-hero {
    transform: none;
  }

  body[data-page="home"] #info .home-hero-image-frame {
    width: 100%;
  }

  body[data-page="home"] #info .home-title {
    font-size: clamp(1.45rem, 7.2vw, 2rem);
  }

  body[data-page="home"] #info .home-lead {
    font-size: 0.95rem;
    line-height: 1.52;
  }

}

body[data-page="home"] #info .home-hero-credit {
  margin: 0;
  padding: 0.44rem 0.62rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  max-width: none;
  width: 100%;
  margin-inline: auto;
  font-weight: 500;
}

body[data-page="home"] #info .home-hero-credit-name {
  color: #4da6ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

body[data-page="home"] #info .home-hero-credit-name:hover,
body[data-page="home"] #info .home-hero-credit-name:focus-visible {
  color: #80c1ff;
  outline: none;
}

@media (max-width: 640px) {
  body[data-page="home"] #info .home-hero-credit {
    font-size: 0.76rem;
    padding: 0.4rem 0.5rem 0.44rem;
  }
}

/* =========================================================
   HOMEPAGE PORTAL REDESIGN
   The homepage should feel like a front door into the rest of TAOC:
   hero first, then clear paths into characters, stories, and lore.
   ========================================================= */

body[data-page="home"] #info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body[data-page="home"] #info::before,
body[data-page="home"] #info::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

body[data-page="home"] #info::before {
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  top: 4rem;
  left: -18rem;
  background: radial-gradient(circle, rgba(116, 168, 80, 0.22), transparent 66%);
}

body[data-page="home"] #info::after {
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  right: -20rem;
  top: 18rem;
  background: radial-gradient(circle, rgba(151, 28, 28, 0.24), transparent 68%);
}

body[data-page="home"] #info .home-hero-card {
  position: relative;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: stretch;
  gap: clamp(1rem, 2.2vw, 1.7rem);
  max-width: 1320px;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  padding: clamp(0.82rem, 1.7vw, 1.35rem);
  border-radius: clamp(20px, 3vw, 32px);
  border-color: rgba(255, 229, 166, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 226, 156, 0.09), transparent 24%),
    radial-gradient(circle at 13% 12%, rgba(121, 188, 98, 0.2), transparent 30%),
    radial-gradient(circle at 94% 20%, rgba(176, 48, 48, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(8, 9, 7, 0.92), rgba(16, 9, 9, 0.82));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

body[data-page="home"] #info .home-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.36;
}

body[data-page="home"] #info .home-hero-media,
body[data-page="home"] #info .home-hero-copy {
  position: relative;
  z-index: 1;
}

body[data-page="home"] #info .home-hero-media {
  justify-content: space-between;
  align-items: stretch;
  min-width: 0;
  border-radius: 24px;
  border-color: rgba(255, 236, 190, 0.22);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 232, 171, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.96), rgba(0, 0, 0, 0.96));
  overflow: hidden;
}

body[data-page="home"] #info .home-hero-image-frame {
  width: 100%;
  max-width: none;
  min-height: clamp(320px, 45vw, 640px);
  border-radius: 18px;
  overflow: hidden;
}

body[data-page="home"] #info .homepage-hero {
  filter: saturate(1.06) contrast(1.03);
}

body[data-page="home"] #info .home-hero-copy {
  align-items: flex-start;
  text-align: left;
  gap: clamp(0.72rem, 1.4vw, 1rem);
  padding: clamp(0.8rem, 2.2vw, 1.7rem);
}

body[data-page="home"] #info .home-kicker,
body[data-page="home"] #info .home-section-kicker,
body[data-page="home"] #info .home-secret-kicker {
  color: rgba(255, 228, 163, 0.96);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] #info .home-title {
  max-width: 11ch;
  font-family: "Advent Pro", sans-serif;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff5df;
  text-shadow:
    0 0 22px rgba(255, 205, 120, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.62);
}

body[data-page="home"] #info .home-lead {
  max-width: 58ch;
  font-size: clamp(1rem, 0.45vw + 0.94rem, 1.17rem);
  color: rgba(255, 249, 235, 0.92);
}

body[data-page="home"] #info .home-start-copy h2 {
  margin: 0;
  color: #fff4dc;
  font-size: clamp(1.55rem, 3.6vw, 2.75rem);
  line-height: 1.05;
}

body[data-page="home"] #info .home-start-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
}

body[data-page="home"] #info .home-start-copy {
  display: grid;
  align-content: center;
  gap: 0.5rem;
  padding: clamp(0.2rem, 1vw, 0.45rem);
}

body[data-page="home"] #info .home-meta-grid {
  max-width: 1320px;
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
}

body[data-page="home"] #info .home-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 232, 176, 0.17);
}

body[data-page="home"] #info .home-update-list {
  display: grid;
  gap: 0.62rem;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

body[data-page="home"] #info .home-update-list li {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
  gap: 0.62rem;
  align-items: start;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

body[data-page="home"] #info .home-update-list--simple {
  display: block;
  padding-left: 1.3rem;
  list-style: disc;
}

body[data-page="home"] #info .home-update-list--simple li {
  display: list-item;
  margin-bottom: 0.65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="home"] #info .home-update-tag {
  display: inline-flex;
  justify-content: center;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 156, 0.32);
  background: rgba(255, 224, 156, 0.1);
  color: #ffe3a6;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="home"] #info .honorary-members {
  background:
    radial-gradient(circle at 15% 0%, rgba(124, 103, 95, 0.28), transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(84, 150, 210, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(23, 23, 25, 0.92), rgba(9, 9, 11, 0.96));
}

body[data-page="home"] #info .home-secret-invite {
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 560px;
  margin: clamp(1.2rem, 2.8vw, 2rem) auto 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(142, 183, 80, 0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(142, 183, 80, 0.18), transparent 48%),
    rgba(0, 0, 0, 0.34);
  text-align: center;
}

body[data-page="home"] #info .home-secret-kicker,
body[data-page="home"] #info .home-secret-copy {
  margin: 0;
}

body[data-page="home"] #info .home-secret-copy {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

body[data-page="home"] #info #house-lights-btn {
  min-width: 9rem;
  margin-top: 0.35rem;
  border-radius: 999px;
}

@media (max-width: 1120px) {
  body[data-page="home"] #info .home-hero-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #info .home-hero-copy,
  body[data-page="home"] #info .home-title,
  body[data-page="home"] #info .home-kicker,
  body[data-page="home"] #info .home-lead {
    max-width: none;
    text-align: center;
  }

  body[data-page="home"] #info .home-hero-copy {
    align-items: center;
  }

  body[data-page="home"] #info .home-start-copy {
    text-align: center;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] #info .home-hero-card {
    border-radius: 20px;
  }

  body[data-page="home"] #info .home-hero-image-frame {
    min-height: 0;
  }

  body[data-page="home"] #info .home-update-list li {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HOMEPAGE SIMPLIFICATION PASS
   This trims the homepage back into four clear moments:
   intro, updates/supporters, tab showcase, and the hidden path.
   ========================================================= */

body[data-page="home"] #info .home-hero-copy {
  align-items: center;
  justify-content: center;
  text-align: center;
}

body[data-page="home"] #info .home-title,
body[data-page="home"] #info .home-kicker,
body[data-page="home"] #info .home-lead {
  max-width: 64ch;
  margin-inline: auto;
  text-align: center;
}

body[data-page="home"] #info .home-title {
  max-width: 12ch;
}

body[data-page="home"] #info .home-meta-grid {
  align-items: stretch;
}

body[data-page="home"] #info .home-meta-grid .home-panel {
  height: 100%;
}

body[data-page="home"] #info .version-box,
body[data-page="home"] #info .honorary-members {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] #info .version-box {
  justify-content: center;
  min-height: 250px;
  gap: 1rem;
  text-align: center;
}

body[data-page="home"] #info .home-version-number {
  margin: 0.2rem 0;
  color: #fff2c8;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

body[data-page="home"] #info .home-version-note {
  max-width: 38ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

body[data-page="home"] #info .home-version-note a {
  color: #ffe3a6;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body[data-page="home"] #info .honorary-members {
  justify-content: flex-start;
}

body[data-page="home"] #info .home-update-list {
  flex: 1 1 auto;
  max-height: clamp(14rem, 27vw, 18rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  scrollbar-color: rgba(255, 224, 156, 0.78) rgba(0, 0, 0, 0.28);
  scrollbar-width: thin;
}

body[data-page="home"] #info .home-update-list::-webkit-scrollbar {
  width: 10px;
}

body[data-page="home"] #info .home-update-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

body[data-page="home"] #info .home-update-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 224, 156, 0.9), rgba(137, 42, 34, 0.86));
  border: 2px solid rgba(0, 0, 0, 0.25);
}

body[data-page="home"] #info .home-tab-showcase {
  max-width: 1320px;
  margin: clamp(1rem, 2.4vw, 1.6rem) auto;
  padding: clamp(0.95rem, 1.8vw, 1.2rem);
  border-radius: 26px;
  border: 1px solid rgba(255, 232, 176, 0.18);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 224, 156, 0.13), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(94, 156, 80, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(15, 13, 10, 0.82), rgba(4, 4, 4, 0.72));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

body[data-page="home"] #info .home-tab-showcase .home-start-copy {
  max-width: 720px;
  margin: 0 auto 0.9rem;
  text-align: center;
}

body[data-page="home"] #info .home-tab-slideshow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(175px, 19vw, 225px);
  justify-content: center;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.15rem 0.9rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 224, 156, 0.78) rgba(255, 255, 255, 0.12);
  scrollbar-width: thin;
}

body[data-page="home"] #info .home-tab-slideshow::-webkit-scrollbar {
  height: 14px;
}

body[data-page="home"] #info .home-tab-slideshow::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

body[data-page="home"] #info .home-tab-slideshow::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 224, 156, 0.88), rgba(104, 166, 90, 0.78));
  border: 3px solid rgba(0, 0, 0, 0.28);
}

body[data-page="home"] #info .home-tab-slide {
  --tab-color: 255, 224, 156;
  display: grid;
  grid-template-rows: minmax(120px, 1fr) auto;
  min-height: 220px;
  border: 1px solid rgba(var(--tab-color), 0.28);
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--tab-color), 0.2), transparent 42%),
    linear-gradient(180deg, rgba(18, 18, 16, 0.96), rgba(5, 5, 5, 0.94));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  scroll-snap-align: start;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page="home"] #info .home-tab-slide--main {
  --tab-color: 255, 212, 116;
}

body[data-page="home"] #info .home-tab-slide--secondary {
  --tab-color: 124, 186, 232;
}

body[data-page="home"] #info .home-tab-slide--stories {
  --tab-color: 214, 68, 58;
}

body[data-page="home"] #info .home-tab-slide--species {
  --tab-color: 122, 190, 96;
}

body[data-page="home"] #info .home-tab-slide--roles {
  --tab-color: 255, 150, 92;
}

body[data-page="home"] #info .home-tab-slide:hover,
body[data-page="home"] #info .home-tab-slide:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--tab-color), 0.58);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(var(--tab-color), 0.12) inset;
}

body[data-page="home"] #info .home-tab-slide:focus-visible {
  outline: 2px solid rgba(255, 232, 176, 0.94);
  outline-offset: 3px;
}

body[data-page="home"] #info .home-tab-image-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0.72rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(var(--tab-color), 0.22), transparent 44%),
    rgba(0, 0, 0, 0.28);
}

body[data-page="home"] #info .home-tab-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.46));
  opacity: 1;
  transform: scale(1);
  will-change: opacity, transform, filter;
  transition:
    opacity 0.68s ease,
    transform 0.68s ease,
    filter 0.68s ease;
}

body[data-page="home"] #info .home-tab-slide.is-changing .home-tab-image-frame img {
  opacity: 0;
  transform: scale(0.975);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.34));
}

body[data-page="home"] #info .home-tab-copy {
  display: grid;
  place-items: center;
  min-height: 3.25rem;
  padding: 0.62rem 0.75rem;
  text-align: center;
}

body[data-page="home"] #info .home-tab-kicker {
  color: rgba(var(--tab-color), 0.92);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="home"] #info .home-tab-copy strong {
  color: #fff4dc;
  font-size: 1rem;
  line-height: 1.1;
}

body[data-page="home"] #info .home-tab-copy small {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.42;
}

body[data-page="home"] #info .home-secret-invite {
  border-color: rgba(130, 220, 90, 0.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(68, 226, 82, 0.24), transparent 42%),
    radial-gradient(circle at 86% 16%, rgba(222, 30, 30, 0.2), transparent 40%),
    linear-gradient(145deg, rgba(4, 14, 5, 0.86), rgba(16, 4, 4, 0.82));
  box-shadow:
    0 0 24px rgba(57, 210, 80, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.3);
}

body[data-page="home"] #info .home-secret-kicker {
  color: #75ff78;
  text-shadow:
    0 0 12px rgba(84, 255, 98, 0.44),
    1px 1px 0 rgba(165, 0, 0, 0.55);
}

body[data-page="home"] #info .home-secret-copy {
  color: #ffd3d3;
}

body[data-page="home"] #info #house-lights-btn {
  background: linear-gradient(135deg, #5dff5a, #9e1111 72%);
  color: #071007;
  box-shadow:
    0 0 18px rgba(82, 255, 82, 0.22),
    0 0 18px rgba(191, 22, 22, 0.18);
}

@media (min-width: 1100px) {
  body[data-page="home"] #info .home-meta-grid {
    align-items: stretch;
  }

  body[data-page="home"] #info .honorary-members .member-grid {
    margin-top: auto;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] #info .version-box {
    min-height: 0;
  }

  body[data-page="home"] #info .home-update-list {
    max-height: 16rem;
  }

  body[data-page="home"] #info .home-tab-slideshow {
    grid-auto-columns: clamp(165px, 48vw, 210px);
    justify-content: start;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] #info .home-tab-showcase {
    padding: 0.78rem;
    border-radius: 20px;
  }

  body[data-page="home"] #info .home-tab-slideshow {
    grid-auto-columns: minmax(150px, 62vw);
  }

  body[data-page="home"] #info .home-tab-slide {
    min-height: 205px;
    grid-template-rows: minmax(112px, 1fr) auto;
  }

  body[data-page="home"] #info .home-tab-image-frame img {
    max-height: 132px;
  }

  body[data-page="home"] #info .home-secret-copy {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] #info .home-tab-slide {
    transition: none;
  }

  body[data-page="home"] #info .home-tab-slide:hover,
  body[data-page="home"] #info .home-tab-slide:focus-visible {
    transform: none;
  }
}
