.page-fade {
    position: fixed;
    inset: 0;
    background: black;
    pointer-events: none;
    opacity: 0; 
    z-index: 999999;
}


@keyframes revealPage {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}
  
    #tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 200px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.95);
  outline: 2px groove rgb(255, 255, 255);
  border-radius: 5px;
  z-index: 99999;
}
.tooltip-text {
  color: black;
  font-family: nis;
  font-size: 12px;
  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 1px white);
}
  
    body {
      margin: 0;
      padding: 0;
      background-image: url("../images/eoe.png");
      background-size: cover;        
      background-position: center; 
      color: white;
      position: relative;

    }
     
    .eva-title {
      position: fixed;
      inset: 0;
      background: black;
      z-index: 1000;

      display: flex;
      justify-content: center;
      align-items: center;
    }


     
    .eva {
      margin: 0;
      transform: scaleX(var(--squish, 1));
      letter-spacing: var(--spacing, 0);
      line-height: 1;
      filter: drop-shadow(0 0 3px white)
    }
    
    .eva-left {
      text-align: left;
    }

    .eva-right {
      text-align: right;
    }

    
    .evangelion {
      --squish: 0.75;
      --spacing: -12px;
      font-size: 236px;
      font-family: "nis";
      text-align: left;

    }

    .neon,
    .genesis {
      --squish: 0.75;
      --spacing: -5px;
      font-size: 148px;
      font-family: "nis";
      text-align: left;
    }
    
    .epnum {
      display: inline-block;

      font-family: "helvetica";
      font-size: 94px;
      --squish: 0.8327;
      --spacing: -5px;
      --line: 1;
      text-align: left;
      margin-top: 60px;
      margin-left: 1.7em;
    }
    
    .eptitle {
      text-align: right;
      margin-top: 60px;
      margin-right: 0.5em;
      font-family: "nis";
      font-size: 80px; 
      --squish: 0.7838;
      --spacing: -5px;
      --line: 1;
      transition: filter 0.3s ease;
    }
    
    
    .eptitle:hover {
      filter: drop-shadow(0 0 6px white)
    }
    
    
.bg {
  position: fixed;
  inset: 0;
  background: black;
  opacity: 1;         
  transition: opacity 1s ease;
  z-index: 0;
  
}

.misato {
  position: fixed;
  bottom: 0em;
  left: -3.5em;
  width: 35em; 
  pointer-events: none; 
  z-index: 98;
  filter: drop-shadow(0 0 6px white) grayscale(0%) saturate(30%) contrast(100%) brightness(110%);
}

.shinji-chair {
  position: fixed;
  bottom: -5px; 
  right: 42em;    
  width: 15em;  
  pointer-events: none; 
  z-index: 99;  
  filter: drop-shadow(0 0 4px white) grayscale(0%) saturate(20%) contrast(100%) brightness(110%);
}

.asuka {
  position: fixed;
  bottom: -5em; 
  right: 86em;    
  width: 20em; 
  pointer-events: none; 
  z-index: 99;  
  filter: drop-shadow(0 0 4px white) grayscale(0%) saturate(20%) contrast(100%) brightness(110%);
}

.spinny-rei {
  position: fixed;
  top: 12em; 
  right: 40em;    
  height: 15em; 
  width: auto;
  pointer-events: none; 
  z-index: 99;  
  filter: drop-shadow(0 0 4px white) grayscale(0%) saturate(20%) contrast(100%) brightness(110%);
}

.nge-logo {
  position: fixed;
  top: 2em; 
  left: 2em;    
  height: 20em; 
  width: auto;
  pointer-events: none; 
  z-index: 99;  
  filter: drop-shadow(0 0 4px white) grayscale(0%) saturate(20%) contrast(100%) brightness(110%);
}

.video-wrap {
  position: absolute;
  bottom: 0px;
  right: -2em;
  width: max-content;
  height: max-content;
  overflow: hidden;
  z-index: 0;
}

.video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
   background:
    linear-gradient(to right, black 0%, transparent 15%),
    linear-gradient(to bottom, black 0%, transparent 35%);
  box-shadow:
    inset -40px 0 40px black,
    inset 0 80px 80px black;
  mix-blend-mode: normal;
}

.eoe-bg {
  position: relative;
  display: block;
  bottom: 0px;    
  right: -em;    
  width: auto;
  height: auto;
  width: 50em;
  max-height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: grayscale(0%) saturate(25%) contrast(100%) brightness(110%);
}

.noredos-wrap {
  position: absolute;
  top: 0;
  right: 2em;
  transform: translateY(-15em);
  width: max-content;
  height: max-content;
  overflow: hidden;
  z-index: 1;
}

.noredos {
  display: block;
  width: 42em; 
  object-fit: contain;
  pointer-events: none;
  filter: grayscale(0%) saturate(25%) contrast(100%) brightness(110%);
}

.noredos-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, black 0%, transparent 20%),
    linear-gradient(to right, black 0%, transparent 20%),
    linear-gradient(to bottom, black 0%, transparent 25%);
  box-shadow:
    inset 40px 0 40px black, 
    inset -40px 0 40px black,
    inset 0 -60px 60px black; 
}

.eva-frame {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 33%;
  transform: translateX(-33%);
  width: 50em;
  margin-top: 3em;
  height: 100vh;
  box-sizing: border-box;
  border-radius: 6px;
  background-color: rgba(11, 23, 50, 0.98); 
  display: flex;
  flex-direction: column;
  filter: 
  grayscale(0%) saturate(15%) contrast(100%) brightness(110%);
}

.eva-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 0 8px 3px white;
}


.eva-page {
  flex: 1;
  background: transparent;
  overflow: visible;     
  border-radius: 6px;
  padding: 1em 1em;
  margin: 10px;
  position: relative;
  z-index: 1;
}

.eva-page::before {
  content: "";
  position: absolute;
  inset: -2px;           
  border-radius: 8px;    
  pointer-events: none;
  z-index: -1;        
  box-shadow: 0 0 6px 2px white, 
  inset 0 0 6px 2px rgba(255,255,255,0.4); 
}


.eva-content {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  background-color: rgba(8, 17, 38, 1);
  position: relative;
  z-index: 1;
}


/* --- header --- */
.eva-header {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 20px);
  background: url("../images/eoe.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  padding: 2em 1em;
  padding-bottom: 4em;
  margin:10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 20;
}

.eva-header::before {
  content: "";
  position: absolute;
  inset: -2px;           
  border-radius: 8px;    
  pointer-events: none;
  z-index: -1;        
  box-shadow: 0 0 6px 2px white, 
  inset 0 0 6px 2px rgba(255,255,255,0.4); 
}

/* --- header title --- */
.nge-header-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.eva-header-title {
  font-size: 4em;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 0 4px white;
  --squish: 0.75;
      --spacing: -12px;
      font-family: "nis";
}

 .quote {
  position: absolute;
  width: auto;
  overflow: hidden;
  white-space: nowrap;
  font-family: "helvetica";
  font-size: 1.2em;
  letter-spacing: 1px;
  text-shadow: 0 0 4px white;
  left: 0;
  right: 0;
  bottom: 1em;
  margin-top: 100px;
  
}

.quote-track {
  display: inline-block;
  padding-left: 100%;
  padding-right: 100%;
  animation: evaScroll 35s linear infinite;
}

@keyframes evaScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}


.buttons {
  display: flex;
  flex-direction: column; 
  gap: 0.9em;
  position: absolute;
  top: 2em;
  right: 4em;
}

.buttons .tab {
  font-family: nis;
  font-size: 2em;
  cursor: pointer;
  transition: 0.2s ease;
  width: 120px;
  text-shadow: 0 0 3px white;
  color: white;
  background: none;
  border: none;
  --squish: 0.92;
  --spacing: -2px;
  transform: scaleX(var(--squish));
  letter-spacing: var(--spacing);
  transition: letter-spacing 0.25s ease;
}

.buttons .tab:hover {
  text-shadow: 0 0 4px white;
  letter-spacing: 1.5px;
}

.buttons .tab.active {
  text-shadow: 0 0 4px white;
}

.tab-content {
  display: none;
  padding: 1em;
  height: 100%;
  overflow-y: auto;
  clear: both;
}

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

.main-block {
  margin-bottom: 2em;
  line-height: 1.6;
  overflow: hidden;
}


.main-block img {
  width: 18em;
  border: 2px solid white;
  border-radius: 6px;
  filter: grayscale(0%) saturate(25%) contrast(100%) brightness(110%);
}

.main-block.left-img img,
.main-left-img {
  float: left;
  width: 18em;
  margin-right: 1.5em;
  margin-bottom: 1em;
  border: 2px solid white;
  border-radius: 6px;
  filter: grayscale(0%) saturate(25%) contrast(100%) brightness(110%);
}

.main-block.left-img img {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.main-block.right-img img {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.main-block p {
  font-family: "helvetica";
  font-size: 1.3em;
  letter-spacing: 1px;
  text-shadow: 0 0 3px white;
}

.music-card {
  display: flex;
  gap: 1em;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid white;
  padding: 1em;
  border-radius: 8px;
  margin-bottom: 1.5em;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

a {
  color: white;
}

/* --- video  --- */
.music-video video {
  width: 20em;
  height: 14em;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 6px;
}

/* --- info --- */
.music-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.music-title {
  font-family: "nis";
  font-size: 2.2em;
  margin: 0;
  --squish: 0.92;
  --spacing: -2px;

  transform: scaleX(var(--squish));
  letter-spacing: var(--spacing);

  text-shadow: 0 0 3px white;
  width: 100%;
  display: block;
}

.music-desc {
  font-size: 0.9em;
  opacity: 0.8;
  font-family: "helvetica";
  font-size: 1.2em;
  letter-spacing: 1px;
  text-shadow: 0 0 4px white;
  padding: 0.2em;
}

/* --- now playing --- */
.now-playing {
  display: flex;
  align-items: center;
  gap: 0.6em;

  width: 100%;
  padding-top: 0.4em;
  margin-top: 0.25em;
}

.np-track-wrap {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.np-icon {
  font-size: 1.4em;
  cursor: pointer;
  text-shadow: 0 0 3px white;
  user-select: none;
  flex-shrink: 0;
}


.np-track {
  display: inline-block;
  animation: npScroll 10s linear infinite;
  white-space: nowrap;
  font-family: "nis";
  font-size: 1.4em;
  letter-spacing: 1px;
  text-shadow: 0 0 3px white;
}

.np-track.paused {
  animation-play-state: paused;
}

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

/* --- extra section --- */
.extra-item {
  margin-bottom: 2em;
  padding: 1em;
  border: 2px solid white;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.extra-text {
  font-family: "nis";
  font-size: 2.2em;
  margin: 0 0 0.4em 0;
  text-shadow: 0 0 4px white;
  --squish: 0.92;
  --spacing: -2px;
  transform: scaleX(var(--squish));
  letter-spacing: var(--spacing);
}

#extra {
  padding-bottom: 3em; 
}


#extra > h2.extra-text:not(:first-of-type) {
  margin-top: 1.5em; 
}

.extra-img {
  width: 100%;
  max-height: 60em;
  border: 2px solid white;
  border-radius: 6px;
  object-fit: cover;
}

.extra-row {
  display: flex;
  gap: 1.5em; 
  justify-content: center; 
  margin-top: 1em; 
}

.extra-row .extra-img {
  width: 50%; 
  height: auto;
  border-radius: 6px;
}
