/* public/shared/hub-base.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Base Colors */
  --bg-deep: #050711;
  --bg-surface: #0a0e1a;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text-primary: rgba(255, 248, 220, 0.9);
  --text-secondary: rgba(255, 248, 220, 0.5);
  --text-accent: rgba(255, 200, 120, 0.9);
  --border-subtle: rgba(255, 248, 220, 0.1);

  /* Experience Accent Colors */
  --accent-trail: #f4a940;
  --accent-chat: #64b5f6;
  --accent-noticed: #ce93d8;
  --accent-future: #4dd0e1;
  --accent-garden: #a5d6a7;
  --accent-letters: #ffcc80;
  --accent-stars: #b39ddb;
  --accent-mixtape: #ef9a9a;
}

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

html, body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.hidden { display: none !important; }

/* Vignette overlay */
.hub-vignette {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, transparent 50%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 20%, transparent 65%, rgba(0,0,0,0.7) 100%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

/* Full-screen fade in */
body {
  animation: body-fade-in 0.4s ease both;
}

@keyframes body-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Back Button */
.hub-back-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 100;
  transition: color 0.3s;
  padding: 8px;
}
.hub-back-btn:hover {
  color: var(--text-primary);
}
