body {
  font-family: Arial, sans-serif;
  background: url('img/fond\ noel.jpg') center/cover no-repeat;
  color: #fff;
  margin: 0;
  text-align: center;
  height: 100vh;
}

header {
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 20px auto;
}

.door {
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, background 0.3s;
  color: #fff;
  font-weight: bold;
}

/* Couleurs de Noël */
.door:nth-child(3n+1):not(.opened) { background: #0f9d58; } /* vert */
.door:nth-child(3n+2):not(.opened) { background: #db4437; } /* rouge */
.door:nth-child(3n+3):not(.opened) { background: #f4b400; } /* or */

.door.opened { background: #111; color: #666; }

.door:hover { transform: scale(1.05); }

.today-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: crimson;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.7em;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.popup-image {
  width: 100%;
  border-radius: 8px;
  margin: 10px 0;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background: #3b82f6;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 10px;
  transition: background .2s;
}

.btn:hover {
  background: #2563eb;
}