/* =========================================================
   FELIPE MOTO RACING — página de links (/links)
   Usa os tokens e efeitos de css/style.css
   ========================================================= */

.links-page {
  min-height: 100vh;
  padding-bottom: 0; /* anula a barra fixa de WhatsApp do site */
  display: flex;
  justify-content: center;
}

/* Faixas diagonais de pista, ao fundo */
.lk-stripes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,51,160,.35), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(208,2,27,.22), transparent 65%);
}
.lk-stripes::before {
  content: "";
  position: absolute;
  top: -60px; left: -20%;
  width: 140%;
  height: 190px;
  transform: rotate(-8deg);
  background: linear-gradient(180deg,
    var(--royal) 0 22%, transparent 22% 38%,
    var(--white) 38% 46%, transparent 46% 62%,
    var(--red) 62% 84%, transparent 84%);
  opacity: .16;
}
.lk-stripes::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12px;
  background: repeating-conic-gradient(var(--white) 0 25%, #111 0 50%) 0 0 / 12px 12px;
  opacity: .5;
}

.lk-wrap {
  width: 100%;
  max-width: 520px;
  padding-inline: var(--gutter);
  padding-block: clamp(28px, 7vw, 56px) clamp(32px, 8vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 36px);
}

/* ---------- Marca ---------- */
.lk-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
/* ---------- Logo animada ----------
   Três movimentos somados: a entrada (no wrap), a flutuação e o pulso de
   neon (na imagem) e o reflexo cromado que atravessa (na máscara). */
.lk-logo-wrap {
  position: relative;
  width: min(300px, 78%);
  animation: lk-entrada .9s cubic-bezier(.2, .8, .25, 1) both;
}

.lk-logo {
  width: 100%;
  height: auto;
  animation:
    lk-flutua 6s ease-in-out infinite alternate,
    lk-pulso 4.5s ease-in-out infinite;
}

.lk-logo-brilho {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* A própria logo vira máscara: o brilho só aparece sobre o desenho */
  -webkit-mask-image: url("../imagens/logo.png");
  mask-image: url("../imagens/logo.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background: linear-gradient(105deg,
    transparent 46%,
    rgba(255,255,255,.18) 49%,
    rgba(255,255,255,.6) 50.5%,
    rgba(255,255,255,.18) 52%,
    transparent 55%);
  background-size: 260% 100%;
  animation: lk-brilho 6.5s ease-in-out infinite;
}

@keyframes lk-entrada {
  from { opacity: 0; transform: translateY(-22px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

@keyframes lk-flutua {
  from { transform: translateY(0); }
  to   { transform: translateY(-7px); }
}

@keyframes lk-pulso {
  0%, 100% { filter: drop-shadow(0 0 26px rgba(47,107,255,.35)); }
  50%      { filter: drop-shadow(0 0 40px rgba(47,107,255,.6)) drop-shadow(0 0 16px rgba(255,42,61,.28)); }
}

/* Passa o reflexo e descansa fora do quadro até a próxima volta */
@keyframes lk-brilho {
  0%        { background-position: 190% 0; }
  26%, 100% { background-position: -90% 0; }
}

.lk-local,
.lk-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 600 .8rem/1 var(--f-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--chrome);
}
.lk-local svg { width: 15px; height: 15px; color: var(--red-glow); }

.lk-status {
  gap: 10px;
  padding: 9px 16px;
  letter-spacing: .12em;
  background: rgba(21,23,28,.9);
  border: 1px solid rgba(201,206,214,.18);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.lk-status svg { width: 15px; height: 15px; color: var(--chrome-dim); }
.lk-status b { color: var(--white); font-weight: 600; }
.lk-status span:last-child { color: var(--chrome-dim); font-weight: 500; }

.lk-status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--chrome-dim);
  flex: none;
}
.lk-status.aberto .lk-status-dot {
  background: #2ED16B;
  box-shadow: 0 0 10px rgba(46,209,107,.9);
}
.lk-status.fechado .lk-status-dot {
  background: var(--red);
  box-shadow: 0 0 10px rgba(208,2,27,.8);
}

/* ---------- Botões de link (placa de oficina) ---------- */
.lk-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lk-btn {
  --c: 14px;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--white);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #2F333C 0%, #1C1F25 48%, #262A31 100%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .18s ease, filter .25s ease;
}
/* Rebites nos cantos */
.lk-btn::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  --rivet: radial-gradient(circle at 35% 35%, #F4F5F7 0 1px, #A7ADB7 1.6px, #4A505B 3.6px, #15171C 4.4px, transparent 5px);
  background: var(--rivet) left top / 11px 11px no-repeat,
              var(--rivet) right top / 11px 11px no-repeat,
              var(--rivet) left bottom / 11px 11px no-repeat,
              var(--rivet) right bottom / 11px 11px no-repeat;
}
.lk-btn:hover, .lk-btn:focus-visible { transform: translateY(-2px); }
.lk-btn:active { transform: translateY(0); }

/* Faixa de cor na lateral esquerda */
.lk-btn::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--chrome-dim);
}
.lk-btn-red::before { background: var(--red); box-shadow: 0 0 14px rgba(255,42,61,.7); }
.lk-btn-blue::before { background: var(--royal-glow); box-shadow: 0 0 14px rgba(47,107,255,.7); }
.lk-btn-steel::before { background: var(--chrome); }
.lk-btn-ghost::before { background: linear-gradient(180deg, var(--royal) 0 50%, var(--red) 50%); }

.lk-btn-red:hover { filter: drop-shadow(0 0 14px rgba(255,42,61,.55)); }
.lk-btn-blue:hover { filter: drop-shadow(0 0 14px rgba(47,107,255,.6)); }
.lk-btn-steel:hover, .lk-btn-ghost:hover { filter: drop-shadow(0 0 12px rgba(201,206,214,.4)); }

.lk-ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(180deg, #2B2F38, #15181D);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.lk-ico svg { width: 24px; height: 24px; color: var(--white); }
.lk-btn-red .lk-ico svg { color: #4AF07E; }
.lk-btn-blue .lk-ico svg { color: var(--royal-glow); }

.lk-ico-nota b {
  font: 400 1.5rem/1 var(--f-display);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(255,42,61,.6);
}

.lk-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lk-txt b {
  font: 400 1.18rem/1.15 var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}
.lk-txt > span {
  font: 500 .86rem/1.3 var(--f-label);
  letter-spacing: .04em;
  color: #A9AFB9;
  overflow-wrap: anywhere;
}

.lk-estrelas { display: flex; gap: 3px; margin-top: 2px; }
.lk-estrelas svg { width: 15px; height: 15px; color: var(--red-glow); }

.lk-seta { width: 17px; height: 17px; color: var(--chrome-dim); flex: none; }
.lk-btn:hover .lk-seta { color: var(--white); }

/* ---------- Horário ---------- */
.lk-horario {
  padding: 20px 22px;
  background: rgba(21,23,28,.75);
  border-top: 2px solid var(--chrome-dim);
  border-bottom: 1px solid rgba(201,206,214,.12);
}
.lk-horario h2 {
  margin: 0 0 12px;
  font: 400 1.05rem/1 var(--f-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}
.lk-horario dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 20px;
  font-variant-numeric: tabular-nums;
}
.lk-horario dt {
  font: 500 .88rem/1.3 var(--f-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}
.lk-horario dd {
  margin: 0;
  text-align: right;
  font: 600 .95rem/1.3 var(--f-label);
  color: var(--white);
}

/* ---------- Rodapé ---------- */
.lk-rodape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.lk-ferramentas { display: flex; align-items: center; gap: 14px; }
.lk-ferramentas > svg { width: 30px; height: 30px; }
.lk-ferramentas > svg:first-child { filter: drop-shadow(0 0 6px rgba(47,107,255,.5)); }
.lk-ferramentas > svg:last-child { filter: drop-shadow(0 0 6px rgba(255,42,61,.5)); }
.lk-rodape p {
  margin: 0;
  font-size: .78rem;
  color: #7C838F;
}

@media (max-width: 380px) {
  .lk-btn { gap: 12px; padding: 14px; }
  .lk-ico { width: 40px; height: 40px; }
  .lk-txt b { font-size: 1.05rem; }
}
