    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .game-container {
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        text-align: center;
        max-width: 500px;
        width: 100%;
    }

    h1 {
        color: #333;
        margin-bottom: 10px;
        font-size: 2.5rem;
        font-weight: 700;
    }

    .subtitle {
        color: #666;
        margin-bottom: 30px;
        font-size: 1.1rem;
    }

    .game-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .moves-counter {
        background: #f8f9fa;
        padding: 10px 20px;
        border-radius: 25px;
        font-weight: 600;
        color: #495057;
        border: 2px solid #e9ecef;
    }

    .shuffle-btn {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

    .shuffle-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255,107,107,0.4);
    }

    .puzzle-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 15px;
        margin: 20px 0;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .puzzle-tile {
        aspect-ratio: 1;
        background: linear-gradient(145deg, #6c54ad, #e6e6e6);
        border: none;
        border-radius: 10px;
        font-size: 1.5rem;
        font-weight: 700;
        color: #093e5d;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 70px;
    }

    .puzzle-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    }

    .puzzle-tile.empty {
        background: transparent;
        box-shadow: none;
        cursor: default;
    }

    .puzzle-tile.empty:hover {
        transform: none;
        background: transparent;
    }

    .win-message {
        background: linear-gradient(45deg, #00b894, #00cec9);
        color: white;
        padding: 20px;
        border-radius: 15px;
        margin-top: 20px;
        font-size: 1.2rem;
        font-weight: 600;
        display: none;
        animation: celebration 0.5s ease-out;
    }

    @keyframes celebration {
        0% { transform: scale(0.8); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }

    .win-message.show {
        display: block;
    }

    @media (max-width: 480px) {
        .game-container {
            padding: 20px;
        }
        
        h1 {
            font-size: 2rem;
        }
        
        .puzzle-tile {
            font-size: 1.2rem;
            min-height: 60px;
        }
        
        .game-info {
            flex-direction: column;
            gap: 15px;
        }
    }