.page-fade {
    position: fixed;
    inset: 0;               
    background: black;
    pointer-events: none;
    animation: revealPage 3.5s ease forwards;
    z-index: 999999;
}

@keyframes revealPage {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

body {
  background-color: #000;
}


@keyframes wiggle {
  30% { transform: scale(1.2); }
  40%, 60% { transform: rotate(-20deg) scale(1.2); }
  50% { transform: rotate(20deg) scale(1.2); }
  70% { transform: rotate(0deg) scale(1.2); }
  100% { transform: scale(1); }
}
a:hover {
  animation: wiggle 1s linear;
  display: inline-block;
}


.stamp-strip img {
  flex-shrink: 0;
  filter: saturate(10%) contrast(120%) brightness(110%);
}


@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--scroll-width))); }
}

.contents {
  margin: 4% 6%;
  transform: translateX(-32%); 
}



h1 {
  color: black;
  font-family: broken;
  padding-left: 0px;
  padding-top: 0px;
  text-align: center;
  margin-top: 20px;
  font-size: 32px
}

p {
  text-align: center;
  color: black;
  padding-bottom: 20px;
  margin-top: 20px;     
  margin-bottom: -10px;
  font-family: mom;
  font-size: 18px
  
}
h1, p {
  text-shadow:
  -1px -1px 0 rgba(255,255,255,0.8), 
   1px -1px 0 rgba(255,255,255,0.8),
  -1px  1px 0 rgba(255,255,255,0.8),
   1px  1px 0 rgba(255,255,255,0.8);
   filter:
   drop-shadow(0 0 2px white)


}
.button-box {
  position: fixed;
  bottom: 83px; 
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  background-image: url("https://transparenttextures.com/patterns/white-wall.png");
  background-size: 200px;
  border: 2px solid black;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  filter:
   drop-shadow(0 0 1px white)
    drop-shadow(0 0 3px white);
}

.button-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

.button-box a,
.button-box img.lain-img {
  position: static;
}


.button-box .lain-img {
  filter: grayscale(90%);
}




@media (max-width: 600px) {
  h1 {
    font-size: clamp(20px, 6vw, 32px);
    line-height: 1.2;
    text-align: center;
    padding: 0 10px;
  }

  p {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.5;
    text-align: center;
    padding: 0 12px;
  }

  .text-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 15px;
  }

  .button-box {
    position: fixed;
    bottom: 83px;
    left: 20px;
    transform: none;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
  }
}

[glenplayer02] {
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  
}
[glenplayer02] .player-gif {
  margin-right: var(--MusicPlayer-Gap-1, 18px);
  margin-left: var(--MusicPlayer-Gap-1, 18px);
}
[glenplayer02] figcaption {
  text-shadow:
  -1px -1px 0 rgba(255,255,255,0.8),
   1px -1px 0 rgba(255,255,255,0.8),
  -1px  1px 0 rgba(255,255,255,0.8),
   1px  1px 0 rgba(255,255,255,0.8);
filter:
   drop-shadow(0 0 1px white)
    drop-shadow(0 0 2px white);
}
  [glenplayer02] figcaption {
    font-family: mom;
    font-size: 0.9rem;
    color: var(--MusicPlayer-Song-Name-Color);
    text-transform: none;
  }
   [glenplayer02] figcaption {
      font-family: mom, sans-serif !important;
    }
[glenplayer02] button {
  text-shadow:
  -1px -1px 0 rgba(255,255,255,0.8),
   1px -1px 0 rgba(255,255,255,0.8),
  -1px  1px 0 rgba(255,255,255,0.8),
   1px  1px 0 rgba(255,255,255,0.8);
filter:
   drop-shadow(0 0 1px white)
    drop-shadow(0 0 2px white);
}

.stamp-window {
    position: fixed;
    bottom: 15px;
    left: 20px;
    width: calc(100% - 40px);
    height: 46px;
    background: white;
    border: 2px solid black;
    border-radius: 10px;
    padding: 4px;
    z-index: 50;
    padding: 0;

}

.stamp-body {
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.stamp-strip {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: scroll 20s linear infinite;
  --scroll-width: 0px;
  padding: 0;
}

.stamp-window {
  position: fixed !important;
  bottom: 15px !important;
  left: 20px !important;
  border-radius: 12px; 
  overflow: hidden;
  filter:
   drop-shadow(0 0 1px white)
    drop-shadow(0 0 3px white);
}
.stamp-strip img {
  height: 52px;
}
.stamp-window {

  width: calc(100% - 40px);
  height: 56px;

  background: rgba(255, 255, 255, 0.06);
  background-image: url("https://transparenttextures.com/patterns/white-wall.png");
  background-size: 200px;

  border: 2px solid black;
  border-radius: 12px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  overflow: hidden;
  z-index: 50;
}

/*cross*/
#crossRtoL {
    position: fixed;
    right: 0;                 
    top: 370px;

    background-color: white;
    height: 20px;
    width: 100px;

    transform-origin: right;  
    animation: crossAnimRtoL 5s forwards;

    
    filter: drop-shadow(0 0 7px white);
    z-index: -1;
}


#crossTtoB {
    position: fixed;
    top: 0;
    right: 180px;           

    background-color: white;
    height: 20px;
    width: 20px;

    transform-origin: bottom; 
    animation: crossAnimTtoB 6s forwards;
    
    filter: drop-shadow(0 0 7px white);
    z-index: -1;
}


@keyframes crossAnimRtoL {
    from { width: 100px; }
    to   { width: 100%; }
}


@keyframes crossAnimTtoB {
    from { height: 20px; }
    to   { height: 100%; }
}

