How it works
すごい (amazing) is tossed out first as a reaction, almost like “wow.” Then the real sentence follows: が (subject) points to the subject (花火 (fireworks)), and きれい (beautiful) — a na-adjective — sits at the end describing it. In casual speech it stands without the copula.