body {
  background-color: black;
  font-family: 'MedievalSharp', cursive;
  font-size: 18px;
  background: url('assets/background.png') no-repeat center center fixed;
  background-size: cover;
  color: #f5f5dc;
}

img {
  height: 600px;
  rotate: 90deg;
  border-radius: 30px;
}

button {
  padding: 8px 16px;
  font-size: 18px;
  font-family: 'MedievalSharp', cursive;
  border: 2px solid #ffd700;
  border-radius: 8px;
  background: linear-gradient(135deg, #c97b3f, #3c1e5f);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

/*button:hover {
  background: linear-gradient(135deg, #ffae42, #3c1e5f);
  box-shadow: 0 0 10px #ffd700;
}*/

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.arrow {
    font-size: 100px;
    background: none;
    height: 250px;
    width: 100px;
    border: none;
    color: white;
    opacity: 70%;
    z-index: 10;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: rgba(11, 31, 58, 0.9);
  border: 2px solid #ffd700;
  border-radius: 10px;
  color: #f5f5dc;
  margin: auto 5%;
  padding: 10px;
}

ul {
  list-style: none;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.modal-columns {
  display: flex;
  gap: 20px;
}

#cardListColumn {
  width: 40%;
  max-height: 90vh;
  overflow-y: auto;
}

#cardPreviewColumn {
  width: 60%;
  text-align: center;
}

#cardPreview {
  max-height: 400px;
  border: 1px solid #000;
  border-radius: 30px;
}

/* Footer */
.fantasy-footer {
  border-top: 2px solid #ffd700;       /* bordo dorato */
  text-align: center;
  color: #f5f5dc;
}

.fantasy-footer .credits {
  font-size: 12px;
  letter-spacing: 1px;
}

.fantasy-footer a {
  color: #ff9d00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fantasy-footer a:hover {
  color: #ffae42; /* effetto luminoso */
  text-shadow: 0 0 6px #ffd700;
}
