/* ============================================
   BB.STYLE - Simple with Animated Background
   ============================================ */

:root {
  --bg: #faf9f7;
  --bg-subtle: #f0eeeb;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --accent: #e85d04;
  --accent-light: #f48c06;
  --accent-glow: #ffd60a;

  --font-display: 'Bodoni Moda', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-display);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

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

.accent {
  color: var(--accent);
}

/* ============================================
   Animated Background - Neural Network Sparks
   ============================================ */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

/* Clean subtle gradient - no busy patterns for eye comfort */
.bg-texture {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 245, 0.8) 0%,
    rgba(250, 249, 247, 1) 50%,
    rgba(245, 243, 240, 0.9) 100%
  );
  pointer-events: none;
}

/* Very subtle vignette for depth */
.bg-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    transparent 0%,
    rgba(0, 0, 0, 0.015) 100%
  );
  pointer-events: none;
}

#nn-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Warm ambient glow */
.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse 70% 70% at center,
    rgba(255, 200, 120, 0.08) 0%,
    rgba(255, 160, 80, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* ============================================
   Main Content
   ============================================ */
.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

/* Subtle backdrop for text readability */
.content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: auto;
  min-height: 400px;
  padding: 4rem;
  background: radial-gradient(
    ellipse at center,
    rgba(250, 249, 247, 0.85) 0%,
    rgba(250, 249, 247, 0.6) 50%,
    transparent 80%
  );
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.desc {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.9;
}

.desc p {
  margin-bottom: 1rem;
}

.desc p:last-child {
  margin-bottom: 0;
}

.desc em {
  font-style: italic;
  color: var(--text);
}

/* Links - clearly clickable */
.links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.links a {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: all 0.2s ease;
}

.links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateY(-2px);
}

.links a:active {
  transform: translateY(0);
}

/* Contact section */
.contact {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.contact a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.contact a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile */
@media (max-width: 480px) {
  .links {
    flex-direction: column;
    gap: 1.5rem;
  }
}
