<!DOCTYPE html>
<html lang="it">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sito non disponibile | CasaPiras</title>
    <style>
        :root {
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --text-color: #f8fafc;
            --text-muted: #94a3b8;
            --accent-color: #3b82f6;
            --ip-bg: #0f172a;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }
        .container {
            text-align: center;
            background: var(--card-bg);
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
            max-width: 450px;
            width: 100%;
            border: 1px solid #334155;
        }
        .icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 16px;
            color: var(--accent-color);
        }
        .ip-badge {
            display: inline-block;
            background-color: var(--ip-bg);
            color: var(--accent-color);
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
            font-size: 0.85rem;
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid #334155;
            margin-bottom: 24px;
            font-weight: 600;
        }
        h1 {
            font-size: 1.8rem;
            margin: 0 0 12px;
            font-weight: 700;
            letter-spacing: -0.025em;
        }
        p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
            margin: 0 0 24px;
        }
        .divider {
            height: 1px;
            background-color: #334155;
            margin: 20px 0;
        }
        .footer {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Icona Monitor -->
        <svg class="icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
            <path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25" />
        </svg>
        <br>
        <!-- Badge con l IP del visitatore -->
        <div class="ip-badge">Il tuo IP: 216.73.216.171</div>

        <h1>Nessun servizio attivo</h1>
        <p>Il dominio/sottodominio digitato è configurato correttamente, ma non c'è alcun servizio associato a questa porta al momento.</p>
        <div class="divider"></div>
        <div class="footer">
            &copy; CasaPiras &bull; Gestito localmente
        </div>
    </div>
</body>
</html>