Changed around line 1
+ :root {
+ --primary-color: #1a73e8;
+ --secondary-color: #fbbc04;
+ --background-color: #f5f5f5;
+ --grid-color: #e0e0e0;
+ --text-color: #202124;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ header h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .game-container {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 2rem;
+ gap: 2rem;
+ }
+
+ .grid {
+ display: grid;
+ grid-template-columns: repeat(20, 20px);
+ grid-template-rows: repeat(20, 20px);
+ gap: 1px;
+ background-color: var(--grid-color);
+ border: 2px solid var(--text-color);
+ }
+
+ .grid div {
+ width: 20px;
+ height: 20px;
+ background-color: white;
+ cursor: pointer;
+ }
+
+ .controls {
+ display: flex;
+ gap: 1rem;
+ flex-wrap: wrap;
+ justify-content: center;
+ }
+
+ button {
+ padding: 0.75rem 1.5rem;
+ border: none;
+ border-radius: 4px;
+ background-color: var(--primary-color);
+ color: white;
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #1557b0;
+ }
+
+ .stats {
+ text-align: center;
+ font-size: 1.2rem;
+ }
+
+ footer {
+ background-color: var(--primary-color);
+ color: white;
+ text-align: center;
+ padding: 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .grid {
+ grid-template-columns: repeat(10, 20px);
+ grid-template-rows: repeat(10, 20px);
+ }
+ }