body {
  font-family: Arial, sans-serif;
  background: #0b0f1a;
  color: white;
  text-align: center;
  margin-top: 67px;
}

.wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

#pointer {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 30px solid yellow;
  z-index: 10;
}

#wheel {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 6px solid white;
  background: repeating-conic-gradient(red 0deg 15deg, black 15deg 30deg);
}
/*BUTTON*/
button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 18px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;

  transition: all 0.2s ease;
  box-shadow: 0 4px 0 #8b0000;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #8b0000;
  background: #ff1a1a;
}
button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #8b0000;
}

#result {
  margin-top: 30px;
}

img {
  width: 150px;
  border-radius: 10px;
}

#result {
  margin-top: 40px;
}

/* FLEX CONTAINER */
.result-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: stretch;
  flex-wrap: wrap;
}

.card {
  width: 160px;
  background: #1a1f2e;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  user-select: none;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

/*LEFT CARD*/
.character-card {
  width: 320px;
  height: 420px;

  display: flex;
  flex-direction: column;
  align-items: center;

  overflow: hidden;
}
.character-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}
.character-card .name {
  width: 100%;
  padding: 10px;

  font-size: 24px;
  font-weight: bold;
  text-align: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RIGHT CARD */
.episode-card {
  font-size: 18px;
  width: 420px;
  max-height: 420px;
  overflow-y: auto;
}

.episode-card h3 {
  margin-top: 0;
}

.episode-card ul {
  padding-left: 18px;
}

.episode-card li {
  margin-bottom: 6px;
  font-size: 18px;
}

/*ANIMATIONS*/
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.char {
  display: inline-block;
}
