
/* ===== Shared Styles: Music Controls & Home Button ===== */

.audio-controls {
  position: fixed;
  bottom: 180px;
  right: 190px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 0 10px #ff00ff;
  z-index: 999;
  overflow: visible;
}

.control-group button {
  font-family: 'Permanent Marker', cursive;
  background: none;
  border: none;
  color: #00ffff;
  font-size: 14px;
  cursor: pointer;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #ff00ff;
  white-space: nowrap;
}

.control-group input[type="range"] {
  width: 120px;
  accent-color: #ff00ff;
  cursor: pointer;
}

.home-button {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Permanent Marker', cursive;
  color: #00ffff;
  font-size: 20px;
  text-decoration: none;
  text-shadow:
    0 0 3px #ff00ff,
    0 0 6px #8000ff,
    0 0 12px #8000ff;
  padding: 5px 10px;
  border: 2px solid #ff00ff;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 8px #ff00ff;
}

/* Shared Backgrounds */
body.background-generalstore {
  background: url('../images/GeneralStore.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: 'Permanent Marker', cursive;
  overflow-x: hidden;
  color: white;
}

/* Neon Back Button */
.home-button {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 20px;
  text-decoration: none;
  color: #00ffff;
  padding: 6px 12px;
  border: 2px solid #ff00ff;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  text-shadow: 0 0 5px #00ffff, 0 0 10px #ff00ff;
  box-shadow: 0 0 8px #ff00ff;
  z-index: 999;
}

/* Privacy Link */
.privacy-link {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  color: #00ffff;
  text-decoration: none;
  font-family: 'Permanent Marker', cursive;
  text-shadow: 0 0 4px #ff00ff, 0 0 8px #8000ff;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ff00ff;
  box-shadow: 0 0 6px #ff00ff;
  z-index: 999;
}

/* Music Controls */
.audio-controls button {
  font-family: 'Permanent Marker', cursive;
  background: none;
  border: none;
  color: #00ffff;
  font-size: 14px;
  cursor: pointer;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #ff00ff;
  white-space: nowrap;
}

.audio-controls input[type="range"],
#volume-slider {
  width: 120px;
  max-width: 100%;
  flex-shrink: 1;
  accent-color: #ff00ff;
  cursor: pointer;
}

.weather-audio-toggle {
  position: absolute;
  top: 110px;    /* adjust based on where the TV is in your image */
  right: 130px;  /* adjust to fine-tune placement */
  z-index: 1000;
}

.weather-audio-toggle button {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #ff00ff;
  color: #00ffff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  text-shadow: 0 0 4px #00ffff, 0 0 8px #ff00ff;
  box-shadow: 0 0 6px #ff00ff;
  transition: background 0.3s ease;
}

.weather-audio-toggle button:hover {
  background: rgba(0, 0, 0, 0.85);
}

.channel-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}

.channel-buttons button {
  font-family: 'Permanent Marker', cursive;
  background: black;
  color: #00ffff;
  border: 2px solid #ff00ff;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 10px;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #ff00ff;
  box-shadow: 0 0 10px #00ffff;
  cursor: pointer;
}

.channel-buttons button:hover {
  background: #111;
  color: #ff00ff;
  border-color: #00ffff;
  box-shadow: 0 0 12px #ff00ff;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  padding: 0 40px;
  gap: 30px;
}

.player-box {
  flex: 1;
  max-width: 900px;
  padding: 10px;
  border: 3px solid #00ffff;
  border-radius: 20px;
  box-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.player-box iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  border: none;
}

.forum-box {
  width: 550px;
  height: 500px;
  border: 3px solid #ff00ff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.forum-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.welcome-box {
  position: absolute;
  top: 120px;
  left: 80px;
  max-width: 520px;
  padding: 20px;
  font-size: 16px;
  font-family: 'Permanent Marker', cursive;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ff00ff;
  border-radius: 12px;
  box-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
  text-shadow: 0 0 2px #fff;
  z-index: 5;
}

.welcome-text a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: text-shadow 0.2s ease;
}

.welcome-text a:hover {
  text-shadow: 0 0 10px #00ffff;
}

.glitch-text {
  display: block;
  margin-top: 15px;
  color: #ff00ff;
  text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #ff00ff;
  font-size: 14px;
  animation: glitchLoop 3s infinite;
}

.glitch-flicker {
  animation: flicker 2s infinite alternate;
}

@keyframes glitchLoop {
  0% { transform: translateX(0); }
  20% { transform: translateX(-1px); }
  40% { transform: translateX(1px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* 📦 eBay Display Box */
.ebay-box {
  position: absolute;
  top: 120px;
  right: 80px;
  max-width: 420px;
  padding: 20px;
  font-size: 16px;
  font-family: 'Permanent Marker', cursive;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #00ffff;
  border-radius: 12px;
  box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  text-shadow: 0 0 2px #fff;
  z-index: 3;
}

.ebay-text a {
  color: #ff00ff;
  text-decoration: none;
  font-weight: bold;
}

.ebay-text a:hover {
  text-shadow: 0 0 10px #ff00ff;
}

.audio-controls {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 0 10px #ff00ff;
  z-index: 9999;
  max-width: 300px;
}

.audio-controls button {
  font-family: 'Permanent Marker', cursive;
  background: none;
  border: none;
  color: #00ffff;
  font-size: 14px;
  cursor: pointer;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #ff00ff;
  white-space: nowrap;
}

.audio-controls input[type="range"] {
  width: 120px;
  max-width: 100%;
  accent-color: #ff00ff;
  background-color: transparent;
  border-radius: 8px;
  animation: neon-pulse 3s infinite;
  cursor: pointer;
}

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

/* Reserve space so nothing hides behind the fixed footer */
:root { --footer-pad: 96px; } /* tweak if you add more links */
#page-content { padding-bottom: calc(var(--footer-pad) + env(safe-area-inset-bottom, 0px)); }

/* Big glowing container centered at bottom */
.glow-footer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  /* frosted neon box look */
  background: rgba(15,15,30,0.55);
  backdrop-filter: blur(6px);
  border-top: 2px solid #ff00ff; /* neon pink edge */
  box-shadow: 0 0 18px #ff00ff, 0 0 28px #00ffff, 0 -10px 40px rgba(0,0,0,0.35);
}

/* Inner content area: max-width keeps it bottom-center */
.glow-footer__wrap{
  max-width: 1100px;
  width: min(95vw, 1100px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* Link "cards" that match your glass neon boxes */
.glow-card{
  --neon1:#00ffff; --neon2:#ff00ff; --neon3:#7d3cff;
  font-family:'Permanent Marker', system-ui, sans-serif;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(20,20,35,0.70);
  border: 2px solid var(--neon1);
  box-shadow:
    0 0 6px var(--neon1),
    0 0 16px var(--neon2),
    inset 0 0 6px rgba(255,255,255,0.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.glow-card:hover, .glow-card:focus{
  border-color: var(--neon2);
  box-shadow:
    0 0 8px var(--neon2),
    0 0 22px var(--neon3),
    0 0 40px var(--neon2);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* Mobile: a bit taller padding and tighter cards */
@media (max-width: 720px){
  :root { --footer-pad: 112px; }
  .glow-card{ padding: 8px 12px; font-size: .95rem; border-radius: 12px; }
}

/* --- Footer sizing & spacing (no overlap) --- */
:root { --footer-pad: 120px; }            /* was 96px — gives more room for wrap */
#page-content { padding-bottom: var(--footer-pad); }

/* Big glow box centered, narrower */
.glow-footer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;

  /* keep it bottom-center + not full width */
  display: grid; place-items: center;
  padding: 12px 0 14px;
  width: 100%;
  background: rgba(15,15,30,0.55);
  backdrop-filter: blur(6px);

  /* match your site’s glow (blue outer, pink inner) */
  border-top: 2px solid #ff00ff;                    /* neon pink edge */
  box-shadow:
    0 0 12px #00eaff,                               /* cyan halo */
    0 0 24px #00eaff,
    0 0 36px #ff00f0,                               /* pink bloom */
    0 -10px 40px rgba(0,0,0,0.35);                  /* soft lift */
}

/* Inner container = the actual rounded box */
.glow-footer__wrap{
  /* shrink on both sides & center */
  width: min(92vw, 980px);                          /* <- narrower */
  margin: 0 auto;

  padding: 12px;
  border-radius: 18px;

  /* frosted interior like your other boxes */
  background: rgba(20,20,35,0.66);
  border: 2px solid #00ffff;                        /* cyan edge */
  box-shadow:
    0 0 8px #00ffff,
    0 0 22px #ff00ff,
    inset 0 0 10px rgba(255,255,255,0.08);

  display: flex; flex-wrap: wrap;
  gap: 10px;
  justify-content: center; align-items: center;
}

/* Link cards = smaller “pills” to match your buttons */
.glow-card{
  font-family:'Permanent Marker', system-ui, sans-serif;
  font-size: clamp(.92rem, 1.1vw, 1rem);
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none; color: #fff;

  background: rgba(15,15,30,0.70);
  border: 2px solid #00ffff;
  box-shadow:
    0 0 6px #00ffff,
    0 0 16px #ff00ff,
    inset 0 0 6px rgba(255,255,255,0.08);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.glow-card:hover,.glow-card:focus{
  border-color: #ff00ff;
  box-shadow:
    0 0 8px #ff00ff,
    0 0 22px #7d3cff,
    0 0 40px #ff00ff;
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* Mobile breathing room */
@media (max-width: 720px){
  :root { --footer-pad: 132px; }                    /* extra room for two lines */
  .glow-footer__wrap{ width: min(94vw, 980px); padding: 10px; border-radius: 16px; }
  .glow-card{ padding: 7px 12px; font-size: .95rem; }
}

/* Footer container (no big outer glowbox) */
.glow-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 12px 0 14px;
  width: 100%;

  /* remove blur & background haze */
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border: none;
}

/* Button row stays centered */
.glow-footer__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* Neon link buttons (mini-boxes) */
.glow-card {
  --neon1:#00ffff; --neon2:#ff00ff; --neon3:#7d3cff;

  font-family:'Permanent Marker', system-ui, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;

  background: rgba(15,15,30,0.70);
  border: 2px solid var(--neon1);
  box-shadow:
    0 0 6px var(--neon1),
    0 0 16px var(--neon2),
    inset 0 0 6px rgba(255,255,255,0.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.glow-card:hover,
.glow-card:focus {
  border-color: var(--neon2);
  box-shadow:
    0 0 8px var(--neon2),
    0 0 22px var(--neon3),
    0 0 40px var(--neon2);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* Small-screen tweaks */
@media (max-width: 720px) {
  .glow-card {
    padding: 7px 12px;
    font-size: .95rem;
    border-radius: 12px;
  }
}
