/* eqp.wtf — hub dos portfólios (tema escuro). */
:root {
  --bg: #0b0a10;
  --surface: #14121b;
  --surface-2: #1b1824;
  --line: #2a2633;
  --text: #f4f1f8;
  --muted: #a59fb3;
  --accent: #a78bfa;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scrollbar-width: thin; scrollbar-color: #2f2a3a var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
::selection { background: #a78bfa55; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 60; padding: 10px 18px; background: var(--text); color: var(--bg); border-radius: 999px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 16px; }

.glow { position: fixed; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .32; pointer-events: none; }
.glow-a { top: -260px; left: -180px; background: radial-gradient(circle, #7c3aed, transparent 68%); }
.glow-b { right: -220px; bottom: -280px; background: radial-gradient(circle, #db2777, transparent 68%); opacity: .22; }

.top, main, .foot { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 800; letter-spacing: -.6px; text-decoration: none; }
.mark span { color: var(--muted); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.discord { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px 8px 13px; border-radius: 999px; background: #5865f2; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -12px #5865f2; transition: background .2s, transform .35s var(--spring), box-shadow .3s; }
.discord:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 14px 34px -12px #5865f2; }
.discord:focus-visible { outline-color: #8a93ff; }
.discord svg { flex-shrink: 0; }
.discord-short { display: none; }
.lang { display: flex; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.lang button { min-width: 44px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 13px/1 inherit; font-family: inherit; letter-spacing: .5px; cursor: pointer; transition: background .2s, color .2s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.intro { padding-block: clamp(40px, 9vh, 96px) 44px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #14121bcc; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #ff9ec4); box-shadow: 0 0 12px #a78bfa; }
h1 { margin-top: 22px; font-size: clamp(42px, 7vw, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.lead { margin-top: 20px; max-width: 560px; font-size: 18px; color: var(--muted); }
.count { margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; margin: 0; padding: 0 0 80px; list-style: none; }
.grid > li { min-width: 0; }
.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  isolation: isolate;
  transition: transform .45s var(--spring), border-color .3s, box-shadow .4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
  transition: opacity .3s;
}
.card:is(:hover, :focus-visible) {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 55%, transparent);
}
.card:is(:hover, :focus-visible)::before { opacity: 1; }
.card:focus-visible { outline-color: var(--accent); }
.cover { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; opacity: 0; }
.cover img.is-loaded { opacity: 1; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #14121bf2); }
.card:is(:hover, :focus-visible) .cover img { transform: scale(1.04); }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: var(--accent); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--surface-2); }
.card-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 4px 24px 24px; margin-top: -26px; }
.role { order: -1; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.name { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.description { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; }
.enter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }
.enter-path { color: var(--muted); font-weight: 600; font-size: 14px; }
.arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .45s var(--spring); }
.card:is(:hover, :focus-visible) .arrow { background: var(--accent); color: var(--bg); transform: rotate(-45deg); }

.soon { display: grid; place-items: center; height: 100%; min-height: 280px; padding: 32px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.soon strong { display: block; margin-top: 14px; color: var(--text); font-size: 18px; }
.soon span { display: block; margin-top: 6px; font-size: 14px; }
.soon-plus { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; border: 1.5px dashed #3a3445; font-size: 26px; line-height: 1; }

.card, .soon { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; margin-top: auto; padding-block: 28px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-discord { gap: 6px; }
.foot .foot-discord:hover { color: #8a93ff; }

@media (max-width: 600px) {
  .top, main, .foot { width: calc(100% - 32px); }
  .top { padding-block: 18px; }
  .intro { padding-block: 32px 30px; }
  .lead { font-size: 16px; }
  .grid { gap: 16px; padding-bottom: 56px; }
  .card-body { padding: 4px 18px 20px; }
  .name { font-size: 26px; }
  .top-actions { gap: 6px; }
  .discord { padding-inline: 11px 13px; }
  .discord-long { display: none; }
  .discord-short { display: inline; }
  .glow { width: 420px; height: 420px; }
}
@media (hover: none) { .card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .cover img { opacity: 1; }
}
