/* Zenvora Traders — nocturnal glass kiln design system */

:root {
  --night: #07090e;
  --night-2: #10141c;
  --night-3: #171d28;
  --glass: rgba(244, 241, 234, 0.07);
  --glass-2: rgba(244, 241, 234, 0.12);
  --glass-border: rgba(244, 241, 234, 0.18);
  --glass-strong: rgba(244, 241, 234, 0.24);
  --phosphor: #3ee8b5;
  --phosphor-deep: #1bbf8c;
  --phosphor-glow: rgba(62, 232, 181, 0.35);
  --kiln: #e8904a;
  --kiln-deep: #c46a28;
  --kiln-glow: rgba(232, 144, 74, 0.35);
  --iris: #8b7cff;
  --iris-glow: rgba(139, 124, 255, 0.3);
  --ink: #f4f1ea;
  --ink-soft: #d8d3c8;
  --muted: #9aa3b2;
  --line: rgba(244, 241, 234, 0.1);
  --danger: #ff6b7a;
  --ok: #3ee8b5;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--display);
  --font-body: var(--sans);

  /* Clearance under fixed .a58-capsule (page CSS may reset .a58-main padding) */
  --a58-chrome-top: 6.75rem;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-full: 999px;
  --shadow-glass: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.1rem, 3vw, 2rem);
  --container: 1180px;

  --ts-charcoal: #10141c;
  --ts-ink: #f4f1ea;
  --ts-paper: #171d28;
  --ts-surface: #10141c;
  --ts-surface-2: #07090e;
  --ts-muted: #9aa3b2;
  --ts-line: rgba(244, 241, 234, 0.12);
  --ts-wine: #e8904a;
  --ts-wine-dark: #c46a28;
  --ts-gold: #3ee8b5;
  --ts-gold-pale: rgba(62, 232, 181, 0.12);
  --ts-grove: #3ee8b5;
  --ts-grove-deep: #1bbf8c;
  --ts-mist: #171d28;
  --ts-success: #3ee8b5;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.a58-store {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.a58-night {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.a58-aurora {
  pointer-events: none;
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(62, 232, 181, 0.16), transparent 60%),
    radial-gradient(ellipse 45% 35% at 88% 10%, rgba(139, 124, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 30% at 60% 0%, rgba(232, 144, 74, 0.12), transparent 50%);
  filter: blur(8px);
  z-index: 0;
}

.a58-main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

.a58-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--phosphor) 0%, #6ff0d0 100%);
  color: #07110d;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px var(--phosphor-glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.a58-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px var(--phosphor-glow); }

.a58-btn-ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: var(--glass-border);
  backdrop-filter: blur(16px);
  box-shadow: none;
}
.a58-btn-ghost:hover { background: var(--glass-2); }

.a58-btn-kiln {
  background: linear-gradient(135deg, var(--kiln), var(--kiln-deep));
  color: #1a0e06;
  box-shadow: 0 10px 28px var(--kiln-glow);
}

.a58-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--phosphor);
  font-weight: 600;
}

.a58-lede {
  color: var(--ink-soft);
  max-width: 42rem;
  font-size: 1.05rem;
}

.a58-glass {
  background: rgba(16, 22, 32, 0.78);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

body.a58-nav-open,
body.a58-search-open { overflow: hidden; }
