body {
  background: #121212;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.game-container {
  text-align: center;
  max-width: 400px;
  width: 90%;
}

h1 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.symbol-choice button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #2c2c2c;
  color: white;
  transition: background 0.3s;
}
.symbol-choice button:hover {
  background: #444;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
  margin: 20px auto;
  justify-content: center;
}

.cell {
  width: 100px;
  height: 100px;
  background: #1e1e1e;
  border-radius: 10px;
  font-size: 2rem;
  line-height: 100px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cell:hover {
  background: #2a2a2a;
}
.cell.disabled {
  pointer-events: none;
  color: #902a2a;
}

.message {
  margin: 20px 0;
  font-size: 1.2rem;
}

#reward-screen {
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.reward-container {
  background: #1b1b1b;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.reward-container h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.reward-container p {
  margin-bottom: 15px;
}

.reward-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.reward-btn {
  background-color: #913737;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.reward-btn:hover {
  background-color: #904242;
}

.reward-form-block {
  margin-bottom: 20px;
  text-align: center;
}
.reward-form-block label,
.reward-form-block p {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.reward-form-block input[type="email"] {
  width: 80%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #2c2c2c;
  color: white;
  font-size: 1rem;
  text-align: center;
}
.reward-form-block input[type="radio"] {
  margin-right: 10px;
}
.reward-form-block label {
  cursor: pointer;
}

.submit-btn {
  background-color: #1e687e;
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 15px; /* ← ESPACEMENT ajouté ici */
}
.submit-btn:hover {
  background-color: #25747c;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #999;
  background-color: transparent;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  pointer-events: none;
}

.hidden {
  display: none;
}

.reward-btn {
  cursor: pointer !important;
}

/* MODIFIE pour fond vert visible */
.centered-message {
  display: none;
  background-color: #1a5436; /* Vert profond que tu veux */
  color: #d0d0d0; /* Blanc adouci, moins agressif que #fff */
  border: 2px solid #146c41; /* Légèrement plus clair que le fond pour contraster */
  padding: 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  animation: fadeInOut 3s ease-in-out;
  box-shadow: 0 0 15px rgba(26, 84, 54, 0.8);
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: scale(0.9); }
  10% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}
#cooldown-timer {
  margin-top: 20px;
  text-align: center;
}

.cooldown-outer {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.cooldown-svg {
  transform: rotate(-90deg);
  width: 100px;
  height: 100px;
}

.cooldown-bg {
  fill: none;
  stroke: #333;
  stroke-width: 10;
}

.cooldown-progress {
  fill: none;
  stroke: #00cc66;
  stroke-width: 10;
  stroke-dasharray: 282.6;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.cooldown-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  color: #fff;
}

.cooldown-message {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #ccc;
}
