@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --btc-orange: #f7931a;
  --amber-glass: #78350f;
  --kraft-bg: #e8dec8;
}

body {
  font-family: var(--font-sans);
  background-color: #090d16;
  color: #f1f5f9;
}

.font-serif-title {
  font-family: var(--font-serif);
}

.font-mono-code {
  font-family: var(--font-mono);
}

/* Glass card styling */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: radial-gradient(circle at 50% 0%, rgba(247, 147, 26, 0.08), transparent 70%), rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(247, 147, 26, 0.2);
}

/* Native dialog styling */
dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

dialog[open] {
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Custom glow */
.glow-btc {
  box-shadow: 0 0 35px -5px rgba(247, 147, 26, 0.35);
}

.glow-amber {
  box-shadow: 0 10px 40px -10px rgba(180, 83, 9, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
