/* Shared look for the sub-pages (chat, music, video, photo, contact). Page-specific styles stay in each page. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overflow: hidden;
}

body {
  background: #000;
  color: #76ff03;
  font-family: 'VT323', monospace;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  text-shadow: 0 0 3px #76ff03, 0 0 6px rgba(118, 255, 3, 0.3);
}

body.lost-mode {
  color: #ff1a1a !important;
  text-shadow: 0 0 4px #ff0000, 0 0 8px rgba(255, 0, 0, 0.6) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.015), rgba(0, 0, 255, 0.04));
  z-index: 7000;
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(120, 200, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.2);
  z-index: 7001;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  filter: brightness(1.02) contrast(1.05);
}

.bloom-overlay-layer {
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

body.lost-mode .bloom-overlay-layer {
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.12), rgba(0, 0, 0, 0));
}

.about-wrapper {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.about-header {
  border-bottom: 1px dashed #76ff03;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 2px;
  font-size: 20px;
  padding-bottom: 6px;
  flex-shrink: 0;
}

.back-btn {
  color: #76ff03;
  text-decoration: none;
  border: 1px solid #76ff03;
  background: rgba(118, 255, 3, 0.1);
  transition: background 0.1s, color 0.1s;
  font-size: 15px;
  padding: 2px 10px;
}

.back-btn:hover {
  background: #76ff03;
  color: #000;
}

.about-content-box {
  background: rgba(5, 11, 5, 0.85);
  border: 2px inset #2a662a;
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(0, 255, 0, 0.25), inset 0 0 10px rgba(0, 255, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.section-title {
  color: #fff;
  border-bottom: 1px solid rgba(118, 255, 3, 0.3);
  letter-spacing: 1px;
  font-size: 18px;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.live-dot {
  display: inline-block;
  border-radius: 50%;
  background: #ff1a1a;
  animation: liveBlink 0.9s steps(1, end) infinite;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px #ff0000, 0 0 16px #ff0000;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1.15); }
  50% { opacity: 0.25; transform: scale(0.9); }
}

.editable-bio-area {
  width: 100%;
  background: #000;
  color: #76ff03;
  border: 1px solid rgba(118, 255, 3, 0.5);
  font-family: 'VT323', monospace;
  outline: none;
  box-shadow: inset 0 0 6px rgba(118, 255, 3, 0.3);
}

.editable-bio-area:focus {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(118, 255, 3, 0.6), inset 0 0 6px rgba(118, 255, 3, 0.5);
}

.save-btn {
  align-self: flex-start;
  background: rgba(118, 255, 3, 0.15);
  border: 1px solid #76ff03;
  color: #76ff03;
  font-family: 'VT323', monospace;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.1s, color 0.1s;
}

.save-btn:active {
  background: #76ff03;
  color: #000;
}

.about-footer {
  border-top: 1px dashed rgba(118, 255, 3, 0.4);
  color: #55ca55;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  z-index: 1;
  font-size: 13px;
  padding-top: 6px;
  flex-shrink: 0;
}

body.lost-mode .about-header,
body.lost-mode .back-btn,
body.lost-mode .about-content-box,
body.lost-mode .track-card,
body.lost-mode .about-footer {
  border-color: #ff1a1a !important;
  color: #ff1a1a !important;
}

body.lost-mode .back-btn:hover {
  background: #ff1a1a !important;
  color: #000 !important;
}

.track-card {
  background: #000;
  border: 1px solid rgba(118, 255, 3, 0.4);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 0 8px rgba(0, 255, 0, 0.2);
  flex-shrink: 0;
}

.track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  letter-spacing: 1px;
  border-bottom: 1px dashed rgba(118, 255, 3, 0.2);
  padding-bottom: 4px;
  color: #76ff03;
  text-shadow: none !important;
}

body.lost-mode .track-meta {
  color: #ff6666 !important;
}

.track-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}
