@import url('https://fonts.googleapis.com/css2?family=Zeyada&display=swap');

        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background: #000000;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            min-height: 100vh;
            overflow-x: hidden;
        }
        .title {
            z-index: 99;
            font-size: 40px;
            color: #FF007F;
            font-family: 'Cinzel Decorative', cursive;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(255, 0, 127, 0.7);
        } 
        .canvas-container {
            scale: 1.2;
            transform: translateY(50%);
            position: relative;
            width: 600px;
            height: 600px;
            margin-top: 20px;
        }
        canvas {
            position: absolute;
            top: 0;
            left: 0;
        }
        #gridCanvas {
            z-index: 1;
            background: 
                linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
            background-size: 60px 60px;
            background-color: #000000;
        }
        #heartCanvas {
            z-index: 2;
        }
        .equation {
            position: absolute;
            bottom: 150px;
            z-index: 99;
            margin-bottom: 24px;
            font-size: 32px;
            color: #CB70BD;
            text-align: center;
            text-shadow: 0 0 5px rgba(203, 112, 189, 0.7);
        }
        .controls {
            margin: 15px 0;
            z-index: 99;
            position: absolute;
            bottom: 40px;
        }
        button {
            background: #E648A0;
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 24px;
            cursor: pointer;
            border-radius: 8px;
            margin: 0 10px;
            transition: all 0.3s ease;
            box-shadow: 0 0 10px rgba(153, 102, 204, 0.5);
        }
        button:hover {
            background: #FF007F;
            transform: translateY(-2px);
            box-shadow: 0 0 15px rgba(255, 0, 127, 0.7);
        }
        button:active {
            transform: translateY(1px);
        }
        button:disabled {
            background: #444;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .cover {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            position: absolute;
            bottom: 100px;
            flex-direction: column;
        }
        .aa{
            font-family: 'Zeyada';;
            font-size: 56px;
            color: #fffafd;
            position: absolute;
            bottom: 20px;
            z-index: 999999;
        }