/* core.css - Shared styles across all pages (design tokens + header/nav/logo) */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --dsc-bg: #1b1d23;
  --dsc-bg-elevated: #242731;
  --dsc-bg-glass: rgba(36, 39, 49, 0.85);
  --dsc-border: rgba(255, 255, 255, 0.08);
  --dsc-text: #e4e4e7;
  --dsc-text-muted: #9ca3af;
  --dsc-primary: #00aeef;
  --dsc-primary-hover: #38bdf8;
  --dsc-accent: #00aeef;
  --dsc-accent-hover: #008bbf;
  --dsc-danger: #ef4444;
  --dsc-danger-hover: #dc2626;
  --dsc-success: #10b981;
  --dsc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

/* Global font */
body,
input,
select,
textarea,
button {
  font-family: var(--dsc-font);
}

/* Header — slim 48px, dark glassmorphic on all pages */
.header {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dsc-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dsc-border);
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem;
  padding-left: 1.5rem;
}

.menu .logo .dsc {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dsc-text);
}

.menu-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}

.menu-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--dsc-text);
  backdrop-filter: blur(4px);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin: 4px 2px;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  letter-spacing: 0.01em;
}

.menu-button:hover {
  background: rgba(0, 174, 239, 0.15);
  border-color: var(--dsc-primary);
  color: var(--dsc-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
}

.menu-button:active {
  transform: translateY(0);
}

.logo a {
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
}

.welcome-message {
  font-size: 13px;
  color: var(--dsc-text-muted);
  margin-right: auto;
  white-space: nowrap;
}

.welcome-message a {
  color: var(--dsc-primary);
  font-weight: 500;
}

.logo-img {
  width: 160px;
  height: auto;
}
