        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f3f3f3;
            color: #333;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
        }
        
        .container {
            max-width: 500px;
            width: 100%;
            text-align: center;
        }
        
        header {
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid #ddd;
            position: relative;
           
        }
        
        h1 {
            color: #2c3e50;
            font-size: 2.8rem;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }
        
        .game-info {
            display: flex;
            justify-content: space-between;
            margin: 20px 0;
            font-size: 1.1rem;
            color: #2c3e50;
            font-weight: 500;
        }
        
        .board {
            display: grid;
            grid-template-rows: repeat(6, 1fr);
            grid-gap: 8px;
            margin: 20px auto 30px;
            width: 100%;
            max-width: 400px;
        }
        
        .row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            grid-gap: 8px;
        }
        
        .tile {
            aspect-ratio: 1/1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            font-weight: bold;
            background-color: #e0e0e0;
            border: 2px solid #d0d0d0;
            border-radius: 5px;
            transition: all 0.3s ease;
            animation: pop 0.1s ease;
            color: #333;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .tile.filled {
            border-color: #a0a0a0;
            background-color: #f0f0f0;
        }
        
        .tile.correct {
            background-color: #2ecc71;
            color: white;
            border-color: #27ae60;
        }
        
        .tile.present {
            background-color: #f39c12;
            color: white;
            border-color: #d35400;
        }
        
        .tile.absent {
            background-color: #7f8c8d;
            color: white;
            border-color: #34495e;
        }
        
        .keyboard {
            margin: 30px 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .keyboard-row {
            display: flex;
            justify-content: center;
            gap: 6px;
        }
        
        .key {
            height: 50px;
            min-width: 40px;
            padding: 0 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ecf0f1;
            border: none;
            border-radius: 5px;
            font-size: 1.3rem;
            font-weight: bold;
            color: #2c3e50;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .key:hover {
            background-color: #d5dbdb;
            transform: translateY(-2px);
        }
        
        .key:active {
            transform: translateY(1px);
        }
        
        .key.wide {
            min-width: 65px;
            font-size: 1rem;
        }
        
        .key.correct {
            background-color: #2ecc71;
            color: white;
        }
        
        .key.present {
            background-color: #f39c12;
            color: white;
        }
        
        .key.absent {
            background-color: #7f8c8d;
            color: white;
        }
        
        .message {
            height: 40px;
            margin: 15px 0;
            font-size: 1.2rem;
            font-weight: bold;
            color: #e74c3c;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .message.show {
            opacity: 1;
        }
        
        .controls {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        button {
            padding: 12px 25px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        
        button:active {
            transform: translateY(1px);
        }
        
        button.restart {
            background-color: #2ecc71;
        }
        
        button.restart:hover {
            background-color: #27ae60;
        }
        
        @keyframes pop {
            0% { transform: scale(0.9); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes shake {
            0% { transform: translateX(0); }
            20% { transform: translateX(-10px); }
            40% { transform: translateX(10px); }
            60% { transform: translateX(-10px); }
            80% { transform: translateX(10px); }
            100% { transform: translateX(0); }
        }
        
        .shake {
            animation: shake 0.5s ease;
        }
        
        .win {
            animation: win 1s ease;
        }
        
        @keyframes win {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .instructions {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            text-align: right;
        }
        
        .instructions h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .instructions p {
            margin-bottom: 10px;
            color: #34495e;
            line-height: 1.6;
        }
        
        .example {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 15px 0;
        }
        
        .example-tile {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            border-radius: 5px;
        }
        
        .example-correct {
            background-color: #2ecc71;
            color: white;
        }
        
        .example-present {
            background-color: #f39c12;
            color: white;
        }
        
        .example-absent {
            background-color: #7f8c8d;
            color: white;
        }
        
        @media (max-width: 500px) {
            .key {
                height: 45px;
                min-width: 30px;
                font-size: 1.1rem;
            }
            
            .key.wide {
                min-width: 50px;
                font-size: 0.9rem;
            }
            
            .tile {
                font-size: 1.8rem;
            }
        }