{% extends "base.html" %} {% block title %}{{ t('home') }} — {{ t('brand') }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %} {% if pending_notifs %}
{{ t("match_starting_soon") }}: {% for n in pending_notifs %} {{ n.match.title }} {{ n.time_left }} min {% endfor %}
{% endif %}
{{ t('tagline')|truncate(20,true,'...') }}

FIGHTSKILL
{{ t('welcome_back') }}, {{ user.display_name }}

{{ t('about_desc_1') }}

▶ {{ t('join_now') }} ♟ {{ t('our_team') }}
{{ upcoming_matches|length }}
{{ t('upcoming') }}
{{ games|length }}
{{ t('games') }}
{{ matches|length }}
{{ t('daily_matches') }}
{{ unread_count or 0 }}
{{ t('notifications') }}

{{ t('welcome_back') }}, {{ user.display_name }}.

{{ t('tagline') }}

{{ t('games') }}

{{ t('view_all') }}
{{ t('our_team') }}
{{ t('daily_matches') }}
{{ t('leaderboard') }}
{{ t('special_matches') }}
{% if active_creds %}
{% for m in active_creds %}
  LIVE {{ m.title }}
{{ m.game.name }}
{{ t('room_code') }}
{{ m.room_code }}
{{ t('room_password') }}
{{ m.room_password }}
{% endfor %}
{% endif %}

{{ t('daily_matches') }}

{{ t('view_all') }}
{% if matches %}
{% for m in matches[:8] %}
{{ m.game.name }} {{ m.status }}
{{ m.title }}
{{ m.starts_at.strftime('%H:%M') }} · {{ m.starts_at.strftime('%m/%d') }}
{{ m.current_players }}/{{ m.capacity }} {% if m.id in registered_match_ids %} ✓ {{ t('you_are_in') }} {% else %} {{ t('join_now') }} {% endif %}
{% endfor %}
{% else %}
{{ t('no_matches_today') }}
{% endif %}
{{ (user.wallets|selectattr('kind','equalto','deposit')|list|first).balance if user.wallets|selectattr('kind','equalto','deposit')|list else 0 }}
{{ t('deposit_wallet') }}
{{ (user.wallets|selectattr('kind','equalto','payout')|list|first).balance if user.wallets|selectattr('kind','equalto','payout')|list else 0 }}
{{ t('payout_wallet') }}
{{ upcoming_matches|length }}
{{ t('upcoming') }}

{{ t('about_brand') }}

{{ t('about_desc_1') }}

{{ t('about_desc_2') }}

{{ t('feature_tournaments') }}
{{ t('feature_teams') }}
{{ t('feature_wallet') }}
{{ t('feature_leaderboard') }}
{{ t('feature_special') }}
{{ t('feature_security') }}
{% endblock %}