body {
  margin:0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #7e0000, #ff0000);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Hóesés effekt */
.snowflake {
  position: fixed;
  top: -10px;
  color: #fff;
  font-size: 10px;
  user-select: none;
  z-index: 9999;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes fall {
  0% {transform: translateY(0) rotate(0deg);}
  100% {transform: translateY(100vh) rotate(360deg);}
}


#calendar-container {
  text-align: center;
  padding: 20px;
}

#message {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffcc00;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  max-width: 600px;
  margin: 20px auto;
}

.door {
  background: linear-gradient(145deg, #ffcc00, #b8860b);
  border-radius: 8px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.door:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffcc00;
}

.door.locked .lock-icon {
  display: block;
  position: absolute;
  font-size: 24px;
  color: #ffcc00;
}

.door-number {
  font-size: 24px;
  font-weight: bold;
  z-index: 3;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
}

.door-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* 40%-os fekete átfedés */
  border-radius: 8px;
  z-index: 1;
}

.door-content {
  display: none;
  position: absolute;
  top: 0; left:0; right:0; bottom:0;
  background: #111111;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  z-index: 200;

    background-image: url('logo.jpg');
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat;
  border-radius: 8px;     
}

.door.open .door-content {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.download-anim {
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.download-anim .arrow {
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid #ff0000;
  animation: arrowBounce 1s infinite;
  z-index: 200;
}

@keyframes arrowBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

#backButton {
  margin: 30px auto;
  padding: 10px 20px;
  background: linear-gradient(90deg, #00bd06, #036400);
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
}

#backButton:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  0% {opacity:0; transform: scale(0.9);}
  100% {opacity:1; transform: scale(1);}
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* Konfetti stílus */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  top: -10px;
  animation-name: confettiFall;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
@keyframes confettiFall {
  0% {transform: translateY(0) rotate(0deg);}
  100% {transform: translateY(100vh) rotate(360deg);}
}
