:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sexy Noir (Black & White Mixture) Palette */
  --bg-deep-black: #08090c;
  --bg-card: #0f1015;
  --bg-card-subtle: #14161c;
  --bg-card-hover: #191b22;

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.25);
  --border-focus: #ffffff;

  --text-pure-white: #ffffff;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-white-glow: rgba(255, 255, 255, 0.15);
  --accent-discord: #5865f2;
  --accent-telegram: #24a1de;
  --accent-email: #10b981;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.noir-theme {
  font-family: var(--font-sans);
  background-color: var(--bg-deep-black);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Ambient Canvas */
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Main Site Wrapper */
.site-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Status Bar (Discreet, replaces heavy navbar) */
.top-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 32px;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.pulse-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: pulseWhite 2.2s infinite;
}

@keyframes pulseWhite {
  0% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 14px #ffffff; }
  100% { opacity: 0.7; transform: scale(0.95); }
}

.status-domain {
  font-weight: 700;
  color: var(--text-pure-white);
}

.status-slash {
  color: var(--text-muted);
}

.status-role {
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-right {
  display: flex;
  align-items: center;
}

.status-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.status-pill-btn:hover {
  border-color: var(--border-active);
  color: var(--text-pure-white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.sfx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Base Noir Card with Silky Smooth Hovering */
.noir-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.noir-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.08);
}

/* ========================================================= */
/* 1. HERO PROFILE CARD WITH CINEMATIC DRIFT BANNER */
/* ========================================================= */
.profile-card {
  margin-bottom: 48px;
}

.drift-banner {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #000;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: contrast(1.15) brightness(0.9);
  display: block;
}

.banner-gradient-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.1) 0%, rgba(15, 16, 21, 0.7) 70%, #0f1015 100%);
  pointer-events: none;
}

.banner-floating-meta {
  position: absolute;
  top: 18px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.banner-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.banner-tag-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(8px);
}

/* Avatar Strip */
.profile-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 28px;
  margin-top: -65px;
  position: relative;
  z-index: 5;
}

.avatar-container {
  position: relative;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  border: 6px solid var(--bg-card);
  background: var(--bg-deep-black);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.avatar-container:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-status-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
}

.avatar-status-dot.online {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Discord Do Not Disturb (DND) Badge - Exact Replica */
.avatar-status-dot.dnd {
  background: #f23f43;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(242, 63, 67, 0.45);
}

.avatar-status-dot.dnd::after {
  content: '';
  display: block;
  width: 10px;
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
}

.header-badges-rack {
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  transition: all 0.2s;
}

.tech-badge:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.tech-badge.verified {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* Profile Details Body */
.profile-details {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.identity-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name-badge-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.user-display-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-pure-white);
  letter-spacing: -0.03em;
}

.bot-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #ffffff;
  color: #08090c;
  padding: 3px 8px;
  border-radius: 4px;
}

.user-handle-row {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-divider {
  color: var(--text-muted);
}

.active-servers-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Custom Status Box (Requested Text) */
.custom-status-container {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.status-icon-box {
  font-size: 1.1rem;
  color: #facc15;
}

.status-quote {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

/* About Me Box (Requested Text) */
.about-me-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.box-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.about-content {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ========================================================= */
/* 2. REDESIGNED SEXY CONTACT CARDS ("improve 2ndss") */
/* ========================================================= */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.channel-card-noir {
  background: linear-gradient(145deg, rgba(20, 22, 28, 0.9) 0%, rgba(12, 13, 17, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.channel-card-noir::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.channel-card-noir:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(28, 31, 38, 0.95) 0%, rgba(16, 18, 23, 0.98) 100%);
}

.channel-card-noir:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.channel-card-noir:hover .card-icon-wrap {
  transform: scale(1.08);
}

.discord-icon {
  background: rgba(88, 101, 242, 0.18);
  color: #7289da;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.telegram-icon {
  background: rgba(36, 161, 222, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(36, 161, 222, 0.35);
}

.email-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.card-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-grow: 1;
  text-align: left;
}

.card-platform-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.card-main-handle {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-main-handle.email-val {
  font-size: 0.85rem;
}

.card-action-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.card-corner-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

.channel-card-noir:hover .card-corner-arrow {
  color: var(--text-pure-white);
  transform: translate(2px, -2px);
}

/* ========================================================= */
/* 3. BOT WORKBENCH & LIVE CONSOLE */
/* ========================================================= */
.bot-workbench-section {
  margin-bottom: 56px;
}

.section-heading-row {
  text-align: center;
  margin-bottom: 28px;
}

.heading-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.heading-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-pure-white);
  letter-spacing: -0.03em;
}

.heading-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 620px;
  margin: 8px auto 0;
}

.discord-console-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-feed {
  padding: 24px;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #0b0c10;
}

.system-log-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.chat-message-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-avatar-frame {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bot-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-body {
  flex-grow: 1;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.bot-author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-pure-white);
}

.app-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: #ffffff;
  color: #08090c;
  padding: 1px 5px;
  border-radius: 3px;
}

.timestamp-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.message-lead {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Noir Discord Embed */
.noir-discord-embed {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  overflow: hidden;
  max-width: 580px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.embed-accent-bar {
  width: 4px;
  background: #ffffff;
  flex-shrink: 0;
}

.embed-content-wrap {
  padding: 16px 18px;
  flex-grow: 1;
}

.embed-headline {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-pure-white);
  margin-bottom: 6px;
}

.embed-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.embed-grid-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field-item {
  display: flex;
  flex-direction: column;
}

.field-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.field-body {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.embed-foot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-hairline);
  padding-top: 10px;
}

/* Command Pills Bar */
.command-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-hairline);
  overflow-x: auto;
}

.pills-legend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
}

.cmd-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-pill:hover {
  background: #ffffff;
  color: #08090c;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* Console Input Row */
.console-input-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-hairline);
  gap: 12px;
}

.input-decor-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.console-input-row input {
  flex-grow: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-pure-white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.console-input-row input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.send-action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #08090c;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.send-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* ========================================================= */
/* 4. SYSTEMS MATRIX */
/* ========================================================= */
.systems-grid-section {
  margin-bottom: 56px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.system-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.system-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.system-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 10px;
}

.system-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.system-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-hairline);
  padding-top: 16px;
}

/* ========================================================= */
/* 5. COMMISSION PANEL */
/* ========================================================= */
.direct-commission-section {
  margin-bottom: 60px;
}

.commission-panel {
  padding: 44px;
  text-align: center;
}

.commission-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.commission-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-pure-white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.commission-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.commission-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.comm-pill {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.comm-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  background: var(--bg-card-hover);
}

.comm-plat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.comm-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-top: 2px;
  word-break: break-all;
}

.comm-hint {
  font-size: 0.75rem;
  color: #38bdf8;
  margin-top: 4px;
}

/* Footer */
.noir-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 24px 0 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Toast (Positioned top-right to avoid overlapping bottom-right music player) */
.noir-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #ffffff;
  color: #08090c;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateY(-14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.noir-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* FLOATING BOTTOM-RIGHT MINI MUSIC PLAYER ("Sailor Song")   */
/* Exact replica of media_1795189372536_cb762fd9.png         */
/* ========================================================= */
.floating-music-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 200px;
  max-width: calc(100vw - 32px);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  padding: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.floating-music-widget:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 1), 0 0 25px rgba(255, 255, 255, 0.1);
}

.mini-player-card {
  display: flex;
  flex-direction: column;
}

.mini-cover-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-player-body {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-track-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-icon-btn {
  background: none;
  border: none;
  color: #71717a;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0 3px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.mini-icon-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.mini-artist-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #a1a1aa;
}

.mini-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 4px;
  padding: 0 2px;
}

.mini-ctrl-btn {
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  transition: color 0.2s, transform 0.15s;
}

.mini-ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.mini-ctrl-btn.active {
  color: #38bdf8;
}

.mini-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.mini-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
}

.mini-play-btn:active {
  transform: scale(0.95);
}

.mini-progress-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.mini-time-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  min-width: 24px;
}

.mini-time-label.current-time {
  color: #38bdf8; /* Light cyan */
  text-align: right;
}

.mini-time-label.total-time {
  color: #f59e0b; /* Amber */
  text-align: left;
}

.mini-progress-track {
  flex-grow: 1;
  height: 3px;
  background: #27272a;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.15s ease;
}

.mini-progress-track:hover {
  height: 5px;
}

.mini-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  width: 14%;
  transition: width 0.1s linear;
}

.mini-progress-track:hover .mini-progress-fill {
  background: #38bdf8;
}

/* ── Slide-in entrance for the floating widget ── */
@keyframes slideInWidget {
  from { transform: translate(30px, 30px); opacity: 0; }
  to   { transform: translate(0, 0);       opacity: 1; }
}

.floating-music-widget {
  animation: slideInWidget 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* ── Cover art glow on play ── */
.mini-cover-img {
  transition: filter 0.4s ease;
}

/* Responsive */
@media (max-width: 820px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .commission-contact-strip {
    grid-template-columns: 1fr;
  }
  .embed-grid-fields {
    grid-template-columns: 1fr;
  }
  /* On small screens, widget is smaller and sits at bottom-right */
  .floating-music-widget {
    width: 160px;
    right: 12px;
    bottom: 12px;
  }
}

/* iPhone / Mobile (≤480px) */
@media (max-width: 480px) {
  .site-wrapper {
    padding: 0 16px;
  }

  .top-status-bar {
    padding: 16px 0 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .status-left {
    font-size: 0.75rem;
    gap: 8px;
  }

  .status-role {
    display: none;
  }

  .drift-banner {
    height: 160px;
  }

  .banner-floating-meta {
    top: 12px;
    left: 16px;
    gap: 6px;
  }

  .banner-tag,
  .banner-tag-mono {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  .profile-header-strip {
    padding: 0 16px;
    margin-top: -50px;
  }

  .avatar-container {
    width: 90px;
    height: 90px;
    border-width: 4px;
  }

  .avatar-status-dot {
    width: 20px;
    height: 20px;
    bottom: 2px;
    right: 2px;
    border-width: 3px;
  }

  .avatar-status-dot.dnd::after {
    width: 7px;
    height: 2px;
  }

  .header-badges-rack {
    gap: 6px;
    padding-bottom: 6px;
  }

  .tech-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .profile-details {
    padding: 16px 16px 24px;
    gap: 16px;
  }

  .user-display-name {
    font-size: 1.6rem;
  }

  .bot-badge-pill {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .user-handle-row {
    font-size: 0.85rem;
    gap: 6px;
  }

  .active-servers-tag {
    font-size: 0.7rem;
  }

  .custom-status-container {
    padding: 10px 12px;
    gap: 10px;
  }

  .status-icon-box {
    font-size: 1rem;
  }

  .status-quote {
    font-size: 0.85rem;
  }

  .about-me-box {
    padding: 14px 16px;
  }

  .about-content {
    font-size: 0.9rem;
  }

  .contact-channels-grid {
    gap: 10px;
  }

  .channel-card-noir {
    padding: 14px 16px;
    gap: 12px;
  }

  .card-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .card-platform-label {
    font-size: 0.6rem;
  }

  .card-main-handle {
    font-size: 0.85rem;
  }

  .card-main-handle.email-val {
    font-size: 0.75rem;
  }

  .card-action-sub {
    font-size: 0.7rem;
  }

  .heading-title {
    font-size: 1.5rem;
  }

  .heading-sub {
    font-size: 0.9rem;
  }

  .chat-feed {
    padding: 16px;
    min-height: 300px;
    max-height: 400px;
    gap: 16px;
  }

  .system-log-line {
    font-size: 0.7rem;
  }

  .bot-avatar-frame {
    width: 36px;
    height: 36px;
  }

  .bot-author-name {
    font-size: 0.9rem;
  }

  .app-tag {
    font-size: 0.55rem;
  }

  .message-lead {
    font-size: 0.85rem;
  }

  .noir-discord-embed {
    max-width: 100%;
  }

  .embed-headline {
    font-size: 0.95rem;
  }

  .embed-description {
    font-size: 0.8rem;
  }

  .embed-grid-fields {
    gap: 10px;
  }

  .field-title {
    font-size: 0.65rem;
  }

  .field-body {
    font-size: 0.8rem;
  }

  .command-pills-bar {
    padding: 10px 12px;
    gap: 6px;
  }

  .pills-legend {
    font-size: 0.65rem;
  }

  .cmd-pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .console-input-row {
    padding: 10px 12px;
    gap: 8px;
  }

  .input-decor-icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .console-input-row input {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .send-action-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .system-card {
    padding: 20px;
  }

  .system-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .system-title {
    font-size: 1.1rem;
  }

  .system-desc {
    font-size: 0.85rem;
  }

  .system-specs {
    font-size: 0.75rem;
    gap: 4px;
  }

  .commission-panel {
    padding: 28px 16px;
  }

  .commission-title {
    font-size: 1.5rem;
  }

  .commission-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .commission-contact-strip {
    gap: 12px;
  }

  .comm-pill {
    padding: 14px 16px;
  }

  .comm-plat {
    font-size: 0.6rem;
  }

  .comm-val {
    font-size: 0.85rem;
  }

  .comm-hint {
    font-size: 0.7rem;
  }

  .noir-footer {
    padding: 20px 0 24px;
    font-size: 0.7rem;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .floating-music-widget {
    width: 140px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
    border-radius: 10px;
  }

  .mini-track-title {
    font-size: 0.78rem;
  }

  .mini-artist-name {
    font-size: 0.68rem;
  }

  .mini-controls-row {
    gap: 4px;
  }

  .mini-ctrl-btn {
    padding: 2px;
  }

  .mini-play-btn {
    width: 24px;
    height: 24px;
  }

  .mini-time-label {
    font-size: 0.55rem;
    min-width: 20px;
  }

  .mini-progress-track {
    height: 2px;
  }

  .mini-progress-track:hover {
    height: 4px;
  }

  .noir-toast {
    top: 12px;
    right: 12px;
    left: 12px;
    font-size: 0.75rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
  }
}
