@font-face {
  font-family: "Minecraft";
  src: url("../fonts/Minecraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #080b10;
  --panel: #10151d;
  --panel-hover: #151c26;
  --text: #f4f7fb;
  --muted: #9aa6b5;
  --accent: #55e06f;
  --accent-dark: #2e9e46;
  --border: #27313d;
}

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

body {
  font-family: "Minecraft", monospace;
  background:
    radial-gradient(circle at 50% -10%, #1b3422 0%, transparent 45%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVBAR */

nav {
  position: sticky;
  top: 0;
  z-index: 100;

  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 20px;
}

.logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

nav a {
  color: var(--muted);
  transition: 0.2s;
}

nav a:hover {
  color: var(--accent);
}

/* HERO */

.hero {
  text-align: center;
  padding: 90px 20px 65px;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;

  filter: drop-shadow(0 0 25px rgba(85, 224, 111, 0.3));
}

.hero h1 {
  font-size: clamp(32px, 6vw, 58px);
  margin-bottom: 15px;
}

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

.hero p {
  max-width: 650px;
  margin: auto;

  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* RANKS */

.store {
  width: min(1200px, 92%);
  margin: auto;
  padding-bottom: 100px;
}

.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.section-title h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--muted);
}

.ranks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rank {
  position: relative;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.01)
  );

  border: 1px solid var(--border);
  border-radius: 14px;

  padding: 24px;
  padding-bottom: 50px;

  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.rank:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  background: var(--panel-hover);
}

.rank-image {
  width: 130px;
  height: 130px;

  object-fit: contain;
  display: block;
  margin: 5px auto 20px;
}

.rank-name {
  text-align: center;
  font-size: 25px;
  margin-bottom: 8px;
}

.rank-price {
  text-align: center;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 22px;
}

.description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.features {
  list-style: none;
  margin-bottom: 25px;
}

.features li {
  color: #d7dee7;
  font-size: 13px;
  margin-bottom: 10px;
}

.features li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}

.buy {
  display: block;

  padding: 13px;

  border: 1px solid var(--accent);
  border-radius: 8px;

  background: var(--accent);
  color: #061008;

  text-align: center;
  font-weight: bold;

  cursor: pointer;

  transition: 0.2s;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 15px;
}

.buy:hover {
  background: transparent;
  color: var(--accent);
}

/* INFO */

.info {
  width: min(850px, 92%);
  margin: 0 auto 100px;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--panel);

  text-align: center;
}

.info h3 {
  margin-bottom: 10px;
}

.info p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);

  padding: 30px 20px;

  text-align: center;
  color: var(--muted);

  font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .ranks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 20px;
  }

  nav > a {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .ranks {
    grid-template-columns: 1fr;
  }

  .rank {
    padding: 25px;
  }
}
img {
  image-rendering: pixelated;
}
