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

:root {
  --bg-main: #09090b;
  --bg-card: #121215;
  --bg-card-hover: #18181c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.2);
  
  --text-white: #ffffff;
  --text-main: #e4e4e7;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Minimal Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
a:hover {
  opacity: 0.8;
}

/* Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Minimal Card */
.jurux-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.jurux-glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

/* Minimal Pill Badges */
.badge-minimal {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Status Indicator Pulse Dot */
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
}

/* Minimal Buttons */
.btn-jurux-primary {
  background: #ffffff;
  color: #09090b;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.btn-jurux-primary:hover {
  background: #e4e4e7;
}

.btn-jurux-secondary {
  background: #18181b;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}
.btn-jurux-secondary:hover {
  background: #27272a;
  border-color: var(--border-strong);
}

/* Minimal Header */
.jurux-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

/* Minimal Inputs */
.jurux-input {
  background: #18181b;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  border-radius: 10px;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}
.jurux-input:focus {
  border-color: #ffffff;
}

/* Rating Pill */
.rating-pill-jurux {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Minimal Dialog */
dialog.jurux-modal {
  background: #121215;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 540px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  
  opacity: 0;
  transform: scale(0.96);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog.jurux-modal[open] {
  opacity: 1;
  transform: scale(1);
  @starting-style {
    opacity: 0;
    transform: scale(0.96);
  }
}

dialog.jurux-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  transition: display 0.2s allow-discrete, overlay 0.2s allow-discrete, background-color 0.2s ease-out;
}
dialog.jurux-modal[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  @starting-style {
    background-color: rgba(0, 0, 0, 0);
  }
}
