.RRThanksPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 80px 0 40px 0;
  background: var(--bg-color);
}

.RRThanksHero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 56px 32px 48px 32px;
  box-shadow: 0 8px 32px rgba(33, 40, 6, 0.08), 0 1.5px 8px rgba(33, 40, 6, 0.04);
  background: #fff8e6;
  animation: fadeInThanks 1.2s cubic-bezier(.4, 0, .2, 1);
}

.RRThanksHero i.fas.fa-dice-d20 {
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 48px;
  animation: popInThanks 0.8s cubic-bezier(.4, 0, .2, 1);
}

.RRThanksHeroTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--main-text-color);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -1px;
  text-align: center;
}

.RRThanksHeroTitle i.fas.fa-peace {
  margin-left: 6px;
  color: #f7b801;
  font-size: 1.3em;
  animation: peaceWave 2.2s infinite linear alternate;
}

.RRThanksHero p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: var(--secondary-text-color);
  font-size: 1.18rem;
  line-height: 1.6;
  text-align: center;
}

.RRThanksHero p i {
  color: var(--accent-color);
  font-size: 1.1em;
}

.RRThanksHero a {
  text-decoration: none;
}

.RRThanksHomeBtn,
.RRThanksGamesBtn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 12px 0 0;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  box-shadow: 0 2px 12px rgba(33, 40, 6, 0.08);
  outline: none;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--accent-color);
  transition: all .3s ease;
  cursor: pointer;
}

.RRThanksHomeBtn i,
.RRThanksGamesBtn i {
  font-size: 1.2em;
}

.RRThanksHomeBtn:hover,
.RRThanksGamesBtn:hover {
  box-shadow: 0 6px 24px rgba(33, 40, 6, 0.13);
  color: var(--main-text-color);
  background: #f7b801;
  transform: translateY(-2px) scale(1.04) !important;
}

@media (max-width: 900px) {
  .RRThanksHero {
    border-radius: 18px;
    padding: 36px 12px 32px 12px;
  }

  .RRThanksHeroTitle {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .RRThanksPage {
    padding: 40px 0 20px 0;
  }

  .RRThanksHero {
    gap: 18px;
    border-radius: 12px;
    padding: 18vw 4vw 10vw 4vw;
  }

  .RRThanksHeroTitle {
    gap: 6px;
    font-size: 1.3rem;
  }

  .RRThanksHomeBtn,
  .RRThanksGamesBtn {
    margin: 8px 4px 0 0;
    padding: 12px 18px;
    font-size: 1rem;
  }

  .RRThanksHero i.fas.fa-dice-d20 {
    font-size: 32px;
  }
}

@keyframes fadeInThanks {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popInThanks {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
  }

  80% {
    opacity: 1;
    transform: scale(1.1) rotate(3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes peaceWave {
  0% {
    transform: rotate(-10deg) scale(1.1);
  }

  100% {
    transform: rotate(18deg) scale(1.2);
  }
}