:root {
  --bg: #05060f;
  --bg-2: #0b0e24;
  --card: #0f1330;
  --line: #232850;
  --text: #ffffff;
  --muted: #a9afd0;
  --blue: #3b5bff;
  --orange: #ff8a00;
  --yellow: #ffc400;
  --grad: linear-gradient(135deg, var(--yellow), var(--orange));
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--orange); }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }

.brand {
  font-weight: 900; font-style: italic; letter-spacing: -.02em;
  font-size: 1.6rem; text-decoration: none; color: var(--text);
}
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topbar { border-bottom: 1px solid var(--line); background: rgba(5,6,15,.9); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 10; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.topbar nav { display: flex; align-items: center; gap: 16px; font-size: .95rem; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--text); }
.topbar form { margin: 0; }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 999px; color: #1a0f00; background: var(--grad);
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--orange); }
.btn-sm { padding: 8px 16px; font-size: .8rem; }

.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(5,6,15,.25), var(--bg) 96%),
    url("/img/fila0-hero.png") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 4.5rem); font-style: italic; font-weight: 900; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 36ch; margin: 12px auto 28px; }
.accent { color: var(--orange); }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; padding: 48px 0; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.auth { display: grid; place-items: center; padding: 56px 0; }
.auth .card { width: min(420px, 100%); }
.auth h1, .page h1 { margin-top: 0; font-style: italic; font-weight: 900; }

label { display: block; font-size: .85rem; color: var(--muted); margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit;
}
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; font-size: .9rem; }
.alert-error { background: #3a0f1a; border: 1px solid #7a1f33; }
.alert-ok { background: #0f2a1f; border: 1px solid #1f6b4a; }
.page { padding: 40px 0; }
.muted { color: var(--muted); }
.footer { color: var(--muted); font-size: .85rem; padding: 32px 0; border-top: 1px solid var(--line); margin-top: 40px; }

/* Eventos */
.grid-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 32px 0 8px; }
.ev-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ev-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.ev-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #1a2268, #3b1d6e) center/cover no-repeat; }
.ev-body { padding: 16px 18px 20px; }
.ev-body h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.ev-date { color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.price { font-weight: 700; }
.section-title { font-style: italic; font-weight: 900; font-size: 1.6rem; margin: 40px 0 0; }
.ev-hero { aspect-ratio: 21/8; background: linear-gradient(135deg, #1a2268, #3b1d6e) center/cover no-repeat; border-radius: 16px; margin-bottom: 24px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }
.tt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tt:last-child { border-bottom: 0; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); }
.badge-PUBLICADO { color: #5cf0a8; border-color: #1f6b4a; }
.badge-BORRADOR { color: var(--yellow); border-color: #6b5a1f; }
.badge-CANCELADO { color: #ff7a8a; border-color: #7a1f33; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
input[type=number], input[type=datetime-local], textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; color-scheme: dark;
}
textarea { min-height: 120px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-danger { background: transparent; color: #ff7a8a; border: 1px solid #7a1f33; }
.field-error { color: #ff7a8a; font-size: .85rem; margin-top: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
select.qty { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; color-scheme: dark; min-width: 72px; }
