/* =========================================
   EGGY POOL RANKED PAGE
========================================= */

.ranked-hero {
  margin-top: 18px;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(0,255,225,.15), transparent 35%),
    radial-gradient(circle at top right, rgba(124,58,237,.18), transparent 40%),
    linear-gradient(145deg, rgba(10,18,32,.96), rgba(4,8,16,.94));
  border: 1px solid rgba(0,255,225,.20);
  box-shadow: 0 22px 58px rgba(0,0,0,.35);
}

.ranked-hero span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,255,225,.10);
  border: 1px solid rgba(0,255,225,.20);
  color: #00ffe1;
  font-size: 12px;
  font-weight: 950;
}

.ranked-hero h1 {
  margin: 10px 0 8px;
  color: #00ffe1;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
}

.ranked-hero p {
  color: #d8e8f7;
  max-width: 820px;
  line-height: 1.45;
}

.ranked-user {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(82,255,168,.10);
  border: 1px solid rgba(82,255,168,.22);
  color: #dffff0;
  font-weight: 850;
}

.ranked-user.guest {
  background: rgba(255,209,102,.10);
  border-color: rgba(255,209,102,.24);
  color: #fff4ce;
}

.ranked-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ranked-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(0,255,225,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.26);
}

.ranked-card em {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0,255,225,.10);
  border: 1px solid rgba(0,255,225,.16);
  font-style: normal;
  font-size: 24px;
}

.ranked-card h2 {
  color: #ffffff;
  margin: 14px 0 8px;
}

.ranked-card p {
  color: #b8c7d9;
  font-size: 14px;
  line-height: 1.4;
}

.ranked-card a {
  margin-top: 10px;
  min-height: 44px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, #00ffe1, #7c3aed);
  color: #07101d;
  font-weight: 950;
}

.ranked-info {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(10,18,32,.88);
  border: 1px solid rgba(0,255,225,.14);
}

.ranked-info h2 {
  margin: 0 0 12px;
  color: #00ffe1;
}

.ranked-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ranked-steps div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.ranked-steps b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #00ffe1;
  color: #07101d;
  margin-bottom: 8px;
}

.ranked-steps span {
  display: block;
  color: #b8c7d9;
}

@media (max-width: 1050px) {
  .ranked-grid,
  .ranked-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ranked-grid,
  .ranked-steps {
    grid-template-columns: 1fr;
  }
}
