:root {
  --bg: #061521;
  --panel: rgba(9, 31, 47, 0.88);
  --line: rgba(129, 222, 255, 0.14);
  --text: #f5fbff;
  --muted: #8eabb9;
  --aqua: #67e8f9;
  --violet: #a78bfa;
  --green: #68e6b7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(
    circle at 50% -15%,
    #15425a 0,
    #081d2c 36%,
    var(--bg) 72%
  );
  color: var(--text);
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  min-height: 100vh;
}
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
}
.ambient-a {
  width: 500px;
  height: 500px;
  background: #22d3ee;
  left: -250px;
  top: 10%;
}
.ambient-b {
  width: 550px;
  height: 550px;
  background: #8b5cf6;
  right: -280px;
  bottom: -200px;
}
button {
  font: inherit;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(4, 18, 29, 0.76);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: white;
  font-size: 20px;
}
.brand b {
  color: var(--aqua);
}
.brand-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(145deg, var(--aqua), #5274ef);
}
nav {
  display: flex;
  gap: 5px;
  flex: 1;
}
.nav-link {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 11px 14px;
  border-radius: 11px;
  cursor: pointer;
}
.nav-link.active,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: white;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}
.profile small {
  display: block;
  color: #f7cc6b;
  font-size: 10px;
  margin-top: 2px;
}
main {
  width: min(1380px, calc(100% - 40px));
  margin: 38px auto 70px;
}
.view {
  display: none;
}
.view.active {
  display: block;
  animation: show 0.25s ease;
}
@keyframes show {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}
.card {
  background: linear-gradient(
    145deg,
    rgba(13, 43, 62, 0.9),
    rgba(7, 26, 40, 0.88)
  );
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}
.eyebrow {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  color: var(--aqua);
}
h1 {
  font-size: 48px;
  margin: 10px 0 18px;
  line-height: 1;
}
h2 {
  margin: 7px 0 13px;
}
.lead {
  max-width: 690px;
  color: #aac0ca;
  line-height: 1.7;
}
.hero {
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  align-items: center;
  min-height: 390px;
}
.hero-stats {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.hero-stats div {
  min-width: 145px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 15px;
}
.hero-stats small,
.summary-grid small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.hero-stats b {
  font-size: 22px;
  display: block;
  margin-top: 6px;
}
.equipped-box {
  text-align: center;
}
.equipped-title {
  display: block;
  margin: 19px 0 13px;
}
.primary,
.secondary {
  padding: 11px 17px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.primary {
  border: 0;
  color: #042431;
  background: linear-gradient(135deg, var(--aqua), #62c7ff);
}
.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}
.bubble-render {
  position: relative;
  border-radius: 50%;
  margin: 18px auto;
  background: radial-gradient(
    circle at 35% 25%,
    rgba(103, 232, 249, 0.18),
    rgba(20, 49, 69, 0.1)
  );
  box-shadow:
    inset 0 0 35px rgba(103, 232, 249, 0.13),
    0 0 35px rgba(103, 232, 249, 0.08);
}
.overview-bubble {
  width: 185px;
  height: 185px;
}
.large-bubble {
  width: 255px;
  height: 255px;
  margin-top: 32px;
}
.bubble-skin,
.bubble-frame,
.tier-decoration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.bubble-skin {
  z-index: 1;
  border-radius: 50%;
}
.bubble-frame {
  z-index: 3;
}
.tier-decoration {
  z-index: 4;
}
.bubble-render:after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, 0.18);
  z-index: 0;
}
.pass {
  padding: 29px;
  margin-top: 24px;
}
.section-head,
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.pill {
  padding: 9px 13px;
  border: 1px solid rgba(104, 230, 183, 0.25);
  background: rgba(104, 230, 183, 0.08);
  color: var(--green);
  border-radius: 99px;
  font-size: 11px;
}
.progress {
  height: 11px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  margin: 19px 0 29px;
  position: relative;
}
.progress i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #30d6ec, #7587fb, #ba6cf1);
  border-radius: inherit;
}
.progress span {
  position: absolute;
  right: 0;
  top: -25px;
  color: var(--aqua);
  font-size: 11px;
}
.reward-track {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 9px;
}
.reward {
  height: 76px;
  border: 1px solid rgba(104, 230, 183, 0.18);
  background: rgba(104, 230, 183, 0.035);
  border-radius: 13px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  position: relative;
}
.reward span {
  font-size: 18px;
}
.reward b {
  font-size: 11px;
}
.reward:after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 7px;
  color: var(--green);
  font-size: 9px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 24px;
  margin-top: 24px;
}
.summary,
.pity {
  padding: 27px;
}
.link {
  background: none;
  border: 0;
  color: var(--aqua);
  cursor: pointer;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-top: 19px;
}
.summary-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  font-size: 22px;
}
.summary-grid b {
  display: block;
  font-size: 19px;
  margin: 5px 0;
}
.pity-row {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 12px;
}
.pity-row span {
  color: var(--muted);
}
.tiny {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  margin-top: 8px;
}
.tiny i {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  border-radius: inherit;
}
.page-head {
  margin-bottom: 23px;
}
.page-head h1 {
  margin-bottom: 0;
}
.customizer {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}
.preview-panel {
  padding: 29px;
  text-align: center;
  align-self: start;
  position: sticky;
  top: 104px;
}
.preview-panel p {
  color: var(--muted);
}
.preview-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.save-note {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 15px;
}
.collection-panel {
  padding: 23px;
}
.tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 19px;
}
.tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  padding: 10px 15px;
  border-radius: 11px;
  cursor: pointer;
}
.tab.active {
  color: var(--aqua);
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(103, 232, 249, 0.08);
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.collect {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 17px;
  padding: 11px;
  color: white;
  text-align: left;
  cursor: pointer;
  position: relative;
  min-width: 0;
}
.collect:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.35);
}
.collect.selected {
  outline: 2px solid var(--aqua);
  background: rgba(103, 232, 249, 0.075);
}
.collect.equipped:before {
  content: "ÉQUIPÉ";
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 4;
  background: #082330;
  color: var(--aqua);
  font-size: 8px;
  font-weight: 900;
  padding: 4px 6px;
  border-radius: 7px;
}
.collect.foil:after {
  content: "FOIL";
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 4;
  color: #ffe48a;
  background: rgba(6, 21, 33, 0.8);
  font-size: 8px;
  font-weight: 900;
  padding: 4px 6px;
  border-radius: 7px;
}
.thumb {
  height: 128px;
  border-radius: 12px;
  background: radial-gradient(
    circle,
    rgba(103, 232, 249, 0.09),
    rgba(167, 139, 250, 0.04)
  );
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  overflow: hidden;
  position: relative;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb .frame-thumb {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
}
.collect b {
  font-size: 12px;
}
.collect small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.chest-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.chest {
  padding: 28px;
  text-align: center;
}
.chest > div {
  font-size: 60px;
}
.chest > b {
  display: block;
  color: var(--aqua);
  margin: 10px;
}
.chest p {
  color: var(--muted);
  font-size: 12px;
  min-height: 35px;
}
.chest button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 9px 13px;
  border-radius: 10px;
}
.chest button:disabled {
  opacity: 0.35;
}
.stat {
  padding: 28px;
  text-align: center;
  font-size: 32px;
}
.stat b {
  display: block;
  font-size: 34px;
  margin: 10px;
}
.stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
footer {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--aqua);
  font-size: 11px;
}
footer span {
  float: right;
  color: var(--muted);
}
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .hero,
  .two-col,
  .customizer {
    grid-template-columns: 1fr;
  }
  .preview-panel {
    position: static;
  }
  .collection-grid,
  .chest-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reward-track {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 600px) {
  main {
    width: calc(100% - 24px);
    margin-top: 20px;
  }
  .topbar {
    padding: 0 12px;
  }
  .profile div {
    display: none;
  }
  .hero {
    padding: 26px;
  }
  .hero h1,
  .page-head h1 {
    font-size: 34px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats div {
    min-width: 0;
  }
  .summary-grid,
  .collection-grid,
  .chest-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reward-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head,
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
