.discord-widget {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 20px auto;

  border-radius: 12px;
  overflow: hidden;

  box-shadow: 
    0 6px 25px rgba(0,0,0,0.6),
    0 0 8px rgba(255,255,255,0.2);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  transform: translateZ(0);
  backface-visibility: hidden;
}

/* hover */
.discord-widget:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 
    0 10px 35px rgba(0,0,0,0.75),
    0 0 10px rgba(255,255,255,0.3);
}

/* iframe = taille native Discord */
.discord-widget iframe {
  width: 800px;
  height: 600px;
  border: none;
  display: block;
}

/* responsive */
@media (max-width: 768px) {
  .discord-widget iframe {
    width: 95vw;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .discord-widget iframe {
    width: 100vw;
    height: 450px;
  }
}