/* seiz.es — hacker terminal / matrix theme */

:root {
  --matrix-bright: #00ff41;
  --matrix-green: #00dd37;
  --matrix-dim: #008f11;
  --cyan: #00ffff;
  --bg: #0a0f0a;
  --bg-darker: #050805;
  --card: #0d130d;
  --border: #1a2f1a;
  --text: #c8ffc8;
  --text-dim: #6b9b6b;
  --grey: #4a6b4a;
  --scanline: rgba(0, 255, 65, 0.03);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow: hidden;
  height: 100vh;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--bg);
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  cursor: none;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--scanline) 2px,
    var(--scanline) 4px
  );
  opacity: 0.5;
}

.container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1;
}

#content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header {
  text-align: center;
  padding-bottom: 24px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 28px;
  letter-spacing: 6px;
  color: var(--matrix-bright);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
  margin-bottom: 8px;
}

.logo-bracket {
  color: var(--matrix-dim);
  font-weight: bold;
}

.logo-text {
  color: var(--matrix-bright);
  font-weight: bold;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--matrix-bright);
  margin-left: 2px;
}

.header-meta {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey);
  text-transform: uppercase;
}

.section {
  padding: 20px 0;
}

.section-title {
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 4px;
  color: var(--matrix-dim);
  margin-bottom: 16px;
  text-align: center;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 30%,
    var(--matrix-dim) 50%,
    var(--border) 70%,
    transparent 100%
  );
  margin: 16px 0;
  opacity: 0.6;
}

.tagline {
  text-align: center;
}

.tagline p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
}

.prompt {
  color: var(--matrix-dim);
  margin-right: 6px;
}

.accent {
  color: var(--matrix-bright);
}

a {
  text-decoration: none;
  color: var(--text-dim);
  cursor: none !important;
  transition: color 0.2s;
}

a:hover {
  color: var(--matrix-bright);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

a,
button,
[data-member] {
  cursor: none !important;
}

.member-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, background 0.2s;
  position: relative;
}

.member-row:last-child {
  border-bottom: none;
}

.member-row::before {
  content: ">";
  position: absolute;
  left: -16px;
  color: var(--matrix-dim);
  opacity: 0;
  transition: opacity 0.3s;
}

.member-row:hover::before {
  opacity: 0.6;
}

.member-row.active::before {
  opacity: 1;
  color: var(--matrix-bright);
}

.member-row .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.member-row .dot.active {
  background: var(--matrix-bright);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
  transform: scale(1.4);
}

.member-name-link {
  color: var(--text-dim);
  font-size: 14px;
  padding: 0;
  display: inline;
  letter-spacing: 1px;
  transition: color 0.25s, letter-spacing 0.3s;
}

.member-name-link:hover {
  color: var(--text);
  letter-spacing: 1.5px;
}

.member-name-link.active {
  color: var(--matrix-bright);
}

#member-info {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

#member-info:empty {
  padding: 0;
}

.member-profile {
  text-align: center;
  padding: 28px 0 8px;
  position: relative;
}

.member-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--matrix-dim);
  opacity: 0;
  animation: line-reveal 0.5s 0.1s ease forwards;
}

@keyframes line-reveal {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 40px;
    opacity: 0.6;
  }
}

.profile-avatar {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--border);
  margin-bottom: 14px;
  opacity: 0;
  transform: scale(0.85);
  filter: blur(4px);
  animation: avatar-reveal 0.5s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-avatar:hover {
  border-color: var(--matrix-dim);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

@keyframes avatar-reveal {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.profile-ring {
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}

.profile-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 4px;
  border: 1px solid var(--matrix-dim);
  opacity: 0;
  animation: ring-pulse 0.6s 0.3s ease forwards;
}

@keyframes ring-pulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
}

.profile-name {
  color: var(--text);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(6px);
  animation: text-reveal 0.4s 0.3s ease forwards;
}

.profile-desc {
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  animation: text-reveal 0.4s 0.4s ease forwards;
}

@keyframes text-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  opacity: 0;
  animation: text-reveal 0.4s 0.55s ease forwards;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--grey);
  background: none;
  border: none;
  border-radius: 2px;
  transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  color: var(--matrix-bright);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 4px rgba(0, 255, 65, 0.4));
}

#controls {
  display: none;
}

#song-title {
  display: none;
}

/* Overlay — terminal boot screen */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  border: 1px solid var(--border);
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.overlay-prompt {
  font-size: 12px;
  color: var(--matrix-dim);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.overlay-label {
  font-size: 32px;
  color: var(--matrix-bright);
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  font-weight: bold;
}

.overlay-cta {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 4px;
  text-transform: lowercase;
  animation: blink 1.5s step-end infinite;
}

.overlay:hover .overlay-cta {
  color: var(--matrix-dim);
}

.matrix-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.12;
}

.custom-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--matrix-bright);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
  transition: transform 0.12s ease, background-color 0.12s ease, opacity 0.12s ease, border-color 0.12s ease;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.4);
  background-color: rgba(0, 255, 65, 0.08);
  opacity: 0.9;
}

.custom-cursor.flash {
  border-color: var(--cyan);
  transform: translate(-50%, -50%) scale(2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.cursor-dot {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--matrix-bright);
  border-radius: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

.cursor-toggle {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9998;
  font-size: 14px;
  cursor: pointer;
  color: var(--grey);
  transition: color 0.3s;
}

.cursor-toggle:hover {
  color: var(--matrix-bright);
}

body.default-cursor {
  cursor: auto !important;
}

body.default-cursor a,
body.default-cursor button,
body.default-cursor [data-member] {
  cursor: pointer !important;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.blink-fast {
  animation: blink 0.12s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.konami-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card);
  padding: 24px 40px;
  border: 1px solid var(--matrix-bright);
  border-radius: 0;
  z-index: 9999;
  text-align: center;
  color: var(--matrix-bright);
  font-size: 14px;
  letter-spacing: 2px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

@media screen and (max-width: 640px) {
  .container {
    padding: 24px 16px 48px;
  }

  .logo-wrap {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .member-row {
    padding: 9px 0;
    gap: 10px;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
  }

  .overlay-label {
    font-size: 24px;
    letter-spacing: 4px;
  }
}

@media screen and (max-width: 400px) {
  .container {
    padding: 16px 12px 40px;
  }

  .logo-wrap {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .member-name-link {
    font-size: 13px;
  }

  .profile-avatar {
    width: 64px;
    height: 64px;
  }

  .profile-socials {
    gap: 12px;
  }
}
