*{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
  min-height:100%;
}

body{
  background:#f3f3f1;
  color:#111;
  font-family:'Inter', sans-serif;
  overflow-x:hidden;
}

#intro{
  position:fixed;
  inset:0;
  background:#f3f3f1;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999;
  transition:opacity .45s ease;
}

.startBox{
  text-align:center;
}

.startBox p{
  margin:0 0 18px;
  font-family:'Cormorant Garamond', serif;
  font-size:34px;
}

#startBtn{
  appearance:none;
  border:1px solid #222;
  background:#fafafa;
  color:#111;
  font-family:'Inter', sans-serif;
  font-size:14px;
  padding:10px 18px;
  cursor:pointer;
  box-shadow:2px 2px 0 rgba(0,0,0,.18);
}

#startBtn:hover{
  background:#ececec;
}

.page{
  position:relative;
  z-index:2;
  width:min(100%, 1100px);
  margin:0 auto;
  padding:26px 28px 46px;
}

.topNote{
  text-align:right;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  margin-bottom:46px;
  opacity:.75;
}

.hero{
  width:min(100%, 460px);
  margin:0 auto 82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
}

.smallLine{
  margin:0;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  opacity:.65;
}

h1{
  margin:0;
  font-family:'Cormorant Garamond', serif;
  font-size:92px;
  line-height:.9;
  font-weight:500;
}

.lyric{
  margin:0;
  min-height:24px;
  font-size:14px;
  letter-spacing:.03em;
  opacity:.74;
}

.playerShell{
  width:min(100%, 340px);
  margin-top:6px;
}

.playerBar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:7px 10px 8px;
  border:1px solid #9b9b9b;
  background:linear-gradient(to bottom,#dfdfdf,#cfcfcf);
  box-shadow:inset 1px 1px 0 #fdfdfd, inset -1px -1px 0 #b1b1b1;
  font-family:'Press Start 2P', monospace;
  font-size:8px;
  text-transform:uppercase;
}

.playerTitle{
  opacity:.8;
}

.playerTrack{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.visualizerFrame{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:4px;
  padding:10px;
  border:1px solid #8d8d8d;
  background:#d9d9d9;
  box-shadow:inset 1px 1px 0 #fbfbfb, inset -1px -1px 0 #adadad;
}

.visualizer{
  flex:1;
  height:68px;
  display:flex;
  align-items:flex-end;
  gap:2px;
  padding:7px;
  border:1px solid #7a7a7a;
  background:
    linear-gradient(to top, rgba(0,0,0,.06) 1px, transparent 1px) 0 0/100% 8px,
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px) 0 0/8px 100%,
    #eeeeee;
  box-shadow:inset 1px 1px 0 #9d9d9d, inset -1px -1px 0 #ffffff;
}

.visualizer div{
  flex:1;
  min-width:8px;
  height:10px;
  border-top:1px solid rgba(255,255,255,.75);
  background:linear-gradient(to top,#5f5f5f 0%,#8f8f8f 40%,#cfcfcf 100%);
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.35), inset -1px -1px 0 rgba(0,0,0,.08);
  transition:height .1s linear, opacity .1s linear;
}

.vizStatus{
  min-width:54px;
  padding:6px 5px;
  border:1px solid #7a7a7a;
  background:#efefef;
  font-family:'Press Start 2P', monospace;
  font-size:7px;
  text-transform:uppercase;
  line-height:1.7;
  box-shadow:inset 1px 1px 0 #ffffff, inset -1px -1px 0 #b5b5b5;
}

.tabsWrap{
  width:100%;
  display:flex;
  justify-content:center;
}

.tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
  padding:11px 16px;
  background:rgba(0,0,0,.035);
  border:1px solid rgba(0,0,0,.08);
}

.tab{
  cursor:pointer;
  font-size:13px;
  opacity:.46;
  transition:.18s ease;
}

.tab:hover{
  opacity:.78;
}

.tab.active{
  opacity:1;
  text-decoration:underline;
  text-underline-offset:4px;
}

.infoText{
  width:min(100%, 520px);
  margin:0;
  font-size:14px;
  line-height:1.8;
  opacity:.82;
  transition:opacity .2s ease, transform .2s ease;
}

.infoText.fade{
  opacity:0;
  transform:translateY(4px);
}

.linksArea{
  margin-bottom:82px;
}

.discordRow{
  display:flex;
  justify-content:center;
}

.discordRow img{
  width:230px;
  max-width:100%;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  display:block;
  background:white;
  transition:transform .25s ease, box-shadow .25s ease;
}

.discordRow img:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.bottomArea{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top:8px;
}

.emote{
  font-size:34px;
  letter-spacing:.04em;
  opacity:.82;
}

#asciiPet{
  position:fixed;
  left:0;
  top:0;
  margin:0;
  z-index:1;
  pointer-events:none;
  color:#2b2b2b;
  opacity:.82;
  font-size:8px;
  line-height:.9;
  white-space:pre;
  font-family:"Courier New", monospace;
  transform:translate3d(0,0,0);
  user-select:none;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.04));
}

.decor{
  position:fixed;
  z-index:0;
  pointer-events:none;
  user-select:none;
  image-rendering:pixelated;
  opacity:.93;
}

.browserDecor{
  left:46px;
  top:136px;
  width:min(22vw, 320px);
  transform:rotate(-3deg);
}

.cdDecor{
  right:56px;
  bottom:126px;
  width:min(11vw, 110px);
  animation:spin 16s linear infinite;
}

.robotBadge{
  position:fixed;
  right:48px;
  top:112px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  border:1px solid #d2d2d2;
  background:#f8f8f8;
  box-shadow:0 1px 0 #ffffff inset;
  cursor:pointer;
}

.robotBadge:hover{
  background:#fbfbfb;
}

.robotBox{
  width:58px;
  height:58px;
  border:1px solid #b8b8b8;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 1px #ececec;
}

.robotTick{
  width:24px;
  height:12px;
  border-left:4px solid #6d6d6d;
  border-bottom:4px solid #6d6d6d;
  transform:rotate(-45deg) scale(0);
  transform-origin:center;
  transition:transform .18s ease;
}

.robotBadge.isChecked .robotTick{
  transform:rotate(-45deg) scale(1);
}

.robotLabel{
  font-size:17px;
  line-height:1.1;
  letter-spacing:-.02em;
}

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

@media (max-width:900px){
  .browserDecor{
    left:14px;
    top:120px;
    width:140px;
    opacity:.78;
  }

  .cdDecor{
    right:14px;
    bottom:90px;
    width:74px;
  }

  .robotBadge{
    right:14px;
    top:auto;
    bottom:18px;
    transform:scale(.82);
    transform-origin:bottom right;
  }
}

@media (max-width:780px){
  .page{
    padding:24px 18px 34px;
  }

  .topNote{
    text-align:center;
    margin-bottom:34px;
  }

  .hero{
    width:min(100%, 370px);
    margin-bottom:68px;
  }

  h1{
    font-size:66px;
  }

  .playerShell{
    width:100%;
  }

  .visualizer{
    height:60px;
  }

  .visualizer div{
    min-width:6px;
  }

  .tabs{
    gap:14px;
    padding:10px 14px;
  }

  #asciiPet{
    font-size:6px;
    opacity:.6;
  }

  .browserDecor{
    display:none;
  }

  .emote{
    font-size:28px;
  }
}
