body {
    margin: 0;
    color: #fff1ff;
    letter-spacing: 0.5px;
    background: url('../Image/fond-box.png') center/cover no-repeat fixed;
}

h1 {
  text-align: center;
  font-size: 4rem;
  text-transform: uppercase;
  color: #ff3fb3;
  text-shadow:
    -3px 3px 0 #000,
    0 0 14px rgba(255, 70, 180, 0.8),
    0 0 30px rgba(255, 120, 220, 0.4);
  margin-top: 3rem;
}

.description {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 2rem auto;
  color: #ffe3f9;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.box-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.box-slot {
  position: relative;
  width: 250px;
  height: 250px;
  background: linear-gradient(145deg, rgba(255, 80, 170, 0.3), rgba(170, 0, 255, 0.2));
  border: 2px solid rgba(255, 80, 180, 0.6);
  border-radius: 14px;
  box-shadow:
    0 0 12px rgba(255, 80, 160, 0.35),
    inset 0 0 12px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  flex-direction: column;
}



.box-slot:hover {
  transform: rotate(-1deg) scale(1.05);
  border-color: rgba(255, 120, 200, 0.9);
  box-shadow:
    0 0 25px rgba(255, 80, 180, 0.6),
    inset 0 0 15px rgba(255, 100, 220, 0.3);
}


.box-slot img {
  width: 120%;
  height: auto;
  border-radius: 10px;
  filter: brightness(1) contrast(1.1);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.box-slot:hover img {
  filter: brightness(1.15) contrast(1.25) saturate(1.3);
  transform: scale(1.03);
}

.price {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff63c2;
  text-shadow: 2px 2px 0 #000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.box-slot:hover .price { opacity: 1; }

.question-btn {
  margin-right: 1rem;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ff4fa3 20%, #b8007e 90%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 0, 140, 0.6);
  transition: all 0.25s ease;
}

.question-btn:hover {
  background: radial-gradient(circle at center, #ff66cc 20%, #d90093 90%);
  transform: scale(1.1) rotate(10deg);
}

.toggle {
    display: none;
}

.info-bubble {
  position: absolute;
  bottom: 90%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 190, 240, 0.12);
  backdrop-filter: blur(6px);
  color: #ffbff2;
  border: 1px solid rgba(255, 100, 200, 0.7);
  border-radius: 10px;
  padding: 12px 16px;
  width: 190px;
  text-align: center;
  display: none;
  box-shadow: 0 0 12px rgba(255, 50, 180, 0.3);
}

.toggle:checked + .question-btn + .info-bubble {
  display: block;
  animation: fadeIn 0.3s ease;
}

.inventory {
  margin: 6rem auto;
  max-width: 900px;
  background: linear-gradient(145deg, rgba(255, 100, 200, 0.2), rgba(120, 0, 180, 0.25));
  border: 2px solid rgba(255, 70, 160, 0.5);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(255, 40, 150, 0.3);
  text-align: center;
}

.inventory h2 {
  color: #ff4fa3;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 0 #000;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.empty-slot {
  background: rgba(255, 100, 220, 0.25);
  border: 1px solid rgba(255, 70, 160, 0.4);
  border-radius: 8px;
  padding: 2rem 0;
  color: #fbdcff;
  font-style: italic;
  transition: all 0.3s ease;
}

.home-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(145deg, #ff4fa3, #b8007e);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(255, 0, 120, 0.6);
  transition: all 0.25s ease;
  z-index: 1000;
}

.home-btn:hover {
  background: linear-gradient(145deg, #ff66cc, #d90093);
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 50, 160, 0.8);
}

.home-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.home-icon {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 8px rgba(255, 0, 150, 0.6));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.home-btn:hover .home-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 14px rgba(255, 80, 200, 0.9));
}

.site-footer {
  background: linear-gradient(145deg, rgba(255, 80, 180, 0.15), rgba(120, 0, 180, 0.2));
  border-top: 2px solid rgba(255, 70, 180, 0.6);
  padding: 3rem 1rem;
  color: #ffe3f9;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 -0 20px rgba(255, 50, 180, 0.3);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 220px;
  background: rgba(255, 100, 220, 0.08);
  border: 1px solid rgba(255, 70, 180, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 60, 180, 0.2), inset 0 0 8px rgba(255, 80, 200, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-section:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 80, 180, 0.35), inset 0 0 12px rgba(255, 100, 220, 0.15);
}

.footer-section h3 {
  color: #ff4fa3;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-shadow:
    -2px 2px 0 #000,
    0 0 10px rgba(255, 70, 180, 0.8);
}

.footer-section p {
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li a {
  color: #ffb0e0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-section ul li a:hover {
  color: #ff63c2;
  text-shadow: 0 0 8px rgba(255, 50, 180, 0.7);
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: radial-gradient(circle at center, #ff4fa3 20%, #b8007e 90%);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 70, 180, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  transform: scale(1.1) rotate(5deg);
}

.lang-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(145deg, #ff4fa3, #b8007e);
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(255, 0, 140, 0.7);
  transition: all 0.25s ease;
  z-index: 1000;
  height: 35px;
  weight: 25px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lang-btn:hover {
  background: linear-gradient(145deg, #ff66cc, #d90093);
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 50, 160, 0.8);
}

.flag-icon {
    width: 35px;
    height: 35px;
}