@font-face {
  font-family: 'Nurokhim';
  src: url('../assets/fonts/nurokhim.ttf') format('truetype');
  font-display: block;
}

@font-face {
  font-family: 'Pixeled';
  src: url('../assets/fonts/pixeled.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* paleta oficial (orientação.txt) + verde/laranja amostrados do story */
  --yellow: #ffea00;
  --blue: #347cc7;
  --navy: #2100af;
  --purple: #a800ff;
  --red: #ff0000;
  --pink: #ff0fc9;
  --green: #3afa3a;
  --orange: #e6874a;
  --white: #fff;
  --ink: #0d0d0d;

  --font-borgy: 'Nurokhim', 'Pinyon Script', cursive;
  --font-pixel: 'Pixeled', 'Courier New', monospace;
  --font-script: 'French Script MT', 'Pinyon Script', cursive;
  --font-narrow: 'Arial Narrow', 'Archivo Narrow', Arial, sans-serif;

  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(16px, 4vw, 56px);
}

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

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

body {
  font-family: var(--font-narrow);
  color: var(--ink);
  background: var(--red);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.sr-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Grão: a arte original ganha saturação da interação cor + ruído; aqui simulamos com a Textura 5 em overlay */
.grain {
  position: relative;
  isolation: isolate;
}

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../assets/img/textura-5.jpg') center / 700px auto repeat;
  mix-blend-mode: overlay;
  opacity: 0.4;
  /* a textura é um cinza escuro: clareada ela vira ruído neutro e não apaga as cores */
  filter: brightness(1.18) contrast(1.5);
}

[hidden] {
  display: none !important;
}

.hl {
  font-style: normal;
  color: var(--yellow);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* Tag de ingresso: quadradinho colorido + nome, no site e no painel */
.ticket {
  display: inline-flex;
  align-items: stretch;
  height: 1.7em;
  min-height: 22px;
  border: 2px solid var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ticket__mark {
  width: 1.65em;
  display: grid;
  place-items: center;
  background: #6d6d6d;
}

.ticket__mark::before {
  content: "";
  width: 0.48em;
  height: 0.48em;
  border-radius: 50%;
  background: #dedede;
}

.ticket__name {
  display: grid;
  place-items: center;
  padding: 0 0.6em;
  background: var(--white);
}

.ticket--shotgun {
  background: linear-gradient(90deg, #6b00b8 0%, #c44bff 46%, #ff8c1a 100%);
  color: #fff;
}

.ticket--shotgun .ticket__mark,
.ticket--shotgun .ticket__name {
  background: transparent;
  color: #fff;
}

.ticket--shotgun .ticket__mark::before { background: #fff; }

.ticket--sympla .ticket__mark { background: #4cb2ff; }
.ticket--sympla .ticket__mark::before { background: #f3f9ff; }

.ticket--outra .ticket__mark { background: #6d6d6d; }
.ticket--outra .ticket__mark::before { background: #dedede; }

a.ticket:hover,
a.ticket:focus-visible {
  translate: -1px -1px;
  box-shadow: 3px 3px 0 var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
