@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 16px;
}

body {
  font-family: "Cinzel", serif;
  background: linear-gradient(#0c1e1c, #18332f);
  color: #f0f0f0;
  overflow-x: hidden;
}

.rough-edge {
  position: relative;
  z-index: 0;
}
.rough-edge::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: url("/images/rough-edge.png") repeat;
  mix-blend-mode: overlay;
  opacity: 0.4;
  z-index: -1;
}

.navbar {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #5df2d6;
  animation: glitchIn 1s ease-out;
}
.navbar .logo {
  font-size: 1.3rem;
  color: #5df2d6;
  text-shadow: 0 0 10px #5df2d6;
}
.navbar .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.navbar ul li a {
  color: #f0f0f0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.navbar ul li a:hover {
  color: #5df2d6;
  text-shadow: 0 0 5px #5df2d6;
}
@media (max-width: 768px) {
  .navbar .hamburger {
    display: flex;
    font-size: 40px;
  }
  .navbar ul {
    position: absolute;
    top: 100%;
    right: 2rem;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #5df2d6;
    border-radius: 10px;
    padding: 1rem;
    display: none;
    gap: 1rem;
    width: 200px;
  }
  .navbar ul.active {
    display: flex;
  }
  .navbar ul li a {
    font-size: 1.2rem;
  }
}

.hero {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  flex-direction: row;
}
.hero img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  filter: brightness(0.8);
  position: relative;
  top: 0;
  left: 40px;
  z-index: 0;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  color: #f0f0f0;
  animation: fadeInUp 2s ease-out;
  min-width: 600px;
  margin: 0 auto;
  right: 130px;
  background-color: rgba(11, 20, 18, 0.7);
  padding: 20px;
}
.hero .hero-content h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
  text-shadow: 0 0 10px #5df2d6, 0 0 20px #3bb298;
}
.hero .hero-content h2 {
  font-size: 1.2rem;
  color: #5df2d6;
}
.hero .hero-content .buy-button {
  margin-top: 1rem;
  background: #3bb298;
  padding: 1rem 2rem;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 10px #3bb298;
  font-family: "Cinzel", serif;
  color: #0b1412;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero .hero-content .buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #5df2d6;
  background: #5df2d6;
}
.hero .hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #5df2d6, 0 0 20px #3bb298;
}
.hero .hero-subtitle {
  font-size: 1.5rem;
  color: #5df2d6;
  text-shadow: 0 0 6px #5df2d6, 0 0 12px #3bb298;
}
.hero .hero-description {
  font-size: 1rem;
  max-width: 600px;
  margin: 1rem auto 0;
  color: #f0f0f0;
  text-shadow: 0 0 6px #5df2d6;
  animation: fadeInUp 2.5s ease-out;
}
.hero .fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 180vw;
  height: 100vh;
  background: url("/assets/images/mist.jpeg") center/cover no-repeat;
  opacity: 0.7;
  animation: floatFog 30s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.hero .fog.fog-1 {
  animation-delay: 0s;
}
.hero.rough-edge::before {
  background: url("/assets/images/mist.jpeg");
  opacity: 0.6;
}
@media (max-width: 1000px) {
  .hero {
    flex-direction: column;
    padding: 2rem 2rem;
    height: auto;
  }
  .hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: contain;
    filter: brightness(0.8);
    z-index: 0;
  }
  .hero .hero-content {
    position: relative;
    right: 0;
    z-index: 2;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  .hero .hero-content h1 {
    font-size: 2rem;
  }
  .hero .hero-content h2 {
    font-size: 1rem;
  }
  .hero .hero-content .buy-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero .hero-title {
    font-size: 2rem;
  }
  .hero .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero .hero-description {
    font-size: 0.9rem;
    margin: 1rem 0;
  }
}
@media (max-width: 768px) {
  .hero .hero-content {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }
  .hero .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero .hero-content h2 {
    font-size: 0.95rem;
  }
  .hero .hero-content .buy-button {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }
  .hero .hero-title {
    font-size: 1.7rem;
  }
  .hero .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero .hero-description {
    font-size: 0.88rem;
  }
}
@media (max-width: 480px) {
  .hero .hero-content {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }
  .hero .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero .hero-content h2 {
    font-size: 0.9rem;
  }
  .hero .hero-content .buy-button {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
  .hero .hero-title {
    font-size: 1.5rem;
  }
  .hero .hero-subtitle {
    font-size: 1rem;
  }
  .hero .hero-description {
    font-size: 0.85rem;
  }
}

.learn-about {
  padding: 4rem 2rem;
  border-top: 2px solid #5df2d6;
  border-bottom: 2px solid #5df2d6;
  text-align: left;
  z-index: 100;
  display: flex;
  width: 100%;
  animation: fadeInUp 2s ease-out;
}
.learn-about h2 {
  font-size: 4.5rem;
  color: #f0f0f0;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #5df2d6;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  text-align: center;
}
.learn-about p {
  font-size: 1.2rem;
  color: white;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-family: "Times New Roman", Times, serif;
  margin-right: 100px;
}
.learn-about a button {
  padding: 1rem 2rem;
  border: 2px solid #5df2d6;
  background: transparent;
  color: #5df2d6;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Cinzel", serif;
}
.learn-about a button:hover {
  background: #5df2d6;
  color: #0b1412;
  box-shadow: 0 0 14px #5df2d6;
}
@media (max-width: 1024px) {
  .learn-about h2 {
    font-size: 3.5rem;
  }
  .learn-about p {
    font-size: 1.1rem;
    margin-right: 50px;
  }
}
@media (max-width: 900px) {
  .learn-about {
    flex-direction: column;
    align-items: center;
  }
  .learn-about h2 {
    font-size: 3rem;
    margin-top: 80px;
  }
  .learn-about p {
    font-size: 1rem;
    margin-right: 0;
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  .learn-about {
    padding: 3rem 1rem;
  }
  .learn-about h2 {
    font-size: 2.2rem;
    margin-top: 60px;
  }
  .learn-about p {
    font-size: 0.95rem;
    padding: 0;
    text-align: left;
  }
  .learn-about button {
    width: 100%;
    text-align: center;
  }
}

.signup,
.champions,
.regions {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.signup h2,
.champions h2,
.regions h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #5df2d6;
  text-shadow: 0 0 8px #5df2d6, 0 0 15px #3bb298;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(-3deg);
  }
  30% {
    transform: rotate(3deg);
  }
  45% {
    transform: rotate(-2deg);
  }
  60% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes float {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}
.regions {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}
.regions h2 {
  font-size: 5rem;
  color: #f0f0f0;
  text-shadow: 0 0 10px #5df2d6, 0 0 25px #5df2d6;
  margin-bottom: 0;
  text-align: center;
  margin-top: 50px;
}
.regions .regions-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 3rem;
  justify-content: center;
  width: 100%;
  align-items: flex-start;
  padding-top: 100px;
  max-width: 1920px;
}
.regions .region {
  border: 2px solid transparent;
  padding: 2.5rem 1.5rem 1rem;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  overflow: visible;
  height: 290px;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.regions .region:hover {
  transform: scale(1.07);
  backdrop-filter: blur(20px);
}
.regions .region:hover img {
  animation: float 4s ease-in-out infinite;
}
.regions .region h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
  text-shadow: 0 0 8px #5df2d6, 0 0 20px #5df2d6;
  letter-spacing: 1px;
}
.regions .region .description {
  font-size: 1.1rem;
  text-align: center;
  color: white;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  line-height: 1.4;
  font-family: "Times New Roman", Times, serif;
}
.regions .region img {
  position: absolute;
  margin-top: 300px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 250px;
  z-index: 3;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}
.regions .region button {
  padding: 0.9rem 1.8rem;
  border: 2px solid #5df2d6;
  background: rgba(0, 0, 0, 0.2);
  color: #5df2d6;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-family: "Cinzel", serif;
}
.regions .region button:hover {
  background: #5df2d6;
  color: #0b1412;
  box-shadow: 0 0 14px #5df2d6, 0 0 22px #5df2d6;
  transform: scale(1.05);
}
.regions .region.death, .regions .region.war, .regions .region.pestilence, .regions .region.famine {
  height: 600px;
}
.regions .region.death {
  border-color: rgba(43, 0, 255, 0.4);
  box-shadow: 0 0 20px rgba(43, 0, 255, 0.4);
}
.regions .region.war {
  border-color: rgba(255, 80, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 80, 0, 0.3);
}
.regions .region.pestilence {
  border-color: rgba(255, 100, 227, 0.4);
  box-shadow: 0 0 20px, rgba(255, 100, 227, 0.4);
}
.regions .region.famine {
  border-color: rgba(255, 255, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
}
@media (max-width: 1200px) {
  .regions h2 {
    font-size: 4rem;
  }
  .regions .regions-row {
    gap: 2rem;
    flex-wrap: wrap;
  }
  .regions .region {
    max-width: 380px;
  }
}
@media (max-width: 768px) {
  .regions h2 {
    font-size: 3.2rem;
  }
  .regions .regions-row {
    flex-direction: column;
    flex-wrap: nowrap;
    padding-top: 100px;
  }
  .regions .region {
    max-width: 90%;
    padding: 2rem 1rem;
    height: auto;
  }
  .regions .region img {
    width: 280px;
    margin-top: 150px;
  }
  .regions .region h3 {
    font-size: 1.8rem;
  }
  .regions .region .description {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .regions h2 {
    font-size: 2.5rem;
  }
  .regions .region {
    margin: 0 auto;
    height: auto;
    min-height: 380px;
    padding: 2rem 1rem;
  }
  .regions .region img {
    width: 200px;
    padding: 30px;
    margin-top: 170px;
    object-fit: contain;
  }
  .regions .region h3 {
    font-size: 1.7rem;
  }
  .regions .region .description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .regions .region button {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
  }
  .regions .region.death, .regions .region.war, .regions .region.pestilence, .regions .region.famine {
    height: auto !important;
    min-height: 420px;
  }
}
@media (max-width: 330px) {
  .regions h2 {
    font-size: 2rem;
  }
  .regions .region {
    padding: 1.5rem 0.5rem;
    min-height: 200px;
  }
  .regions .region img {
    width: 160px;
    margin-top: 100px;
  }
  .regions .region h3 {
    font-size: 1.3rem;
  }
  .regions .region .description {
    font-size: 0.85rem;
  }
  .regions .region button {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px;
  background-color: #111;
  color: #fff;
}
.footer-columns .footer-col {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-columns .footer-col a {
  color: #fe5353;
  text-decoration: none;
}
.footer-columns .footer-col a:hover {
  text-decoration: underline;
}
.footer-columns .feedback-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #98e1db;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.footer-columns .feedback-btn:hover {
  background-color: #ffffff;
}

@keyframes float {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glitchText {
  0% {
    text-shadow: 2px 0 red, -2px 0 cyan;
  }
  20% {
    text-shadow: -2px 0 red, 2px 0 cyan;
  }
  40% {
    text-shadow: 2px 0 red, -2px 0 cyan;
  }
  60% {
    text-shadow: -2px 0 red, 2px 0 cyan;
  }
  100% {
    text-shadow: none;
  }
}
@keyframes glitchIn {
  0% {
    transform: skewX(-20deg) scale(1.05);
    opacity: 0;
  }
  40% {
    transform: skewX(5deg);
    opacity: 1;
  }
  60% {
    transform: skewX(-2deg);
  }
  100% {
    transform: none;
  }
}
@keyframes floatFog {
  from {
    transform: translateX(-20%) scale(1.1);
  }
  to {
    transform: translateX(20%) scale(1.6);
  }
}
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.visible {
  animation: floatIn 0.4s ease forwards; /* faster fly-in */
}

.how-to-play-page {
  min-height: 100vh;
  padding: 3rem 2rem 5rem;
  background: linear-gradient(135deg, #0b0f1f, #000000);
  color: #f1f1f1;
  font-family: "Times New Roman", Times, serif;
  overflow-x: hidden;
}
.how-to-play-page::before {
  content: "";
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: particleMove 60s linear infinite;
  z-index: 0;
}
.how-to-play-page header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}
.how-to-play-page header h1 {
  font-family: "Cinzel", serif;
  font-size: 5rem;
  font-weight: 900;
  margin-top: 100px;
  background: linear-gradient(90deg, #76fff9, #f1f1f1, #76fff9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px #76fff9, 0 0 20px #f1f1f1, 0 0 30px #76fff9;
  animation: titleGlow 3s ease-in-out infinite alternate;
  user-select: none;
}
.how-to-play-page header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(15px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
  border-radius: 50%;
}
.how-to-play-page .yap {
  font-size: 1.2rem;
  width: 50%;
  margin: 0 auto;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  padding-bottom: 200px;
}
.how-to-play-page .objective {
  background-color: #00ffe7;
  width: 70%;
  color: #000000;
}
.how-to-play-page .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  z-index: 10;
}
.how-to-play-page .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  background: linear-gradient(180deg, #00ffe7, transparent 40%, #00ffe7 80%);
  box-shadow: 0 0 12px #00ffe7, 0 0 25px #00ffe7;
  border-radius: 4px;
  filter: drop-shadow(0 0 6px #00ffe7);
  z-index: -1;
}
.how-to-play-page .step {
  position: relative;
  width: 45%;
  right: 0;
  margin: 4rem 0;
  padding: 2.5rem 3rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2rem 1rem 2rem 1rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 25px rgba(0, 255, 230, 0.25), inset 0 0 15px rgba(255, 255, 255, 0.8);
  color: #f1f1f1;
  font-family: "Times New Roman", Times, serif;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.how-to-play-page .step.visible {
  opacity: 1;
  transform: translateY(0);
}
.how-to-play-page .step::before {
  content: "";
  position: absolute;
  top: 2rem;
  width: 24px;
  height: 24px;
  background: #00ffe7;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffe7, 0 0 18px rgba(0, 255, 230, 0.8);
  filter: drop-shadow(0 0 8px #00ffe7);
  z-index: 10;
  margin: 0 auto;
  animation: pulseGlow 2.5s ease-in-out infinite;
}
.how-to-play-page .step .icon {
  font-size: 60px;
}
.how-to-play-page .step:nth-child(odd) {
  margin-left: 18px;
  margin-right: auto;
  border-radius: 2rem 1rem 1rem 2rem;
}
.how-to-play-page .step:nth-child(odd)::before {
  left: 100%;
  transform: translateX(50%);
}
.how-to-play-page .step:nth-child(even) {
  margin-left: auto;
  margin-right: 18px;
  border-radius: 1rem 2rem 2rem 1rem;
}
.how-to-play-page .step:nth-child(even)::before {
  right: 100%;
  transform: translateX(-55%);
}
.how-to-play-page .step:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 230, 0.5), inset 0 0 22px rgba(255, 255, 255, 0.15);
  cursor: default;
}
.how-to-play-page .step:hover::before {
  animation-duration: 1.5s;
  box-shadow: 0 0 18px #00ffe7, 0 0 30px rgb(0, 255, 230);
}
.how-to-play-page .step:hover .icon {
  transform: translateY(-10px);
  filter: drop-shadow(0 0 10px #00ffe7);
}
.how-to-play-page .step .step-number {
  position: absolute;
  top: -300px;
  right: 10%;
  font-size: 30rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.8);
  user-select: none;
  font-family: "Cinzel", serif;
}
.how-to-play-page .step .step-number:nth-child(odd) .how-to-play-page .step .step-number {
  margin-left: 100px;
}
.how-to-play-page .step .step-number:nth-child(even) .how-to-play-page .step .step-number {
  right: -3rem;
}
.how-to-play-page .step .two,
.how-to-play-page .step .three,
.how-to-play-page .step .five {
  right: -5%;
  font-size: 27rem;
}
.how-to-play-page .step .icon {
  font-size: 80px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 230, 0.7));
  transition: transform 0.3s ease;
  will-change: transform;
}
.how-to-play-page .step h3 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00ffe7;
  user-select: none;
  margin-top: 50px;
}
.how-to-play-page .step p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: white;
  padding-right: 1rem;
  user-select: text;
}
.how-to-play-page .start-game-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}
.how-to-play-page .start-game-wrapper a {
  text-decoration: none;
}
.how-to-play-page .start-game-cta {
  padding: 1rem 3rem;
  font-size: 1.5rem;
  font-family: "Cinzel", serif;
  border-radius: 30px;
  border: none;
  background: linear-gradient(45deg, #f1f1f1, #76fff9);
  color: #000000;
  box-shadow: 0 0 25px #76fff9, 0 0 45px #f1f1f1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.how-to-play-page .start-game-cta:hover {
  background: linear-gradient(45deg, #76fff9, #f1f1f1);
  box-shadow: 0 0 50px #76fff9, 0 0 80px #f1f1f1;
  transform: scale(1.1);
}

@keyframes particleMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
    margin: 0 auto;
  }
}
@keyframes titleGlow {
  0% {
    text-shadow: 0 0 8px #76fff9, 0 0 20px #f1f1f1, 0 0 30px #76fff9;
  }
  100% {
    text-shadow: 0 0 14px #76fff9, 0 0 30px #76fff9, 0 0 45px #f1f1f1;
  }
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px #00ffe7, 0 0 18px rgba(0, 255, 230, 0.8);
  }
  50% {
    box-shadow: 0 0 18px #00ffe7, 0 0 30px rgb(0, 255, 230);
  }
}
@media (max-width: 1024px) {
  .how-to-play-page {
    padding: 2.5rem 1.5rem 4rem;
  }
  .how-to-play-page header h1 {
    font-size: 4rem;
    margin-top: 80px;
  }
  .how-to-play-page header::after {
    width: 140px;
    height: 140px;
  }
  .how-to-play-page .yap {
    width: 70%;
    padding-bottom: 150px;
  }
  .how-to-play-page .objective {
    width: 80%;
  }
  .how-to-play-page .timeline {
    max-width: 700px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .how-to-play-page .timeline::before {
    width: 5px;
  }
  .how-to-play-page .step {
    width: 48%;
    margin: 3rem 0;
    padding: 2rem 2.5rem;
  }
  .how-to-play-page .step::before {
    width: 20px;
    height: 20px;
  }
  .how-to-play-page .step .icon {
    font-size: 55px;
    margin-bottom: 0.8rem;
  }
  .how-to-play-page .step h3 {
    font-size: 1.7rem;
    margin-top: 40px;
  }
  .how-to-play-page .step p {
    font-size: 1rem;
    padding-right: 0.8rem;
  }
  .how-to-play-page .step .step-number {
    font-size: 20rem;
    top: -250px;
    right: 8%;
  }
  .how-to-play-page .step .two,
  .how-to-play-page .step .three,
  .how-to-play-page .step .five {
    font-size: 18rem;
    right: -4%;
  }
  .how-to-play-page .start-game-cta {
    margin-top: 4rem;
  }
  .how-to-play-page .start-game-cta button {
    padding: 0.9rem 2.5rem;
    font-size: 1.3rem;
    border-radius: 25px;
  }
}
@media (max-width: 768px) {
  .how-to-play-page {
    padding: 2rem 1rem 3rem;
  }
  .how-to-play-page header h1 {
    font-size: 3rem;
    margin-top: 60px;
  }
  .how-to-play-page header::after {
    width: 120px;
    height: 120px;
  }
  .how-to-play-page .yap {
    width: 90%;
    padding-bottom: 120px;
  }
  .how-to-play-page .objective {
    width: 90%;
  }
  .how-to-play-page .timeline {
    max-width: 600px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .how-to-play-page .timeline::before {
    width: 4px;
  }
  .how-to-play-page .step {
    width: 90%; /* or a fixed max-width like max-width: 400px; */
    margin: 2.5rem auto;
    padding: 1.8rem 2rem;
    justify-content: center;
  }
  .how-to-play-page .step::before {
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    left: 50% !important;
    right: auto !important;
  }
  .how-to-play-page .step:nth-child(odd)::before, .how-to-play-page .step:nth-child(even)::before {
    display: none;
  }
  .how-to-play-page .step:nth-child(odd)::before {
    margin: 0 auto;
  }
  .how-to-play-page .step:nth-child(even)::before {
    margin: 0 auto;
  }
  .how-to-play-page .step .icon {
    font-size: 50px;
    margin-bottom: 0.6rem;
  }
  .how-to-play-page .step h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    width: 50%;
  }
  .how-to-play-page .step p {
    font-size: 0.95rem;
    padding-right: 0;
    width: 70%;
  }
  .how-to-play-page .step .step-number {
    font-size: 10rem;
    margin-left: 300px;
    left: 0;
    margin-top: 270px;
  }
  .start-game-cta {
    margin-top: 3rem;
  }
  .start-game-cta button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 22px;
  }
}
@media (max-width: 480px) {
  .how-to-play-page {
    padding: 2rem 1rem 3rem;
  }
  .how-to-play-page header h1 {
    font-size: 3rem;
    margin-top: 60px;
  }
  .how-to-play-page header::after {
    width: 120px;
    height: 120px;
  }
  .how-to-play-page .yap {
    width: 90%;
    padding-bottom: 120px;
  }
  .how-to-play-page .objective {
    width: 90%;
  }
  .how-to-play-page .timeline {
    max-width: 600px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .how-to-play-page .timeline::before {
    width: 4px;
  }
  .how-to-play-page .step {
    width: 90%; /* or a fixed max-width like max-width: 400px; */
    margin: 2.5rem auto;
    padding: 1.8rem 2rem;
    justify-content: center;
  }
  .how-to-play-page .step::before {
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    left: 50% !important;
    right: auto !important;
  }
  .how-to-play-page .step:nth-child(odd)::before, .how-to-play-page .step:nth-child(even)::before {
    display: none;
  }
  .how-to-play-page .step:nth-child(odd)::before {
    margin: 0 auto;
  }
  .how-to-play-page .step:nth-child(even)::before {
    margin: 0 auto;
  }
  .how-to-play-page .step .icon {
    font-size: 50px;
    margin-bottom: 0.6rem;
  }
  .how-to-play-page .step h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    width: 100%;
  }
  .how-to-play-page .step p {
    font-size: 0.95rem;
    padding-right: 0;
    width: 100%;
  }
  .how-to-play-page .step .step-number {
    font-size: 10rem;
    margin-left: 230px;
    left: 0;
    opacity: 0.4;
    margin-top: 250px;
  }
  .start-game-cta {
    margin-top: 3rem;
  }
  .start-game-cta button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 22px;
  }
}
.back {
  background-image: url("../assets/images/backs.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* ✅ Proper overlay syntax */
  /* ensures inner content sits on top of overlay */
}
.back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(12, 30, 28, 0.5), rgba(24, 51, 47, 0.5));
  z-index: 1;
}
.back > * {
  position: relative;
  z-index: 2;
}
.back .factions-stack {
  position: relative;
  width: 500px;
  height: 650px;
  margin: 3rem auto;
  perspective: 1500px;
  cursor: pointer;
  overflow-x: visible;
  right: 50px;
}
.back .factions-stack .faction-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.back .factions-stack .faction-card {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 300px;
  height: 450px;
  transform: translateX(-50%);
  background: rgba(80, 80, 80, 0.7);
  border-radius: 16px;
  box-shadow: inset 0 0 40px rgba(139, 69, 19, 0.8), 0 12px 25px rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  font-family: "Times New Roman";
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("https://www.transparenttextures.com/patterns/paper-fibers.png"), linear-gradient(45deg, rgba(129, 244, 230, 0.6), #c97c3d);
  background-blend-mode: multiply;
  border: 2px solid #6b3f18;
  box-sizing: border-box;
  transition: transform 0.5s ease, z-index 0.5s ease;
}
.back .factions-stack .faction-card h2 {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0 #422b0d, 2px 2px 5px rgba(0, 0, 0, 0.8);
  user-select: none;
}
.back .factions-stack .faction-card p {
  font-size: 1.3rem;
  line-height: 1.4;
  flex-grow: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  user-select: text;
}
.back .factions-stack .faction-card a button {
  background: #6b3f18;
  color: #f1f1f1;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 8px #ac7c35, inset 0 -2px 5px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.back .factions-stack .faction-card a button:hover {
  background: #a56b2e;
  box-shadow: 0 0 15px #d8b065, inset 0 -2px 8px rgba(255, 255, 255, 0.25);
}
.back .factions-stack .faction-card:nth-child(1) {
  z-index: 1;
  transform: translateX(-50%) rotate(-6deg);
  border: 2px solid #6b1818;
}
.back .factions-stack .faction-card:nth-child(2) {
  z-index: 2;
  transform: translateX(-50%) rotate(-2deg);
  border: 2px solid #2a0899;
}
.back .factions-stack .faction-card:nth-child(3) {
  z-index: 3;
  transform: translateX(-50%) rotate(2deg);
  border: 2px solid #997f08;
}
.back .factions-stack .faction-card:nth-child(4) {
  z-index: 4;
  transform: translateX(-50%) rotate(6deg);
  border: 2px solid #b11ba5;
}
@media (min-width: 769px) {
  .back:hover .faction-card:nth-child(1) {
    transform: translateX(-180%) rotate(-12deg);
  }
  .back:hover .faction-card:nth-child(2) {
    transform: translateX(-60%) rotate(-4deg);
  }
  .back:hover .faction-card:nth-child(3) {
    transform: translateX(60%) rotate(4deg);
  }
  .back:hover .faction-card:nth-child(4) {
    transform: translateX(180%) rotate(12deg);
  }
  .back:hover .faction-card:hover {
    transform: translateX(-50%) rotate(0deg) scale(1.1);
    z-index: 10;
  }
}
@media (max-width: 1024px) {
  .back {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }
  .back .faction-card {
    width: 250px;
    height: 400px;
    padding: 1.2rem;
  }
  .back .faction-card h2 {
    font-size: 1.8rem;
  }
  .back .faction-card p {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .back {
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .back .faction-card {
    width: 250px;
    height: 400px;
    padding: 1.5rem;
  }
  .back .faction-card h2 {
    font-size: 1.6rem;
  }
  .back .faction-card p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .back {
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .back .faction-card {
    width: 250px;
    height: 400px;
    padding: 1.2rem;
  }
  .back .faction-card h2 {
    font-size: 1.4rem;
  }
  .back .faction-card p {
    font-size: 0.85rem;
  }
  .back .faction-card button {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}

.war-page {
  background: radial-gradient(#2b1c17, #0e0a07);
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  color: #f8e3c7;
  font-family: "Cinzel", serif;
}
.war-page .war-hero {
  position: relative;
  background: linear-gradient(135deg, #3a0e00, #6b1f00);
  color: #fff;
  padding: 6rem 2rem;
  overflow: hidden;
}
.war-page .war-hero h1 {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  text-align: center;
  text-shadow: 0 0 10px #ff4500, 0 0 20px #ff6f00, 0 0 30px #ff8c00;
}
.war-page .war-hero .smoke-ash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.war-page .war-hero .particle {
  position: absolute;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation-timing-function: ease-out;
  opacity: 0.8;
}
.war-page .war-hero .smoke {
  width: 80px;
  height: 80px;
  animation-name: riseSmoke;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}
.war-page .war-hero .ash {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(150, 150, 150, 0.5) 0%, transparent 80%);
  animation-name: flutterAsh;
  animation-iteration-count: infinite;
  animation-duration: 8s;
}
@keyframes riseSmoke {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-150%) scale(1.2);
    opacity: 0;
  }
}
@keyframes flutterAsh {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(10px, -10px) rotate(15deg);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, -20px) rotate(-15deg);
    opacity: 0;
  }
}

@keyframes flameFlicker {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-5px) scale(1.03);
  }
}
.war-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #1a110c;
  border: 2px solid #5c3317;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  border-radius: 16px;
}
.war-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e2703a;
}
.war-content p {
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
  color: rgb(253.6666666667, 249.6666666667, 244.3333333333);
  margin-bottom: 1.5rem;
}

.back-link {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  text-decoration: none;
  color: #ffd8a8;
  font-size: 1rem;
  border: 2px solid #e2703a;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.back-link:hover {
  background: #e2703a;
  color: #1a110c;
}

.pest-theme {
  background: radial-gradient(#2a1a28, #0b0f0b);
  background-image: url("https://www.transparenttextures.com/patterns/dark-mosaic.png");
  color: #fce2fc;
  font-family: "Cinzel", serif;
}
.pest-theme .pestilence-hero {
  position: relative;
  background: linear-gradient(135deg, #390f3d, #4d2645);
  color: #fac5ff;
  padding: 6rem 2rem;
  overflow: hidden;
}
.pest-theme .pestilence-hero h1 {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  text-align: center;
  text-shadow: 0 0 10px #f28edb, 0 0 20px #cc33a8, 0 0 30px #5e0250;
}
.pest-theme .pestilence-hero .subtitle {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
}
.pest-theme .pestilence-hero .smoke-ash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pest-theme .pestilence-hero .particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 150, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation-timing-function: ease-out;
  opacity: 0.8;
}
.pest-theme .pestilence-hero .smoke {
  width: 80px;
  height: 80px;
  animation-name: riseSmoke;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}
.pest-theme .pestilence-hero .ash {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(255, 100, 216, 0.5) 0%, transparent 80%);
  animation-name: flutterAsh;
  animation-iteration-count: infinite;
  animation-duration: 8s;
}
.pest-theme .pestilence-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #2c1d29;
  border: 2px solid #5e0250;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  border-radius: 16px;
}
.pest-theme .pestilence-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f28edb;
}
.pest-theme .pestilence-content p {
  font-family: "Times New Roman", sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 1.5rem;
  margin: 0 auto;
}
.pest-theme .back-link {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  text-decoration: none;
  color: #ffc5ff;
  font-size: 1rem;
  border: 2px solid #f28edb;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.pest-theme .back-link:hover {
  background: #f28edb;
  color: #2c1d29;
}

@media (max-width: 600px) {
  .pest-theme .pestilence-hero {
    padding: 4rem 1rem;
  }
  .pest-theme .pestilence-hero h1 {
    font-size: 2.5rem;
  }
  .pest-theme .pestilence-hero .subtitle {
    font-size: 1rem;
    text-align: center;
    flex-direction: column;
  }
  .pest-theme .pestilence-content {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }
  .pest-theme .pestilence-content h2 {
    font-size: 1.8rem;
  }
  .pest-theme .pestilence-content p {
    font-size: 0.95rem;
  }
  .pest-theme .back-link {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .pest-theme .pestilence-hero {
    padding: 5rem 1.5rem;
  }
  .pest-theme .pestilence-hero h1 {
    font-size: 3.2rem;
  }
  .pest-theme .pestilence-hero .subtitle {
    font-size: 1.1rem;
  }
  .pest-theme .pestilence-content {
    padding: 2rem;
    margin: 3rem 2rem;
  }
  .pest-theme .pestilence-content h2 {
    font-size: 2.2rem;
  }
  .pest-theme .pestilence-content p {
    font-size: 1rem;
  }
  .pest-theme .back-link {
    font-size: 0.95rem;
  }
}
@media (max-width: 400px) {
  .pest-theme .pestilence-hero {
    padding: 3rem 1rem;
  }
  .pest-theme .pestilence-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .pest-theme .pestilence-hero .subtitle {
    font-size: 0.9rem;
    text-align: center;
    flex-direction: column;
  }
  .pest-theme .pestilence-content {
    padding: 1rem;
    margin: 1.5rem 0.5rem;
  }
  .pest-theme .pestilence-content h2 {
    font-size: 1.5rem;
  }
  .pest-theme .pestilence-content p {
    font-size: 0.9rem;
  }
  .pest-theme .back-link {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
  .pest-theme .smoke,
  .pest-theme .ash {
    display: none;
  }
}
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.visible {
  animation: floatIn 0.8s ease forwards;
}

.famine-page {
  color: #fdf6e3;
  font-family: "Cinzel", serif;
}
.famine-page .famine-hero {
  position: relative;
  background: linear-gradient(135deg, #4e3c2b, #6a543c);
  color: #fdf6e3;
  padding: 6rem 2rem;
  overflow: hidden;
}
.famine-page .famine-hero h1 {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  text-align: center;
  text-shadow: 0 0 10px #f5e7c4, 0 0 20px #ffddaa;
}
.famine-page .famine-hero .smoke-ash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.famine-page .famine-hero .particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 200, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation-timing-function: ease-out;
  opacity: 0.7;
}
.famine-page .famine-hero .smoke {
  width: 80px;
  height: 80px;
  animation-name: riseSmoke;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}
.famine-page .famine-hero .ash {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(220, 200, 150, 0.5) 0%, transparent 80%);
  animation-name: flutterAsh;
  animation-iteration-count: infinite;
  animation-duration: 8s;
}
.famine-page .famine-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #2c221a;
  border: 2px solid #b3a582;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
}
.famine-page .famine-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f5e7c4;
}
.famine-page .famine-content p {
  font-family: "Times New Roman", sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 1.5rem;
}
.famine-page .back-link {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  text-decoration: none;
  color: #ffddaa;
  font-size: 1rem;
  border: 2px solid #f5e7c4;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.famine-page .back-link:hover {
  background: #f5e7c4;
  color: #2c221a;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.visible {
  animation: floatIn 0.8s ease forwards;
}

.death-page {
  background: radial-gradient(#1a1925, #0a0a0f);
  background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-crosslines.png");
  color: #e0ddf5;
  font-family: "Cinzel", serif;
}
.death-page .death-hero {
  position: relative;
  background: linear-gradient(135deg, #2b2640, #3a335b);
  color: #e0ddf5;
  padding: 6rem 2rem;
  overflow: hidden;
}
.death-page .death-hero h1 {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  text-align: center;
  text-shadow: 0 0 10px #aaa3e6, 0 0 20px #d1cfff;
}
.death-page .death-hero .smoke-ash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.death-page .death-hero .particle {
  position: absolute;
  background: radial-gradient(circle, rgba(200, 200, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation-timing-function: ease-out;
  opacity: 0.8;
}
.death-page .death-hero .smoke {
  width: 80px;
  height: 80px;
  animation-name: riseSmoke;
  animation-iteration-count: infinite;
  animation-duration: 14s;
}
.death-page .death-hero .ash {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgba(180, 180, 255, 0.4) 0%, transparent 80%);
  animation-name: flutterAsh;
  animation-iteration-count: infinite;
  animation-duration: 9s;
}
.death-page .death-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #1c1c2a;
  border: 2px solid #3a364f;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
}
.death-page .death-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #aaa3e6;
}
.death-page .death-content p {
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 1.5rem;
}
.death-page .back-link {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  text-decoration: none;
  color: #d1cfff;
  font-size: 1rem;
  border: 2px solid #aaa3e6;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.death-page .back-link:hover {
  background: #aaa3e6;
  color: #1c1c2a;
}
