.circle-page {
  background:
    radial-gradient(circle at 16% 10%, rgba(0, 229, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 84% 18%, rgba(201, 162, 39, 0.11), transparent 30rem),
    radial-gradient(circle at 50% 70%, rgba(34, 197, 94, 0.08), transparent 30rem),
    #050505;
}

.circle-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.circle-hero {
  min-height: 100vh;
  padding: 148px 24px 84px;
  display: grid;
  place-items: center;
}

.circle-hero-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.circle-hero-copy h1 {
  max-width: 660px;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  overflow-wrap: normal;
  word-break: normal;
}

.circle-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
}

.circle-actions,
.final-circle-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.circle-system {
  position: relative;
  min-height: 650px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 12, 12, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.circle-system::before {
  content: "";
  position: absolute;
  inset: 56px;
  border: 1px dashed rgba(0, 229, 255, 0.18);
  border-radius: 50%;
  animation: circleSpin 32s linear infinite;
}

.circle-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 62%),
    #070707;
  box-shadow: 0 0 70px rgba(0, 229, 255, 0.18);
  z-index: 2;
}

.circle-core strong,
.circle-core span {
  grid-area: 1 / 1;
}

.circle-core strong {
  margin-top: -18px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1.65rem;
}

.circle-core span {
  margin-top: 54px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.circle-node {
  position: absolute;
  width: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  z-index: 3;
}

.circle-node span,
.circle-strip span,
.circle-function-card span,
.discover-overlay span,
.phase-card span,
.bond-panel-head span {
  display: block;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.circle-node strong {
  display: block;
  margin-top: 7px;
}

.bond-node { top: 56px; left: 50%; transform: translateX(-50%); }
.discover-node { top: 178px; right: 44px; }
.pod-node { bottom: 178px; right: 44px; }
.rooms-node { bottom: 72px; left: 68px; }
.rep-node { top: 178px; left: 44px; }

.circle-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.circle-strip span {
  color: var(--muted);
}

.circle-section {
  padding: clamp(78px, 9vw, 136px) 24px;
}

.circle-section-head {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.circle-section-head p:not(.eyebrow),
.bond-copy p,
.discover-copy p,
.brotherhood-copy p,
.rooms-copy p,
.rep-copy p,
.final-circle-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.circle-function-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.circle-function-card,
.bond-rules div,
.bond-panel,
.discover-points div,
.pod-panel,
.rooms-panel,
.rooms-points div,
.rep-panel,
.final-circle-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 18, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.circle-function-card {
  min-height: 260px;
  padding: 24px;
}

.circle-function-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 50%;
}

.circle-function-card p,
.bond-rules span,
.discover-points span,
.rooms-points span {
  color: var(--muted);
}

.bond-section,
.brotherhood-section,
.reputation-section {
  background: #070707;
}

.bond-layout,
.discover-layout,
.brotherhood-layout,
.rooms-layout,
.reputation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.bond-rules,
.discover-points,
.rooms-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.bond-rules div,
.discover-points div,
.rooms-points div {
  padding: 18px;
  border-left: 3px solid var(--cyan);
}

.bond-rules strong,
.bond-rules span,
.discover-points strong,
.discover-points span,
.rooms-points strong,
.rooms-points span {
  display: block;
}

.bond-rules span,
.discover-points span,
.rooms-points span {
  margin-top: 7px;
}

.bond-panel {
  padding: clamp(22px, 4vw, 34px);
  border-color: rgba(201, 162, 39, 0.22);
}

.bond-panel-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.bond-panel-head span {
  grid-column: 1 / -1;
  color: var(--gold);
}

.bond-panel-head b {
  padding: 6px 10px;
  border-radius: 999px;
  color: #061014;
  background: var(--volt);
  font-size: 0.76rem;
}

.phase-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.07);
}

.phase-card h3 {
  margin-top: 8px;
}

.phase-card p {
  color: var(--muted);
}

.phase-track,
.pod-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.phase-track i,
.pod-progress i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.shared-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.shared-grid div,
.pod-members div,
.room-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.shared-grid span,
.pod-head span,
.room-row span {
  display: block;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shared-grid strong {
  display: block;
  margin-top: 6px;
}

.discover-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.discover-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.discover-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(14px);
}

.discover-overlay strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.55rem;
}

.discover-overlay p {
  color: var(--muted);
}

.pod-panel {
  padding: clamp(22px, 4vw, 34px);
  border-color: rgba(34, 197, 94, 0.2);
}

.pod-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pod-head span {
  color: #34d399;
}

.pod-progress {
  margin: 20px 0;
}

.pod-progress i {
  background: linear-gradient(90deg, #34d399, var(--volt));
}

.pod-members {
  display: grid;
  gap: 12px;
}

.pod-members div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.pod-members span {
  color: var(--muted);
}

.pod-members b {
  color: var(--cyan);
}

.rooms-panel {
  padding: clamp(22px, 4vw, 34px);
}

.room-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.room-row:last-child {
  margin-bottom: 0;
}

.room-row b {
  color: var(--cyan);
}

.aura-room {
  border-color: rgba(201, 162, 39, 0.28);
  background: rgba(201, 162, 39, 0.07);
}

.rep-panel {
  padding: 24px;
  border-color: rgba(0, 229, 255, 0.2);
}

.rep-score {
  width: 210px;
  height: 210px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #080808 0 52%, transparent 53%),
    conic-gradient(var(--cyan) 0 302deg, rgba(255, 255, 255, 0.09) 302deg 360deg);
}

.rep-score strong,
.rep-score span {
  grid-area: 1 / 1;
}

.rep-score strong {
  margin-top: -18px;
  font-family: var(--display);
  font-size: 4rem;
}

.rep-score span {
  margin-top: 62px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.rep-bars {
  display: grid;
  gap: 14px;
}

.rep-bars div {
  display: grid;
  gap: 8px;
}

.rep-bars span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.rep-bars i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.rep-bars i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--volt));
}

.final-circle-cta {
  padding-top: 0;
}

.final-circle-card {
  padding: clamp(32px, 6vw, 70px);
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 229, 255, 0.18), transparent 36%),
    radial-gradient(circle at 80% 100%, rgba(201, 162, 39, 0.14), transparent 36%),
    #0b0b0b;
}

.final-circle-card p {
  max-width: 760px;
  margin: 22px auto 0;
}

.final-circle-card div {
  justify-content: center;
}

@keyframes circleSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .circle-function-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .circle-hero-grid,
  .bond-layout,
  .discover-layout,
  .brotherhood-layout,
  .rooms-layout,
  .reputation-layout {
    grid-template-columns: 1fr;
  }

  .circle-hero-copy,
  .bond-copy,
  .discover-copy,
  .brotherhood-copy,
  .rooms-copy,
  .rep-copy {
    text-align: center;
  }

  .circle-actions {
    justify-content: center;
  }

  .circle-function-grid {
    grid-template-columns: 1fr;
  }

  .rooms-layout .rooms-panel,
  .discover-layout .discover-visual {
    order: 2;
  }
}

@media (max-width: 640px) {
  .circle-hero {
    padding-inline: 16px;
    padding-top: 122px;
  }

  .circle-hero-grid,
  .circle-hero-copy,
  .circle-container {
    width: 100%;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .circle-hero-copy h1 {
    width: min(100%, 350px);
    max-width: 350px;
    margin-inline: auto;
    font-size: clamp(2.15rem, 10vw, 2.75rem);
    line-height: 1.06;
  }

  .circle-lede {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .circle-actions {
    width: min(100%, 310px);
    margin-inline: auto;
  }

  .circle-actions .button {
    width: 100%;
  }

  .circle-section {
    padding-inline: 16px;
  }

  .circle-system {
    width: min(100%, 310px);
    min-height: 680px;
    margin-inline: auto;
  }

  .circle-system::before {
    display: none;
  }

  .circle-core {
    width: 138px;
    height: 138px;
  }

  .circle-node {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    transform: none;
  }

  .bond-node { top: 18px; }
  .rep-node { top: 126px; }
  .discover-node { top: 234px; }
  .pod-node { bottom: 126px; }
  .rooms-node { bottom: 18px; }

  .shared-grid,
  .pod-members div,
  .room-row {
    grid-template-columns: 1fr;
  }

  .discover-visual img {
    min-height: 380px;
  }

  .rep-score {
    width: 180px;
    height: 180px;
  }
}
