        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            overflow-y: auto;
            background: #f4f4f4;
        }
        #vanta-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        header {
            background-color: rgba(255, 255, 255, 0.8);
            color: #333333;
            padding: 20px;
            width: 100%;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            position: relative;
        }
        header img {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 150px;
            height: 100px;
        }
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
            max-width: 1200px;
            padding: 20px;
            box-sizing: border-box;
        }
        main, .legend {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin: 10px;
            flex: 1;
            min-width: 300px;
            transition: transform 0.3s ease-in-out;
        }
        main:hover, .legend:hover {
            transform: scale(1.02);
        }
        h1 {
            margin-top: 0;
            color: #333333;
        }
        form {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-top: 10px;
            font-weight: bold;
            color: #666666;
        }
        input[type="number"], input[type="submit"], select {
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #cccccc;
            border-radius: 4px;
            transition: border-color 0.3s ease-in-out;
        }
        input[type="number"]:focus, select:focus {
            border-color: #333333;
        }
        input[type="submit"] {
            background-color: #333333;
            color: white;
            border: none;
            cursor: pointer;
            margin-top: 20px;
            transition: background-color 0.3s ease-in-out;
        }
        input[type="submit"]:hover {
            background-color: #555555;
        }
        #result, #cell-info {
            margin-top: 20px;
            padding: 15px;
            background-color: rgba(249, 249, 249, 0.9);
            border: 1px solid #eeeeee;
            border-radius: 4px;
            font-weight: bold;
            color: #333333;
        }
        footer {
            margin-top: 20px;
            padding: 10px;
            background-color: rgba(255, 255, 255, 0.8);
            color: #333333;
            width: 100%;
            text-align: center;
            box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
        }
        .legend {
            font-size: 0.9em;
            color: #333333;
            z-index: 1;
        }
        .legend a {
            color: #1a73e8;
            text-decoration: none;
        }
        .legend a:hover {
            text-decoration: underline;
        }