
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

:root {
  --sky: #38bdf8;
  --blue: #0284c7;
  --dark: #10263b;
  --green: #65c466;
  --white: #ffffff;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 15%, #dff5ff 0, transparent 35%),
    linear-gradient(135deg, #f4fbff, #e7f5ff);
  color: var(--dark);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

button {
  font: inherit;
}

.topbar {
  min-height: 76px;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid #d8effb;
  box-shadow: 0 5px 25px rgba(30,100,150,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  direction: ltr;
}

.brand-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sky);
  color: white;
  box-shadow: 0 5px 15px #38bdf855;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-btn {
  border: 0;
  background: transparent;
  color: #52677a;
  padding: 9px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
  font-size: 14px;
}

.nav-btn:hover,
.nav-btn.active {
  background: #e0f5ff;
  color: #0284c7;
}

.server-tag {
  direction: ltr;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #0284c7;
  font-weight: 900;
}

.main {
  width: min(1100px, 90%);
  margin: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 0;
}

.page {
  display: none;
  width: 100%;
  animation: appear .3s ease;
}

.page.active {
  display: block;
}

@keyframes appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 35px;
  min-height: 440px;
}

.hero-content {
  max-width: 590px;
}

.eyebrow {
  display: inline-block;
  color: #0284c7;
  background: #dff5ff;
  padding: 6px 13px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 49px);
  line-height: 1.5;
  font-weight: 900;
  margin: 18px 0 12px;
}

.hero h1 span,
.section-heading h2 span {
  color: #0284c7;
  direction: ltr;
  display: inline-block;
}

.hero-content > p {
  color: var(--muted);
  line-height: 2;
  font-size: 14px;
}

.server-box {
  margin-top: 25px;
  background: white;
  border: 1px solid #d9effb;
  border-radius: 17px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 30px #3b9dcc12;
  max-width: 390px;
}

.server-box div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.server-box small {
  color: #8294a4;
  font-size: 11px;
}

.server-box strong {
  direction: ltr;
  font-size: 17px;
  letter-spacing: .5px;
}

.copy-btn {
  background: var(--sky);
  color: white;
  border: 0;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: .2s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.copy-message {
  min-height: 24px;
  color: #159447;
  font-size: 12px;
  margin-top: 5px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 30px;
  background: #e9f9ed;
  color: #238a42;
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #45c66b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #45c66b25;
}

.block-art {
  height: 330px;
  position: relative;
  display: grid;
  place-items: center;
}

.big-block {
  width: 190px;
  height: 190px;
  position: relative;
  transform: rotate(-8deg);
  border-radius: 12px;
  box-shadow: 20px 25px 0 #174d39, 0 35px 50px #245c4740;
  background: #8b5a38;
  border: 7px solid #ffffff80;
}

.grass-top {
  position: absolute;
  height: 35px;
  width: 100%;
  top: 0;
  left: 0;
  background: repeating-linear-gradient(90deg, #56bd50 0 25px, #48a944 25px 50px);
  border-radius: 5px 5px 0 0;
}

.small-block {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 9px;
  box-shadow: 7px 9px 0 #0002;
}

.stone {
  background: #9ba9b3;
  top: 25px;
  left: 8%;
  transform: rotate(12deg);
}

.diamond {
  display: grid;
  place-items: center;
  background: #47d8d1;
  color: white;
  font-size: 35px;
  bottom: 25px;
  right: 8%;
  transform: rotate(12deg);
}

.pixel-star {
  position: absolute;
  right: 12%;
  top: 0;
  color: #f4c94e;
  font-size: 45px;
}

.bottom-note {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d5eaf5;
  padding-top: 15px;
  color: #8296a7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  direction: ltr;
}

.section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 12px 0 5px;
  font-weight: 900;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.rank-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rank-card {
  text-align: center;
  background: white;
  border: 1px solid #deeff9;
  border-radius: 20px;
  padding: 28px 15px;
  box-shadow: 0 12px 30px #3b9dcc12;
  transition: .25s;
}

.rank-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
}

.rank-symbol {
  width: 65px;
  height: 65px;
  margin: auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  font-weight: 900;
  direction: ltr;
}

.starter .rank-symbol { background: #38a8d9; }
.pro .rank-symbol { background: #8c75d8; }
.mythic .rank-symbol { background: #e3a83e; }

.rank-card h3 {
  direction: ltr;
  margin: 15px 0 5px;
  font-size: 20px;
}

.rank-card p {
  color: var(--muted);
  font-size: 12px;
}

.rank-level {
  display: inline-block;
  margin-top: 17px;
  background: #eff8fd;
  color: #0284c7;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 10px;
  font-weight: 900;
  direction: ltr;
}

.coming-note {
  text-align: center;
  color: #8294a4;
  font-size: 12px;
  margin-top: 20px;
}

.gallery-card {
  min-height: 175px;
  background: white;
  border: 1px solid #d9effb;
  border-radius: 20px;
  box-shadow: 0 12px 30px #3b9dcc12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: .25s;
}

.gallery-card span {
  font-size: 45px;
  color: #38aee4;
}

.gallery-card b {
  font-size: 14px;
}

.rules-list {
  max-width: 700px;
  margin: auto;
  display: grid;
  gap: 12px;
}

.rule {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 18px;
  background: white;
  border: 1px solid #deeff9;
  border-radius: 13px;
  box-shadow: 0 5px 15px #3b9dcc0b;
  font-size: 13px;
}

.rule b {
  color: #0284c7;
  direction: ltr;
  font-size: 15px;
}

.contact-card {
  max-width: 460px;
  margin: auto;
  text-align: center;
  padding: 35px 25px;
  border-radius: 22px;
  background: white;
  border: 1px solid #d9effb;
  box-shadow: 0 12px 30px #3b9dcc12;
}

.contact-icon {
  font-size: 40px;
  color: #0284c7;
}

.contact-card h3 {
  margin: 12px 0;
}

.contact-card p {
  color: var(--muted);
  line-height: 2;
  font-size: 13px;
}

.contact-status {
  display: inline-block;
  margin-top: 18px;
  color: #0284c7;
  background: #e4f6ff;
  border-radius: 20px;
  padding: 7px 15px;
  font-size: 10px;
  font-weight: 900;
  direction: ltr;
}

.footer {
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8296a7;
  font-size: 10px;
  border-top: 1px solid #d5eaf5;
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
  }

  .server-tag {
    display: none;
  }

  .navigation {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .main {
    width: 92%;
    padding: 30px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 5px;
  }

  .hero-content {
    margin: auto;
  }

  .server-box {
    margin-left: auto;
    margin-right: auto;
    text-align: right;
  }

  .block-art {
    height: 230px;
  }

  .big-block {
    width: 145px;
    height: 145px;
  }

  .rank-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
}
