:root {
  --fg-size: 400px;
  --bg-size: 1.1125;
  
  --fg-base: 400; 
  --fg-scale: min(1, calc(var(--fg-size) / (1px * var(--fg-base))));
}

@media (max-width: 800px) {
  :root {
    --fg-size: 280px;
  }
}
@media (max-width: 320px) {
  :root {
    --fg-size: 200px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
  overflow-y: hidden;  
  height: 100vh;
  background: linear-gradient(270deg, #ffffff, #ff7c7c50, #29292850);
  background-size: 600% 600%;
  animation: Ripple 6s ease-in-out infinite;
}
@keyframes Ripple {
  0%,100% { background-size: 100% 100%; }
  50%     { background-size: 120% 120%; }
}

/* ----------------------Clarity - Banner */
#CookieBanner {
  inset: 0;
  width: 100%;
  position: fixed;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(255, 255, 255, 0.699); 
  backdrop-filter: blur(5px);
  animation: CFadeIn 1s ease-in;
  will-change: transform, opacity;
  z-index: 201;
}

#CookieTextBox {
  max-width: 330px;
  box-sizing: border-box;
  padding: 0.5rem;
  font-family: Arial, Helvetica;
  font-size: 0.75rem;
  user-select: none;
}

#CookieTitle {
  color: #000000bb;
  font-weight: normal;
  font-style: normal;
  font-size: 0.8rem;
  text-align: center;
  padding-top: 5px;
}
#CookieTitle p {
  color: #000000bb;
  font-weight: normal;
  font-style: normal;
  font-size: 0.75rem; 
  text-align: center;
  text-transform: none;
}
#CookieTitle a {
  color: #000000bb;
  font-size: 0.70rem;
  font-style: italic;
  text-decoration: underline;
  -webkit-user-drag: none;
}

#ButtonBox {
  text-align: center;
}  
#B1, #B2 {
  margin-left: 0;
  margin-right: 10px;
  margin-top: 0.8em;
  height: 1.5em;
  display: inline-flex;
  font-family: 'Arial';
  font-size: small;
  align-items: center;
  justify-content: center;
  appearance: none;
  background-color: #0000008a;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  padding: calc(.5em - 1px) 1.5em;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}
#B1:active, #B2:active {
  border-color: #4a4a4a;
  outline: 0;
}

#B1:hover, #B2:hover {
  border-color: #b5b5b5;
}

#B1:focus, #B2:focus {
  border-color: #485fc7;
  outline: 0;
}

#B1:focus:not(:active), #B2:focus:not(:active) {
  box-shadow: rgba(72, 95, 199, .25) 0 0 0 .125em;
}
  
@keyframes CFadeIn {
  0% { opacity: 0.1; }
  100% { opacity: 0.8; }
}

/* ----------------------Background */
.ViewportTopGradient {
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  position: fixed;
  background: linear-gradient(
    to bottom,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsla(0, 0%, 100%, 0.738) 19%,
      hsla(0, 0%, 100%, 0.541) 34%,
      hsla(0, 0%, 100%, 0.382) 47%,
      hsla(0, 0%, 100%, 0.278) 56.5%,
      hsla(0, 0%, 100%, 0.194) 65%,
      hsla(0, 0%, 100%, 0.126) 73%,
      hsla(0, 0%, 100%, 0.075) 80.2%,
      hsla(0, 0%, 100%, 0.042) 86.1%,
      hsla(0, 0%, 100%, 0.021) 91%,
      hsla(0, 0%, 100%, 0.008) 95.2%,
      hsla(0, 0%, 100%, 0.002) 98.2%,
      hsla(0, 0%, 100%, 0) 100%);
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 5;
}
.ViewportBottomGradient {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  position: fixed;
  background: linear-gradient(
    to top,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsl(0, 0%, 100%) 0%,
      hsla(0, 0%, 100%, 0.738) 19%,
      hsla(0, 0%, 100%, 0.541) 34%,
      hsla(0, 0%, 100%, 0.382) 47%,
      hsla(0, 0%, 100%, 0.278) 56.5%,
      hsla(0, 0%, 100%, 0.194) 65%,
      hsla(0, 0%, 100%, 0.126) 73%,
      hsla(0, 0%, 100%, 0.075) 80.2%,
      hsla(0, 0%, 100%, 0.042) 86.1%,
      hsla(0, 0%, 100%, 0.021) 91%,
      hsla(0, 0%, 100%, 0.008) 95.2%,
      hsla(0, 0%, 100%, 0.002) 98.2%,
      hsla(0, 0%, 100%, 0) 100%);
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 5;
}
.BackgroundB {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  filter: blur(7px);
}

.BearLoop {
  display: flex;
  width: auto;
  height: 100dvh;
  animation: DriftLoop 30s linear infinite, FlickerBright 15s infinite steps(2), Flicker 7.5s infinite steps(1);
  animation-play-state: paused;
  z-index: -1;
  will-change: transform;
  transform: translateZ(0);
}
.BearLoop img {
  width: auto;
  height: 100dvh;
  object-fit: cover;
  pointer-events: none;
  z-index: -1;
  flex-shrink: 0;
  display: block;
  backface-visibility: hidden;
  filter: grayscale(100%);
}

@media (max-height: 800px) {
  .BearLoop {
    height: auto;
  }
  .BearLoop img {
    height: auto;
    min-height: 100vh;
  }
}

@keyframes DriftLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--img-w, 100vw))); }
}

#FilmGrain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 101;  
  pointer-events: none;
  mix-blend-mode: overlay; 
  opacity: 0.101;   
}

/* ----------------------QR */
.QR {
  top: 18px;
  right: 18px;
  position: fixed;
  z-index: 199;
}
.QR img {
  width: 125px;
  height: auto;
  display: block;
  box-shadow: 0px 0px 105px 105px rgb(255, 255, 255);
  z-index: 199;
}
@media screen and (max-width: 1023px) {
  .QR img {
  display: none;
  }
}

/* ----------------------LinkHub & Card Section */
#SongArtist {
  font-size: calc(1.2rem * var(--fg-scale));
  font-weight: 700;
  color: #666;
}

@keyframes Flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.8; }
  55% { opacity: 0.7; }
  70% { opacity: 0.9; }
}

#LinkHub {
  left: 0;
  margin: 5em auto;
  width: 100%;
  max-width: var(--fg-size);
  padding: 5px;
  line-height: 1;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 100;
  animation: Pulser 2.5s infinite, FlickerBright 15s infinite steps(2), Flicker 7.5s infinite steps(1);
}

@keyframes FlickerBright {
  0%, 18%, 25%, 57%, 70%, 100% { filter: none; }
  58% { filter: contrast(1.01) brightness(1.01) hue-rotate(350deg); }
  19%, 23% { filter: contrast(1.01) brightness(1.01) hue-rotate(100deg); }
}


@keyframes Pulser {
  0%, 100% { scale: 1 }
  50% {scale: 1.03 }
}
h4 {  
  font-weight: 500;
  font-size: calc(1.5rem * var(--fg-scale));
  margin: 0;
  user-select: none;
}

.More {
  display: block;
  opacity: 0.8;
  filter: grayscale(90%);
}

.More a {
  display: inline-flex;    
  align-items: center;    
  gap: 0.2rem;       
  text-decoration: none;    
  color: inherit;           
}

.More img {
  width: calc(2.1rem * var(--fg-scale));
  height: auto;
  display: block;
  image-rendering: crisp-edges;  
}
.More:hover {
  filter: grayscale(0);
}
.MoreText {
  font-size: calc(1.2rem * var(--fg-scale));
  font-weight: 600;
  vertical-align: middle;
  margin: 0; 
  user-select: none;
  text-decoration: none;
  background: linear-gradient(to right, #000000, #ff0000);
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated-text-gradient 5s linear infinite;
}

@keyframes animated-text-gradient {
  to { background-position: 200% center; }
}


@keyframes Glow {
  
0% {
    text-shadow: 0 0 0 rgba(0,0,0,0);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 10px rgba(0,0,0,0.7),
      0 0 28px rgba(0,0,0,0.45);
    transform: scale(1.03);
  }
  100% {
    text-shadow: 0 0 0 rgba(0,0,0,0);
    transform: scale(1);
  }
}

.Socials {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap; 
  justify-content: center;
  align-items: center;
}
.Socials img {
  width: calc(1.53rem * var(--fg-scale));
  height: auto;
  filter: brightness(0) saturate(100%);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-user-drag: none;
}
.Socials img:hover {
  scale: 1.1;
  opacity: 1;
}
/* ----------------------Foooter */ 
 footer {
  bottom: auto;
  left: 0;
  width: 100%;
  padding: 5px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  z-index: 100;
}

.Copyright {
  text-transform: uppercase;
  font-size: calc(0.65rem * var(--fg-scale));
  margin: 1.2rem;
  color: #00000094;
  user-select: none;
}
.Copyright img {
  image-rendering: crisp-edges;
  margin-top: 0.45rem;
  max-width: calc(8rem * var(--fg-scale));
  opacity: 0.8;
  pointer-events: none;
}
.PPolicy {
  font-size: calc(0.65rem * var(--fg-scale));
  color: #00000094;
  text-decoration: none;
}

