/* ============================================================
   Ticket Go — base.css
   Design tokens, reset, typography, body defaults, utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand */
  --purple-primary: #7C3AED;
  --purple-light: #8B5CF6;
  --purple-dark: #6D28D9;
  --orange-action: #FF6600;
  --orange-light: #FF8533;

  /* Category accents */
  --pink-concerts: #EC4899;
  --cyan-sports: #22D3EE;
  --green-success: #34D399;

  /* Dark backgrounds */
  --bg-base: #000000;
  --bg-card: #0D0D0D;
  --bg-card-elevated: #0F0F0F;
  --bg-surface: #141414;

  /* Text */
  --text-primary: #F5F4FB;
  --text-secondary: #A6A5BD;
  --text-muted: #6C6B85;
  --border-low: rgba(255,255,255,0.09);
  --border-mid: rgba(255,255,255,0.16);

  --maxw: 1240px;
  --radius: 18px;
  --ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a, [role="button"], .clickable { cursor: pointer; }
button { font-family: inherit; }
h1, h2, h3, .wordmark { font-family: 'Righteous', cursive; font-weight: 400; letter-spacing: 0.5px; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--orange-action); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Layout utilities
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.section-pad { padding: 110px 0; }
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub { color: var(--text-secondary); max-width: 560px; margin-bottom: 56px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(135deg, #FF6600, #FF9944);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* El atributo hidden debe ganarle siempre a cualquier `display` de nuestras
   clases. Sin esto, un `.btn` con hidden se seguía viendo (display:inline-flex
   pisa el [hidden]{display:none} del navegador) — pasaba con Publicar en
   eventos ya publicados. */
[hidden] { display: none !important; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn-orange, .btn-primary {
  background: linear-gradient(135deg, var(--orange-action), var(--orange-light));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(255,102,0,0.65);
}
.btn-orange:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,102,0,0.75); }
.btn-ghost {
  background: rgba(124,58,237,0.08); color: var(--text-primary); border-color: var(--border-mid);
}
.btn-ghost:hover { background: rgba(124,58,237,0.18); border-color: var(--purple-light); transform: translateY(-2px); }
.btn-wa {
  background: #25D366; color: #063d1e; box-shadow: 0 8px 24px -8px rgba(37,211,102,0.6);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(37,211,102,0.7); }
.btn-wa svg { flex-shrink: 0; }
.btn-purple {
  background: rgba(139,92,246,0.12); color: var(--purple-light); border-color: rgba(139,92,246,0.35);
}
.btn-purple:hover { background: rgba(139,92,246,0.22); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================================
   Chips & badges
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  background: rgba(255,102,0,0.10); border: 1px solid rgba(255,102,0,0.35); color: var(--text-primary);
}
.chip svg { stroke: var(--orange-action); width: 16px; height: 16px; }

.chip-purple { background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.4); color: var(--purple-light); }
.chip-purple svg { stroke: var(--purple-light); }
.chip-green { background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.4); color: var(--green-success); }
.chip-green svg { stroke: var(--green-success); }
.chip-muted { background: var(--bg-surface); border: 1px solid var(--border-low); color: var(--text-secondary); }
.chip-muted svg { stroke: var(--text-secondary); }
.chip-cyan { background: rgba(34,211,238,0.14); border: 1px solid rgba(34,211,238,0.4); color: var(--cyan-sports); }
.chip-cyan svg { stroke: var(--cyan-sports); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
}
.badge-green { background: rgba(52,211,153,0.15); color: var(--green-success); border: 1px solid rgba(52,211,153,0.4); }
.badge-green svg { width: 14px; height: 14px; stroke: var(--green-success); }
.badge-purple { background: rgba(124,58,237,0.15); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.4); }
.badge-orange { background: rgba(255,102,0,0.15); color: var(--orange-light); border: 1px solid rgba(255,102,0,0.4); }
.badge-gray { background: rgba(148,148,166,0.15); color: var(--text-muted); border: 1px solid rgba(148,148,166,0.35); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
