
:root{
  --fg:#eaeaea;
  --muted:#b9b9b9;
  --stroke:rgba(255,255,255,0.12);
}

@font-face {
  font-family: "Pix32";
  src: url("fonts/Pix32.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "Pix32", monospace !important;
}


html,body{height:100%}

body{
  margin:0;
  background:#000;
  color:#e6e6e6;
  font-family:"Pix32", monospace;
  overflow-x:hidden;

  text-shadow:
  0 0 2px rgba(255,255,255,0.3),
  0 0 8px rgba(255,255,255,0.15),
  0 0 14px rgba(255,255,255,0.08);

  -webkit-font-smoothing:none;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeSpeed;
}

.terminal-line{
  font-size:16px;
}

.terminal-input{
  font-size:18px;
}

.boot-text {
  text-shadow:
  0 0 2px rgba(255,255,255,0.3),
  0 0 8px rgba(255,255,255,0.15),
  0 0 14px rgba(255,255,255,0.08);
}
.home-btn:hover {
  text-shadow:
  0 0 2px rgba(255,255,255,0.3),
  0 0 8px rgba(255,255,255,0.15),
  0 0 14px rgba(255,255,255,0.08);
}
@keyframes crtFlicker {
  0% { opacity: 1; }
  97% { opacity: 1; }
  98% { opacity: 0.98; }
  99% { opacity: 1; }
  100% { opacity: 0.99; }
}

body {
  animation: crtFlicker 6s infinite;
}
/* background image */
.background{
  position:fixed;
  inset:0;
  background-image:url('background.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter: saturate(0.9) contrast(1.05);
  z-index:0;
}

.album-links{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:18px;
  flex-wrap:wrap;
}

.album-button{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  background:#000;
  border:2px solid #00ffcc;
  color:#00ffcc;
  text-decoration:none;
  font-weight:bold;
  font-family:monospace;
  transition:0.2s;
}

.album-button:hover{
  background:#00ffcc;
  color:#000;
}

.service-icon{
  width:18px;
  height:18px;
  object-fit:contain;
}

.album-links{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:14px;
  margin-bottom:30px;
}

.album-button{
  padding:8px 18px;
  font-size:14px;
  text-decoration:none;
  border:1px solid #888;
  color:#fff;
  background:#000;
  transition:0.2s;
  font-family:monospace;
}

.album-button:hover{
  background:#111;
  border-color:#fff;
}

/* optional brand colors */

.spotify:hover{
  border-color:#1DB954;
  color:#1DB954;
}

.apple:hover{
  border-color:#ccc;
}

.itunes:hover{
  border-color:#ff2d55;
  color:#ff2d55;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
  opacity: 0.9;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* scanlines */
#scanlines{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:9999;
}

.hero-stack{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:64px 16px 96px;
  gap:16px;
}

.album-art{
  width:min(520px, 90vw);
  border-radius:18px;
  border:1px solid var(--stroke);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset;
}

.status{
  width:min(620px, 92vw);
  font-size:14px;
  color:var(--muted);
  text-align:center;
  min-height:20px;
}

#songs-found{
  position:fixed;
  top:18px;
  right:18px;
  z-index:3;
  font-size:22px;
  color:var(--fg);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

.playlist{
  width:min(620px, 92vw);
  display:flex;
  flex-direction:column;
  gap:18px;
}

.track{
  background: rgba(0,0,0,0.55);
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
}

.track-title{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 26px;
  margin:0 0 10px 0;
  text-transform: uppercase;
}

/* Terminal-style info box (About page) */
.terminal-box {
  width: min(720px, 92vw);
  margin: 24px auto 0 auto;
  padding: 18px 18px;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  text-align: left;
}

.terminal-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 6px rgba(255,255,255,0.12);
  white-space: pre-wrap;
}

.terminal-line.subtle {
  color: rgba(255,255,255,0.7);
}

#boot-screen {
  position: fixed;
  inset: 0;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: monospace;
  z-index: 9999;
}

.boot-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
}

#main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}
.timeline{
  position:relative;
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,0.10);
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.10);
}

.progress{
  position:absolute;
  top:0; left:0; bottom:0;
  width:0%;
  background: rgba(255,255,255,0.35);

  
}


/* Auth page inputs that match terminal vibe */
.terminal-input-like{
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.terminal-input-like:focus{
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.5);
}

/* Top-right account corner */
.pp-topright {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000; /* above most UI */
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Reuse your button vibe */
.pp-topright a,
.pp-topright button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.pp-topright a:hover,
.pp-topright button:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.58);
}

/* Optional tiny label style if we show email later */
.pp-topright .pp-user {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  opacity: 0.85;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
}

.controls{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.time{
  color:var(--muted);
  font-size:18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.main-container {
  max-width: 700px;
  margin: auto;
  text-align: center;
  padding-top: 120px;
}

.playbtn{
  appearance:none;
  -webkit-appearance:none;
  border:none;
  background:transparent;
  color:var(--fg);
  font-size:44px;
  line-height:1;
  padding:0;
  cursor:pointer;
  user-select:none;
}
.playbtn:active{ transform: scale(0.96); }

/* Let clicks go THROUGH scanlines/background overlays */
#scanlines,
canvas#scanlines,
.background {
  pointer-events: none !important;
}

/* ===== Account menu (top-right) ===== */
.pp-account-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.65);
  z-index: 10001;
}

.pp-account-menu-inner{
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-account-menu-header{
  margin: 0 0 2px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.pp-account-item{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  cursor: pointer;
}

.pp-account-item:hover{
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.55);
}

/* ===== Mobile-only tweaks (strong overrides) ===== */
@media (max-width: 700px) {
  /* Center the panel contents */
  .home-panel { text-align: center; }

  /* Make buttons a true centered list */
  .home-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .home-buttons{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

  /* Make each button look like your current "list style" but centered */
  .home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:18px 28px;       /* bigger button */
  border-radius:14px;

  border:1px solid rgba(255,255,255,0.18);
  background:rgba(0,0,0,0.35);

  color:#e6e6e6;
  text-decoration:none;

  font-size:20px;          /* pixel font friendly size */
  line-height:1;

  min-width:200px;

  transition:transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

  /* Hide the bottom hint text on mobile ONLY */
  .terminal-hint {
    display: none !important;
  }
}

footer{
  position:fixed;
  bottom:10px;
  left:0;
  right:0;
  z-index:3;
  text-align:center;
  padding:0 14px;
  color:rgba(255,255,255,0.7);
  font-size:14px;
  letter-spacing:0.02em;
}



/* mobile tweaks */
@media (max-width: 480px){
  #songs-found{ font-size:18px; }
  .track-title{ font-size:22px; }
  .time{ font-size:16px; }
  .playbtn{ font-size:40px; }
  footer{ font-size:12px; }
}
