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

:root {
  --bg: #0a0a0a;
  --card: #111;
  --border: #222;
  --text: #f0f0f0;
  --muted: #555;
  --accent: #9300fb;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 80px;
}

@media (max-width: 480px) {
  body { padding: 40px 16px 60px; }
}

#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  gap: 36px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

#loader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.1) 2px,
    rgba(0,0,0,0.1) 4px
  );
  pointer-events: none;
}

.lc {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}

.lc.tl { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.lc.tr { top: 20px; right: 20px; border-width: 2px 2px 0 0; }
.lc.bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; }
.lc.br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

.loader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 18vw, 120px);
  letter-spacing: 8px;
  color: #fff;
  line-height: 1;
  z-index: 1;
}

.loader-logo span {
  color: var(--accent);
}

.loader-bottom {
  width: min(340px, 82vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.loader-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loader-status {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.loader-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.bar-bg {
  width: 100%;
  height: 3px;
  background: #1c1c1c;
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.12s linear;
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

header {
  text-align: center;
  margin-bottom: 56px;
  width: 100%;
}

header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 14vw, 110px);
  letter-spacing: 4px;
  line-height: 1;
  color: var(--text);
}

header h1 span {
  color: var(--accent);
}

header p {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* SECTION */
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 24px;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-gap {
  height: 48px;
}

@media (max-width: 480px) {
  .section-gap { height: 32px; }
  header { margin-bottom: 36px; }
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 900px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: clamp(120px, 38vw, 148px);
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
  opacity: 0;
  animation: fadeUp 0.5s forwards;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #444;
}

.card.founder {
  border-color: var(--accent);
  width: clamp(130px, 42vw, 165px);
}

.card.founder:hover {
  border-color: var(--accent);
  filter: brightness(1.05);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PROFILE */
.pfp-wrap {
  position: relative;
  flex-shrink: 0;
}

.pfp {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #222;
}

.founder .pfp {
  width: 84px;
  height: 84px;
}

.pfp-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--accent);
}

.founder .pfp-placeholder {
  width: 84px;
  height: 84px;
  font-size: 32px;
}

.status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--card);
}

.s-online  { background: #3ba55c; }
.s-idle    { background: #9300fb; }
.s-dnd     { background: #ed4245; }
.s-offline { background: #747f8d; }

/* TEXT */
.username {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  word-break: break-all;
}

.handle {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.founder-badge {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.shimmer-ring {
  border-radius: 50%;
  background: #1a1a1a;
  animation: shimmer 1.2s infinite;
}

.shimmer-line {
  height: 11px;
  background: #1a1a1a;
  border-radius: 4px;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

footer {
  margin-top: 72px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-align: center;
}