
        :root {
            --neon-red: #ff0000;
            --dark-bg: #050505;
            --card-bg: #0a0a0a;
        }

        body {
            background-color: var(--dark-bg);
            color: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Header de Telemetria (igual ao seu print) */
        .status-bar {
            width: 100%;
            background: #000;
            padding: 10px 0;
            display: flex;
            justify-content: center;
            gap: 30px;
            font-size: 12px;
            text-transform: uppercase;
            border-bottom: 1px solid #1a1a1a;
            letter-spacing: 1px;
        }

        .status-item { display: flex; align-items: center; gap: 5px; }
        .dot { height: 8px; width: 8px; border-radius: 50%; background: #00ff00; box-shadow: 0 0 5px #00ff00; }

        /* Container Principal */
        .main-container {
            max-width: 1000px;
            width: 90%;
            margin-top: 50px;
            text-align: center;
        }

        .display-simulacao {
            background: var(--card-bg);
            border: 2px solid #1a1a1a;
            border-radius: 15px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
        }

        .display-simulacao::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                        linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02));
            background-size: 100% 2px, 2px 100%;
            pointer-events: none;
        }

        h1 {
            color: var(--neon-red);
            text-shadow: 0 0 10px var(--neon-red);
            margin-bottom: 30px;
        }

        /* Simulação de Gráfico */
        .ecg-line {
            width: 100%;
            height: 150px;
            border-bottom: 1px solid #333;
            margin: 20px 0;
            background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
        }

        .controles {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .control-card {
            background: #111;
            padding: 20px;
            border-radius: 10px;
            border: 1px solid #222;
        }

        input[type="range"] {
            width: 100%;
            accent-color: var(--neon-red);
        }

        .btn-voltar {
            margin-top: 40px;
            color: #666;
            text-decoration: none;
            transition: 0.3s;
        }

        .btn-voltar:hover { color: white; }

        #ecgCanvas {
    width: 100%;
    height: 150px;
    filter: drop-shadow(0 0 8px var(--neon-red)); /* Brilho neon na linha */
}

.btn-voltar-principal {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border: 2px solid var(--neon-red);
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.btn-voltar-principal:hover {
    background-color: var(--neon-red);
    color: #000; /* Texto fica preto no fundo vermelho para contraste */
    box-shadow: 0 0 30px var(--neon-red), 0 0 50px rgba(255, 0, 0, 0.6);
    transform: translateY(-3px);
}

    