/* ——— 1. Font Import ——— */
@import url("https://fonts.googleapis.com/css2?family=Tinos:wght@400;700&display=swap");

:root {
  --player-bg: rgba(0, 0, 0, 0.6);
  --btn-color: #ffcc00;
  --btn-hover: #e5cd6f;
  --slider-track: #444;
  --slider-thumb: #ffcc00;
  --track-font: 'Tinos', serif;
  --track-color: #fff;
  --track-size: 0.9rem;
  --gap: 0.5rem;
}

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

body {
  font-family: var(--track-font);
  background: url('https://goombastomp.com/wp-content/uploads/2018/10/Dahlia-Gillespie.gif') center/cover fixed no-repeat;
  color: white;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Floating image now outside the wrapper */
#floating-img {
  position: absolute;
  top: 200px;
  right: 5px;
  width: 400px;
  border-radius: 8px;
  z-index: 10;
}

/* Radio wrapper */
.radio-wrapper {
  position: relative;
  z-index: 1000;
}

/* Radio background */
.radio-bg {
  position: absolute;
  top: 370px;
  left: 55px;
  width: 360px;
  height: 360px;
  background: url('https://i.postimg.cc/wMcYb5Yh/sh1radio.png') center center no-repeat;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

/* Side widget */
.side-widget {
  position: absolute;
  top: 200px;
  left: 85px;
  transform: translateY(-50%);
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CD wrapper */
.cd-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  background: #fafafa;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.cd-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: spin 7s linear infinite;
}

.cd-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at center, black 0%, black 60%, #333 61%, #333 70%, black 71%, black 100%);
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Player controls */
.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

/* Controls column (bottom left) */
.controls-column {
  position: absolute;
  bottom: -260px;
  left: -4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.controls-column button {
  background: none;
  color: #ddd;
  font-size: 1.2rem;
  padding: 2px 5px;
  cursor: pointer;
}

.player button {
  background: none;
  color: #ddd;
  font-size: 1.2rem;
  padding: 4px 8px;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.player button:hover {
  color: #fff;
}

.player button:active {
  border-style: inset;
}

/* Track info zone */
.track-info-zone {
  position: absolute;
  bottom: -180px; /* Adjust as needed */
  left: 60px;
  width: 180px;
  text-align: center;
  z-index: 2;
}

/* Track info */
.radio-display {
  margin-top: 12px;
  text-align: center;
}


#track-info::-webkit-scrollbar {
  width: 6px;
}

#track-info::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

#track-info::-webkit-scrollbar-track {
  background-color: transparent;
}

@keyframes titleFlicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 2px #fff; }
  10%, 30% { opacity: 0.6; text-shadow: none; }
  20%, 50% { opacity: 0.2; text-shadow: none; }
  40%, 70% { opacity: 0.8; text-shadow: 0 0 1px #fff; }
}


/* Waveform and track info (bottom of red square) */
.waveform-zone {
  position: absolute;
  bottom: -240px;
  left: 83px;
  width: 200px;
  text-align: center;
  z-index: 2;
}

#waveform {
  width: 180px;
  height: 50px;
  background: rgba(203, 255, 203, 0.2);
  filter: brightness(160%) contrast(220%);
}


/* Volume knob (top left) */
.knob-zone {
  position: absolute;
  top: 490px;
  left: -13px;
  width: 30px;
  height: 30px;
  z-index: 2;
}

#volume-dial {
  position: relative;
  width: 30px;
  height: 30px;
  margin: auto;
}

#volume {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #222 0%, #111 100%);
  border: 2px solid #555;
  box-shadow: inset 0 0 10px #000;
  cursor: pointer;
  transform: rotate(0deg);
  appearance: none;
}

.tick-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.dial-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 20px;
  background: #ff4a4a; 
  transform: translateX(-50%);
  transition: transform 0.1s ease-out;
}

/* Hide native slider appearance */
#volume::-webkit-slider-thumb,
#volume::-moz-range-thumb,
#volume::-ms-thumb {
  width: 0;
  height: 0;
  background: transparent;
  border: none;
}

#volume::-webkit-slider-runnable-track,
#volume::-moz-range-track,
#volume::-ms-track {
  background: transparent;
  height: 0;
  border: none;
}

#volume:focus {
  outline: none;
}


/* 2. Hide every vendor’s thumb */
#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 0;
  height: 0;
}

#volume::-moz-range-thumb {
  background: transparent;
  border: none;
  box-shadow: none;
  width: 0;
  height: 0;
}

#volume::-ms-thumb {
  background: transparent;
  border: none;
  width: 0;
  height: 0;
}

/* 3. Hide IE/Edge fill pseudo-elements */
#volume::-ms-fill-lower,
#volume::-ms-fill-upper {
  background: transparent;
  border: none;
}

/* 4. (Optional) clean up Firefox track/progress */
#volume::-moz-range-track,
#volume::-moz-range-progress {
  background: transparent;
  border: none;
  height: 0;
}

/* ——— 8. Track Info ——— */
#track-info {
  position: relative;
  width: 150px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 20px !important;
  color: #fff;
  padding-left: 4px;
  line-height: 30px;
  text-align: left;
  left: 42px;
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  padding-right: 100%;
  
}

.scroll-text.scrollable {
  animation: scroll-left 12s linear infinite;
  animation-delay: 2s; /* Wait 2 seconds before scrolling */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.scroll-text.centered {
  display: block;
  width: 100%;
  text-align: center;
  padding-right: 0; /* prevent extra space */
  animation: none;  /* disable scrolling */
}

@keyframes titleFlicker {
  0%,100% { opacity: 1; text-shadow: 0 0 2px #fff; }
  10%,30% { opacity: 0.6; text-shadow: none; }
  20%,50% { opacity: 0.2; text-shadow: none; }
  40%,70% { opacity: 0.8; text-shadow: 0 0 1px #fff; }
}


/* ——— 9. Hidden YouTube Player ——— */
#yt-player {
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* ——— 10. Hero + Title Overlay ——— */
.hero {
  position: relative;
  width: 100%;
  height: 200px;
  background: url('https://i.postimg.cc/tgjjqvxp/eyes.gif')
              center/cover no-repeat;
}

@media (max-width: 600px) {
  .hero {
    height: 300px;
  }
}

.site-title {
  position: absolute;
  top: 50%;
  left: 45.1%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
}

.site-title img {
  display: block;
  width: 120%;
  height: auto;
}


/* ——— 11. Content Wrapper with GIF Overlay ——— */
.content-wrap {
  position: relative;
  z-index: 1;
  max-width: 950px;
  min-height: 900px;
  width: 90%;
  margin: 0 auto;
  margin-top: 0;
  padding-top: 5px;
  flex: 1 0 auto; 
}

.content-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://64.media.tumblr.com/19878c8a6b0d8e168448048e5bf0f287/278e46be764dd25e-2a/s500x750/f0ce246db3bab5f905a78a8f7d25fde19d834282.gif')
              center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
}


/* ——— 12. Social Links ——— */
.social-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem;
  background: rgba(0,0,0,0.4);
 z-index: 2;
}


.social-nav a {
position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  z-index: 1;
}

.social-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #00f; /* Blue line */
  box-shadow: 0 0 8px #00f, 0 0 16px #00f; /* Glowy effect */
  transform: translateY(-50%);
  z-index: -1;
  border-radius: 2px;
}


.social-nav a:hover::before {
  height: 4px;
  box-shadow: 0 0 12px #00f, 0 0 24px #00f;
  transition: all 0.3s ease;
}



/* ——— 13. Tabs & Content ——— */

.tab-title {
  text-align: center;
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.4); 
  color: #fff;
  transition: opacity 0.3s ease;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  position: relative; 
}

.tab-btn {
  position: relative;
  background: rgb(0, 0, 0);
  border: none; /* Remove default border */
  outline: none;
  color: white;
  padding: 0.5rem 1rem;
  font-family: var(--track-font);
  font-size: 16px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s;
  z-index: 1;
  overflow: visible;
}

.tab-btn.active {
  border: 2px solid #706fb7; /* Blue border for active tab */
  border-radius: 0px; /* Optional: soften the edges */
}

.tab-btn.active,
.tab-btn:hover {
  background: rgb(0, 0, 0);  
  
}

/* Only show corner accents on active tab */
.tab-btn.active::before,
.tab-btn.active::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
}

/* Top-left L accent */
.tab-btn.active::before {
  top: -6px;
  left: -6px;
  border-top: 2px solid #928fc1;
  border-left: 2px solid #928fc1;
}

/* Bottom-right L accent */
.tab-btn.active::after {
  bottom: -6px;
  right: -6px;
  border-bottom: 2px solid #928fc1;
  border-right: 2px solid #928fc1;
}

.tab-highlight {
  position: absolute;
  border: 2px solid #928fc1;
  pointer-events: none;
  z-index: 0;
 transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;

}

.tab-btn img {
  display: block;
  width: 47px;
  height: 47px;
  object-fit: contain;
  margin: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
  pointer-events: none; /* prevents accidental clicks on the image */
}

.tab-btn:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}


.tab-content {
  display: none;
  padding: 1rem;
}

.tab-content.active {
  display: block;
}


/* ——— 14. Stamp Grid & Tooltips ——— */
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, max-content));
  gap: 7px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.stamp {
  position: relative;
  display: inline-block;
  margin: 0.1rem;
}

.credit-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 1rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 1px 3px;
  border-radius: 3px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}

.stamp:hover .credit-icon,
.stamp:focus-within .credit-icon {
  opacity: 1;
  pointer-events: auto;
}

.stamp img {
  display: block;
  width: 100px;
  transition: transform 0.3s;
}

.stamp:hover img {
  transform: scale(1.1);
}

.stamp::after {
  content: attr(data-title);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  transition: opacity 0.2s;
}

.stamp:hover::after {
  opacity: 1;
}


/* ——— 15. Final Reset & Body Clean-up ——— */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero, .social-nav, .tabs {
  flex: 0 0 auto;
}
/*-------------------------------------------------------------------
  Simple reset for sections
-------------------------------------------------------------------*/
body, h1,h2,h3,h4,h5,p,nav,header,section,footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main, section {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
