.promo-box {
  background: linear-gradient(135deg, #1b222b 60%, #2d72fc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(45, 114, 252, 0.15);
  padding: 2rem 1.5rem 1.2rem 1.5rem;
  margin: 0 0 2rem 0;
  color: #fff;
  text-align: center;
  border: 1.5px solid #2672F7;
  position: relative;
  overflow: hidden;
}

.promo-box h2 {
  margin: 0 0 0.8rem 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffe066;
  text-shadow: 0 2px 12px #2672F744;
}

.promo-codes {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.promo-code {
  background: #fff1ba;
  color: #ff5722;
  font-weight: bold;
  font-size: 1.12rem;
  border-radius: 8px;
  padding: 0.1rem 0.6rem;
  cursor: pointer;
  border: 2px dashed #ffd600;
  transition: background 0.15s, color 0.15s;
  user-select: all;
  box-shadow: 0 2px 10px #ffb20022;
}
.promo-code:hover, .promo-code:active {
  background: #ffefba;
  color: #c77800;
}

.promo-desc {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 1rem;
  color: #ffe066;
}

@media (max-width: 600px) {
  .promo-box {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .promo-box h2 {
    font-size: 1.12rem;
  }
  .promo-codes {
    gap: 0.4rem;
  }
}
	
html, body {
  height: 100%;
  min-height: 100%;
}
body {
  min-height: 100vh;
  display: block;
  overflow-x: hidden;
}
.container {
  padding-bottom: 48px;
}
.copy-text {
    padding: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 20px;
    margin-bottom: 20px;
}
/* Style de la modal qui apparaît au-dessus */
.modal {
    display: none;
    position: absolute;
    top: -30px; /* Ajuster la position de la modal */
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animation pour montrer la modal */
.modal.show {
    display: block;
    opacity: 1;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.shake-btn {
  transition: 0.3s ease-in-out;
  animation: shake 0.5s ease-in-out infinite;
}

.shake-btn:hover {
  animation: none;
}