/* --- پایه --- */

@font-face {
  font-family: "Vazir";
  src:
    url("/assets/fonts/vazir/Vazir-Medium.woff2") format("woff2"),
    url("/assets/fonts/vazir/Vazir-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazir, sans-serif;
}

body {
  font-family: "Vazir", Tahoma, Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #faf7f0;
  color: #6d5e2e;
  padding: 20px;
}

/* --- کانتینر مرکزی --- */
.container {
  max-width: 600px;
  width: 100%;
}

/* --- لوگو --- */
.logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 16px;
  /*! border: 2px solid #d4af37; */ /* طلایی مات */
  display: flex;
  align-items: center;
  justify-content: center;
  /*! background-color: #fff; */
}

.logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

/* --- متن پیام --- */
.message {
  font-size: 17px;
  line-height: 2;
  color: #4a3b00;
}

/* --- نوار پیشرفت ساده --- */
.progress {
  width: 60%;
  height: 6px;
  background-color: #eee;
  border-radius: 4px;
  margin: 25px auto 0;
  overflow: hidden;
}

.progress .bar {
  height: 100%;
  width: 10%;
  background-color: #ffcb00;
  border-radius: 4px;
  /*! animation: pulse 2s infinite alternate ease-in-out; */
}

@keyframes pulse {
  from {
    width: 25%;
    opacity: 0.8;
  }
  to {
    width: 70%;
    opacity: 1;
  }
}

/* --- فوتر --- */
footer {
  position: absolute;
  bottom: 20px;
  font-size: 15px;
  color: #7e6c3c;
}

footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}
.title {
  font-size: 64px;
  font-weight: 700;
  color: #ffcb00;
  margin-bottom: 20px;
}
/* --- ریسپانسیو --- */
@media (max-width: 600px) {
  .logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
  }

  .message {
    font-size: 15px;
  }

  .progress {
    width: 80%;
  }
}
