/* ── Landing page styles ─────────────────────────────────────────── */

.landing-body {
  background: #0d0d1a;
  color: #e8e0d0;
  overflow-x: hidden;
}

/* Hero */
.landing-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 680px;
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 11px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  color: #f0e8d0;
  text-shadow: 0 0 60px rgba(201,168,76,.25);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(224, 214, 196, 0.72);
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #c9a84c, #e0c46a);
  color: #1a1408;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.5);
}

.hero-cta svg { flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(224,214,196,.4);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Features section */
.landing-features {
  background: linear-gradient(180deg, #0d0d1a 0%, #12121f 100%);
  padding: 100px 24px;
}

.features-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-size: 11px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #f0e8d0;
  margin-bottom: 56px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color .25s, transform .25s;
}

.feature-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #c9a84c;
}

.feature-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #f0e8d0;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: rgba(224,214,196,.6);
  line-height: 1.6;
}

/* Credits section */
.landing-credits-section {
  background: #12121f;
  padding: 80px 24px;
}

.credits-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.credits-table {
  margin: 32px auto 0;
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.credits-table th {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(224,214,196,.5);
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(201,168,76,.1);
}

.credits-table td {
  padding: 12px 16px;
  color: rgba(224,214,196,.8);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.credits-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #c9a84c;
  font-family: 'JetBrains Mono', monospace;
}

.credits-table tr:last-child td { border-bottom: none; }

.credits-free-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(224,214,196,.5);
}

.credits-free-note strong { color: #c9a84c; }

/* Landing footer */
.landing-footer {
  background: #0a0a12;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(224,214,196,.3);
  border-top: 1px solid rgba(255,255,255,.05);
}

.landing-footer a {
  color: rgba(201,168,76,.6);
  text-decoration: none;
}

.landing-footer a:hover { color: #c9a84c; }
.landing-footer .sep { margin: 0 10px; opacity: .3; }

/* Auth pages */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px);
  padding: 24px;
  background: linear-gradient(135deg, #0d0d1a 0%, #12121f 100%);
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo img { margin-bottom: 12px; }

.auth-logo h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0e8d0;
  margin: 0 0 6px;
}

.auth-logo p {
  font-size: 0.82rem;
  color: rgba(224,214,196,.55);
  margin: 0;
}

.auth-card .form-group {
  margin-bottom: 16px;
}

.auth-card .form-group label {
  display: block;
  font-size: 0.78rem;
  font-family: 'Raleway', sans-serif;
  color: rgba(224,214,196,.6);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.auth-card .form-group input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px;
  color: #f0e8d0;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  transition: border-color .2s;
}

.auth-card .form-group input:focus {
  outline: none;
  border-color: rgba(201,168,76,.5);
}

.auth-card .form-group input::placeholder {
  color: rgba(224,214,196,.3);
}

.auth-error {
  font-size: 0.82rem;
  color: #e74c3c;
  background: rgba(231,76,60,.1);
  border: 1px solid rgba(231,76,60,.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  justify-content: center;
  font-size: 0.95rem;
}

.auth-footer-note {
  margin-top: 20px;
  font-size: 0.75rem;
  color: rgba(224,214,196,.35);
  text-align: center;
}

.auth-back {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(201,168,76,.6);
  text-decoration: none;
  text-align: center;
}

.auth-back:hover { color: #c9a84c; }

.auth-skip {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(201,168,76,.2);
  color: rgba(224,214,196,.5);
  font-size: 0.82rem;
  padding: 8px;
}

.spinner-large {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(201,168,76,.2);
  border-top-color: #c9a84c;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 24px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* credits badge in header */
.credits-badge {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #c9a84c;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px;
  padding: 3px 10px;
  cursor: default;
  white-space: nowrap;
}
