@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;700&display=swap";

/* src/styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --surface: #fff0d8;
  --surface-muted: #eadbc2;
  --surface-elevated: #fff7e8;
  --surface-overlay: rgba(255, 240, 216, 0.88);
  --text: #11100e;
  --text-muted: #3f3a33;
  --border: #11100e;
  --accent: #f2642a;
  --accent-hover: #f7d928;
  --accent-text: #11100e;
  --focus-bg: #ffe866;
  --hover-bg: #f7d928;
  --hover-text: #11100e;
  --cream: var(--surface);
  --cream-dark: var(--surface-muted);
  --ink: var(--text);
  --ink-soft: var(--text-muted);
  --gold: var(--accent-hover);
  --gold-light: var(--focus-bg);
  --wood: var(--accent);
  --wood-light: #9E7A52;
  --nav-bg: var(--surface-elevated);
  --nav-border: var(--border);
}
html,
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  overflow-x: hidden;
  transition: background-color 0.8s ease, color 0.8s ease;
}
body.night-mode {
  --surface: #10141b;
  --surface-muted: #1a202b;
  --surface-elevated: #222a36;
  --surface-overlay: rgba(16, 20, 27, 0.92);
  --text: #f5f1e8;
  --text-muted: #c5c9d0;
  --border: #6f7886;
  --accent: #c56848;
  --accent-hover: #9f4f38;
  --accent-text: #fffaf2;
  --focus-bg: #293445;
  --hover-bg: #9f4f38;
  --hover-text: #fffaf2;
  --nav-bg: var(--surface-elevated);
  --nav-border: var(--border);
}
body.night-mode,
body.night-mode .discover-page,
body.night-mode .book-page,
body.night-mode .account-page,
body.night-mode .auth-page,
body.night-mode .lists-page {
  background: var(--surface);
  color: var(--text);
}
body.night-mode .site-header {
  border-color: var(--border);
  background: var(--surface-elevated);
}
body.night-mode .site-header .logo,
body.night-mode .site-header a,
body.night-mode .site-header .theme-toggle-label {
  color: var(--text);
}
body.night-mode .site-header li,
body.night-mode .site-header .logo {
  border-color: var(--border);
}
body.night-mode .site-header ul a:hover,
body.night-mode .site-header .nav-cta:hover,
body.night-mode .quick-action:hover {
  background: var(--hover-bg);
  color: var(--hover-text);
}
body.night-mode .site-header .nav-cta {
  background: var(--accent);
  color: var(--accent-text);
}
body.night-mode input,
body.night-mode textarea,
body.night-mode select {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--text);
  caret-color: var(--text);
  color-scheme: dark;
}
body.night-mode input::placeholder,
body.night-mode textarea::placeholder {
  color: var(--text-muted);
}
body.night-mode input:focus,
body.night-mode textarea:focus,
body.night-mode select:focus {
  background: var(--focus-bg);
  color: var(--text);
}
body.night-mode .cover,
body.night-mode .cover-placeholder,
body.night-mode .auth-card,
body.night-mode .auth-brand h1,
body.night-mode .auth-intro,
body.night-mode .book-menu label,
body.night-mode .quick-action {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--text);
}
body.night-mode .auth-panel {
  background: #171d27;
}
body.night-mode .account-heading p {
  border-color: var(--border);
  background: #314052;
  color: #f5f1e8;
}
body.night-mode .auth-brand {
  border-color: var(--border);
  background:
    linear-gradient(var(--surface-overlay), var(--surface-overlay)),
    repeating-linear-gradient(
      90deg,
      transparent 0 62px,
      rgba(255, 255, 255, 0.04) 62px 64px);
}
body.night-mode .back-link,
body.night-mode .authors,
body.night-mode .description,
body.night-mode .status,
body.night-mode .empty,
body.night-mode .message,
body.night-mode .list-hint,
body.night-mode dt,
body.night-mode .library-book p,
body.night-mode .book-card p,
body.night-mode label {
  color: var(--text-muted);
}
.hero {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
#canvas-container {
  position: absolute;
  inset: 0;
}
#three-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}
.hero-text {
  position: relative;
  z-index: 10;
  padding: 0 3rem 4rem;
  max-width: 620px;
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0;
}
.hero-title {
  font-family: "DM Mono", monospace;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 1.25rem 1.4rem;
  margin-bottom: 0;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 100%;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-top: 0;
  padding: 1rem 1.4rem;
  margin-bottom: 0;
  pointer-events: all;
}
.hero-actions {
  display: flex;
  gap: 0;
  pointer-events: all;
  width: fit-content;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.85rem 1.35rem;
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-top: 0;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--hover-bg);
  color: var(--hover-text);
}
.btn-secondary {
  background: var(--cream);
  color: var(--ink);
  padding: 0.85rem 1.35rem;
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-top: 0;
  border-left: 0;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--hover-bg);
  color: var(--hover-text);
}
.book-tooltip {
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  max-width: 280px;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  pointer-events: none;
  opacity: 0;
  transform: translate(14px, 14px);
  transition: opacity 0.12s;
}
.book-tooltip.visible {
  opacity: 1;
}
.book-tooltip-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
}
.book-tooltip-author {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.3;
}
@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}
.stats {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 0.3rem;
}
.section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 550px;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  padding: 2rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.quote-divider {
  background: var(--cream-dark);
  padding: 5rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.quote-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.quote-attr {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.cta-section {
  padding: 7rem 3rem;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
}
.cta-section .section-label {
  color: var(--gold-light);
}
.cta-section .section-title {
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.6);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-email {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.cta-email input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  color: var(--cream);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  border-radius: 2px 0 0 2px;
  outline: none;
}
.cta-email input::placeholder {
  color: rgba(245, 240, 232, 0.35);
}
.cta-email button {
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
}
.cta-email button:hover {
  background: var(--gold-light);
}
footer {
  padding: 2rem 3rem;
  background: #141210;
  color: rgba(245, 240, 232, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}
footer .logo {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.5);
}
#loading {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.6s;
}
#loading.hidden {
  opacity: 0;
  pointer-events: none;
}
.loading-logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--ink);
}
.loading-logo span {
  color: var(--gold);
  font-style: italic;
}
.loading-bar {
  width: 120px;
  height: 2px;
  background: var(--cream-dark);
  overflow: hidden;
  border-radius: 1px;
}
.loading-progress {
  height: 100%;
  background: var(--gold);
  animation: loadBar 1.4s ease-in-out infinite;
}
@keyframes loadBar {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 80%;
    margin-left: 10%;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}
@media (max-width: 760px) {
  .hero-text {
    padding: 0 1.4rem 5.5rem;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
