@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg-color: #06090e;
  --bg-card: rgba(10, 15, 24, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent-blue: #38bdf8;
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
}

*, *::before, *::after,
html, body, a, button, input, select, textarea, div, span {
  cursor: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

/* Custom White Crosshair & Trail */
#custom-crosshair {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#custom-crosshair::before,
#custom-crosshair::after {
  content: '';
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

#custom-crosshair::before {
  width: 14px;
  height: 1.5px;
}

#custom-crosshair::after {
  width: 1.5px;
  height: 14px;
}

.cursor-trail {
  position: fixed;
  width: 3.5px;
  height: 3.5px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* Snowflake Canvas */
#snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Click to Enter Overlay */
#enter-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background-color: #06090e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#enter-overlay.entered {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Card Styling */
.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
}

/* Audio Player inside card */
.music-bar {
  background: rgba(13, 20, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.music-bar:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.progress-container {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

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

/* Discord Status Dot */
.dot-online {
  background-color: #23a55a;
  box-shadow: 0 0 6px rgba(35, 165, 90, 0.8);
}
.dot-idle {
  background-color: #f0b232;
  box-shadow: 0 0 6px rgba(240, 178, 50, 0.8);
}
.dot-dnd {
  background-color: #f23f43;
  box-shadow: 0 0 6px rgba(242, 63, 67, 0.8);
}
.dot-offline {
  background-color: #80848e;
}

/* High Z-Index Tooltips */
.tooltip-wrap {
  position: relative;
}

.tooltip-wrap .tooltip-box {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: #e6edf3;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100000;
  transition: all 0.15s ease-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Tooltip that opens DOWNWARDS for top elements */
.tooltip-wrap .tooltip-box.tooltip-bottom {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
}

.tooltip-wrap:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Social link hover */
.social-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Top pill */
.top-pill {
  background: rgba(10, 15, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.top-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
