body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom, #b30000, #1a0000);
  color: red;
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1 {
  margin-top: 30px;
  font-size: 2.5rem;
  color: #fffbe6;
  text-shadow: 2px 2px 4px #000;
}

h2 {
  margin-top: 30px;
  font-size: 1.5rem;
  color: #fffbe6;
  text-shadow: 2px 2px 4px #000;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
}

.day {
  background-color: #fffbe6;
  color: #b30000;
  border-radius: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.day.locked {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
}

.day:hover:not(.locked) {
  background-color: #ffcccc;
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.close-btn {
  margin-top: 20px;
  background: #b30000;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.close-btn:hover {
  background: #ff3333;
}

@keyframes snowfall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Advent description block */
.description {
  max-width: 900px;
  margin: 20px auto;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.description h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #ffffff;
}

.description p {
  line-height: 1.5;
  margin-bottom: 14px;
}

.description .instructions {
  text-align: left;
  margin: 10px auto 0;
  max-width: 700px;
}

.description .instructions ol {
  margin-left: 20px;
  padding-left: 0;
  line-height: 1.6;
}

.description .closing {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.description .credit {
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.5px;
}


.special-message {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 215, 0, 0.92);
  padding: 25px 35px;
  border-radius: 20px;
  text-align: center;
  color: #4a2a00;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 25px gold;
  z-index: 9999;
  animation: fadeIn 0.8s ease-out;
}

.special-message.hide {
  animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; transform: translate(-50%, -20px); }
}

.special-bg {
  background-image: url("images/glitter.png"); /* <-- ide a saját képed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeIn 1s ease-in-out;
}

/* Szép áttűnés */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
