*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: #7eb6ff;
  background: #000000;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.headbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(0, 10, 30, 0.28);
  border-bottom: 1px solid rgba(59, 130, 246, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.15rem 0;
}

.logo {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.logo-short {
  display: inline-block;
  max-width: 120px;
  opacity: 1;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.logo-full {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.logo:hover .logo-short,
.brand:hover .logo-short {
  max-width: 0;
  opacity: 0;
}

.logo:hover .logo-full,
.brand:hover .logo-full {
  max-width: 420px;
  opacity: 1;
}

.discord {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  color: currentColor;
  margin-left: auto;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.discord svg {
  width: 1.25rem;
  height: 1.25rem;
}

.discord:hover {
  background: #5865f2;
  color: #ffffff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3rem 4rem;
  background: #000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("images/homepage.png") center / cover no-repeat;
  animation: hero-pan 32s ease-in-out infinite alternate;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 45%, rgba(37, 99, 235, 0.22), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 28%, rgba(96, 165, 250, 0.18), transparent 16%),
    radial-gradient(circle at 12% 78%, rgba(59, 130, 246, 0.16), transparent 18%);
  animation: hero-orbs 8s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  animation: hero-in 0.9s ease-out both;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.05;
}

.hero h1 span {
  display: inline-block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #dbeafe;
  animation: tmms-glow 2.6s ease-in-out infinite;
}

.hero p,
.section p {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.8;
}

.hero p {
  max-width: 38rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.92;
  color: #e8f0ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 10.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 18, 32, 0.72);
  color: #e8f0ff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn--discord {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.hero-btn--discord:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.hero-btn--ghost {
  border-color: #3b82f6;
}

.hero-btn--ghost:hover {
  background: rgba(37, 99, 235, 0.35);
  border-color: #60a5fa;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  list-style: none;
}

.hero-pills li {
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 8px;
  background: rgba(8, 18, 40, 0.55);
  color: #bfdbfe;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes hero-pan {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2.5%, -1.5%, 0);
  }
}

@keyframes hero-orbs {
  from {
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(-2%, 2%, 0);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tmms-glow {
  0%,
  100% {
    text-shadow:
      0 0 10px rgba(147, 197, 253, 0.45),
      0 0 28px rgba(59, 130, 246, 0.28);
  }
  50% {
    text-shadow:
      0 0 16px rgba(219, 234, 254, 0.95),
      0 0 36px rgba(96, 165, 250, 0.55),
      0 0 64px rgba(37, 99, 235, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-orbs,
  .hero-inner,
  .hero h1 span,
  .credits-bg,
  .credits-orbs,
  .credits-kicker,
  .credits-title,
  .credits-title span,
  .credits-panel,
  .credits-panel-fx::before,
  .credits-panel-fx::after,
  .credits-person,
  .credits-avatar-wrap::before,
  .credits-avatar::after,
  .credits-badge {
    animation: none;
  }

  .credits-person:hover {
    transform: none;
  }
}

.section {
  padding: 6rem 3rem;
  scroll-margin-top: 4.5rem;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(37, 99, 235, 0.32), transparent 48%),
    radial-gradient(ellipse at 88% 82%, rgba(29, 78, 216, 0.24), transparent 42%),
    #000000;
  border-top: 1px solid rgba(59, 130, 246, 0.5);
}

.section h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #60a5fa;
}

.section p {
  color: #93c5fd;
}

.discord-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.discord-link:hover {
  color: #93c5fd;
}

.section.page {
  min-height: 100vh;
  border-top: none;
}

.contact-card {
  max-width: 36rem;
  padding: 2rem 2.1rem;
  background: rgba(8, 18, 40, 0.72);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.18);
}

.credits-page {
  min-height: 100vh;
}

.credits-bg {
  position: fixed;
  inset: -8%;
  background: url("images/homepage.png") center / cover no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  z-index: 0;
  animation: credits-pan 28s ease-in-out infinite alternate;
}

.credits-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 212, 59, 0.1), transparent 32%),
    radial-gradient(ellipse at 88% 22%, rgba(199, 125, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 50% 80%, rgba(37, 99, 235, 0.22), transparent 42%),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(0, 0, 0, 0.07) 3px,
      rgba(0, 0, 0, 0.07) 4px
    ),
    linear-gradient(
      to bottom,
      rgba(0, 10, 30, 0.42) 0%,
      rgba(0, 10, 30, 0.22) 40%,
      rgba(0, 0, 0, 0.78) 100%
    );
  z-index: 1;
}

.credits-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 212, 59, 0.14), transparent 14%),
    radial-gradient(circle at 82% 28%, rgba(199, 125, 255, 0.16), transparent 16%),
    radial-gradient(circle at 50% 86%, rgba(59, 130, 246, 0.18), transparent 18%);
  animation: hero-orbs 9s ease-in-out infinite alternate;
}

.credits-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 8rem 3rem 3rem;
  max-width: min(98vw, 110rem);
  margin: 0 auto;
}

.credits-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #93c5fd;
  animation: credits-rise 0.7s ease backwards;
}

.credits-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #e8f0ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  width: 100%;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 212, 59, 0.45),
      rgba(59, 130, 246, 0.95),
      rgba(199, 125, 255, 0.5),
      transparent
    )
    1;
  animation: credits-rise 0.8s ease 0.08s backwards;
}

.credits-title span {
  display: inline-block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #dbeafe;
  animation: tmms-glow 2.6s ease-in-out infinite;
}

.credits-panel {
  position: relative;
  width: min(100%, 58rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.9rem 1.05rem 1rem;
  background: linear-gradient(180deg, rgba(8, 22, 48, 0.86), rgba(0, 0, 0, 0.78));
  border: 1px solid rgba(59, 130, 246, 0.42);
  border-radius: 20px;
  box-shadow:
    0 0 40px rgba(37, 99, 235, 0.18),
    0 0 80px rgba(199, 125, 255, 0.08);
  animation: credits-rise 0.9s ease 0.16s backwards;
}

.credits-panel-fx {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.credits-panel-fx::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(59, 130, 246, 0.55) 40deg,
    rgba(199, 125, 255, 0.5) 90deg,
    rgba(255, 212, 59, 0.4) 140deg,
    transparent 190deg
  );
  animation: credits-spin 10s linear infinite;
  opacity: 0.55;
}

.credits-panel-fx::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(8, 22, 48, 0.92), rgba(0, 0, 0, 0.88));
}

.credits-panel > :not(.credits-panel-fx) {
  position: relative;
  z-index: 1;
}

.credits-panel__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #7eb6ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.credits-panel__title::before,
.credits-panel__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 165, 250, 0.75),
    transparent
  );
}

.credits-people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: start;
  gap: 0.35rem 0.55rem;
  width: 100%;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(59, 130, 246, 0.22);
}

.credits-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.45rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  cursor: pointer;
  animation: credits-rise 0.7s ease backwards;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.credits-person:nth-child(1) { animation-delay: 0.22s; }
.credits-person:nth-child(2) { animation-delay: 0.3s; }
.credits-person:nth-child(3) { animation-delay: 0.38s; }
.credits-person:nth-child(4) { animation-delay: 0.46s; }
.credits-person:nth-child(5) { animation-delay: 0.54s; }
.credits-person:nth-child(6) { animation-delay: 0.62s; }
.credits-person:nth-child(7) { animation-delay: 0.7s; }
.credits-person:nth-child(8) { animation-delay: 0.78s; }
.credits-person:nth-child(9) { animation-delay: 0.86s; }
.credits-person:nth-child(10) { animation-delay: 0.94s; }

.credits-person:hover {
  transform: translateY(-4px);
}

.credits-person:hover .credits-badge {
  animation: none;
}

.credits-avatar,
.credits-name,
.credits-link-icon,
.credits-badge,
.credits-badge-icon {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    text-shadow 0.25s ease,
    filter 0.25s ease;
}

.credits-person:has(.credits-badge--owner):hover {
  background: rgba(18, 14, 6, 0.55);
  border-color: rgba(255, 212, 59, 0.28);
  box-shadow: inset 0 0 32px rgba(255, 212, 59, 0.16);
}

.credits-person:has(.credits-badge--owner):hover .credits-avatar {
  border-color: #ffd43b;
  box-shadow:
    0 0 16px rgba(255, 212, 59, 0.85),
    0 0 32px rgba(255, 212, 59, 0.45);
}

.credits-person:has(.credits-badge--owner):hover .credits-name {
  color: #ffd43b;
  text-shadow:
    0 0 12px rgba(255, 212, 59, 0.95),
    0 0 24px rgba(255, 212, 59, 0.55);
}

.credits-person:has(.credits-badge--owner):hover .credits-link-icon {
  color: #ffd43b;
  filter:
    drop-shadow(0 0 6px rgba(255, 212, 59, 0.95))
    drop-shadow(0 0 12px rgba(255, 212, 59, 0.55));
}

.credits-person:has(.credits-badge--owner):hover .credits-badge {
  border-color: rgba(255, 212, 59, 0.75);
  box-shadow: 0 0 18px rgba(255, 212, 59, 0.45);
  text-shadow:
    0 0 14px rgba(255, 212, 59, 0.9),
    0 0 26px rgba(255, 212, 59, 0.5);
}

.credits-person:has(.credits-badge--coowner):hover {
  background: rgba(6, 14, 28, 0.55);
  border-color: rgba(93, 184, 255, 0.3);
  box-shadow: inset 0 0 32px rgba(93, 184, 255, 0.18);
}

.credits-person:has(.credits-badge--coowner):hover .credits-avatar {
  border-color: #5db8ff;
  box-shadow:
    0 0 16px rgba(93, 184, 255, 0.85),
    0 0 32px rgba(93, 184, 255, 0.45);
}

.credits-person:has(.credits-badge--coowner):hover .credits-name {
  color: #5db8ff;
  text-shadow:
    0 0 12px rgba(93, 184, 255, 0.95),
    0 0 24px rgba(93, 184, 255, 0.55);
}

.credits-person:has(.credits-badge--coowner):hover .credits-link-icon {
  color: #5db8ff;
  filter:
    drop-shadow(0 0 6px rgba(93, 184, 255, 0.95))
    drop-shadow(0 0 12px rgba(93, 184, 255, 0.55));
}

.credits-person:has(.credits-badge--coowner):hover .credits-badge {
  border-color: rgba(93, 184, 255, 0.75);
  box-shadow: 0 0 18px rgba(93, 184, 255, 0.45);
  text-shadow:
    0 0 14px rgba(93, 184, 255, 0.9),
    0 0 26px rgba(93, 184, 255, 0.5);
}

.credits-person:has(.credits-badge--management):hover {
  background: rgba(22, 10, 32, 0.55);
  border-color: rgba(199, 125, 255, 0.3);
  box-shadow: inset 0 0 32px rgba(199, 125, 255, 0.18);
}

.credits-person:has(.credits-badge--management):hover .credits-avatar {
  border-color: #c77dff;
  box-shadow:
    0 0 16px rgba(199, 125, 255, 0.85),
    0 0 32px rgba(199, 125, 255, 0.45);
}

.credits-person:has(.credits-badge--management):hover .credits-name {
  color: #c77dff;
  text-shadow:
    0 0 12px rgba(199, 125, 255, 0.95),
    0 0 24px rgba(199, 125, 255, 0.55);
}

.credits-person:has(.credits-badge--management):hover .credits-link-icon {
  color: #c77dff;
  filter:
    drop-shadow(0 0 6px rgba(199, 125, 255, 0.95))
    drop-shadow(0 0 12px rgba(199, 125, 255, 0.55));
}

.credits-person:has(.credits-badge--management):hover .credits-badge {
  border-color: rgba(199, 125, 255, 0.75);
  box-shadow: 0 0 18px rgba(199, 125, 255, 0.45);
  text-shadow:
    0 0 14px rgba(199, 125, 255, 0.9),
    0 0 26px rgba(199, 125, 255, 0.5);
}

.credits-person:has(.credits-badge--hmod):hover {
  background: rgba(28, 8, 18, 0.55);
  border-color: rgba(255, 126, 182, 0.3);
  box-shadow: inset 0 0 32px rgba(255, 126, 182, 0.18);
}

.credits-person:has(.credits-badge--hmod):hover .credits-avatar {
  border-color: #ff7eb6;
  box-shadow:
    0 0 16px rgba(255, 126, 182, 0.85),
    0 0 32px rgba(255, 126, 182, 0.45);
}

.credits-person:has(.credits-badge--hmod):hover .credits-name {
  color: #ff7eb6;
  text-shadow:
    0 0 12px rgba(255, 126, 182, 0.95),
    0 0 24px rgba(255, 126, 182, 0.55);
}

.credits-person:has(.credits-badge--hmod):hover .credits-link-icon {
  color: #ff7eb6;
  filter:
    drop-shadow(0 0 6px rgba(255, 126, 182, 0.95))
    drop-shadow(0 0 12px rgba(255, 126, 182, 0.55));
}

.credits-person:has(.credits-badge--hmod):hover .credits-badge {
  border-color: rgba(255, 126, 182, 0.75);
  box-shadow: 0 0 18px rgba(255, 126, 182, 0.45);
  text-shadow:
    0 0 14px rgba(255, 126, 182, 0.9),
    0 0 26px rgba(255, 126, 182, 0.5);
}

.credits-person:has(.credits-badge--mod):hover {
  background: rgba(16, 10, 32, 0.55);
  border-color: rgba(154, 120, 232, 0.3);
  box-shadow: inset 0 0 32px rgba(154, 120, 232, 0.18);
}

.credits-person:has(.credits-badge--mod):hover .credits-avatar {
  border-color: #9a78e8;
  box-shadow:
    0 0 16px rgba(154, 120, 232, 0.85),
    0 0 32px rgba(154, 120, 232, 0.45);
}

.credits-person:has(.credits-badge--mod):hover .credits-name {
  color: #9a78e8;
  text-shadow:
    0 0 12px rgba(154, 120, 232, 0.95),
    0 0 24px rgba(154, 120, 232, 0.55);
}

.credits-person:has(.credits-badge--mod):hover .credits-link-icon {
  color: #9a78e8;
  filter:
    drop-shadow(0 0 6px rgba(154, 120, 232, 0.95))
    drop-shadow(0 0 12px rgba(154, 120, 232, 0.55));
}

.credits-person:has(.credits-badge--mod):hover .credits-badge {
  border-color: rgba(154, 120, 232, 0.75);
  box-shadow: 0 0 18px rgba(154, 120, 232, 0.45);
  text-shadow:
    0 0 14px rgba(154, 120, 232, 0.9),
    0 0 26px rgba(154, 120, 232, 0.5);
}

.credits-person:has(.credits-badge--mm-hr) { --rank: 36, 78, 186; }
.credits-person:has(.credits-badge--mm-expert) { --rank: 255, 212, 59; }
.credits-person:has(.credits-badge--mm-advanced) { --rank: 255, 68, 68; }
.credits-person:has(.credits-badge--mm-senior) { --rank: 62, 224, 106; }
.credits-person:has(.credits-badge--mm) { --rank: 22, 148, 74; }
.credits-person:has(.credits-badge--mm-beginner) { --rank: 59, 130, 246; }
.credits-person:has(.credits-badge--mm-starter) { --rank: 255, 126, 182; }

.credits-person:has(.credits-badge--mm-hr):hover,
.credits-person:has(.credits-badge--mm-expert):hover,
.credits-person:has(.credits-badge--mm-advanced):hover,
.credits-person:has(.credits-badge--mm-senior):hover,
.credits-person:has(.credits-badge--mm):hover,
.credits-person:has(.credits-badge--mm-beginner):hover,
.credits-person:has(.credits-badge--mm-starter):hover {
  background: rgba(8, 12, 22, 0.55);
  border-color: rgba(var(--rank), 0.3);
  box-shadow: inset 0 0 32px rgba(var(--rank), 0.18);
}

.credits-person:has(.credits-badge--mm-hr):hover .credits-avatar,
.credits-person:has(.credits-badge--mm-expert):hover .credits-avatar,
.credits-person:has(.credits-badge--mm-advanced):hover .credits-avatar,
.credits-person:has(.credits-badge--mm-senior):hover .credits-avatar,
.credits-person:has(.credits-badge--mm):hover .credits-avatar,
.credits-person:has(.credits-badge--mm-beginner):hover .credits-avatar,
.credits-person:has(.credits-badge--mm-starter):hover .credits-avatar {
  border-color: rgb(var(--rank));
  box-shadow:
    0 0 16px rgba(var(--rank), 0.85),
    0 0 32px rgba(var(--rank), 0.45);
}

.credits-person:has(.credits-badge--mm-hr):hover .credits-name,
.credits-person:has(.credits-badge--mm-expert):hover .credits-name,
.credits-person:has(.credits-badge--mm-advanced):hover .credits-name,
.credits-person:has(.credits-badge--mm-senior):hover .credits-name,
.credits-person:has(.credits-badge--mm):hover .credits-name,
.credits-person:has(.credits-badge--mm-beginner):hover .credits-name,
.credits-person:has(.credits-badge--mm-starter):hover .credits-name {
  color: rgb(var(--rank));
  text-shadow:
    0 0 12px rgba(var(--rank), 0.95),
    0 0 24px rgba(var(--rank), 0.55);
}

.credits-person:has(.credits-badge--mm-hr):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm-expert):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm-advanced):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm-senior):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm-beginner):hover .credits-link-icon,
.credits-person:has(.credits-badge--mm-starter):hover .credits-link-icon {
  color: rgb(var(--rank));
  filter:
    drop-shadow(0 0 6px rgba(var(--rank), 0.95))
    drop-shadow(0 0 12px rgba(var(--rank), 0.55));
}

.credits-person:has(.credits-badge--mm-hr):hover .credits-badge,
.credits-person:has(.credits-badge--mm-expert):hover .credits-badge,
.credits-person:has(.credits-badge--mm-advanced):hover .credits-badge,
.credits-person:has(.credits-badge--mm-senior):hover .credits-badge,
.credits-person:has(.credits-badge--mm):hover .credits-badge,
.credits-person:has(.credits-badge--mm-beginner):hover .credits-badge,
.credits-person:has(.credits-badge--mm-starter):hover .credits-badge {
  border-color: rgba(var(--rank), 0.75);
  box-shadow: 0 0 18px rgba(var(--rank), 0.45);
  text-shadow:
    0 0 14px rgba(var(--rank), 0.9),
    0 0 26px rgba(var(--rank), 0.5);
}

.credits-avatar-wrap {
  --ring: 147, 197, 253;
  position: relative;
  width: 8.15rem;
  height: 8.15rem;
  flex-shrink: 0;
}

.credits-person:has(.credits-badge--owner) .credits-avatar-wrap {
  --ring: 255, 212, 59;
}

.credits-person:has(.credits-badge--coowner) .credits-avatar-wrap {
  --ring: 93, 184, 255;
}

.credits-person:has(.credits-badge--management) .credits-avatar-wrap {
  --ring: 199, 125, 255;
}

.credits-person:has(.credits-badge--hmod) .credits-avatar-wrap {
  --ring: 255, 126, 182;
}

.credits-person:has(.credits-badge--mod) .credits-avatar-wrap {
  --ring: 154, 120, 232;
}

.credits-person:has(.credits-badge--mm-hr) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm-expert) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm-advanced) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm-senior) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm-beginner) .credits-avatar-wrap,
.credits-person:has(.credits-badge--mm-starter) .credits-avatar-wrap {
  --ring: var(--rank);
}

.credits-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgb(var(--ring)) 70deg,
    transparent 140deg
  );
  animation: credits-spin 5.5s linear infinite;
  opacity: 0.42;
  z-index: 0;
}

.credits-person:hover .credits-avatar-wrap::before {
  opacity: 1;
  animation-duration: 2.2s;
}

.credits-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(220, 230, 240, 0.45);
  background: #000;
}

.credits-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.credits-person:hover .credits-avatar::after {
  animation: credits-shine 0.85s ease;
}

.credits-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.credits-avatar--deluxe img {
  transform: scale(1.35);
  transform-origin: 40% 35%;
}

.credits-avatar--pagey img {
  transform: scale(1.48);
  transform-origin: 50% 46%;
}

.credits-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: #f7f0ff;
  background:
    radial-gradient(circle at 35% 28%, rgba(var(--ring), 0.42), transparent 52%),
    #070b10;
}

.credits-name-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.credits-name {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s ease;
}

a.credits-person {
  color: inherit;
  text-decoration: none;
}

a.credits-person:hover .credits-name {
  text-decoration-color: currentColor;
}

.credits-link-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.credits-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  min-height: 2.15rem;
  padding: 0.28rem 0.75rem;
  background: rgba(20, 20, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: credits-badge-idle 3.4s ease-in-out infinite;
}

.credits-badge-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.credits-badge--management .credits-badge-icon {
  width: 1.35em;
  height: 1.35em;
  image-rendering: pixelated;
  filter: hue-rotate(72deg) saturate(1.15);
}

.credits-person:has(.credits-badge--management):hover .credits-badge--management .credits-badge-icon {
  filter:
    hue-rotate(72deg) saturate(1.15)
    drop-shadow(0 0 6px rgba(199, 125, 255, 0.95))
    drop-shadow(0 0 12px rgba(199, 125, 255, 0.55));
}

.credits-badge--owner {
  color: #ffd43b;
  text-shadow: 0 0 12px rgba(255, 212, 59, 0.45);
}

.credits-badge--coowner {
  color: #5db8ff;
  text-shadow: 0 0 12px rgba(93, 184, 255, 0.45);
}

.credits-badge--management {
  color: #c77dff;
  text-shadow: 0 0 12px rgba(199, 125, 255, 0.45);
}

.credits-badge--hmod {
  color: #ff7eb6;
  text-shadow: 0 0 12px rgba(255, 126, 182, 0.45);
}

.credits-badge--mod {
  color: #9a78e8;
  text-shadow: 0 0 12px rgba(154, 120, 232, 0.45);
}

.credits-badge--dev {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.credits-badge--staff {
  color: #a855f7;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
}

.credits-badge--member {
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.45);
}

.credits-badge--mm-hr,
.credits-badge--mm-expert,
.credits-badge--mm-advanced,
.credits-badge--mm-senior,
.credits-badge--mm,
.credits-badge--mm-beginner,
.credits-badge--mm-starter {
  color: rgb(var(--rank));
  text-shadow: 0 0 12px rgba(var(--rank), 0.45);
}

a.credits-name-row {
  color: inherit;
}

@keyframes credits-pan {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, -1.4%, 0);
  }
}

@keyframes credits-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes credits-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes credits-shine {
  to {
    transform: translateX(130%);
  }
}

@keyframes credits-badge-idle {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 14px rgba(147, 197, 253, 0.12);
  }
}

.profile-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 8rem 1.5rem 3rem;
}

.profile-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 28%, rgba(96, 165, 250, 0.16), transparent 16%),
    radial-gradient(circle at 80% 72%, rgba(59, 130, 246, 0.14), transparent 18%);
  animation: hero-orbs 9s ease-in-out infinite alternate;
}

body[data-role="owner"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 212, 59, 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(255, 184, 48, 0.12), transparent 20%);
}

body[data-role="coowner"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(93, 184, 255, 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(59, 130, 246, 0.16), transparent 20%);
}

body[data-role="management"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(199, 125, 255, 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(147, 51, 234, 0.14), transparent 20%);
}

body[data-role="hmod"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 126, 182, 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(244, 114, 182, 0.14), transparent 20%);
}

body[data-role="mod"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(154, 120, 232, 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(124, 92, 212, 0.14), transparent 20%);
}

body[data-role="mm-hr"] { --glow: 36, 78, 186; }
body[data-role="mm-expert"] { --glow: 255, 212, 59; }
body[data-role="mm-advanced"] { --glow: 255, 68, 68; }
body[data-role="mm-senior"] { --glow: 62, 224, 106; }
body[data-role="mm"] { --glow: 22, 148, 74; }
body[data-role="mm-beginner"] { --glow: 59, 130, 246; }
body[data-role="mm-starter"] { --glow: 255, 126, 182; }

body[data-role^="mm"] .profile-orbs {
  background:
    radial-gradient(circle at 22% 30%, rgba(var(--glow), 0.22), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(var(--glow), 0.14), transparent 20%);
}

.profile-card {
  --mx: 50%;
  --my: 28%;
  position: relative;
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.45rem;
  padding: 2.1rem 2.6rem 1.7rem;
  background: linear-gradient(180deg, rgba(8, 22, 48, 0.86), rgba(0, 0, 0, 0.78));
  border: 1px solid rgba(var(--glow), 0.7);
  border-radius: 20px;
  animation:
    profile-card-glow 2.6s ease-in-out infinite,
    credits-rise 0.85s ease backwards;
}

.profile-card-fx {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.profile-card-fx::before {
  content: "";
  position: absolute;
  inset: -70%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(var(--glow), 0.7) 55deg,
    rgba(255, 255, 255, 0.28) 95deg,
    transparent 150deg
  );
  animation: credits-spin 9s linear infinite;
  opacity: 0.7;
}

.profile-card-fx::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background:
    radial-gradient(
      280px circle at var(--mx) var(--my),
      rgba(var(--glow), 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(8, 22, 48, 0.94), rgba(0, 0, 0, 0.9));
}

.profile-card > :not(.profile-card-fx) {
  position: relative;
  z-index: 1;
}

.profile-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(var(--glow));
  text-shadow: 0 0 12px rgba(var(--glow), 0.45);
  animation: credits-rise 0.7s ease 0.08s backwards;
}

.profile-card--owner {
  --glow: 255, 212, 59;
}

.profile-card--coowner {
  --glow: 93, 184, 255;
}

.profile-card--management {
  --glow: 199, 125, 255;
}

.profile-card--hmod {
  --glow: 255, 126, 182;
}

.profile-card--mod {
  --glow: 154, 120, 232;
}

.profile-card--mm-hr { --glow: 36, 78, 186; }
.profile-card--mm-expert { --glow: 255, 212, 59; }
.profile-card--mm-advanced { --glow: 255, 68, 68; }
.profile-card--mm-senior { --glow: 62, 224, 106; }
.profile-card--mm { --glow: 22, 148, 74; }
.profile-card--mm-beginner { --glow: 59, 130, 246; }
.profile-card--mm-starter { --glow: 255, 126, 182; }

.profile-card--mm-hr,
.profile-card--mm-expert,
.profile-card--mm-advanced,
.profile-card--mm-senior,
.profile-card--mm,
.profile-card--mm-beginner,
.profile-card--mm-starter {
  --rank: var(--glow);
}

@keyframes profile-card-glow {
  0%,
  100% {
    border-color: rgba(var(--glow), 0.55);
    box-shadow:
      0 0 12px rgba(var(--glow), 0.35),
      0 0 28px rgba(var(--glow), 0.18),
      inset 0 0 14px rgba(var(--glow), 0.08);
  }
  50% {
    border-color: rgba(var(--glow), 0.95);
    box-shadow:
      0 0 20px rgba(var(--glow), 0.7),
      0 0 42px rgba(var(--glow), 0.38),
      inset 0 0 20px rgba(var(--glow), 0.16);
  }
}

.profile-card .credits-avatar-wrap {
  --ring: var(--glow);
  width: 14.5rem;
  height: 14.5rem;
  animation: credits-rise 0.75s ease 0.14s backwards;
}

.profile-card .credits-avatar--initials {
  font-size: 3.15rem;
}

.profile-card .credits-avatar-wrap::before {
  inset: -7px;
  opacity: 0.8;
  animation: credits-spin 4.8s linear infinite;
}

.profile-card .credits-avatar {
  width: 100%;
  height: 100%;
  border-color: rgb(var(--glow));
  animation: profile-avatar-glow 2.6s ease-in-out infinite;
}

.profile-card .credits-avatar::after {
  animation: credits-shine 3.6s ease-in-out 1.1s infinite;
}

@keyframes profile-avatar-glow {
  0%,
  100% {
    box-shadow:
      0 0 16px rgba(var(--glow), 0.7),
      0 0 34px rgba(var(--glow), 0.4);
  }
  50% {
    box-shadow:
      0 0 26px rgba(var(--glow), 1),
      0 0 52px rgba(var(--glow), 0.6);
  }
}

.profile-card .credits-name {
  font-size: 2.25rem;
  color: rgb(var(--glow));
  animation:
    profile-name-glow 2.6s ease-in-out infinite,
    credits-rise 0.7s ease 0.22s backwards;
}

@keyframes profile-name-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(var(--glow), 0.55);
  }
  50% {
    text-shadow:
      0 0 16px rgba(var(--glow), 0.95),
      0 0 28px rgba(var(--glow), 0.5);
  }
}

.profile-card .credits-badge {
  font-size: 1.02rem;
  min-height: 2.65rem;
  padding: 0.42rem 1.15rem;
  border-radius: 999px;
  border-color: rgba(var(--glow), 0.75);
  animation:
    profile-badge-glow 2.6s ease-in-out infinite,
    credits-rise 0.7s ease 0.3s backwards;
}

@keyframes profile-badge-glow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(var(--glow), 0.4);
  }
  50% {
    box-shadow:
      0 0 18px rgba(var(--glow), 0.85),
      0 0 32px rgba(var(--glow), 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-orbs,
  .profile-card,
  .profile-card-fx::before,
  .profile-kicker,
  .profile-card .credits-avatar-wrap,
  .profile-card .credits-avatar-wrap::before,
  .profile-card .credits-avatar,
  .profile-card .credits-avatar::after,
  .profile-card .credits-name,
  .profile-card .credits-badge,
  .profile-actions {
    animation: none;
  }

  .profile-btn:hover {
    transform: none;
  }
}

#profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.profile-card .credits-badge--management .credits-badge-icon {
  width: 1.5em;
  height: 1.5em;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(var(--glow), 0.28);
  animation: credits-rise 0.7s ease 0.38s backwards;
}

.profile-actions-row {
  display: flex;
  gap: 0.8rem;
}

.profile-actions-row[hidden] {
  display: none;
}

.profile-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 10.5rem;
  padding: 0.78rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 18, 32, 0.82);
  color: #e8f0ff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.profile-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.profile-btn:hover {
  transform: translateY(-2px);
}

.profile-btn:hover::after {
  animation: credits-shine 0.7s ease;
}

.profile-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.profile-btn--discord:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
}

.profile-btn--roblox:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.profile-btn--return {
  min-width: 22rem;
}

.profile-btn--return:hover {
  background: #e2231a;
  border-color: #e2231a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(226, 35, 26, 0.35);
}

@media (max-width: 900px) {
  .credits-people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.65rem;
  }
}

@media (max-width: 640px) {
  .headbar {
    padding: 0 max(1.1rem, env(safe-area-inset-right)) 0 max(1.1rem, env(safe-area-inset-left));
  }

  .brand {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .logo {
    font-size: 1.45rem;
  }

  .hero,
  .section,
  .credits-content,
  .profile-page {
    padding-left: max(1.1rem, env(safe-area-inset-left));
    padding-right: max(1.1rem, env(safe-area-inset-right));
  }

  .hero {
    min-height: 100svh;
    padding-top: 6.4rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    justify-content: flex-end;
  }

  .hero-inner {
    max-width: 100%;
    padding-bottom: 0.4rem;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .hero p {
    font-size: 1.02rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1.35rem;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
    min-height: 2.85rem;
  }

  .hero-pills {
    gap: 0.45rem;
  }

  .hero-pills li {
    font-size: 0.74rem;
    padding: 0.32rem 0.7rem;
  }

  .credits-content {
    gap: 0.95rem;
    padding-top: 6.6rem;
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  }

  .credits-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-align: center;
  }

  .credits-title {
    font-size: clamp(1.2rem, 6.4vw, 1.7rem);
    letter-spacing: 0.03em;
    padding-bottom: 0.65rem;
  }

  .credits-panel {
    width: 100%;
    padding: 0.8rem 0.7rem 0.85rem;
    border-radius: 16px;
  }

  .credits-panel__title {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    gap: 0.55rem;
  }

  .credits-people {
    gap: 0.35rem 0.35rem;
    padding-top: 0.55rem;
  }

  .credits-person {
    gap: 0.4rem;
    padding: 0.45rem 0.28rem 0.55rem;
  }

  .credits-person:hover {
    transform: none;
  }

  .credits-avatar-wrap {
    width: 6.35rem;
    height: 6.35rem;
  }

  .credits-name {
    font-size: 1.02rem;
  }

  .credits-link-icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .credits-badge {
    font-size: 0.72rem;
    min-height: 2.15rem;
    padding: 0.28rem 0.5rem 0.28rem 0.55rem;
    gap: 0.28rem;
    max-width: 100%;
  }

  .credits-badge--management .credits-badge-icon {
    width: 1.05em;
    height: 1.05em;
  }

  .credits-avatar--initials {
    font-size: 1.25rem;
  }

  .credits-badge--hmod,
  .credits-badge--mm-hr,
  .credits-badge--mm-advanced,
  .credits-badge--mm-beginner,
  .credits-badge--mm-expert,
  .credits-badge--mm-senior,
  .credits-badge--mm-starter {
    font-size: 0.64rem;
    padding-left: 0.42rem;
    padding-right: 0.42rem;
  }

  .profile-page {
    padding-top: 6.4rem;
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
    justify-content: flex-start;
  }

  .profile-card {
    width: 100%;
    gap: 1.15rem;
    padding: 1.35rem 1rem 1.2rem;
    border-radius: 16px;
  }

  .profile-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .profile-card .credits-avatar-wrap {
    width: 8.6rem;
    height: 8.6rem;
  }

  .profile-card .credits-name {
    font-size: 1.7rem;
  }

  .profile-card .credits-badge {
    font-size: 0.95rem;
    min-height: 2.7rem;
    padding: 0.4rem 1rem;
  }

  .profile-actions {
    gap: 0.65rem;
    padding-top: 0.95rem;
  }

  .profile-actions-row {
    width: 100%;
    gap: 0.55rem;
  }

  .profile-btn {
    min-width: 0;
    flex: 1;
    width: 100%;
    padding: 0.72rem 0.9rem;
    font-size: 0.95rem;
  }

  .profile-btn--return {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    justify-content: center;
    min-height: auto;
    padding-top: 5.2rem;
    padding-bottom: 1.4rem;
  }

  .hero-pills {
    display: none;
  }

  .profile-page {
    justify-content: center;
    padding-top: 5.2rem;
  }

  .profile-card .credits-avatar-wrap {
    width: 6.5rem;
    height: 6.5rem;
  }
}

/* ── TMMS Verification Portal Styles ─────────────────────────── */
.verify-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.verify-panel {
  position: relative;
  background: rgba(0, 12, 35, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 1.5rem;
  padding: 2.25rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.15);
  overflow: hidden;
}

.verify-panel__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.verify-panel__subtitle {
  font-size: 0.95rem;
  color: #93c5fd;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.verify-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .verify-form-row {
    grid-template-columns: 1fr;
  }
}

.verify-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verify-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 18, 48, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 0.85rem;
  color: #ffffff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.verify-input:focus {
  border-color: #60a5fa;
  background: rgba(0, 24, 64, 0.85);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

.verify-passphrase-card {
  margin: 1.25rem 0;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.25);
  border: 1px dashed rgba(96, 165, 250, 0.6);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.verify-code-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.verify-code-display {
  flex: 1;
  min-width: 240px;
  padding: 0.9rem 1.2rem;
  background: rgba(0, 5, 18, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 0.75rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.verify-status-box {
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}

.verify-status--success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.verify-status--warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
}

.verify-status--danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.verify-status--info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}
