/* FlowTickets — design system */
:root {
  --bg: #07070a;
  --bg-elevated: #101016;
  --bg-soft: #16161f;
  --text: #f4f1ea;
  --muted: #9a958c;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #e8b86d;
  --accent-strong: #f0c57a;
  --accent-dim: rgba(232, 184, 109, 0.16);
  --ok: #3ecf8e;
  --danger: #ff5c7a;
  --warning: #f5a524;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
  --radius: 18px;
  --max: 1120px;

  /* Alias para el panel de organizadores y el check-in,
     que fueron escritos con esta nomenclatura */
  --color-bg: var(--bg);
  --color-surface: var(--bg-elevated);
  --color-surface-hover: var(--bg-soft);
  --color-primary: var(--accent);
  --color-primary-strong: var(--accent-strong);
  --color-primary-glow: rgba(232, 184, 109, 0.28);
  --color-on-primary: #1a1408;
  --color-success: var(--ok);
  --color-success-dark: #2fa872;
  --color-success-bg: rgba(62, 207, 142, 0.12);
  --color-success-glow: rgba(62, 207, 142, 0.4);
  --color-error: var(--danger);
  --color-error-dark: #d94660;
  --color-error-bg: rgba(255, 92, 122, 0.12);
  --color-error-glow: rgba(255, 92, 122, 0.4);
  --color-warning: var(--warning);
  --color-text: var(--text);
  --color-text-secondary: var(--muted);
  --color-border: var(--line);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.tf-shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.tf-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.tf-nav.is-solid { border-bottom-color: var(--line); }

.tf-nav-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tf-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.tf-logo {
  height: 34px;
  width: auto;
  flex: none;
}

.tf-wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.tf-wordmark em {
  font-style: normal;
  color: var(--accent);
}

@media (max-width: 480px) {
  .tf-logo { height: 28px; }
  .tf-wordmark { font-size: 1.15rem; }
}

.tf-nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.tf-nav-links a {
  padding: .55rem .9rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.tf-nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }

.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}

.tf-btn:hover { transform: translateY(-1px); }
.tf-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.tf-btn-primary {
  background: var(--accent);
  color: #1a1408;
}

.tf-btn-primary:hover { background: var(--accent-strong); }

.tf-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.tf-btn-ghost:hover { background: rgba(255,255,255,.04); }

.tf-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-strong);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tf-muted { color: var(--muted); }

.tf-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  margin-top: 4rem;
}

.tf-footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 720px) {
  .tf-nav-links .hide-sm { display: none; }
}
