<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ project_name }}</title>
    <style>
        :root {
            color-scheme: light dark;
            --bg: #0f172a;
            --panel: rgba(15, 23, 42, 0.6);
            --text: #e2e8f0;
            --accent: #38bdf8;
            --muted: #94a3b8;
            font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }
        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at top, #1e293b, #020617);
            color: var(--text);
            padding: 2rem;
        }
        .card {
            width: min(640px, 100%);
            padding: 3rem;
            border-radius: 28px;
            background: var(--panel);
            backdrop-filter: blur(18px);
            border: 1px solid rgba(148, 163, 184, 0.2);
            box-shadow:
                0 24px 60px rgba(15, 23, 42, 0.65),
                0 4px 18px rgba(56, 189, 248, 0.18);
        }
        h1 {
            margin: 0 0 1.5rem;
            font-size: clamp(2rem, 3vw + 1rem, 2.9rem);
            letter-spacing: -0.04em;
        }
        p {
            margin: 0 0 1.2rem;
            line-height: 1.6;
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            background: rgba(56, 189, 248, 0.12);
            color: var(--accent);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        dl {
            margin: 2.2rem 0 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.4rem;
        }
        dt {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            color: var(--muted);
            text-transform: uppercase;
        }
        dd {
            margin: 0.4rem 0 0;
            font-size: 1.1rem;
            font-weight: 600;
        }
        a {
            color: var(--accent);
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <main class="card">
        <span class="badge">Django workspace ready</span>
        <h1>{{ project_name }}</h1>
        <p>
            Your Django environment is up and running. Start by editing views, templates, or models
            under the <code>core</code> app, and expand the project as needed.
        </p>
        <p>
            Need a quick check? Visit <a href="/admin/">/admin/</a> or run management commands with
            <code>python3 manage.py &lt;command&gt;</code>.
        </p>

        <dl>
            <div>
                <dt>Current time</dt>
                <dd>{{ current_time|date:"Y-m-d H:i:s T" }}</dd>
            </div>
            <div>
                <dt>Django version</dt>
                <dd>{{ django_version }}</dd>
            </div>
            <div>
                <dt>Python version</dt>
                <dd>{{ python_version }}</dd>
            </div>
        </dl>
    </main>
</body>
</html>
