{% extends "base.html" %}

{% block title %}{{ page_title }}{% endblock %}

{% block content %}
<main class="container narrow-section">
  <div class="page-head split-head">
    <div>
      <h1>{{ quest.title }}</h1>
      <p class="muted">Статус: {{ quest.get_status_display }}</p>
    </div>
    <div class="head-actions">
      <a class="btn btn-outline-light" href="{% url 'quest_list' %}">Назад к журналу</a>
    </div>
  </div>

  <div class="glass-card">
    <h3>Описание</h3>
    <p class="muted">{{ quest.summary }}</p>
    <div class="quest-meta">
      <div>
        <p class="stat-label">Герой</p>
        <p class="stat-value">{{ quest.character.name }}</p>
      </div>
      <div>
        <p class="stat-label">Уровень</p>
        <p class="stat-value">Lv {{ quest.character.level }}</p>
      </div>
    </div>
  </div>
</main>
{% endblock %}
