:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --panel-2: #131313;
  --panel-3: #181818;

  --text: #f4f4f4;
  --muted: #949494;

  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);

  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at top,
      #1a1a1a 0%,
      #0b0b0b 36%,
      #050505 72%
    );

  overflow-x: hidden;
}

a {
  color: inherit;
}

.credits-page {
  width: 100%;
  min-height: 100dvh;
  padding: clamp(18px, 4vw, 56px);
}

.credits-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.credits-header {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--border);
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 15px;
  margin-bottom: 34px;

  color: #fff;
  background: #0e0e0e;

  border: 1px solid var(--border);

  text-decoration: none;

  font-size: .82rem;
  font-weight: 800;

  transition: .2s ease;
}

.back-button:hover,
.footer-button:hover {
  color: #050505;
  background: #fff;
  transform: translateY(-2px);
}

.credits-title-area {
  max-width: 760px;
}

.credits-kicker,
.section-label {
  display: block;

  color: #aaa;

  font-size: .68rem;
  font-weight: 900;

  letter-spacing: .22em;
  text-transform: uppercase;
}

.credits-title-area h1 {
  margin: 10px 0 10px;

  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .92;

  letter-spacing: -.055em;
}

.credits-title-area p {
  max-width: 650px;
  margin: 0;

  color: var(--muted);

  font-size: clamp(.95rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.project-card {
  margin-top: 30px;
  padding: clamp(22px, 4vw, 36px);

  background:
    linear-gradient(
      180deg,
      #121212,
      #090909
    );

  border: 1px solid var(--border);
  border-left: 4px solid #fff;

  box-shadow: var(--shadow);
}

.project-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.credits-section {
  margin-top: clamp(38px, 7vw, 64px);
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-card {
  min-width: 0;
  min-height: 112px;

  display: grid;

  grid-template-columns:
    48px
    minmax(0, 1fr)
    auto;

  align-items: center;
  gap: 16px;

  padding: 19px;

  background:
    linear-gradient(
      180deg,
      #131313,
      #0b0b0b
    );

  border: 1px solid var(--border);

  transition: .2s ease;
}

.member-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.member-featured {
  width: 100%;
  min-height: 130px;

  border-left: 4px solid #fff;

  background:
    linear-gradient(
      135deg,
      #161616,
      #0a0a0a
    );

  box-shadow: var(--shadow);
}

.member-index {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color: #777;
  background: #080808;

  border: 1px solid var(--border);

  font-size: .75rem;
  font-weight: 900;

  letter-spacing: .08em;
}

.member-info {
  min-width: 0;
}

.member-info h3 {
  margin: 0;
  color: #fff;

  font-size: 1.08rem;

  overflow-wrap: anywhere;
}

.member-info p {
  margin: 6px 0 0;

  color: var(--muted);

  font-size: .86rem;
  line-height: 1.5;
}

.member-role {
  max-width: 180px;
  padding: 8px 11px;

  color: #d1d1d1;
  background: #181818;

  border: 1px solid var(--border);

  font-size: .66rem;
  font-weight: 900;

  letter-spacing: .08em;

  text-align: center;
  text-transform: uppercase;

  overflow-wrap: anywhere;
}

.credits-footer {
  margin-top: clamp(45px, 8vw, 72px);
  padding: 26px 0 10px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid var(--border);
}

.credits-footer > div {
  display: grid;
  gap: 6px;
}

.credits-footer span {
  color: #777;

  font-size: .65rem;
  font-weight: 900;

  letter-spacing: .18em;
}

.credits-footer strong {
  font-size: 1.18rem;
}

.footer-button {
  min-height: 46px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0 18px;

  color: #fff;
  background: #111;

  border: 1px solid var(--border-strong);

  text-decoration: none;

  font-size: .82rem;
  font-weight: 900;

  transition: .2s ease;
}

@media (max-width: 800px) {
  .credits-page {
    padding: 15px;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    grid-template-columns:
      44px
      minmax(0, 1fr)
      auto;
  }
}

@media (max-width: 560px) {
  .credits-title-area h1 {
    font-size: clamp(2.8rem, 18vw, 4.6rem);
  }

  .member-card,
  .member-featured {
    grid-template-columns:
      42px
      minmax(0, 1fr);
  }

  .member-role {
    grid-column: 2;
    width: max-content;
    max-width: 100%;
  }

  .credits-footer {
    display: grid;
  }

  .footer-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .credits-page {
    padding: 10px;
  }

  .member-card,
  .member-featured {
    padding: 14px;
    gap: 11px;
  }

  .member-index {
    width: 38px;
    height: 38px;
  }
}


/* =========================================================
   FIXCORE — CRÉDITOS V1.0
   ========================================================= */

.credits-brand{
  display:flex;
  align-items:center;
  gap:22px;
}

.credits-logo{
  width:96px;
  height:96px;
  flex:0 0 96px;
  object-fit:contain;
  aspect-ratio:1 / 1;
  padding:10px;
  background:#0d0d0d;
  border:1px solid var(--border);
}

.version-line,
.footer-version{
  display:flex !important;
  align-items:center;
  gap:8px;
}

.version-dot{
  width:8px;
  height:8px;
  flex:0 0 8px;
  display:inline-block;
  border-radius:50%;
  background:#55e27c;
  box-shadow:0 0 0 0 rgba(85,226,124,.42);
  animation:creditsStatusPulse 1.5s ease-in-out infinite;
}

@keyframes creditsStatusPulse{
  0%,100%{
    opacity:.55;
    transform:scale(.88);
    box-shadow:0 0 0 0 rgba(85,226,124,.18);
  }
  50%{
    opacity:1;
    transform:scale(1);
    box-shadow:0 0 0 5px rgba(85,226,124,0);
  }
}

.member-info h3{
  text-transform:uppercase;
}

@media(max-width:620px){
  .credits-brand{
    align-items:flex-start;
  }

  .credits-logo{
    width:70px;
    height:70px;
    flex-basis:70px;
  }
}

@media(max-width:460px){
  .credits-brand{
    display:grid;
  }
}


/* =========================================================
   FIXCORE — LOGO FINAL NA PÁGINA DE CRÉDITOS
   ========================================================= */

.credits-logo{
  display:block;
  width:120px;
  height:120px;
  flex:0 0 120px;
  object-fit:contain;
  object-position:center;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

@media(max-width:620px){
  .credits-logo{
    width:88px;
    height:88px;
    flex-basis:88px;
  }
}
