/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, #0b1f57 0%, #020617 50%);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,100,255,0.15), transparent 50%);
  pointer-events: none;
}

/* NAVBAR */

.navbar {
  width: 100%;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 40px;

  background: rgba(6, 11, 28, 0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);

  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f6a623;

  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: #98a3c3;
  padding: 14px 18px;
  border-radius: 12px;
  transition: 0.2s;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links .active {
  background: rgba(255,255,255,0.08);
  color: white;
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

.member-btn,
.support-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
}

.member-btn {
  background: linear-gradient(to right, #ff9f1c, #ff7b00);
  color: black;
}

.support-btn {
  background: #0f7acb;
  color: white;
}

/* MAIN */

.container {
  width: 100%;
  max-width: 760px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
}

/* RANK LIST */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rank-card {
  background: rgba(17, 25, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.05);

  border-radius: 18px;

  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: 0.25s;
}

.rank-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-number {
  width: 42px;
  height: 42px;

  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: 18px;

  background: #25314d;
}

.gold {
  background: #e8b000;
  color: black;
}

.silver {
  background: #cfd7e6;
  color: black;
}

.bronze {
  background: #d07b18;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.rank-info p {
  color: #8190b5;
  font-size: 14px;
}

.score {
  min-width: 70px;
  height: 36px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
}

.score.up {
  background: rgba(0,255,170,0.14);
  color: #00ffa6;
}

.score.down {
  background: rgba(255,80,110,0.14);
  color: #ff4f78;
}

.score.neutral {
  background: rgba(255,255,255,0.08);
  color: #aab4d4;
}

@media (max-width: 900px) {

  .navbar {
    flex-direction: column;
    height: auto;
    gap: 18px;
    padding: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .rank-card {
    padding: 14px;
  }

  .rank-info h3 {
    font-size: 18px;
  }

}