:root {
  --orokin-gold: #e6c97a;
  --tenno-blue: #3cf0fd;
  --tenno-glow: 0 0 12px #3cf0fd88, 0 0 28px #0ff8;
  --void-dark: #091022;
  --panel-bg: rgba(20,24,36,0.78);
  --glass-bg: rgba(36, 49, 80, 0.85);
  --fade-bg: linear-gradient(135deg, #122241d6 70%, #2e4a99aa 100%);
  --panel-border: 2px solid var(--orokin-gold);
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(ellipse at top, #091022 70%, #1a253a 100%);
  color: #e6dfb0;
  margin: 0;
  padding: 0 0 4rem 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background image */
#background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: url('images/void-smoke.jpg') center center / cover no-repeat;
  pointer-events: none;
}

/* Starfield (behind everything) */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

header.tenno-glass {
  background: var(--glass-bg);
  border-radius: 24px;
  box-shadow: 0 0 32px #0ff4, 0 8px 32px #d4af3770;
  border: var(--panel-border);
  text-align: center;
  max-width: 560px;
  margin: 3rem auto 2.5rem auto;
  position: relative;
  overflow: visible;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  backdrop-filter: blur(2.5px);
  animation: header-fadein 1.2s cubic-bezier(.32,.72,.47,1.37);
}

@keyframes header-fadein {
  from { opacity: 0; transform: translateY(-60px) scale(.97);}
  to { opacity: 1; transform: none;}
}

.logo-voidglow {
  display: inline-block;
  position: relative;
}

.clan-logo {
  width: 90px;
  border-radius: 20%;  /* or 50% for round */
  /* Only glow animation! */
  animation: logo-glow 2.4s infinite alternate cubic-bezier(.6,.06,.62,.91);
}

@keyframes logo-glow {
  0% { filter: drop-shadow(0 0 5px #3cf0fd44);}
  100% { filter: drop-shadow(0 0 32px #3cf0fdcc);}
}

.logo-pulse {
  position: absolute;
  left: 50%; top: 52%;
  width: 90px; height: 90px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #3cf0fd33 0%, #3cf0fd00 72%);
  animation: pulse-glow 2.5s infinite cubic-bezier(.9,.15,.45,1.1);
  z-index: 0;
}

@keyframes pulse-glow {
  0% { opacity: .22; transform: translate(-50%, -50%) scale(1);}
  70% { opacity: .14; transform: translate(-50%, -50%) scale(1.18);}
  100% { opacity: .22; transform: translate(-50%, -50%) scale(1);}
}

header h1 {
  font-family: 'Cinzel Decorative', 'Orbitron', serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--orokin-gold);
  letter-spacing: 1.5px;
  margin-bottom: 0.3rem;
  margin-top: 0.5rem;
  text-shadow: 0 0 16px #d4af3777, 0 0 2px #222a;
}

header .subtitle, header p {
  font-family: 'Orbitron', 'Barlow', sans-serif;
  font-size: 1.2rem;
  color: #f6f6ecdd;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 8px #3cf0fd33;
  letter-spacing: .08em;
  font-weight: 500;
}

/* Glassmorphism panel */
.card-section.glass-effect {
  background: #101522 !important;   /* ← Your solid panel color */
  border-radius: 18px;
  border: 1.8px solid #3cf0fd88;
  box-shadow: 0 4px 22px #0ff6, 0 1px 12px #d4af3711;
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 640px;
  width: 97%;
  position: relative;
  overflow: visible;
  /* REMOVE: backdrop-filter: blur(2.5px); */
  transition: box-shadow .32s cubic-bezier(.42,1.2,.25,1);
  border-left: 4px solid var(--orokin-gold);
}

.card-section.glass-effect:hover,
.card-section.glass-effect:focus-within {
  box-shadow: 0 8px 44px #3cf0fdcc, 0 8px 44px #d4af3777;
  border-left: 8px solid var(--orokin-gold);
}

/* Section headers */
.card-section h2 {
  font-family: 'Cinzel Decorative', 'Orbitron', serif;
  font-size: 2.1rem;
  color: var(--tenno-blue);
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  text-shadow: 0 0 8px #3cf0fd33, 0 0 6px #d4af3711;
  text-align: center; /* ✅ Add this */
}


.accent {
  color: var(--tenno-blue);
  text-shadow: 0 0 10px #3cf0fd66, 0 0 16px #0ff4;
  filter: brightness(1.08) contrast(1.1);
}

.gold-text, .highlight-gold {
  color: var(--orokin-gold);
  text-shadow: 0 0 8px #e6c97a44, 0 0 2px #fff4;
  font-weight: 700;
}

.card-section p, .lyrics-text {
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #f7efdf;
  margin: 0 auto 0.5rem auto;
  max-width: 640px;
  line-height: 1.7;
}

.lyrics-section {
  font-size: 1.09rem;
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.01em;
  background: linear-gradient(145deg, #202945dd 80%, #30489677 100%);
  border-left: 4px solid var(--orokin-gold);
}

.lyrics-text {
  color: #e3e3f7;
  font-size: 1.07rem;
  margin-bottom: 0.8rem;
}

.fade-in {
  animation: fadeInText 1.5s ease;
}

@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slideshow styles */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 340px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #3cf0fdcc;
  box-shadow: 0 0 24px #0ff5;
}

.slideshow-container img.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  border-radius: 16px;
  transition: opacity 1.4s cubic-bezier(.72,.05,.48,1.1);
  z-index: 0;
}

.slideshow-container img.slide.active {
  opacity: 1;
  z-index: 1;
  box-shadow: 0 0 44px #3cf0fd44;
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  background: linear-gradient(90deg, var(--tenno-blue) 55%, var(--orokin-gold) 100%);
  color: #172042;
  font-family: 'Orbitron', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.19rem;
  padding: 1rem 2.7rem;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 16px #3cf0fd99, 0 1.5px 6px #d4af3766;
  letter-spacing: .1em;
  transition: transform 0.2s, box-shadow 0.24s, background 0.26s;
  text-shadow: 0 1px 3px #fff7, 0 0 8px #fff1;
  outline: none;
  margin-top: 1rem;
}

.btn-glow:hover, .btn-glow:focus {
  background: linear-gradient(90deg, var(--orokin-gold) 40%, var(--tenno-blue) 90%);
  box-shadow: 0 0 32px #3cf0fdcc, 0 0 16px #e6c97abb;
  transform: scale(1.06) translateY(-2px);
}

.btn-icon {
  width: 1.4em; height: 1.4em;
  filter: drop-shadow(0 0 8px #3cf0fd99);
}

#discord-widget {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 1.7rem 1.2rem 1.7rem;
  background: var(--fade-bg);
  border-radius: 18px;
  box-shadow: 0 8px 24px #0ff5;
  color: #f0e6c8;
  margin: 1.6rem auto 0.4rem auto;
  border: 2px solid #3cf0fd55;
}

#discord-widget > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

#discord-widget img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px #3cf0fd77;
}

#discord-widget h3 {
  font-family: 'Orbitron', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--tenno-blue);
  margin: 0;
  flex-grow: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

#discord-widget p {
  margin: 0.16rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: #e7e0c8;
}

#discord-widget p:last-of-type {
  color: #f0e6c8;
  font-size: 1.01rem;
  margin-bottom: 0.5rem;
}

#discord-widget small {
  display: block;
  margin-top: 1rem;
  color: #aaa;
  font-size: 0.83rem;
  font-style: italic;
  text-align: right;
}

footer {
  background: transparent;
  text-align: center;
  color: #bfb89c;
  padding: 2.5rem 0 0.6rem 0;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
}

.audio-control {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
}

#audio-control button {
  background: linear-gradient(90deg, var(--tenno-blue) 60%, var(--orokin-gold) 100%);
  border: none;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  font-size: 1.55rem;
  cursor: pointer;
  box-shadow: 0 2px 14px #3cf0fd66;
  transition: background 0.18s;
  color: #0a1223;
}

#audio-control button:hover, #audio-control button:focus {
  background: linear-gradient(90deg, var(--orokin-gold) 45%, var(--tenno-blue) 100%);
}

/* Responsive */
@media (max-width: 750px) {
  header.tenno-glass, .card-section.glass-effect, #discord-widget {
    max-width: 98vw;
    padding-left: 1.1rem; padding-right: 1.1rem;
  }
  .slideshow-container { max-width: 98vw; }
}

@media (max-width: 480px) {
  header h1 { font-size: 1.7rem; }
  .btn { width: 100%; font-size: 1.05rem; }
  .card-section.glass-effect, #discord-widget {
    padding: 1rem 0.5rem;
    max-width: 100vw;
    border-radius: 12px;
  }
  .card-section h2 { font-size: 1.25rem; }
  .slideshow-container { height: 170px; }
  .logo-voidglow .clan-logo, .logo-pulse { width: 60px; height: 60px; }
}

::-webkit-scrollbar {
  width: 9px; background: #161c2d;
}
::-webkit-scrollbar-thumb {
  background: #3cf0fd66;
  border-radius: 7px;
}
.song-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  margin: 1em auto 0.5em auto;
}

.song-controls button {
  background: linear-gradient(90deg, #3cf0fd 65%, #e6c97a 100%);
  color: #101c34;
  font-size: 1.7rem;
  border: none;
  border-radius: 10px;
  padding: 0.3em 0.7em;
  cursor: pointer;
  box-shadow: 0 0 10px #3cf0fd55;
  transition: background 0.19s;
}

.song-name {
  flex: 1;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  color: #3cf0fd;
  font-size: 1.05rem;
  padding: 0 0.5em;
  min-width: 120px;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lyrics-section h2 {
  text-align: center;
  display: block;
  width: 100%;
}
.lyrics-text {
  text-align: center;
} 

.lyric-line {
  transition: color 0.18s, text-shadow 0.18s;
  font-size: 1.14em;
  padding: 0.05em 0;
  color: #e3e3f7;
  /* No background, no border, clean */
}

.lyric-line.active {
  color: #3cf0fd;
  text-shadow:
    0 0 12px #3cf0fdcc,
    0 0 20px #0ff6,
    0 0 2px #e6c97a88;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* [your full CSS remains exactly as you've pasted it above] */

/* === MOBILE UPGRADES (add below your existing CSS) === */
@media (max-width: 480px) {
  #discord-widget > div:first-child {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #discord-widget h3 {
    font-size: 1.1rem;
  }

  .slideshow-container {
    height: 200px !important;
  }

  .lyrics-text,
  .lyric-line {
    font-size: 1rem;
    text-align: center;
  }

  .lyric-line.active {
    font-size: 1.06rem;
  }

  .song-controls {
    flex-wrap: wrap;
    gap: 1em;
  }

  .song-controls button {
    font-size: 1.4rem;
    padding: 0.4em 0.6em;
  }

  .song-name {
    font-size: 0.95rem;
    max-width: 90vw;
  }

  .btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .card-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .card-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  .lyric-line {
    font-size: 0.92rem;
    padding: 0.2em 0;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .song-controls button {
    font-size: 1.25rem;
  }

  .song-name {
    font-size: 0.88rem;
  }

  header h1 {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .song-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6em;
    padding: 0.6em 0.2em;
  }

  .song-controls button {
    font-size: 1.3rem;
    padding: 0.6em 0.9em;
    flex: 1 1 26%;
    max-width: 90px;
  }

  .song-name {
    flex-basis: 100%;
    font-size: 0.92rem;
    text-align: center;
    padding-top: 0.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  footer {
    padding-bottom: 3rem;
  }
}

#track-display {
  text-align: center;
  margin-bottom: 20px;
}

#track-image {
  width: 250px;
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: opacity 0.5s ease;
}



.music-player {
  background: linear-gradient(135deg, #142036d6 70%, #2e4a99cc 100%);
  border-radius: 22px;
  box-shadow: 0 8px 36px #0ff7, 0 2px 16px #d4af3711;
  border: 2.2px solid #3cf0fd88;
  max-width: 370px;
  margin: 2rem auto 1.5rem auto;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.player-cover {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}


.player-info {
  text-align: center;
  margin-bottom: 0.9rem;
}

.song-title {
  font-family: 'Orbitron', 'Barlow', sans-serif;
  font-size: 1.19rem;
  color: var(--tenno-blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 12px #3cf0fd33, 0 0 3px #0004;
}

.song-artist {
  font-family: 'Barlow', sans-serif;
  color: #e6c97a;
  font-size: 0.8rem;
  opacity: 0.75;
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 0.1rem;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  margin: 1.1rem 0 1.1rem 0;
}

.player-btn {
  background: linear-gradient(135deg, #3cf0fd 55%, #e6c97a 100%);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 12px #3cf0fd99, 0 0 12px #e6c97a55;
  color: #172042;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.16s, background 0.19s, transform 0.13s;
  outline: none;
  position: relative;
}

.player-btn.main {
  width: 68px;
  height: 68px;
  font-size: 2.15rem;
  box-shadow: 0 4px 20px #3cf0fdcc, 0 2px 16px #e6c97a66;
}

.player-btn:hover,
.player-btn:focus {
  background: linear-gradient(135deg, #e6c97a 40%, #3cf0fd 95%);
  box-shadow: 0 0 24px #3cf0fdcc, 0 0 10px #e6c97abb;
  transform: scale(1.08);
}

.player-progress {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0.5rem 0 1rem 0;
}

.player-time {
  font-size: 0.99rem;
  color: #d2e6ef;
  min-width: 2.1em;
  font-family: 'Barlow', monospace;
  text-shadow: 0 0 3px #0ff8;
}

.progress-bar-bg { 
  cursor: pointer;
  flex: 1 1 0;
  height: 8px;
  background: #222b37cc;
  border-radius: 7px;
  box-shadow: 0 0 8px #3cf0fd33;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3cf0fd 60%, #e6c97a 100%);
  border-radius: 7px;
  width: 0%;
  box-shadow: 0 0 8px #3cf0fd66;
  transition: width 0.25s;
}

.music-player .lyrics-text {
  color: #e3e3f7;
  font-size: 1.01rem;
  text-align: center;
  margin-top: 1.3rem;
  max-height: 120px;
  overflow-y: auto;
  padding: 0.5em;
  border-radius: 8px;
  background: rgba(16,24,40,0.18);
  box-shadow: 0 2px 10px #3cf0fd22;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .music-player {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 98vw;
  }
  .player-cover {
	  width: 160px;
	  height: 160px;
	  border-radius: 18px;
	}
  .player-btn { width: 38px; height: 38px; font-size: 1.1rem; }
  .player-btn.main { width: 54px; height: 54px; font-size: 1.55rem; }
  .player-progress { font-size: 0.89rem; }
  .music-player .lyrics-text { font-size: 0.96rem; max-height: 88px; }
  .song-title { font-size: 1.01rem; }
  .song-artist { font-size: 0.91rem; }
}
.player-lyric {
  min-height: 4.5em;  /* <-- Increase for 2-3 lines. Tweak as needed */
  font-size: 1.15rem; /* (Optional: a bit bigger for lyrics) */
  font-family: 'Orbitron', 'Cinzel Decorative', sans-serif;
  color: #3cf0fd;
  text-align: center;
  margin-top: 1.2em;
  letter-spacing: 0.03em;
  text-shadow: 
    0 0 14px #3cf0fdcc,
    0 0 4px #e6c97a55;
  opacity: 1;
  display: flex;               /* ⬅️ New: enable flex centering */
  align-items: center;         /* ⬅️ New: vertical center */
  justify-content: center;     /* ⬅️ New: horizontal center */
  transition: opacity 0.35s, color 0.3s;
  animation: fadeLyric 0.8s;
}
.player-progress input[type="range"] {
    accent-color: #3cf0fd; /* bright blue slider thumb (modern browsers) */
    background: transparent;
    vertical-align: middle;
    cursor: pointer;
    margin-left: 0.5em;
}
.player-progress input[type="range"]:focus {
    outline: none;
}

@keyframes fadeLyric {
  from { opacity: 0; transform: translateY(20px);}
  to   { opacity: 1; transform: translateY(0);}
}
