body {
  margin: 0;
  font-family: 'Cinzel Decorative', serif;
  background-color: #000000;
  color: #e8d6f0;
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  background-repeat: repeat;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: rgba(30, 0, 50, 0.7);
  padding: 20px;
  font-family: 'Cinzel Decorative', serif;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 20px 0;
}

.sidebar a {
  text-decoration: none;
  color: #d8b5ff;
  font-size: 18px;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #fff;
  text-shadow: 0 0 5px #d8b5ff;
}

main {
  margin-left: 240px;
  padding: 40px;
}

.titulo {
  font-size: 40px;
  text-align: center;
  color: #d8b5ff;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #8a2be2;
}

button#carta-dia {
  display: block;
  margin: 0 auto 20px auto;
  padding: 12px 24px;
  background: #a066d8;
  border: none;
  color: #fff;
  border-radius: 10px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 10px #8a2be2;
  transition: 0.3s;
}

button#carta-dia:hover {
  background: #c79eff;
  box-shadow: 0 0 15px #c79eff;
}

#carta-dia-contenido {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  animation: fadeIn 1s ease-in-out;
}

.galeria-tarot {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.carta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #d8b5ff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.carta img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 8px #d8b5ff;
}

.carta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #c79eff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}