/* 🌌 بدنه و استایل کلی */
body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-align: center;
  margin: 0;
  background: radial-gradient(circle at top, #000, #120029 80%);
  color: #fff;
  overflow-x: hidden;
}

/* 🎲 عنوان */
h1 {
  margin-top: 2rem;
  font-size: 3rem;
  text-shadow: 0 0 15px #6b21c0, 0 0 30px #8b5cf6, 0 0 50px #a855f7;
}

/* 🎲 تاس */
.dice {
  font-size: 7rem;
  margin: 2rem;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  transition: text-shadow 0.3s;
  text-shadow: 0 0 20px #6b21c0, 0 0 50px #8b5cf6, 0 0 100px #a855f7;
}

.roll-animation {
  animation-name: roll;
  text-shadow: 0 0 30px #8b5cf6, 0 0 80px #a855f7, 0 0 150px #c084fc;
}

@keyframes roll {
  0% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0) scale(1);
    filter: brightness(1);
  }
  20% {
    transform: rotateX(180deg) rotateY(90deg) translateY(-20px) scale(1.1);
    filter: brightness(1.3);
  }
  40% {
    transform: rotateX(360deg) rotateY(270deg) translateY(0) scale(0.95);
    filter: brightness(0.9);
  }
  60% {
    transform: rotateX(540deg) rotateY(450deg) translateY(-10px) scale(1.05);
    filter: brightness(1.2);
  }
  80% {
    transform: rotateX(720deg) rotateY(630deg) translateY(0) scale(1);
    filter: brightness(1);
  }
  100% {
    transform: rotateX(900deg) rotateY(720deg) translateY(0);
    filter: brightness(1);
  }
}

/* ⚡ دکمه نئون */
button {
  background: transparent;
  color: #a855f7;
  padding: 1rem 3rem;
  border: 2px solid #a855f7;
  text-align: center;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 0 15px #7e22ce, inset 0 0 10px #8b5cf6;
  transition: all 0.3s ease;
  font-weight: bold;
}

button:hover {
  background: #a855f7;
  color: #000;
  box-shadow: 0 0 25px #a855f7, 0 0 60px #8b5cf6;
  transform: scale(1.05);
}

/* 🧾 لیست تاریخچه */
ul {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
  margin: 2rem auto;
}

li {
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  margin: 0.8rem auto;
  background: rgba(107, 33, 192, 0.1);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(107, 33, 192, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

li:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

li span {
  font-size: 3rem;
  margin-right: 1rem;
  text-shadow: 0 0 10px #6b21c0, 0 0 30px #a855f7;
}

