<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>YouSchool</title>
        <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
            <link rel="icon" type="image/png" href="/assets/images/favicon-2020.png"/>
    <style>
        html, body {
            font-family: sans-serif;
            min-height: 100vh;
            width: 100%;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #000000;
        }

        section {
            padding: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            animation: fade-in 0.7s ease both;
        }

        .logo {
            height: 80px;
            animation: float 4s ease-in-out infinite;
        }

        h1 {
            max-width: 800px;
            font-size: 20px;
            text-align: center;
            color: gray;
            font-weight: normal;
        }

        a {
            text-decoration: underline;
            color: black;
        }

        .status-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            border-radius: 10px;
            border: 1px solid white;
            padding: 0.5rem 2.5rem;
            transition: box-shadow 0.4s ease;
        }

        .status-badge:hover {
            box-shadow: 0 0 18px rgba(73, 204, 144, 0.35);
        }

        .status-badge .dot {
            position: relative;
            background: #49cc90;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(73, 204, 144, 0.6);
            animation: pulse-online 1.8s infinite;
        }

        /* Barres d'activité serveur facon equalizer */
        .equalizer {
            display: flex;
            align-items: flex-end;
            gap: 3px;
            height: 18px;
        }

        .equalizer span {
            display: block;
            width: 3px;
            height: 100%;
            background: #49cc90;
            border-radius: 2px;
            transform-origin: bottom;
            animation: equalize 1s ease-in-out infinite;
        }

        .equalizer span:nth-child(2) { animation-delay: 0.2s; }
        .equalizer span:nth-child(3) { animation-delay: 0.4s; }
        .equalizer span:nth-child(4) { animation-delay: 0.6s; }
        .equalizer span:nth-child(5) { animation-delay: 0.8s; }

        .infos {
            text-align: center;
            line-height: 0.5;
        }

        @keyframes fade-in {
            from { opacity: 0; transform: translateY(14px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        @keyframes pulse-online {
            0% { box-shadow: 0 0 0 0 rgba(73, 204, 144, 0.6); }
            70% { box-shadow: 0 0 0 12px rgba(73, 204, 144, 0); }
            100% { box-shadow: 0 0 0 0 rgba(73, 204, 144, 0); }
        }

        @keyframes equalize {
            0%, 100% { transform: scaleY(0.3); }
            50% { transform: scaleY(1); }
        }

        @media (prefers-reduced-motion: reduce) {
            section,
            .logo,
            .status-badge .dot,
            .equalizer span {
                animation: none;
            }
        }
    </style>

                
                    </head>
    <body>
            <section>
        <img class="logo" src="/assets/images/logo_ys.png" alt="YouSchool Logo">
        <h1>Une formation pour changer de vie&nbsp;!</h1>
        <div class="infos">
            <p><a target="_blank" href="https://formation.youschool.fr">Bogy CMS</a></p>
            <p style="font-weight: bold;">API - Version 1.0.0</p>
            <div class="status-badge">
                <span class="dot"></span>
                <p>Server Status</p>
                <div class="equalizer" aria-hidden="true">
                    <span></span><span></span><span></span><span></span><span></span>
                </div>
            </div>
        </div>
    </section>
    </body>
</html>
