.character-movelist-bottom {
  width: 100%;
  max-width: none;
  margin: 0 auto 0 auto;
  display: block;
}
.character-movelist-bottom h2 {
  font-family: 'Cinzel', serif;
  color: #ff4444;
  font-size: 1.4rem;
  margin-bottom: 0.4em;
  letter-spacing: 1px;
  border-left: 4px solid gold;
  padding-left: 0.5em;
  text-shadow: 0 1px 8px #b71c1c44;
}
.character-movelist-bottom .movelist {
  width: 100%;
  max-width: 600px;
  margin-left: 0;
}

.character-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem auto 2rem auto;
  max-width: 1400px;
  width: 100%;
}

.character-main-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  width: 100%;
}

.character-portrait {
  position: relative;
  width: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 1.5rem;
}

.character-portrait img {
  width: 320px;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  border: 5px solid gold;
  box-shadow: 0 8px 32px #b71c1c, 0 0 0 8px #1a0606 inset;
  background: repeating-linear-gradient(45deg, #520d0d 0 24px, #911818 24px 48px);
}

.character-info {
  flex: 1 1 0;
  border-radius: 20px;
  border: 3px solid gold;
  box-shadow: 0 4px 24px #b71c1c44;
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 600px;
  margin: 0 auto 0 auto;
  display: block;
  gap: 1.2rem;
  min-width: 320px;
}

.character-header {
  margin-bottom: 0.5rem;
}
.character-name {
  font-family: 'Cinzel', serif;
  font-size: 2.7rem;
  color: gold;
  letter-spacing: 2px;
  margin-bottom: 0.1em;
  text-shadow: 0 2px 12px #b71c1c99, 0 0 2px #fff8;
}
.character-tagline {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #ffb347;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 0.7em;
  text-shadow: 0 1px 6px #b71c1c88;
}
.character-flavor {
  font-style: italic;
  color: #ffb347;
  font-size: 1.1rem;
  margin-bottom: 1.2em;
  text-shadow: 0 1px 6px #b71c1c44;
}
.character-info h2 {
  font-family: 'Cinzel', serif;
  color: #ff4444;
  font-size: 1.4rem;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  letter-spacing: 1px;
  border-left: 4px solid gold;
  padding-left: 0.5em;
  text-shadow: 0 1px 8px #b71c1c44;
}
.character-info p {
  color: #f5f5f5;
  font-size: 1.08rem;
  margin-bottom: 0.7em;
}
.movelist {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0 0;
  gap: 0.7em;
}
.movelist li {
  background: rgba(255,255,255,0.04);
  border-left: 4px solid #ffb347;
  border-radius: 8px;
  padding: 0.7em 1em 0.7em 1.2em;
  font-size: 1.08em;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.7em;
  box-shadow: 0 1px 6px #b71c1c22;
}
.move-name {
  font-family: 'Cinzel', serif;
  color: gold;
  font-weight: 700;
  font-size: 1.08em;
  margin-right: 0.5em;
}
.move-desc {
  color: #f5f5f5;
  font-size: 1em;
}
.character-nav-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.character-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
  width: 100%;
}

.character-navigation-mobile {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  color: gold;
  background: rgba(30,0,0,0.7);
  border: 2px solid gold;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px #b71c1c44;
  margin: 0 1.5rem;
}
.arrow-btn:hover {
  background: gold;
  color: #b71c1c;
  box-shadow: 0 4px 18px #ff4444aa;
}
.left-arrow {
  margin-right: 1rem;
}
.right-arrow {
  margin-left: 1rem;
}
.character-playstyle-tag {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
  background: rgba(104, 88, 0, 0.85);
  color: rgb(255, 255, 255);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid gold;
  border-radius: 999px;
  padding: 0.25em 1em;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px #b71c1c99, 0 0 2px #000a;
  vertical-align: middle;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
}

@media (max-width: 900px) {
  .character-page {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .character-main-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }
  
  /* Hide desktop arrows on mobile */
  .character-main-row > .arrow-btn {
    display: none;
  }
  
  /* Show mobile arrows above description */
  .character-navigation-mobile {
    display: flex;
  }
  
  .character-portrait {
    width: 100%;
    max-width: 340px;
    margin-bottom: 1.2rem;
  }
  .character-portrait img {
    width: 90vw;
    max-width: 340px;
    height: auto;
    aspect-ratio: 3/4;
  }
  .character-info {
    width: 100%;
    min-width: 0;
    padding: 1.2rem 1rem 1.5rem 1rem;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .character-movelist-bottom {
    max-width: 100%;
  }
  .character-navigation {
    display: none;
  }
  .character-navigation-mobile .arrow-btn {
    width: 44px;
    height: 44px;
    font-size: 2rem;
    margin: 0;
  }
  .character-playstyle-tag {
    font-size: 0.98rem;
    padding: 0.25em 0.8em;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
  }
}
