body {
  margin: 0;
  font-family: 'Gothic One', sans-serif;
  background: radial-gradient(circle at top, #1a0000, #000);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-top: 20px;
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.container {
  margin-top: 20px;
  width: 90%;
  background: #d31b1b;
  border-radius: 14px;
  padding: 25px 10px;
  box-shadow: 0 0 15px rgba(255,0,0,0.4);
}

.amount {
  font-size: 1.8rem;
}

.label {
  font-size: 1.1rem;
  margin-top: 5px;
}

.gain {
  font-size: 1rem;
  margin-top: 10px;
}

.virements {
  width: 90%;
  margin-top: 25px;
}

.virements h2 {
  text-align: left;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #ffb3b3;
}

.virement {
  background: rgba(255,255,255,0.05);
  border: 1px solid #d31b1b;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.virement strong {
  font-size: 1rem;
}

.virement span {
  font-weight: 600;
  color: #00ffb7;
}

.chart-section {
  margin-top: 25px;
  width: 90%;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 20px 10px;
}

.chart-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffb3b3;
}

.donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    #8B0000 0% 100%,
    #FF5555 100% 100%,
    #FFB3B3 100% 100%
  );
  margin: 0 auto;
  position: relative;
}

.donut::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: #000;
  border-radius: 50%;
  top: 40px;
  left: 40px;
}

.legend {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  font-size: 1rem;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend div {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.forex { background: #8B0000; }
.crypto { background: #FF5555; }
.autres { background: #FFB3B3; }

.explanation {
  margin-top: 12px;
  font-size: 1rem;
}

footer {
  margin: 25px 0 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 90%;
}

.btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.1s ease, background 0.3s;
}

.contact {
  background: #ff2f2f;
  color: white;
  box-shadow: 0 0 8px rgba(255, 47, 47, 0.5);
}

.contact:hover {
  background: #ff5555;
  transform: translateY(-2px);
}

.withdraw {
  background: #111;
  color: #fff;
  border: 1px solid #ff2f2f;
}

.withdraw:hover {
  background: #2b0000;
  transform: translateY(-2px);
}

.withdraw-container {
  display: none;
  margin-top: 10px;
  width: 90%;
}

.withdraw-container input {
  width: 70%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  text-align: center;
  font-family: 'Gothic One', sans-serif;
}

.withdraw-container button {
  width: 25%;
  margin-left: 5%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #d31b1b;
  color: #fff;
  cursor: pointer;
  font-family: 'Gothic One', sans-serif;
}

.withdraw-log {
  margin-top: 15px;
  width: 90%;
  text-align: left;
}

.withdraw-log div {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid #d31b1b;
  padding: 6px 10px;
  border-radius: 5px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  .donut { width: 160px; height: 160px; }
  .donut::after { width: 90px; height: 90px; top: 35px; left: 35px; }
  .btn { font-size: 0.9rem; }
}
