/* NpcHook Stylesheet */
:root {
  --primary: #9b2c2c;
  --primary-hover: #c53030;
  --bg-color: #1a202c;
  --card-bg: #2d3748;
  --text-main: #e2e8f0;
  --text-muted: #a0aec0;
  --accent: #ed8936;
  --font-base: system-ui, -apple-system, sans-serif;
  --font-heading: 'Georgia', serif;
}

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background-color: #11141b;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--primary);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.site-header nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: #fff;
}

h2 {
  font-size: 2rem;
  border-bottom: 1px solid var(--card-bg);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Generator Hero */
.generator-section {
  text-align: center;
}

.generator-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 3rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid #4a5568;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--font-heading);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Result Pane */
.result-pane {
  margin-top: 3rem;
  text-align: left;
  background: #1a202c;
  padding: 2rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
}

.result-pane.hidden {
  display: none;
}

.trait {
  margin-bottom: 1.5rem;
}

.trait:last-child {
  margin-bottom: 0;
}

.trait-label {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.trait-value {
  font-size: 1.15rem;
  font-weight: 500;
}

.trait-value.block {
  margin-bottom: 0;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.framework-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 6px;
}

.tips-section ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.tips-section li {
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  background-color: #11141b;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid #2d3748;
  margin-top: 3rem;
}

.site-footer p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.site-footer ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .generator-card {
    padding: 2rem 1rem;
  }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
