html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Titillium Web', sans-serif;
  background: transparent;
  color: #f5f5f5;
  overflow-x: hidden;
}

/* ─── Background Video ─── */
#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: transparent;
}

/* ─── Splash ─── */
#splash {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0;
}
#splash.hidden {
  opacity: 0;
  pointer-events: none;
}
#enter-btn {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  color: cyan;
  border: 3px solid cyan;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 0 20px cyan, inset 0 0 10px cyan;
  transition: all 0.4s ease;
}
#enter-btn:hover {
  transform: scale(1.1);
  background: cyan;
  color: #000;
}

/* ─── Dragon Overlay ─── */
#intro-animation {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}
#intro-animation img {
  width: 420px;
  max-width: 85vw;
  animation: dragonFade 2.2s ease forwards;
}
@keyframes dragonFade {
  0% { opacity: 0; transform: scale(0.95); }
  10% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ─── Hero & Main Hidden Initially ─── */
.hero, main, footer {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.hero.visible, main.visible, footer.visible {
  opacity: 1;
  visibility: visible;
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* align to top */
  justify-content: flex-end; /* move to right */
  padding: 8vh 6vw 0 0; /* top + right spacing */
  text-align: right;
  position: relative;
  z-index: 5;
}
.glitch-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.glitch {
  font-size: 5rem;
  color: cyan;
  opacity: 1;
  text-shadow: 0 0 12px cyan, 0 0 25px rgba(0,255,255,0.6);

}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.hero-info {
  max-width: 500px;
}

.hero-info h1 {
  color: cyan;
  font-family: 'Exo 2', sans-serif;
  font-size: 3.5rem;
  margin: 0 0 0.5rem 0;
}

.hero-info .tagline {
  color: #ddd;
  margin-bottom: 1rem;
}

.hero-info .links a {
  display: block;
  color: cyan;
  text-decoration: none;
  font-weight: 600;
  margin: 0.3rem 0;
  transition: color 0.2s ease, text-shadow 0s ease;
}

.hero-info .links a:hover {
  color: white;
  text-shadow: 0 0 8px cyan;
}

/* ─── Cards ─── */
.card {
  background: rgba(5, 10, 15, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 18px;
  margin: 5rem auto;
  padding: 2.5rem;
  max-width: 1200px;
  width: 85%;
  box-shadow: 0 0 40px rgba(0,255,255,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}
.card h2 {
  margin-top: 0;
  color: cyan;
  font-family: 'Exo 2', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card p {
  line-height: 1.6;
  color: #ddd;
}

.card {
  width: 85%;
  max-width: 1200px;
}

.artists-grid {
  position: relative;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  align-items: center;
}

.member a {
  text-decoration: none;
  color: cyan;
  text-align: center;
  transition: transform 0.3s ease;
}

.member a:hover {
  transform: scale(1.08);
}

.member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid cyan;
  box-shadow: 0 0 15px rgba(0,255,255,0.3);
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member a:hover img {
  box-shadow: 0 0 25px rgba(0,255,255,0.5);
}

/* ─── Artists Section ─── */
.artist {
  font-size: 1.5rem;
  color: cyan;
  margin: 1rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.artist:hover {
  color: white;
  text-shadow: 0 0 12px cyan;
}

#artist-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
  z-index: 10;
}

#artist-preview.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#artist-preview img {
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,255,255,0.25);
}

.artist-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(50%) scale(0.9);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.artist-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.artist-slide.exit {
  opacity: 0;
  transform: translateX(-50%) scale(0.9);
}

/* ─── Link Panels Section ─── */
.link-panels .links-wrapper {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.link-tile {
  position: relative;
  width: 220px;
  height: 220px;
  border: 2px solid cyan;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(0,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.link-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0,255,255,0.4);
}

.link-tile img {
  width: 70%;
  filter: drop-shadow(0 0 10px cyan);
}

/* Animated ticker text */
.ticker {
  position: absolute;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  color: cyan;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker.top {
  top: 0;
  animation: tickerX 8s linear infinite;
}
.ticker.bottom {
  bottom: 0;
  transform: scaleY(-1);
  animation: tickerX 8s linear infinite reverse;
}
.ticker.left {
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  animation: tickerY 8s linear infinite reverse;
}
.ticker.right {
  right: 0;
  writing-mode: vertical-rl;
  animation: tickerY 8s linear infinite;
}

@keyframes tickerX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ─── Artist Slideshow ─── */
.artist-slideshow {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 400px;
}

.artist-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%) scale(0.9);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.artist-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.artist-slide.exit {
  opacity: 0;
  transform: translateX(-100%) scale(0.9);
  z-index: 1;
}

.artist-slide img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,255,255,0.25);
  margin-bottom: 1rem;
}

.artist-slide p {
  font-size: 1.5rem;
  color: cyan;
}

.artist-slideshow {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 400px;
}

.artist-slideshow h2 {
  position: relative;
  z-index: 3; /* ensure the title stays above the slides */
  margin-bottom: 2rem;
}

.artist-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%) scale(0.9);
  transition: opacity 1.2s ease, transform 1.2s ease;
  z-index: 1; /* slides stay below title */
}

.artist-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.artist-slide.exit {
  opacity: 0;
  transform: translateX(-100%) scale(0.9);
  z-index: 1;
}

/* ─── Artist Marquee Section ─── */
.artist-marquee {
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 3rem 0;
}

.artist-marquee h2 {
  margin-bottom: 2rem;
  color: cyan;
  font-family: 'Exo 2', sans-serif;
}

.artist-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: artistScroll 40s linear infinite;
  width: max-content;
}

.artist-item {
  flex: 0 0 auto;
  text-align: center;
}

.artist-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,255,255,0.3);
  border: 2px solid rgba(0,255,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0,255,255,0.6);
}

.artist-item p {
  margin-top: 0.5rem;
  font-family: 'Exo 2', sans-serif;
  color: cyan;
  font-weight: 600;
}

@keyframes artistScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── Quick Links Visual Blocks ─── */
.quick-links {
  text-align: center;
}

.links-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.link-block {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 0 0 25px rgba(0,255,255,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.link-block:hover {
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(0,255,255,0.35);
}

.link-block img {
  width: 80px;
  z-index: 2;
}

.scroll-text {
  position: absolute;
  color: cyan;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  opacity: 0.8;
  white-space: nowrap;
  animation: scrollLoop 12s linear infinite;
}

@keyframes scrollLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Member Pages ─── */
.member-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10vh 8vw;
  color: cyan;
  position: relative;
  z-index: 2;
}

.member-info {
  max-width: 600px;
}

.member-info h1 {
  font-size: 3.5rem;
  font-family: 'Exo 2', sans-serif;
  margin-bottom: 0.5rem;
}

.member-info .tagline {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.member-image {
  width: 350px;
  max-width: 40vw;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.3);
}

.member-main {
  padding: 3rem 8vw;
}

.member-main .card {
  margin-bottom: 3rem;
}

.member-links a {
  color: cyan;
  text-decoration: none;
  font-weight: 600;
}

.member-links a:hover {
  color: white;
  text-shadow: 0 0 10px cyan;
}

.tagline {
  position: relative;
  z-index: 2;
  color: #f5f5f5;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left; /* or center/right, depending on layout */
}

.tagline::before {
  content: "";
  position: absolute;
  inset: -4px -14px;
  background: rgba(0, 255, 255, 0.3);
  border-radius: 999px;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
  transition: background 0.3s ease;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    background: rgba(0, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.12);
    background: rgba(0, 255, 255, 0.45);
  }
}

/* ─── Member Page Link Styles ─── */
.member-main a {
  color: cyan;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.member-main .card a:hover {
  color: white;
  text-shadow: 0 0 8px cyan, 0 0 20px rgba(0,255,255,0.5);
}

/* ─── Member Role Badges ─── */
.role-badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1rem;
  text-transform: uppercase;
  color: cyan;
  border: 2px solid cyan;
  box-shadow: 0 0 12px rgba(0,255,255,0.4);
  position: relative;
  overflow: hidden;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0,255,255,0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(0,255,255,0.8);
  }
}

/* ─── BinGod Page Unique Styling ─── */
body.bingod-page .member-info {
  position: relative;
  padding: 2.5rem 4rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  z-index: 2;

  /* alignment and spacing */
  width: 38%; /* narrower so it ends before the audio button */
  max-width: 580px;
  margin-left: 2vw; /* more push to the left */
  margin-right: auto;
}

/* subtle shimmer line animation */
.role-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,255,255,0.4), transparent);
  animation: shimmerMove 3s linear infinite;
}

/* Founder label under BinGod's name */
body.bingod-page .member-info h1::after {
  content: "Founder";
  display: block;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  color: rgba(0, 0, 0, 0.8);
  margin-top: 0.3rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

body.member-page-two .member-info {
  position: relative;
  padding: 2.5rem 4rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  z-index: 2;

  width: 38%;
  max-width: 580px;
  margin-left: 2vw;
  margin-right: auto;
}

@keyframes shimmerMove {
  0% { left: -80%; }
  100% { left: 120%; }
}

/* Color variations */
.role-badge.producer {
  color: #00ffff;
  border-color: #00ffff;
}

.role-badge.artist {
  color: #ff00ff;
  border-color: #ff00ff;
  box-shadow: 0 0 12px rgba(255,0,255,0.4);
}

.role-badge.both {
  color: #ffff00;
  border-color: #ffff00;
  box-shadow: 0 0 12px rgba(255,255,0,0.4);
}

/* Smooth, continuous looping animation */
@keyframes scrollLoop {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ─── Audio Player ─── */
#audio-player {
  position: fixed;
  top: 20px;
  left: 20px;
  display: none;
  align-items: center;
  gap: 8px;
  color: cyan;
  z-index: 1001;
}
#audio-player.playing svg {
  filter: drop-shadow(0 0 8px cyan);
  transform: scale(1.1);
  transition: all 0.2s ease;
}

/* Always show on member pages */
body[class*="member-page"] #audio-player {
  display: flex !important;
}

/* ─── Headphones Icon ─── */
#speaker-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#speaker-toggle .headphones-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px cyan);
}

#speaker-toggle:hover .headphones-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px cyan);
}

#audio-player.playing .headphones-icon {
  filter: drop-shadow(0 0 12px cyan) brightness(1.2);
}

/* Always show content on member pages */
body[class*="member-page"] main,
body[class*="member-page"] footer {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ─── Farewell Page ─── */
body.farewell-page {
  background: #000;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  margin: 0;
  padding: 2rem;
}

.farewell-message {
  max-width: 800px;
background: rgba(0, 255, 255, 0.05);
border: 1px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 0 35px rgba(0, 255, 255, 0.25);
color: cyan;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 0 25px rgba(255,255,255,0.1);
}

.farewell-message p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.5px;
}

body.farewell-page,
html.farewell-page {
  background: radial-gradient(circle at center, #001010 0%, #000 100%) !important;
}

html.farewell-page,
body.farewell-page {
  background: radial-gradient(circle at center, #001010 0%, #000 100%) !important;
  overscroll-behavior: none;
  background-attachment: fixed;
  background-color: #000; /* hard black fallback */
}

.farewell-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.return-link {
  margin-top: 2rem;
}

.return-link a {
  color: cyan;
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.return-link a:hover {
  color: white;
  text-shadow: 0 0 8px cyan, 0 0 20px rgba(0,255,255,0.5);
}

/* ─── Footer ─── */
footer small {
  display: block;
  text-align: center;
  color: cyan;
  opacity: 0.7;
  margin: 2rem 0;
  font-family: 'Exo 2', sans-serif;
  text-shadow: 0 0 8px rgba(0,255,255,0.4);
}

/* Always show footer if splash is gone or missing */
body:not(:has(#splash)) footer {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure footer is visible once main content is active */
body.loaded footer {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ─── Credits Page ─── */
body.credits-page {
  color: cyan;
  font-family: 'Exo 2', sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  text-align: center;
}

.credits-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.credits-scroll {
  position: absolute;
  bottom: -100%;
  width: 100%;
  animation: scrollUp 60s linear infinite;
  font-size: 1.2rem;
  line-height: 2;
  text-shadow: 0 0 12px rgba(0,255,255,0.4);
}

.credits-scroll h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px cyan;
}

.credits-scroll .thankyou {
  margin-top: 3rem;
  font-style: italic;
  color: #fff;
}

.credits-scroll a.return-link {
  display: block;
  margin-top: 3rem;
  color: cyan;
  text-decoration: none;
  font-size: 1.2rem;
  text-shadow: 0 0 8px cyan;
}

.credits-scroll a.return-link:hover {
  color: white;
  text-shadow: 0 0 15px cyan;
}

@keyframes scrollUp {
  0% { bottom: -100%; }
  100% { bottom: 110%; }
}