/* بارگذاری فونت Yekan با استفاده از @font-face */

@font-face {
    font-family: 'Yekan';
    src: url('../fonts/Yekan.eot');
    src: url('../fonts/Yekan.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Yekan.woff2') format('woff2'),
         url('../fonts/Yekan.woff') format('woff'),
         url('../fonts/Yekan.ttf') format('truetype'),
         url('../fonts/Yekan.svg#Yekan') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
  font-family: 'Yekan', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1.title {
  color: #1ddc1d;
  font-size: 16px;
  margin: 0;
}

p {
  color: #1fe21f;
  text-align: justify;
  direction: rtl;
  background: rgba(12, 72, 12, 0.79);
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid rgba(27,141,27,0.9);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-popup {
  margin: 25px;
  padding: 30px;
  border-radius: 15px;
  width: 300px;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  box-shadow: 0 1px 3px transparent;
  border: 1px solid rgba(27,141,27,0.9);
}

.glass-popup a {
  background-color: rgba(11,77,11,0.9);
  color: #21e921;
  text-decoration: none;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 1px 3px transparent;
  border: 1px solid rgba(27,141,27,0.9);
  transition: background-color 0.3s, color 0.3s;
  position: relative;
}

.glass-popup a:hover {
  background-color: #23aa23;
  color: #0c480c;
  font-weight: bold;
}

.glass-popup-logo img {
  width: 250px;
  animation: slideFromRight 1s forwards, bounce 2s 1s infinite;
}

@keyframes slideFromRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-2px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(2px, 0, 0);
  }
}

/* حذف انیمیشن پیش‌فرض از .phone-animation */
.phone-animation {
  display: inline-block;
}

/* کلاس shake برای اعمال انیمیشن لرزش */
.shake {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.phone-logo {
  height: 20px;
  position: absolute;
  top: 7px;
  left: 60px;
}

.p-404 {
  background: none !important;
  font-size: 250px;
  backdrop-filter: none;
  padding: 0px;
  margin: 0px;
}
.p-404-p {
  font-size: 40px;
  padding: 0px;
  margin: 0px;
  position: relative;
  top: -50px;
  background: none;
  backdrop-filter: blur(0px);
  text-align: center;
}
.glass-popup-404 a {
  padding: 10px 20px 10px 20px;
  background: #24b124;
  border-radius: 25px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  display: block;
}
.glass-popup-404 a:hover {
    background: #187218;
}