<div style="background:#121212; min-height:100vh; padding:40px; color:#fff;">

    <div style="max-width:800px; margin:0 auto;">

        <h2 style="color:#ff2d2d; text-align:center; margin-bottom:25px;">API Information</h2>

        <div style="background:#1a1a1a; padding:25px; border-radius:8px; box-shadow:0 0 12px rgba(0,0,0,0.5);">

            <p>Your API Key:</p>

            <div style="background:#2a2a2a; padding:12px; border-radius:4px; margin-bottom:15px; color:#ff2d2d;">

                {{ user.api_key }}

            </div>

            <p style="margin-bottom:10px;">API Endpoint:</p>

            <div style="background:#2a2a2a; padding:12px; border-radius:4px; margin-bottom:20px; color:#fff;">

                https://{{ site.domain }}/api/v2

            </div>

            <a href="/api/doc" style="display:inline-block; background:#ff2d2d; padding:10px 18px; border-radius:4px; color:#fff; text-decoration:none;">

                View API Docs

            </a>

        </div>

    </div>

</div>